Here we will discuss how the Route Table can be used to switch between nodes by creating an entry in the Route Table that points to the active node.
Create an IP Resource
Now you can create an IP resource. Note that the IP address of the resource must be located outside of the VPC. In this example, the IP resource is created using 10.10.10.10 (the VPC is defined as 10.20.0.0/16). Refer to Creating an IP Resource for more information.
Once the IP resource has been created, the LifeKeeper User Interface should look like this.
Assign Permission to Update Route Table Entries to Instances
Creating an EC2 Resource (Route Table Scenario)
Creating an EC2 Resource should be straightforward once an IP Resource has been created.
- Select the icon to start the “Create Resource Wizard”.
- Select “Amazon EC2” as the Recovery Kit.
- On the “Create Resource Wizard @ node-a”, specify the following values.
|EC2 Resource Type
|Route Table (Backend Cluster)
|EC2 Resource Tag
- On the “Pre-Extend Wizard” specify the following values:
- Once Pre-Extend is completed, move on to “Extend comm/ec2 Resource”. Select “ec2-10.10.10.10”.
- Once “Hierarchy successfully extended” is displayed, the creation of the resource is now complete.
- The EC2 resource is created as shown below.