User Tools

Site Tools


admin:keepalived

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
admin:keepalived [2023/07/17 18:40] veeraadmin:keepalived [2023/07/18 18:33] (current) veera
Line 18: Line 18:
  
 Configuration file in ''/etc/keepalived/keepalived.conf'' Configuration file in ''/etc/keepalived/keepalived.conf''
 +Notice PRIORITY is 200 compared to slave node which has 100 
  
 <code> <code>
Line 26: Line 27:
     interface eth0     interface eth0
     virtual_router_id 51     virtual_router_id 51
-    priority 100+    priority 200
     advert_int 1     advert_int 1
     authentication {     authentication {
Line 42: Line 43:
 <code> <code>
 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 58: Line 59:
  
 [[https://tecadmin.net/ip-failover-setup-using-keepalived-on-centos-redhat/]] [[https://tecadmin.net/ip-failover-setup-using-keepalived-on-centos-redhat/]]
 +
 +
 +==== Starting order ====
 + 
 +Make sure you start the  MASTER first before the SLAVE node
 +
 +''systemctl restart keepalived''
 +
 +then on slave node
 +
 +''systemctl restart keepalived''
 +
  
  
  
admin/keepalived.1689599459.txt.gz · Last modified: 2023/07/17 18:40 by veera