Task 01 shows how to perform a manual migration from SAP HANA running on the master node to the secondary (standby) node using the crm CLI. Before starting this lab, you should first verify that all services in the cluster are running normally without errors.
Lab 02. Task 03. Execute HAWK (High Availability Web Konsole) to check the cluster status through Web.
Execute Lab 03. Task 01. Validation of Cluster to check the cluster status through CLI.
After logging in to the Management Console to migrate the Overlay IP resource, connect to EC2 Instance Console
Select HANA-HDB-Primary instance, click Action, and click Connect.
Select Session Manager and click Connect. Connect to prihana instance through Session Manager.
On Node1 (prihana), run the command below to migrate the Overray IP resource res_AWS_IP to Node2 (sechana).
sudo su -
crm resource migrate res_AWS_IP force
Since you used the “migrate” command, the cluster stops the RA of the Primary Node (prihana) in its current state and promotes the Secondary Node to “Master”. Primary should not be migrated if system clone is in INSYNC (SFAIL) state. Wait for the Secondary Node to become the new Primary.
Connect to sechana and check the cluster and HSR status.
Connect to EC2 Instance Console
Select HANA-HDB-Secondary instance, click Action, and click Connect.
Select Session Manager and click Connect. Connect to sechana instance through Session Manager
Check the cluster status.
sudo su -
crm_mon -rfn1
Check SAP HANA System Replication (HSR) status.
sudo su -
SAPHanaSR-showAttr
Connect to Bastion Host and check the Dashboard of HAWK web. (Refer to Lab02)
On Secondary Node (sechana), disable resource migration so that the cluster can start on Primary Node (prihana).
sudo su -
crm resource unmigrate res_AWS_IP
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.