集群状态 - 上的 SAP HANAAmazon
Amazon Web Services 文档中描述的 Amazon Web Services 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅中国的 Amazon Web Services 服务入门

本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。

集群状态

配置群集后,您应该看到两个联机节点和六个资源。您可以使用以下命令来检查它:

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 ]

您可以通过执行crm_mon命令,如以下示例所示。确保辅助节点中复制的状态为"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