VHID changes do not apply immediately on secondary
When changing the VHID on the primary, it's applied immediately on the primary and synced to the secondary so its config.xml is correct, but the secondary does not update its configured CARP IPs with the correct VHID. So you end up with dual master status, with each on a different VHID.
Ensure config.cache does not exist so the subsequent requests can cleanly reload the configuration. Ticket #601
Simplify/optimize code for carp [re]configuration. This is possibly related to Ticket #601. Also this speedups vip creation on large number of interfaces.
Ticket #601. If 'virtualip' section is going to be restored or merged through xmlrpc bring down all vips which will be brough up later on from the configure_carp call. This ensures that the peers on the cluster stay current to each other.
#1 Updated by Jim Pingle about 9 years ago
This does not happen as expected. The VHID does sync in the config, but that change does not propagate to the actual CARP interface. I suspect this is due to the issue I found in ticket #643
It won't update a CARP interface on sync, only at boot or when you edit/save the VIP.
#4 Updated by Jim Pingle about 9 years ago
Just tested this again, and it is still a problem. On the secondary box, the VHID changes under the CARP settings screen, but on Status > CARP, the interface name is still the old VHID, and even though it shows "backup" in the GUI, the output of ifconfig -a shows it as master.
So the logic for renaming the CARP VIP interface (e.g. vip55 -> vip41) as well as changing the VHID on the interface isn't happening after the xmlrpc sync.