svlsResearch / ha-mikrotik

High availability code for Mikrotik routers
155 stars 44 forks source link

HA for RouterOS 7.x.x #23

Open AndreasMagdeburg opened 2 years ago

AndreasMagdeburg commented 2 years ago

Has anyone gotten the HA scripts to work on the new RouterOS software version 7.1.2? In my tests in the GNS3 Testlab, the scripts ran without errors on the first router, but they didn't run on the second router. A $HASyncStandby does not work.

nathanfaber commented 2 years ago

I have not attempted it yet. They still haven't fixed a bug in 7 that I want (OpenVPN UDP) so I haven't pursued it. I'm not sure how much work it would take to get ha-mikrotik to work under 7. I was somewhat hoping they would introduce their own so we can put this project out of business.

AndreasMagdeburg commented 2 years ago

I hope you will try to get ha-mikrotik working (on 7.1.2 and newer) very soon, because HA is a very important thing. Great work!

AndreasMagdeburg commented 2 years ago

You are my last resort. Unfortunately, both of the newly purchased routers CCR2004-1G-12S+2XS already have the v7.1.1 as factory installed version. I can't go back to 6.49.3 on the routers and I absolutely need the HA.

nathanfaber commented 2 years ago

You are my last resort. Unfortunately, both of the newly purchased routers CCR2004-1G-12S+2XS already have the v7.1.1 as factory installed version. I can't go back to 6.49.3 on the routers and I absolutely need the HA.

Doesn't the CCR2004 support 6.x? Why can't you go back? I'm sorry, I don't have the bandwidth nor the desire to investigate v7 at this point in time.

AndreasMagdeburg commented 2 years ago

Doesn't the CCR2004 support 6.x? Why can't you go back? I'm sorry, I don't have the bandwidth nor the desire to investigate v7 at this point in time.

I can't go back to 6.x because the factory installed version is 7.1.1. You can't downgrade below factory installed version.

nathanfaber commented 2 years ago

I can't go back to 6.x because the factory installed version is 7.1.1. You can't downgrade below factory installed version.

I see. Another case of Mikrotik doing what Mikrotik does and frustrating users. I'm sorry you have run into this, for now I can't look into v7 but maybe in the future. Perhaps send Mikrotik an email and let them know you would like HA/config sync built in. They take forever to make changes/fixes but maybe one day I can just kill this project.

AndreasMagdeburg commented 2 years ago

Yes, it is fustrating, that there is no way to downgrade below factory installed version. I had a long and difficult conversation with the mikrotik support. HA is important. It's a shame that such a feature doesn't officially exist yet.

Aber der Hersteller ist leider derjenige, welcher über die Implementation entscheidet. :-(

agungsaptohermawan commented 2 years ago

I can't go back to 6.x because the factory installed version is 7.1.1. You can't downgrade below factory installed version.

I see. Another case of Mikrotik doing what Mikrotik does and frustrating users. I'm sorry you have run into this, for now I can't look into v7 but maybe in the future. Perhaps send Mikrotik an email and let them know you would like HA/config sync built in. They take forever to make changes/fixes but maybe one day I can just kill this project.

are you providing managed service for HA on ROS v7? our company looking for it

nathanfaber commented 2 years ago

I can't go back to 6.x because the factory installed version is 7.1.1. You can't downgrade below factory installed version.

I see. Another case of Mikrotik doing what Mikrotik does and frustrating users. I'm sorry you have run into this, for now I can't look into v7 but maybe in the future. Perhaps send Mikrotik an email and let them know you would like HA/config sync built in. They take forever to make changes/fixes but maybe one day I can just kill this project.

are you providing managed service for HA on ROS v7? our company looking for it

Unfortunately not. I am not currently supporting HA for v7.

agungsaptohermawan commented 2 years ago

I see. Another case of Mikrotik doing what Mikrotik does and frustrating users. I'm sorry you have run into this, for now I can't look into v7 but maybe in the future. Perhaps send Mikrotik an email and let them know you would like HA/config sync built in. They take forever to make changes/fixes but maybe one day I can just kill this project.

are you providing managed service for HA on ROS v7? our company looking for it

Unfortunately not. I am not currently supporting HA for v7.

Well, big and many thanks for your script and support. its work perfectly on our production env

timeport0 commented 1 year ago

I just tried this on a set of CRS504 with 7.10rc5 and everything so far is going almost seamlessly with zero modifications to the scripts

Had a very small issue where the port on the active was in a bridge, so it didn't get added to the new bridge created by the script. Once I fixed that everything synced up perfectly. Haven't fully tested failover, but config changes are indeed syncing.

Will be doing additional testing and will report back

rdy28 commented 6 months ago

Hi is anyone tested the HA in the latest version now in 2024?

nathanfaber commented 6 months ago

Hi is anyone tested the HA in the latest version now in 2024?

Yes, I have been running and testing v7 using this branch: https://github.com/svlsResearch/ha-mikrotik/tree/v7-test

rdy28 commented 6 months ago

Hi is anyone tested the HA in the latest version now in 2024?

Yes, I have been running and testing v7 using this branch: https://github.com/svlsResearch/ha-mikrotik/tree/v7-test

Thank you so much!