Skip to content

Commit

Permalink
SLES4SAP-hana-scaleOut-PerfOpt-15.adoc SLES4SAP-hana-scaleout-multita…
Browse files Browse the repository at this point in the history
…rget-perfopt-15.adoc: add msl in maintenance, aligned with scale-up
  • Loading branch information
lpinne committed Feb 26, 2024
1 parent 5032157 commit 1bb2844
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 6 deletions.
18 changes: 15 additions & 3 deletions adoc/SLES4SAP-hana-scaleOut-PerfOpt-15.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2095,7 +2095,8 @@ primitive rsc_SAPHanaCon_{refSID}_HDB{refInst} ocf:suse:SAPHanaController \
ms msl_SAPHanaCon_{refSID}_HDB{refInst} \
rsc_SAPHanaCon_{refSID}_HDB{refInst} \
meta master-node-max="1" master-max="1" clone-node-max="1" interleave="true"
meta master-node-max="1" master-max="1" clone-node-max="1" interleave="true" \
maintenance="true"
----
The most important parameters here are {refSID} ({SID}) and {refInst}
Expand All @@ -2121,7 +2122,8 @@ primitive rsc_SAPHanaCon_**{SID}**_HDB**{Inst}** ocf:suse:SAPHanaController \
HANA_CALL_TIMEOUT="120"
ms msl_SAPHanaCon_{SID}_HDB{Inst} rsc_SAPHanaCon_{SID}_HDB{Inst} \
meta master-node-max="1" master-max="1" clone-node-max="1" interleave="true"
meta master-node-max="1" master-max="1" clone-node-max="1" interleave="true" \
maintenance="true"
----
//===========================
Expand Down Expand Up @@ -2312,12 +2314,22 @@ correctly:

==== Ending the cluster maintenance mode

After all changes, as last step end the cluster maintenance mode.
After all changes, as last steps end the cluster maintenance mode, let the cluster
detect the {HANA} status and set the SAPHanaController resource out of maintenance.

[subs="attributes,quotes"]
----
# crm configure property maintenance-mode=false
# cs_wait_for_idle -s 5
# crm resource refresh msl_SAPHanaCon_HA1_HDB00
# cs_wait_for_idle -s 5
# crm resource maintenance msl_SAPHanaCon_HA1_HDB00 off
----

The command cs_wait_for_idle is part of the package `ClusterTools2`.
For more details, see manual pages cs_wait_for_idle(8), crm(8),
SAPHanaSR_maintenance_examples(7).


== Testing the cluster

Expand Down
18 changes: 15 additions & 3 deletions adoc/SLES4SAP-hana-scaleout-multitarget-perfopt-15.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2198,7 +2198,8 @@ primitive rsc_SAPHanaCon_{refSID}_HDB{refInst} ocf:suse:SAPHanaController \
ms msl_SAPHanaCon_{refSID}_HDB{refInst} \
rsc_SAPHanaCon_{refSID}_HDB{refInst} \
meta master-node-max="1" master-max="1" clone-node-max="1" interleave="true"
meta master-node-max="1" master-max="1" clone-node-max="1" interleave="true" \
maintenance="true"
----
The most important parameters here are {refSID} ({SID}) and {refInst}
Expand All @@ -2224,7 +2225,8 @@ primitive rsc_SAPHanaCon_**{SID}**_HDB**{Inst}** ocf:suse:SAPHanaController \
HANA_CALL_TIMEOUT="120"
ms msl_SAPHanaCon_{SID}_HDB{Inst} rsc_SAPHanaCon_{SID}_HDB{Inst} \
meta master-node-max="1" master-max="1" clone-node-max="1" interleave="true"
meta master-node-max="1" master-max="1" clone-node-max="1" interleave="true" \
maintenance="true"
----
//===========================
Expand Down Expand Up @@ -2474,12 +2476,22 @@ correctly:

==== Ending the cluster maintenance mode

After all changes, as last step end the cluster maintenance mode.
After all changes, as last steps end the cluster maintenance mode, let the cluster
detect the {HANA} status and set the SAPHanaController resource out of maintenance.

[subs="attributes,quotes"]
----
# crm configure property maintenance-mode=false
# cs_wait_for_idle -s 5
# crm resource refresh msl_SAPHanaCon_HA1_HDB00
# cs_wait_for_idle -s 5
# crm resource maintenance msl_SAPHanaCon_HA1_HDB00 off
----

The command cs_wait_for_idle is part of the package `ClusterTools2`.
For more details, see manual pages cs_wait_for_idle(8), crm(8),
SAPHanaSR_maintenance_examples(7).


== Setup of a scale-out multi-target architecture

Expand Down

0 comments on commit 1bb2844

Please sign in to comment.