admin:keepalived
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
admin:keepalived [2023/07/17 16:53] – dhinesh | admin:keepalived [2023/07/18 18:33] (current) – veera | ||
---|---|---|---|
Line 1: | Line 1: | ||
===== Keepalived ===== | ===== Keepalived ===== | ||
- | Master IP : 10.179.210.103 | + | * Master IP : 10.179.210.103 |
- | Slave IP : 10.179.210.140 | + | |
- | Virtual IP : | + | |
+ | |||
+ | ==== Platforms ==== | ||
+ | |||
+ | === Oracle/ | ||
+ | |||
+ | To install Oracle 8 Application Stream repository | ||
+ | |||
+ | dnf install epel-release | ||
+ | |||
+ | dnf install keepalived | ||
=== Keepalived configuration on master machine === | === Keepalived configuration on master machine === | ||
+ | |||
+ | Configuration file in ''/ | ||
+ | Notice PRIORITY is 200 compared to slave node which has 100 | ||
< | < | ||
Line 14: | Line 27: | ||
interface eth0 | interface eth0 | ||
virtual_router_id 51 | virtual_router_id 51 | ||
- | priority | + | priority |
advert_int 1 | advert_int 1 | ||
authentication { | authentication { | ||
Line 30: | Line 43: | ||
< | < | ||
vrrp_instance VI_1 { | vrrp_instance VI_1 { | ||
- | state SALVE | + | state SLAVE |
interface eth0 | interface eth0 | ||
virtual_router_id 51 | virtual_router_id 51 | ||
Line 46: | Line 59: | ||
[[https:// | [[https:// | ||
+ | |||
+ | |||
+ | ==== Starting order ==== | ||
+ | |||
+ | Make sure you start the MASTER first before the SLAVE node | ||
+ | |||
+ | '' | ||
+ | |||
+ | then on slave node | ||
+ | |||
+ | '' | ||
+ | |||
admin/keepalived.1689593012.txt.gz · Last modified: 2023/07/17 16:53 by dhinesh