Skip to content

Commit

Permalink
SAP-convergent-mediation-ha-setup-sle15.adoc Var_SAP-convergent-media…
Browse files Browse the repository at this point in the history
…tion.adoc
  • Loading branch information
lpinne committed May 14, 2024
1 parent 86fb37d commit fcb137b
Showing 1 changed file with 42 additions and 42 deletions.
84 changes: 42 additions & 42 deletions adoc/SAP-convergent-mediation-ha-setup-sle15.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -916,62 +916,62 @@ node 1: {myNode1}
node 2: {myNode2}
#
primitive rsc_fs_{mySid} ocf:heartbeat:Filesystem \
params device=/usr/sap/{mySid}/ directory=/mnt/check/{mySid}/ \
fstype=nfs4 options=bind,rw,noac,sync,defaults \
op monitor interval=90 timeout=120 on-fail=restart \
op_params OCF_CHECK_LEVEL=20 \
op start timeout=120 interval=0 \
op stop timeout=120 interval=0
params device=/usr/sap/{mySid}/ directory=/mnt/check/{mySid}/ \
fstype=nfs4 options=bind,rw,noac,sync,defaults \
op monitor interval=90 timeout=120 on-fail=restart \
op_params OCF_CHECK_LEVEL=20 \
op start timeout=120 interval=0 \
op stop timeout=120 interval=0
#
primitive rsc_cz_{mySid} ocf:suse:SAPCMControlZone \
params SERVICE=platform USER={mySapAdm} \
MZSHELL=/opt/cm/{mySid}/bin/mzsh;/usr/sap/{mySid}/bin/mzsh \
MZHOME=/opt/cm/{mySid}/;/usr/sap/{mySid}/ \
MZPLATFORM=http://localhost:9000 \
JAVAHOME=/usr/lib64/jvm/jre-17-openjdk \
op monitor interval=90 timeout=120 on-fail=restart \
op start timeout=300 interval=0 \
op stop timeout=300 interval=0 \
meta priority=100
params SERVICE=platform USER={mySapAdm} \
MZSHELL=/opt/cm/{mySid}/bin/mzsh;/usr/sap/{mySid}/bin/mzsh \
MZHOME=/opt/cm/{mySid}/;/usr/sap/{mySid}/ \
MZPLATFORM=http://localhost:9000 \
JAVAHOME=/usr/lib64/jvm/jre-17-openjdk \
op monitor interval=90 timeout=120 on-fail=restart \
op start timeout=300 interval=0 \
op stop timeout=300 interval=0 \
meta priority=100
#
primitive rsc_cz_{mySid} ocf:suse:SAPCMControlZone \
params SERVICE=ui USER={mySapAdm} \
MZSHELL=/opt/cm/{mySid}/bin/mzsh;/usr/sap/{mySid}/bin/mzsh \
MZHOME=/opt/cm/{mySid}/;/usr/sap/{mySid}/ \
MZPLATFORM=http://localhost:9000 \
JAVAHOME=/usr/lib64/jvm/jre-17-openjdk \
op monitor interval=90 timeout=120 on-fail=restart \
op start timeout=300 interval=0 \
op stop timeout=300 interval=0 \
meta priority=100
params SERVICE=ui USER={mySapAdm} \
MZSHELL=/opt/cm/{mySid}/bin/mzsh;/usr/sap/{mySid}/bin/mzsh \
MZHOME=/opt/cm/{mySid}/;/usr/sap/{mySid}/ \
MZPLATFORM=http://localhost:9000 \
JAVAHOME=/usr/lib64/jvm/jre-17-openjdk \
op monitor interval=90 timeout=120 on-fail=restart \
op start timeout=300 interval=0 \
op stop timeout=300 interval=0 \
meta priority=100
#
primitive rsc_ip_{mySid} IPaddr2 \
params ip={myVipAcz} \
op monitor interval=60 timeout=20 on-fail=restart
params ip={myVipAcz} \
op monitor interval=60 timeout=20 on-fail=restart
#
primitive rsc_stonith_sbd stonith:external/sbd \
params pcmk_delay_max=15
params pcmk_delay_max=15
#
group grp_cz_{mySid} rsc_fs_{mySid} rsc_cz_{mySid} rsc_ip_{mySid} rsc_ui_{mySid}
#
property cib-bootstrap-options: \
have-watchdog=true \
dc-version="2.1.2+20211124.ada5c3b36-150400.2.43-2.1.2+20211124.ada5c3b36" \
cluster-infrastructure=corosync \
cluster-name=hacluster \
dc-deadtime=20 \
stonith-enabled=true \
stonith-timeout=150 \
stonith-action=reboot \
last-lrm-refresh=1704707877 \
priority-fencing-delay=30
have-watchdog=true \
dc-version="2.1.2+20211124.ada5c3b36-150400.2.43-2.1.2+20211124.ada5c3b36" \
cluster-infrastructure=corosync \
cluster-name=hacluster \
dc-deadtime=20 \
stonith-enabled=true \
stonith-timeout=150 \
stonith-action=reboot \
last-lrm-refresh=1704707877 \
priority-fencing-delay=30
rsc_defaults rsc-options: \
resource-stickiness=1 \
migration-threshold=3 \
failure-timeout=86400
resource-stickiness=1 \
migration-threshold=3 \
failure-timeout=86400
op_defaults op-options: \
timeout=120 \
record-pending=true
timeout=120 \
record-pending=true
----

=== Corosync configuration of the two-node cluster
Expand Down

0 comments on commit fcb137b

Please sign in to comment.