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
Last revisionBoth sides next revision
admin:keepalived [2023/07/17 16:51] dhineshadmin:keepalived [2023/07/17 18:56] 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 +  Slave IP : 10.179.210.140 
-Virtual IP :10.179.210.100+  Virtual IP :10.179.210.100 
 + 
 +==== Platforms ==== 
 + 
 +=== Oracle/RHEL/CentOS 8 === 
 + 
 +To install Oracle 8 Application Stream repository  
 + 
 +dnf install epel-release 
 + 
 +dnf install keepalived 
 + 
 +=== Keepalived configuration on master machine === 
 + 
 +Configuration file in ''/etc/keepalived/keepalived.conf''
  
-==Keepalived configuration on master machine == 
 <code> <code>
 ! Configuration File for keepalived ! Configuration File for keepalived
Line 25: Line 38:
 </code> </code>
  
-==Keepalived configuration on slave machine ==+=== Keepalived configuration on slave machine ===
  
 +<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 41: Line 55:
     }     }
 } }
 +</code>
  
 [[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.txt · Last modified: 2023/07/18 18:33 by veera