Ha fip: Difference between revisions

Jump to navigation Jump to search
4 bytes removed ,  4 months ago
Line 91: Line 91:
''/etc/keepalived/keepalived.conf'' on the active system:
''/etc/keepalived/keepalived.conf'' on the active system:


<code>
<pre>
vrrp_instance VI_1 {
vrrp_instance VI_1 {
     state MASTER <-- declare the system as the active system
     state MASTER <-- declare the system as the active system
Line 109: Line 109:
     }
     }
}
}
</code>
</pre>


''/etc/keepalived/keepalived.conf'' on the passive system:
''/etc/keepalived/keepalived.conf'' on the passive system:


<code>
<pre>
vrrp_instance VI_1 {
vrrp_instance VI_1 {
     state BACKUP <-- declare the system as the standby
     state BACKUP <-- declare the system as the standby
Line 131: Line 131:
     }
     }
}
}
</code>
</pre>


Make sure you allow the vrrp traffic between the systems, in your ''Security Groups'' and make sure it is attached  to you systems.  
Make sure you allow the vrrp traffic between the systems, in your ''Security Groups'' and make sure it is attached  to you systems.  
cc_staff
247

edits

Navigation menu