Sample working configuration - SAP NetWeaver 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

The following is a sample working configuration for high availability cluster configuration for SLES.

node 1: hahost01 node 2: hahost02 primitive res_AWS_STONITH stonith:external/ec2 \ op start interval=0 timeout=180 \ op stop interval=0 timeout=180 \ op monitor interval=300 timeout=60 \ params tag=pacemaker profile=cluster pcmk_delay_max=45 primitive rsc_FS_HA1_ASCS00 Filesystem \ params device="fs-xxxxxxx.efs.xxxxxx.amazonaws.com:/ASCS" directory="/usr/sap/HA1/ASCS00" fstype=nfs4 options="rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2" \ op start timeout=60s interval=0 \ op stop timeout=60s interval=0 \ op monitor interval=200s timeout=40s primitive rsc_FS_HA1_ERS10 Filesystem \ params device="fs-xxxxxx.efs.xxxxxx.amazonaws.com:/ERS" directory="/usr/sap/HA1/ERS10" fstype=nfs4 options="rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2" \ op start timeout=60s interval=0 \ op stop timeout=60s interval=0 \ op monitor interval=200s timeout=40s primitive rsc_IP_HA1_ASCS00 ocf:suse:aws-vpc-move-ip \ params ip=x.x.x.x routing_table=rtb-xxxxxxx interface=eth0 profile=cluster \ op start interval=0 timeout=180 \ op stop interval=0 timeout=180 \ op monitor interval=60 timeout=60 primitive rsc_IP_HA1_ERS10 ocf:suse:aws-vpc-move-ip \ params ip=x.x.x.x routing_table=rtb-xxxxxxxx interface=eth0 profile=cluster \ op start interval=0 timeout=180 \ op stop interval=0 timeout=180 \ op monitor interval=60 timeout=60 primitive rsc_SAP_HA1_ASCS00 SAPInstance \ operations $id=rsc_SAP_HA1_ASCS00-operations \ op monitor interval=120 timeout=60 on-fail=restart \ params InstanceName=HA1_ASCS00_sapha1as START_PROFILE="/sapmnt/HA1/profile/HA1_ASCS00_ascshost" AUTOMATIC_RECOVER=false \ meta resource-stickiness=5000 failure-timeout=60 migration-threshold=1 priority=10 primitive rsc_SAP_HA1_ERS10 SAPInstance \ operations $id=rsc_SAP_HA1_ERS10-operations \ op monitor interval=120 timeout=60 on-fail=restart \ params InstanceName=HA1_ERS10_sapha1er START_PROFILE="/sapmnt/HA1/profile/HA1_ERS10_ershost" AUTOMATIC_RECOVER=false IS_ERS=true \ meta priority=1000 group grp_HA1_ASCS00 rsc_IP_HA1_ASCS00 rsc_FS_HA1_ASCS00 rsc_SAP_HA1_ASCS00 \ meta resource-stickiness=3000 group grp_HA1_ERS10 rsc_IP_HA1_ERS10 rsc_FS_HA1_ERS10 rsc_SAP_HA1_ERS10 colocation col_SAP_HA1_no_both -5000: grp_HA1_ERS10 grp_HA1_ASCS00 order ord_SAP_HA1_first_start_ascs Optional: rsc_SAP_HA1_ASCS00:start rsc_SAP_HA1_ERS10:stop symmetrical=false property cib-bootstrap-options: \ have-watchdog=false \ dc-version="2.0.xxxxxxxxxxx" \ cluster-infrastructure=corosync \ maintenance-mode=false \ stonith-enabled=true \ stonith-action=off \ stonith-timeout=600s \ last-lrm-refresh=1619563075 rsc_defaults rsc-options: \ resource-stickiness=1 \ migration-threshold=3 op_defaults op-options: \ timeout=600 \ record-pending=true