Cluster status - SAP HANA on AWS

Cluster status

After the cluster is configured, you should see two online nodes, and six resources. You can check it with the following command:

prihana:~ # crm status Stack: corosync Current DC: prihana (version 1.1.18+20180430.b12c320f5-3.24.1-b12c320f5) - partition with quorum Last updated: Thu Nov 12 11:37:20 2020 Last change: Thu Nov 12 11:37:11 2020 by hacluster via crmd on sechana 2 nodes configured 6 resources configured Online: [ prihana sechana ] Full list of resources: res_AWS_STONITH (stonith:external/ec2): Started prihana res_AWS_IP (ocf::suse:aws-vpc-move-ip): Started prihana Clone Set: cln_SAPHanaTopology_HDB_HDB00 [rsc_SAPHanaTopology_HDB_HDB00] Started: [ prihana sechana ] Master/Slave Set: msl_SAPHana_HDB_HDB00 [rsc_SAPHana_HDB_HDB00] Masters: [ prihana ] Slaves: [ sechana ]

You can check the status of the replication by executing the crm_mon command as shown in the following example. Ensure that the state of the replication in the secondary node is "SOK".

prihana:~ # crm_mon -A1 Stack: corosync Current DC: prihana (version 1.1.18+20180430.b12c320f5-3.24.1-b12c320f5) - partition with quorum Last updated: Thu Nov 12 11:38:25 2020 Last change: Thu Nov 12 11:37:33 2020 by root via crm_attribute on prihana 2 nodes configured 6 resources configured Online: [ prihana sechana ] Active resources: res_AWS_STONITH (stonith:external/ec2): Started prihana res_AWS_IP (ocf::suse:aws-vpc-move-ip): Started prihana Clone Set: cln_SAPHanaTopology_HDB_HDB00 [rsc_SAPHanaTopology_HDB_HDB00] Started: [ prihana sechana ] Master/Slave Set: msl_SAPHana_HDB_HDB00 [rsc_SAPHana_HDB_HDB00] Masters: [ prihana ] Slaves: [ sechana ] Node Attributes: * Node prihana: + hana_hdb_clone_state : PROMOTED + hana_hdb_op_mode : logreplay + hana_hdb_remoteHost : sechana + hana_hdb_roles : 4:P:master1:master:worker:master + hana_hdb_site : PRI + hana_hdb_srmode : sync + hana_hdb_sync_state : PRIM + hana_hdb_version : 2.00.030.00.1522209842 + hana_hdb_vhost : prihana + lpa_hdb_lpt : 1605181053 + master-rsc_SAPHana_HDB_HDB00 : 150 * Node sechana: + hana_hdb_clone_state : DEMOTED + hana_hdb_op_mode : logreplay + hana_hdb_remoteHost : prihana + hana_hdb_roles : 4:S:master1:master:worker:master + hana_hdb_site : SEC + hana_hdb_srmode : sync + hana_hdb_sync_state : SOK + hana_hdb_version : 2.00.030.00.1522209842 + hana_hdb_vhost : sechana + lpa_hdb_lpt : 30 + master-rsc_SAPHana_HDB_HDB00 : 100