The Recovery Kit for EC2™ has two features: “Route Table Scenario” and “Elastic IP Scenario”. An overview of these features is provided below.
Route table scenario (backend cluster):
Manage a route table to allow clients to connect to LifeKeeper-protected virtual IPs (outside of the VPC’s CIDR).
Create a route in the route table that specifies the LifeKeeper-protected virtual IP as the destination and the ENI of the Active node as the target. This allows clients accessing the virtual IP to connect to the Active node according to the settings of this route.
When performing a switchover, the target of this route is updated to switch the destination node. In Figure 1, Node1 is Active and Node2 is Standby, but when a switchover is performed, the targets of virtual IPs for both route tables are updated to Node2’s ENI.
Figure 1: Route Table Scenario Overview
Elastic IP scenario (frontend cluster):
Manage an Elastic IP that can be used from the Internet.
Assigning an Elastic IP to the ENI of the Active node enables external connections to the Active node.
When performing a switchover, move the Elastic IP assignment to the opposite node to switch the target node. In Figure 2, Node1 is Active and Node2 is Standby, but when the switchover is performed, the Elastic IP is removed from the ENI of Node1 and assigned to the ENI of Node2.
Post your comment on this topic.