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

Add Initial Route Table Entry for the Primary Host

Before creating the EC2 resource, we must first add the initial route to the route table for LK-VPC (i.e., LK-RouteTable).

  1. In the AWS Console, navigate to ServicesVPCRoute Tables, click the route table associated with LK-VPC (LK-RouteTable), click the Routes tab, then click Edit Routes.
  1. In the resulting dialog, add a new route with the following parameters:
Field
Value
Destination 10.10.10.10/32
Target Select ‘Instance’, then select the instance ID for Node-A

  1. Click Save changes to add the route to the route table.

Creating an EC2 Resource (Route Table Scenario)

Creating an EC2 Resource should be straightforward once an IP Resource has been created.

  1. Select the icon to start the “Create Resource Wizard”.
  1. Select “Amazon EC2” as the Recovery Kit.

  1. On the “Create Resource Wizard @ node-a”, specify the following values.
Field
Value
Switchback Type Intelligent
Server node-a
EC2 Resource Type Route Table (Backend Cluster)
IP Resource ip-10.10.10.10
EC2 Resource Tag ec2-10.10.10.10
  1. On the “Pre-Extend Wizard” specify the following values:
Field
Value
Target Server node-b
Switchback Type Intelligent
Template Priority 1
Target Priority 10
  1. Once Pre-Extend is completed, move on to “Extend comm/ec2 Resource”. Select “ec2-10.10.10.10”.

  1. Once “Hierarchy successfully extended” is displayed, the creation of the resource is now complete.
  1. The EC2 resource is created as shown below.

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment