Let’s learn how the cluster works when OS crash.
When System 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 fast-reboot on prihana (use root user)
sudo su -
echo 'b' > /proc/sysrq-trigger
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)
Connect to EC2 Instance Console
HANA-HDB-Primary instance is in stopped state. Start prihana to check if it is in a normal state.
Select HANA-HDB-Primary instance, and click Action. Press Start in Instance State. Press Yes, Start.
If HANA-HDB-Primary boots normally, connect to sechana instance. check cluster and HSR status.
Check cluster status.
sudo su -
crm_mon -rfn1
Check SAP HANA System Replication (HSR)
SAPHanaSR-showAttr
clean up the resource status (use root user)
crm resource cleanup rsc_SAPHanaTopology_HDB_HDB00
Connect to Bastion Host and check the Dashboard of HAWK web (refer to Lab02)
When System Crash occurs in primary node sechana, check whether secondary node prihana node is normally changed to 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 fast-reboot on sechana (use root user)
sudo su -
echo 'b' > /proc/sysrq-trigger
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))
Connect to EC2 Instance Console
HANA-HDB-Secondary instance is in stopped state. Start sechana to check if it is in a normal state.
Select HANA-HDB-Secondary instance, and click Action. Press Start in Instance State. Press Yes, Start.
If HANA-HDB-Secondary boots normally, connect to sechana instance. check cluster and HSR status.
Check cluster status.
sudo su -
crm_mon -rfn1
Check SAP HANA System Replication (HSR)
SAPHanaSR-showAttr
clean up the resource status (use root user)
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.