The problem is after switchrole. When active reboots, always B becomes active router. The sequence is as follows: Router B(active) - switchrole - router A (standby) reboots - router B reboots also after a 60s delay - router A is online again at first as active - router B is online a little bit time ...
Actually, can you do "/interface vrrp print" on both? Did you keep that vrrp priority change that you temporarily added? They should both be 100 and it should be reset by ha_startup, ha-mikrotik does not support different VRRP priorities - it has no preference for A vs B and cannot curren...
$HASwitchRole now is working. Router A becomes active after run that command, but when router B reboots, router A change its role to standby and always router B becomes active router [admin@MikroTik_HA_A_STANDBY] > log print 00:25:28 system,info router rebooted 00:25:28 health,warning PSU2 entered s...
Ftp was enabled when i put that code [admin@MikroTik_HA_A_STANDBY] > :if ([:len [/file find where name="HA_run-after-hastartup.rsc"]] > 0) do={ {... /import HA_run-after-hastartup.rsc {... } [admin@MikroTik_HA_A_STANDBY] > /delay 5 [admin@MikroTik_HA_A_STANDBY] > #We need FTP to do our HA ...
$HAPushBackup seems to do nothing.
If i run on active (router B), i can see at log file how user ha has logged in and out, but if i run $HAPushBackup on standby (router A), i can't see any log on active (router B)
No errors shown again and ftp is enabled [admin@MikroTik_HA_A_STANDBY] > :if ([:len [/file find where name="HA_run-after-hastartup.rsc"]] > 0) do={ {... /import HA_run-after-hastartup.rsc {... } [admin@MikroTik_HA_A_STANDBY] > /delay 5 [admin@MikroTik_HA_A_STANDBY] > #We need FTP to do our...
Thanks again Nathan1. The init script from github is the same, i haven't added or removed any line. Yes you're right, this is router A active. This is the same with router A when it becomes standby itself after bootstrap of router B I've doing some tests, and if i enable ftp server on router A and i...
[admin@MikroTik_HA_B_ACTIVE] > /tool fetch src-path=HA_boot_log.txt dst-path=testing.txt address=$haAddressOther user=ha password=$haPassword mode=ftp status: failed failure: connection failed [admin@MikroTik_HA_B_ACTIVE] > On router A, ftp server is always disabled. If I enable it manually [admin@...
This is what i get when i try to sync router B at first time [admin@MikroTik_HA_A_ACTIVE] > $HASyncStandby status: finished downloaded: 0KiBC-z pause] total: 0KiB duration: 1s status: finished downloaded: 0KiBC-z pause] duration: 1s MASTER VERSION: ! history=.id=*b3;action=script removed;by=admin;po...
Thanks for the reply nathan1. Yes, both routers are reset to defaults before bootstraping. I'll try to exec that commend and i'll post it here, I have a look to log file and it seems nothing wrong, maybe the log debug is not set to a detailed level.
Hi, I'm testing with a pair of CCR1036 with 6.44.5 software, and it's not working well. At first, i bootstrapped correctly router A, i can see it active but, once router B is synced, after reboot, B becomes active and automatically A becomes in standby mode. Then, if i try to switchrole, i get this ...
It's a bit complicated to explain and my english is not so good.
I've made some changes to avoid that need, and all it's working fine.
Very great job Nathan1, congratulations