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 “Operations” dropdown and click “Create Resource Hierarchy”
  1. Select “node-a” as the server and “Amazon EC2” as the Application Recovery Kit. Then click “NEXT”.

  1. For the “Resource Type” selection, choose “Route Table”. Select the existing virtual IP resource as well. Then click “NEXT”.

  1. On the “Additional Settings” stage, select the following options. Then click “NEXT”.
Field
Value
EC2 Resource Tag ec2-10.10.10.10
Switchback Type Intelligent
  1. Review the configured settings, then click “Execute”.

  1. After the resource has been created, click the “Extend Resource Hierarchy” button. You will then be prompted to select the target server and target priorities.
Field
Value
Target Server node-b
Target Priority 10

  1. Once Pre-Extend checks are completed, click ““NEXT”.
  2. In the “Additional Settings” stage, select “Intelligent” for Switchback Type and the ec2 resource created in steps 1-5. Then click ““NEXT”.
Field
Value
Switchback Type Intelligent
Resource ec2-10.10.10.10

  1. Review and confirm the options displayed, and when ready click “Execute”.
  2. 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