Skip to content

Commit 25a6d17

Browse files
authored
Merge pull request #73801 from rdeltcheva/ensa2rhel
more adjustments for rhel
2 parents d3184c0 + be52869 commit 25a6d17

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

articles/virtual-machines/workloads/sap/high-availability-guide-rhel.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ Read the following SAP Notes and papers first
7171
* [High Availability Add-On Administration](https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/high_availability_add-on_administration/index)
7272
* [High Availability Add-On Reference](https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/high_availability_add-on_reference/index)
7373
* [Configuring ASCS/ERS for SAP Netweaver with standalone resources in RHEL 7.5](https://access.redhat.com/articles/3569681)
74+
* [Configure SAP S/4HANA ASCS/ERS with Standalone Enqueue Server 2 (ENSA2) in Pacemaker on RHEL
75+
](https://access.redhat.com/articles/3974941)
7476
* Azure specific RHEL documentation:
7577
* [Support Policies for RHEL High Availability Clusters - Microsoft Azure Virtual Machines as Cluster Members](https://access.redhat.com/articles/3131341)
7678
* [Installing and Configuring a Red Hat Enterprise Linux 7.4 (and later) High-Availability Cluster on Microsoft Azure](https://access.redhat.com/articles/3252491)
@@ -480,6 +482,8 @@ The following items are prefixed with either **[A]** - applicable to all nodes,
480482

481483
1. **[1]** Create the SAP cluster resources
482484

485+
If using enqueue server 1 architecture (ENSA1), define the resources as follows:
486+
483487
<pre><code>sudo pcs property set maintenance-mode=true
484488

485489
sudo pcs resource create rsc_sap_<b>NW1</b>_ASCS00 SAPInstance \
@@ -495,13 +499,37 @@ The following items are prefixed with either **[A]** - applicable to all nodes,
495499

496500
sudo pcs constraint colocation add g-<b>NW1</b>_AERS with g-<b>NW1</b>_ASCS -5000
497501
sudo pcs constraint location rsc_sap_<b>NW1</b>_ASCS<b>00</b> rule score=2000 runs_ers_<b>NW1</b> eq 1
502+
sudo pcs constraint order g-<b>NW1</b>_ASCS then g-<b>NW1</b>_AERS kind=Optional symmetrical=false
503+
504+
sudo pcs node unstandby <b>nw1-cl-0</b>
505+
sudo pcs property set maintenance-mode=false
506+
</code></pre>
507+
508+
SAP introduced support for enqueue server 2, including replication, as of SAP NW 7.52. Starting with ABAP Platform 1809, enqueue server 2 is installed by default. See SAP note [2630416](https://launchpad.support.sap.com/#/notes/2630416) for enqueue server 2 support.
509+
If using enqueue server 2 architecture ([ENSA2](https://help.sap.com/viewer/cff8531bc1d9416d91bb6781e628d4e0/1709%20001/en-US/6d655c383abf4c129b0e5c8683e7ecd8.html)), install resource agent resource-agents-sap-4.1.1-12.el7.x86_64 or newer and define the resources as follows:
510+
511+
<pre><code>sudo pcs property set maintenance-mode=true
512+
513+
sudo pcs resource create rsc_sap_<b>NW1</b>_ASCS00 SAPInstance \
514+
InstanceName=<b>NW1</b>_ASCS00_<b>nw1-ascs</b> START_PROFILE="/sapmnt/<b>NW1</b>/profile/<b>NW1</b>_ASCS00_<b>nw1-ascs</b>" \
515+
AUTOMATIC_RECOVER=false \
516+
meta resource-stickiness=5000 \
517+
--group g-<b>NW1</b>_ASCS
498518

519+
sudo pcs resource create rsc_sap_<b>NW1</b>_ERS<b>02</b> SAPInstance \
520+
InstanceName=<b>NW1</b>_ERS02_<b>nw1-aers</b> START_PROFILE="/sapmnt/<b>NW1</b>/profile/<b>NW1</b>_ERS02_<b>nw1-aers</b>" \
521+
AUTOMATIC_RECOVER=false IS_ERS=true \
522+
--group g-<b>NW1</b>_AERS
523+
524+
sudo pcs constraint colocation add g-<b>NW1</b>_AERS with g-<b>NW1</b>_ASCS -5000
499525
sudo pcs constraint order g-<b>NW1</b>_ASCS then g-<b>NW1</b>_AERS kind=Optional symmetrical=false
500526

501527
sudo pcs node unstandby <b>nw1-cl-0</b>
502528
sudo pcs property set maintenance-mode=false
503529
</code></pre>
504530

531+
If you are upgrading from an older version and switching to enqueue server 2, see sap note [2641322](https://launchpad.support.sap.com/#/notes/2641322).
532+
505533
Make sure that the cluster status is ok and that all resources are started. It is not important on which node the resources are running.
506534

507535
<pre><code>sudo pcs status

0 commit comments

Comments
 (0)