Skip to content

a script that runs on monitor instance and provide high availability to LVS and NAT instances

License

Notifications You must be signed in to change notification settings

amadrizwan/AWS-lvs-nat-HA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

AWS-lvs-nat-HA

a script that runs on monitor instance and provide high availability to LVS and NAT instances.

Limitations:
Both LVS instances should be in the same Availability Zone. That is because a secondary IP address can only be reassociated within the same subnet.

The secondary IP address can be configured on both LVS instances at the same time.

CENTOS/RedHat:
vi /etc/sysconfig/network-scripts/ifcfg-eth0:1
DEVICE=eth0:1
BOOTPROTO=static
ONBOOT=yes
IPADDR=172.31.xxx.xxx
NETMASK=xxx.xxx.xxx.xxx
ARPCHECK=no

Upon failover, the healthy instance takes the secondary private IP address (AWS API ec2-assign-private-ip-addresses) and the default route in the real-servers routing table is changed to healthy LVS instance.

EIP migration can be added if required.

About

a script that runs on monitor instance and provide high availability to LVS and NAT instances

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages