Skip to content

Commit

Permalink
SLES4SAP-hana-sr-guide-PerfOpt-15.adoc SLES4SAP-hana-sr-guide-costopt…
Browse files Browse the repository at this point in the history
…-15.adoc: changed cln_SAPHanaTopology to cln_SAPHanaTop, matching scale-out
  • Loading branch information
lpinne committed Feb 16, 2024
1 parent 2a92775 commit 3806c1f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions adoc/SLES4SAP-hana-sr-guide-PerfOpt-15.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1857,12 +1857,12 @@ Prepare the changes in a text file, for example _crm-saphanatop.txt_, and load i
----
# vi crm-saphanatop.txt
# enter the following to crm-saphanatop.txt
primitive rsc_SAPHanaTopology_{sapsid}_HDB{sapino} ocf:suse:SAPHanaTopology \
primitive rsc_SAPHanaTop_{sapsid}_HDB{sapino} ocf:suse:SAPHanaTopology \
op monitor interval="10" timeout="600" \
op start interval="0" timeout="600" \
op stop interval="0" timeout="300" \
params SID="{sapsid}" InstanceNumber="{sapino}"
clone cln_SAPHanaTopology_{sapsid}_HDB{sapino} rsc_SAPHanaTopology_{sapsid}_HDB{sapino} \
clone cln_SAPHanaTop_{sapsid}_HDB{sapino} rsc_SAPHanaTop_{sapsid}_HDB{sapino} \
meta clone-node-max="1" interleave="true"
----
Expand Down Expand Up @@ -1996,7 +1996,7 @@ two resource agents SAPHana and SAPHanaTopology.
# enter the following to crm-cs.txt
colocation col_saphana_ip_{sapsid}_HDB{sapino} 2000: rsc_ip_{sapsid}_HDB{sapino}:Started \
msl_SAPHana_{sapsid}_HDB{sapino}:Master
order ord_SAPHana_{sapsid}_HDB{sapino} Optional: cln_SAPHanaTopology_{sapsid}_HDB{sapino} \
order ord_SAPHana_{sapsid}_HDB{sapino} Optional: cln_SAPHanaTop_{sapsid}_HDB{sapino} \
msl_SAPHana_{sapsid}_HDB{sapino}
----
Expand Down Expand Up @@ -2853,7 +2853,7 @@ Online: [ {sapnode1} {sapnode2} ]
Full list of resources:

stonith-sbd (stonith:external/sbd): Started {sapnode1}
Clone Set: cln_SAPHanaTopology_{sapsid}_HDB{sapino} [rsc_SAPHanaTopology_{sapsid}_HDB{sapino}]
Clone Set: cln_SAPHanaTop_{sapsid}_HDB{sapino} [rsc_SAPHanaTop_{sapsid}_HDB{sapino}]
Started: [ {sapnode1} {sapnode2} ]
Clone Set: msl_SAPHana_{sapsid}_HDB{sapino} [rsc_SAPHana_{sapsid}_HDB{sapino}] (promotable)
Masters: [ {sapnode1} ]
Expand Down Expand Up @@ -3314,12 +3314,12 @@ primitive stonith-sbd stonith:external/sbd \

ms msl_SAPHana_{sapsid}_HDB{sapino} rsc_SAPHana_{sapsid}_HDB{sapino} \
meta clone-max=2 clone-node-max=1 interleave=true
clone cln_SAPHanaTopology_{sapsid}_HDB{sapino} rsc_SAPHanaTopology_{sapsid}_HDB{sapino} \
clone cln_SAPHanaTop_{sapsid}_HDB{sapino} rsc_SAPHanaTop_{sapsid}_HDB{sapino} \
meta clone-node-max=1 interleave=true
colocation col_saphana_ip_{sapsid}_HDB{sapino} 2000: \
rsc_ip_{sapsid}_HDB{sapino}:Started msl_SAPHana_{sapsid}_HDB{sapino}:Master
order ord_SAPHana_{sapsid}_HDB{sapino} 2000: \
cln_SAPHanaTopology_{sapsid}_HDB{sapino} msl_SAPHana_{sapsid}_HDB{sapino}
cln_SAPHanaTop_{sapsid}_HDB{sapino} msl_SAPHana_{sapsid}_HDB{sapino}

property cib-bootstrap-options: \
cluster-infrastructure=corosync \
Expand Down
12 changes: 6 additions & 6 deletions adoc/SLES4SAP-hana-sr-guide-costopt-15.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1987,7 +1987,7 @@ primitive rsc_SAPHanaTopology_{sapsid}_HDB{sapino} ocf:suse:SAPHanaTopology \
op start interval="0" timeout="600" \
op stop interval="0" timeout="300" \
params SID="{sapsid}" InstanceNumber="{sapino}"
clone cln_SAPHanaTopology_{sapsid}_HDB{sapino} rsc_SAPHanaTopology_{sapsid}_HDB{sapino} \
clone cln_SAPHanaTop_{sapsid}_HDB{sapino} rsc_SAPHanaTop_{sapsid}_HDB{sapino} \
meta clone-node-max="1" interleave="true"
----
Expand Down Expand Up @@ -2126,7 +2126,7 @@ two resource agents SAPHana and SAPHanaTopology.
# enter the following to crm-cs.txt
colocation col_saphana_ip_{sapsid}_HDB{sapino} 3000: rsc_ip_{sapsid}_HDB{sapino}:Started \
msl_SAPHana_{sapsid}_HDB{sapino}:Master
order ord_SAPHana_{sapsid}_HDB{sapino} Optional: cln_SAPHanaTopology_{sapsid}_HDB{sapino} \
order ord_SAPHana_{sapsid}_HDB{sapino} Optional: cln_SAPHanaTop_{sapsid}_HDB{sapino} \
msl_SAPHana_{sapsid}_HDB{sapino}
----
Expand Down Expand Up @@ -3105,7 +3105,7 @@ tells `crm_mon` to output the status once instead of periodically.
//
// rsc_stonith_sbd (stonith:external/sbd): Started {sapnode1}
// rsc_SAPInst_{sapnpsid}_HDB{sapnpino} (ocf::heartbeat:SAPInstance): Started {sapnode2}
// Clone Set: cln_SAPHanaTopology_{sapsid}_HDB{sapino} [rsc_SAPHanaTopology_{sapsid}_HDB{sapino}]
// Clone Set: cln_SAPHanaTop_{sapsid}_HDB{sapino} [rsc_SAPHanaTop_{sapsid}_HDB{sapino}]
// Started: [ {sapnode1} {sapnode2} ]
// Master/Slave Set: msl_SAPHana_{sapsid}_HDB{sapino} [rsc_SAPHana_{sapsid}_HDB{sapino}]
// Masters: [ {sapnode1} ]
Expand All @@ -3127,7 +3127,7 @@ Node List:
Full List of Resources:
* rsc_SAP_{sapnpsid}_HDB{sapnpino} (ocf::heartbeat:SAPInstance): Started {sapnode2}
* stonith-sbd (stonith:external/sbd): Started {sapnode1}
* Clone Set: cln_SAPHanaTopology_{sapsid}_HDB{sapino} [rsc_SAPHanaTopology_{sapsid}_HDB{sapino}]:
* Clone Set: cln_SAPHanaTop_{sapsid}_HDB{sapino} [rsc_SAPHanaTop_{sapsid}_HDB{sapino}]:
* Started: [ {sapnode1} {sapnode2} ]
* Clone Set: msl_SAPHana_{sapsid}_HDB{sapino} [rsc_SAPHana_{sapsid}_HDB{sapino}] (promotable):
* Masters: [ {sapnode1} ]
Expand Down Expand Up @@ -3699,7 +3699,7 @@ primitive stonith-sbd stonith:external/sbd \
ms msl_SAPHana_{sapsid}_HDB{sapino} rsc_SAPHana_{sapsid}_HDB{sapino} \
meta clone-max=2 clone-node-max=1 interleave=true

clone cln_SAPHanaTopology_{sapsid}_HDB{sapino} rsc_SAPHanaTopology_{sapsid}_HDB{sapino} \
clone cln_SAPHanaTop_{sapsid}_HDB{sapino} rsc_SAPHanaTop_{sapsid}_HDB{sapino} \
meta clone-node-max=1 interleave=true

location loc_{sapnpsid}_never_on_{sapnode1} rsc_SAP_{sapnpsid}_HDB{sapnpino} -inf: {sapnode1}
Expand All @@ -3714,7 +3714,7 @@ colocation col_saphana_ip_{sapsid}_HDB{sapino} 3000: \
rsc_ip_{sapsid}_HDB{sapino}:Started msl_SAPHana_{sapsid}_HDB{sapino}:Master

order ord_SAPHana_{sapsid}_HDB{sapino} Optional: \
cln_SAPHanaTopology_{sapsid}_HDB{sapino} msl_SAPHana_{sapsid}_HDB{sapino}
cln_SAPHanaTop_{sapsid}_HDB{sapino} msl_SAPHana_{sapsid}_HDB{sapino}

property cib-bootstrap-options: \
cluster-infrastructure=corosync \
Expand Down

0 comments on commit 3806c1f

Please sign in to comment.