Let’s learn how the cluster works when DB crash.
When DB Crash occurs in primary node prihana, check whether secondary node sechana node is normally changed to primary node.
Connect to EC2 Instance Console
Select HANA-HDB-Primary instance and click Connect.
Select Session Manager, click Connect and then connect to prihana instance through Session Manager.
Execute HDB kill on prihana (use hdbadm
sudo su - hdbadm
HDB kill -9
Check cluster and HSR status on sechana
Connect to EC2 Instance Console
Select HANA-HDB-Secondary instance and click Connect.
Select Session Manager, click Connect and then connect to sechana instance through Session Manager.
Check cluster status.
sudo su -
crm_mon -rfn1
Check SAP HANA System Replication (HSR)
SAPHanaSR-showAttr
After taking over, clean up the resource status
crm resource cleanup rsc_SAPHanaTopology_HDB_HDB00
Connect to Bastion Host and check the Dashboard of HAWK web (refer to Lab02)
When DB Crash occurs in primary node sechana, check whether secondary node prihana node is normally changed to the primary node.
Connect to EC2 Instance Console
Select HANA-HDB-Secondary instance and click Connect.
Select Session Manager, click Connect and then connect to sechana instance through Session Manager.
Execute HDB kill on sechana (use hdbadm
sudo su - hdbadm
HDB kill -9
Check cluster and HSR status on prihana.
Connect to EC2 Instance Console
Select HANA-HDB-Primary instance and click Connect.
Select Session Manager, click Connect and then connect to prihana instance through Session Manager.
Check cluster status.
sudo su -
crm_mon -rfn1
Check SAP HANA System Replication (HSR)
SAPHanaSR-showAttr
After taking over, clean up the resource status
crm resource cleanup rsc_SAPHanaTopology_HDB_HDB00
Connect to Bastion Host and check the Dashboard of HAWK web (refer to Lab02)
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.