informatica:linux:keepalived
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
informatica:linux:keepalived [2021/06/03 12:06] – [Master] javi | informatica:linux:keepalived [2021/06/03 12:08] (current) – javi | ||
---|---|---|---|
Line 18: | Line 18: | ||
En este ejemplo la IP flotante será ' | En este ejemplo la IP flotante será ' | ||
- | |||
- | ==== Master ==== | ||
1. Crear archivo: | 1. Crear archivo: | ||
Line 61: | Line 59: | ||
Comentarios: | Comentarios: | ||
- | * State. Is MASTER for one and BACKUP for all other hosts, hence the virtual IP will initially be assigned to the MASTER. | + | |
- | * Interface. Is the network interface taking part in the negotiation of the virtual IP, e.g. eth0. | + | * Interface. Is the network interface taking part in the negotiation of the virtual IP, e.g. eth0. |
- | * Virtual_router_id. Should be the same for all keepalived cluster hosts while unique amongst all clusters in the same subnet. Many distros pre-configure its value to 51. | + | * Virtual_router_id. Should be the same for all keepalived cluster hosts while unique amongst all clusters in the same subnet. Many distros pre-configure its value to 51. |
- | * Priority. Should be higher on the control plane node than on the backups. Hence 101 and 100 respectively will suffice. | + | * Priority. Should be higher on the control plane node than on the backups. Hence 101 and 100 respectively will suffice. |
- | * Auth_pass. Should be the same for all keepalived cluster hosts, e.g. 42 | + | * Auth_pass. Should be the same for all keepalived cluster hosts, e.g. 42 |
- | * Virtual_ipaddress. Is the virtual IP address negotiated between the keepalived cluster hosts. | + | * Virtual_ipaddress. Is the virtual IP address negotiated between the keepalived cluster hosts. |
2. Crear archivo: | 2. Crear archivo: |
informatica/linux/keepalived.1622721960.txt.gz · Last modified: 2021/06/03 12:06 by javi