Local Recovery scenario (Backend Cluster):
When a failure of the protected Route Table is detected by Recovery Kit for EC2™, the resulting failure triggers the execution of the EC2™ local recovery script. The local recovery gathers specified IP resource entries in all Route Tables and changes the entries’ Target to the ENI on the active server. If the local recovery attempt fails, LifeKeeper will perform a failover of the EC2™ resource and all dependent resources to a standby server. Please see the Configuration Examples for a comparison and additional information about the definition, scenarios, and operation of the Recovery Kit for EC2™.
*Note: Since the recovery kit will protect the configuration of the route table once the corresponding AWS ECC resource gets created, the route table should not be modified manually.
The following example shows a typical scenario of the local recovery: When the recovery kit detects a wrong target setting of IP routing in the route table, the local recovery replaces the target to the ENI on the active server. During this process nothing will be changed regarding the entry of 10.1.0.20/32 on the Route Table B.
IP resource |
10.1.0.10 |
ENI on Active Node |
eni-01234567 |
Route Table A – Before
Destination |
Target |
10.1.0.10/32 |
eni-89abcdef |
10.0.0.0/16 |
local |
Route Table A – After
Destination |
Target |
10.1.0.10/32 |
eni-01234567 |
10.0.0.0/16 |
local |
Route Table B – Before
Destination |
Target |
10.1.0.10/32 |
eni-89abcdef |
10.1.0.20/32 |
eni-89abcdef |
10.0.0.0/16 |
local |
Route Table B – After
Destination |
Target |
10.1.0.10/32 |
eni-01234567 |
10.1.0.20/32 |
eni-89abcdef |
10.0.0.0/16 |
local |
Elastic IP scenario (Frontend Cluster):
When a failure of the protected Elastic IP is detected by Recovery Kit for EC2™, the resulting failure triggers the execution of the EC2™ local recovery script. The local recovery allocates the Elastic IP to the ENI on the active node. If the local recovery attempt fails, LifeKeeper will perform a failover of the AWS ECC resource and all dependent resources to a standby server. See the Configuration Examples section for the configuration of this scenario.
Post your comment on this topic.