Using vrrp_script, track_script, and notify Hooks in Keepalived for Priority Control and Service Failover
vrrp_script provides health/eligibility probes that can adjust a VRRP instance’s priority at runtime. By returning a non‑zero exit code, the script can penalize priority via weight, making the local node less likely to be elected master. track_script links these checks to a specific vrrp_instance. n...