Dear @ll
I'm toying around with CARP, and it's working, but unfortunately I'm not able to reduce the failover time. It is working if advbase difference is greater then 2 seconds, I can shutdown HOST A and HOST B takes offer. If I bring up HOST A, it resumes its MASTER position.
HOST A
HOST B
What I don't understand is, when I set advbase to 1 for host A and B, and set host B advskew to 100, it's not working (please see configuration below). I shutdown host A and host B takes over, but when I bring up host A again, it never resumes it's position as MASTER. Perhaps I'm not patient enough, but I already waited several minutes.![Grinning squinting face :laughing: 😆](https://cdn.jsdelivr.net/joypixels/assets/7.0/png/unicode/64/1f606.png)
HOST A
HOST B
I'm using FreeBSD-14.1-RELEASE and the hypervisor is FreeBSD-14.0-p6.
Any advice would be highly appreciate.
Thanks.
tanis
I'm toying around with CARP, and it's working, but unfortunately I'm not able to reduce the failover time. It is working if advbase difference is greater then 2 seconds, I can shutdown HOST A and HOST B takes offer. If I bring up HOST A, it resumes its MASTER position.
HOST A
Code:
#/boot/loader.conf
carp_load="YES"
Code:
#/etc/rc.conf
ifconfig_vtnet0="inet 10.0.0.1/24"
ifconfig_vtnet0_alias0="inet 10.0.0.3/24 vhid 1 pass secretpw advbase 1 advskew 0"
HOST B
Code:
#/boot/loader.conf
carp_load="YES"
Code:
#/etc/rc.conf
ifconfig_vtnet0="inet 10.0.0.2/24"
ifconfig_vtnet0_alias0="inet 10.0.0.3/24 vhid 1 pass secretpw advbase 3 advskew 0"
What I don't understand is, when I set advbase to 1 for host A and B, and set host B advskew to 100, it's not working (please see configuration below). I shutdown host A and host B takes over, but when I bring up host A again, it never resumes it's position as MASTER. Perhaps I'm not patient enough, but I already waited several minutes.
![Grinning squinting face :laughing: 😆](https://cdn.jsdelivr.net/joypixels/assets/7.0/png/unicode/64/1f606.png)
HOST A
Code:
#/boot/loader.conf
carp_load="YES"
Code:
#/etc/rc.conf
ifconfig_vtnet0="inet 10.0.0.1/24"
ifconfig_vtnet0_alias0="inet 10.0.0.3/24 vhid 1 pass secretpw advbase 1 advskew 0"
HOST B
Code:
#/boot/loader.conf
carp_load="YES"
Code:
#/etc/rc.conf
ifconfig_vtnet0="inet 10.0.0.2/24"
ifconfig_vtnet0_alias0="inet 10.0.0.3/24 vhid 1 pass secretpw advbase 1 advskew 100"
I'm using FreeBSD-14.1-RELEASE and the hypervisor is FreeBSD-14.0-p6.
Any advice would be highly appreciate.
Thanks.
tanis