Before creating resources to protect the virtual IP addresses associated to the SAP HANA database, the following steps must be completed on node-a and node-b:

We will now follow the process described in Creating an AWS EC2 Resource (RouteTable Scenario) to create resource hierarchies for the virtual IP address associated to the SAP HANA database.

Since the IP addresses used with the EC2 RouteTable resource type must be located outside of the VPC CIDR (which for LK-VPC is 10.20.0.0/16), we will use the following virtual host name and IP address:

Instance
Virtual Host Name
IP Address
HDB00 sps-hana 10.10.10.5

Create the SAP HANA Virtual IP Resource Hierarchy

  1. Following the steps described in Creating an IP Resource, use the following parameters to create and extend a LifeKeeper IP resource (ip-sps-hana) to protect the SAP HANA virtual IP address on node-a and node-b. Notice that the IP resource is being created on node-a and extended to node-b. Also note that the resulting resource should not be extended to node-c, the witness node. The icon indicates that the default option is chosen.
Field
Value
Create Resource Wizard
Switchback Type intelligent
Server node-a
IP Resource 10.10.10.5
Netmask 255.255.255.0
Network Interface eth0
IP Resource Tag ip-sps-hana
Pre-Extend Wizard
Target Server node-b
Switchback Type intelligent
Template Priority 1
Target Priority 10
Extend comm/ip Resource Hierarchy Wizard
IP Resource 10.10.10.5
Netmask 255.255.255.0
Network Interface eth0
IP Resource Tag ip-sps-hana
  1. Following the steps described in Creating an AWS EC2 Resource (RouteTable Scenario), use the following parameters to create and extend a LifeKeeper EC2 resource (ec2-sps-hana) to manage the backend manipulation of the route table in AWS when the IP resource is switched over. Notice that the EC2 resource is being created on node-a and extended to node-b. Also note that the resulting resource should not be extended to node-c, the witness node. The icon indicates that the default option is chosen.
Field
Value
Create Resource Wizard
Switchback Type intelligent
Server node-a
EC2 Resource type RouteTable (Backend cluster)
IP Resource ip-sps-hana
EC2 Resource Tag ec2-sps-hana
Pre-Extend Wizard
Target Server node-b
Switchback Type intelligent
Template Priority 1
Target Priority 10
Extend comm/ec2 Resource Hierarchy Wizard
EC2 Resource Tag ec2-sps-hana

Once the IP resource hierarchy has been successfully created, the LifeKeeper GUI should resemble the following image:

Add Entry to /etc/hosts

Add the following entry to /etc/hosts on node-a and node-b to allow resolution of the virtual host name to its corresponding IP address:

10.10.10.5    sps-hana

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