Your primary Linode is set up. It has a public IP address, a private one, and Keepalived is installed. Your standby is also ready. It also has Keepalived installed, it has its own private IP address and you've given it permission to share your primary's public IP. But, there's no communication between them yet. We'll tackle that now by setting up configuration files for Keepalived on both the primary and standby.
Line | Description |
---|---|
`vrrp_instance` |
This identifies the virtual instance and gives it a name. We're using `VI_1` in this example. Use a meaningful name value to help with identification. The name also needs to be _the same_ for all < |
`virtual_router_id` |
This lets you group your < |
`priority` |
This determines which < |
`advert_int` |
This is the broadcast frequency. In this example, 1 indicates that < |
`authentication` |
This block determines how < |
`unicast_src_ip` |
Replace **IP** with the private IP address for the < |
`unicast_peer` |
This contains the private IP addresses for any of the peer < |
`virtual_ipaddress` | This is the _public_ IP address you set for your primary, that you've also shared with standby #1 and standby #2. |