Home > Workload Solutions > SAP > Guides > Dell Validated Design for High Availability for SAP with SUSE Pacemaker Clusters > Configuration file templates
This section provides three configuration file templates:
Use this file to create the configuration for the ASCS instance:
primitive rsc_fs_SID_ASCS_INST Filesystem \
params device="ASCS_FS" directory="/usr/sap/SID/ASCS_INST" \
fstype=xfs \
op start timeout=60s interval=0 \
op stop timeout=60s interval=0 \
op monitor interval=20s timeout=40s
primitive rsc_ip_SID_ASCS_INST IPaddr2 \
params ip=ASCS_IP \
op monitor interval=10s timeout=20s
primitive rsc_sap_SID_ASCS_INST SAPInstance \
op monitor interval=11 timeout=60 on-fail=restart \
params InstanceName=SID_ASCS_INST_ASCS_HOST \
START_PROFILE="/sapmnt/SID/profile/SID_ASCS_INST_ASCS_HOST" \
AUTOMATIC_RECOVER=false \
meta resource-stickiness=5000 failure-timeout=60 \
migration-threshold=1 priority=10
group grp_SID_ASCS_INST \
rsc_ip_SID_ASCS_INST rsc_fs_SID_ASCS_INST rsc_sap_SID_ASCS_INST \
meta resource-stickiness=3000
Use this file to create the configuration for the ERS instance:
primitive rsc_fs_SID_ERS_INST Filesystem \
params device="ERS_FS" directory="/usr/sap/SID/ERS_INST" fstype=xfs \
op start timeout=60s interval=0 \
op stop timeout=60s interval=0 \
op monitor interval=20s timeout=40s
primitive rsc_ip_SID_ERS_INST IPaddr2 \
params ip=ERS_IP \
op monitor interval=10s timeout=20s
primitive rsc_sap_SID_ERS_INST SAPInstance \
op monitor interval=11 timeout=60 on-fail=restart \
params InstanceName=SID_ERS_INST_sapha1er \
START_PROFILE="/sapmnt/SID/profile/SID_ERS_INST_ERS_HOST" \
AUTOMATIC_RECOVER=false IS_ERS=true \
meta priority=1000
group grp_SID_ERS_INST \
rsc_ip_SID_ERS_INST rsc_fs_SID_ERS_INST rsc_sap_SID_ERS_INST
Use this file to create the configuration for the cluster restrictions of the ASCS and ERS instances:
colocation col_sap_SID_no_both -5000: grp_SID_ERS_INST grp_SID_ASCS_INST
location loc_sap_SID_failover_to_ers rsc_sap_SID_ASCS_INST \
rule 2000: runs_ers_SID eq 1
order ord_sap_SID_first_start_ascs Optional: rsc_sap_SID_ASCS_INST:start \
rsc_sap_SID_ERS_INST:stop symmetrical=false