Add a Python script to automatically manage OVH failover IP (VIP) assignment based on CARP state changes.
The script runs on router nodes and ensures the VIP is attached to the MAC of the MASTER node only.
Ref T2276
Differential D4033
Attach OVH VIP to the CARP MASTER MAC Authored by yousra on Tue, Mar 31, 14:17. Tags None Referenced Files
Details
Add a Python script to automatically manage OVH failover IP (VIP) assignment based on CARP state changes. Ref T2276
Diff Detail
Event TimelineComment Actions If we're going to flood /var/log/messages with carp debug information, perhaps should we create a separate log topic, but that can be another change. I've created T2292.
Comment Actions Many changes:
Comment Actions When testing the script manually, it’s useful to see the logs directly in the terminal, while still sending them to system logs like sudo python3 carp-ovh-failover 2@vmx1 MASTER | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||