I have two nodes running keepalived, and two VIP, e.g.
Node 1 Node 2
VIP1 VIP2
So in each node, I have two definition of vrrp_instance
, so I assume the two vrrp_instance
in my keepalived.conf
suppose to be unique, but they can be the same values on another node, right?
Different VRRP instances should have different
virtual_router_id
values. Same VRRP instances should have the same value.You can read the following from
man keepalived.conf
:To summarize, you need to have the same value on the members of same cluster. If you have another cluster, its members should have another value. The
virtual_router_id
should be unique per VRRP cluster.