Sample working configuration - SAP HANA on Amazon
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Sample working configuration

[root@sechana ~] pcs config
Cluster Name: rhelhanaha
Corosync Nodes:
 prihana sechana
Pacemaker Nodes:
 prihana sechana

Resources:
 Clone: SAPHanaTopology_HDB_00-clone
  Meta Attrs: clone-max=2 clone-node-max=1 interleave=true
  Resource: SAPHanaTopology_HDB_00 (class=ocf provider=heartbeat type=SAPHanaTopology)
   Attributes: InstanceNumber=00 SID=HDB
   Operations: methods interval=0s timeout=5 (SAPHanaTopology_HDB_00-methods-interval-0s)
               monitor interval=60 timeout=60 (SAPHanaTopology_HDB_00-monitor-interval-60)
               start interval=0s timeout=180 (SAPHanaTopology_HDB_00-start-interval-0s)
               stop interval=0s timeout=60 (SAPHanaTopology_HDB_00-stop-interval-0s)
 Master: SAPHana_HDB_00-master
  Resource: SAPHana_HDB_00 (class=ocf provider=heartbeat type=SAPHana)
   Attributes: AUTOMATED_REGISTER=true DUPLICATE_PRIMARY_TIMEOUT=7200 InstanceNumber=00
               PREFER_SITE_TAKEOVER=true SID=HDB
   Meta Attrs: clone-max=2 clone-node-max=1 interleave=true notify=true
   Operations: demote interval=0s timeout=320 (SAPHana_HDB_00-demote-interval-0s)
               methods interval=0s timeout=5 (SAPHana_HDB_00-methods-interval-0s)
               monitor interval=120 timeout=60 (SAPHana_HDB_00-monitor-interval-120)
               monitor interval=121 role=Slave timeout=700 (SAPHana_HDB_00-monitor-interval-121)
               monitor interval=119 role=Master timeout=700 (SAPHana_HDB_00-monitor-interval-119)
               promote interval=0s timeout=320 (SAPHana_HDB_00-promote-interval-0s)
               start interval=0s timeout=180 (SAPHana_HDB_00-start-interval-0s)
               stop interval=0s timeout=240 (SAPHana_HDB_00-stop-interval-0s)
 Resource: hana-oip (class=ocf provider=heartbeat type=aws-vpc-move-ip)
  Attributes: interface=eth0 ip=192.168.0.1 routing_table=rtb-dbe0eba1
  Operations: monitor interval=60 timeout=30 (hana-oip-monitor-interval-60)
              start interval=0s timeout=180 (hana-oip-start-interval-0s)
              stop interval=0s timeout=180 (hana-oip-stop-interval-0s)

Stonith Devices:
 Resource: clusterfence (class=stonith type=fence_aws)
  Attributes: pcmk_host_map=prihana:i-0df8622xxxxxxxxxxx;sechana:i-0b2e372xxxxxxxxxxx
pcmk_reboot_retries=4 pcmk_reboot_timeout=480 power_timeout=240 region=us-east-1 pcmk_reboot_action=off
  Operations: monitor interval=60s (clusterfence-monitor-interval-60s)
Fencing Levels:

Location Constraints:
Ordering Constraints:
  start SAPHanaTopology_HDB_00-clone then start SAPHana_HDB_00-master (kind:Mandatory)
  (non-symmetrical)
Colocation Constraints:
  hana-oip with SAPHana_HDB_00-master (score:2000) (rsc-role:Started) (with-rsc-role:Master)
Ticket Constraints:

Alerts:
 No alerts defined

Resources Defaults:
 No defaults set
Operations Defaults:
 No defaults set

Cluster Properties:
 cluster-infrastructure: corosync
 cluster-name: rhelhanaha
 dc-version: 1.1.19-8.el7_6.4-c3c624ea3d
 have-watchdog: false
 last-lrm-refresh: 1553719142
 maintenance-mode: false
Node Attributes:
 prihana: hana_hdb_op_mode=logreplay hana_hdb_remoteHost=sechana hana_hdb_
 site=SiteA hana_hdb_srmode=syncmem hana_hdb_vhost=prihana lpa_hdb_lpt=10
 sechana: hana_hdb_op_mode=logreplay hana_hdb_remoteHost=prihana hana_hdb_
 site=SiteB hana_hdb_srmode=syncmem hana_hdb_vhost=sechana lpa_hdb_lpt=1553719113
Cluster name: rhelhanaha
Stack: corosync