You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. **[1]** Create a virtual IP resource and health-probe for the ASCS instance
363
+
2. **[1]** Create a virtual IP resource and health-probe for the ASCS instance
364
364
365
365
```bash
366
366
sudo pcs node standby sap-cl2
@@ -395,7 +395,7 @@ The following items are prefixed with either **[A]** - applicable to all nodes,
395
395
# vip_NW1_ASCS (ocf::heartbeat:IPaddr2): Started sap-cl1
396
396
```
397
397
398
-
1. **[1]** Install SAP NetWeaver ASCS
398
+
3. **[1]** Install SAP NetWeaver ASCS
399
399
400
400
Install SAP NetWeaver ASCS as root on the first node using a virtual hostname that maps to the IP address of the load balancer frontend configuration for the ASCS, for example **sapascs**, **10.90.90.10** and the instance number that you used for the probe of the load balancer, for example **00**.
401
401
@@ -415,7 +415,7 @@ The following items are prefixed with either **[A]** - applicable to all nodes,
415
415
sudo chgrp sapsys /usr/sap/NW1/ASCS00
416
416
```
417
417
418
-
1. **[1]** Create a virtual IP resource and health-probe for the ERS instance
418
+
4. **[1]** Create a virtual IP resource and health-probe for the ERS instance
419
419
420
420
```bash
421
421
sudo pcs node unstandby sap-cl2
@@ -455,7 +455,7 @@ The following items are prefixed with either **[A]** - applicable to all nodes,
455
455
# vip_NW1_AERS (ocf::heartbeat:IPaddr2): Started sap-cl2
456
456
```
457
457
458
-
1. **[2]** Install SAP NetWeaver ERS
458
+
5. **[2]** Install SAP NetWeaver ERS
459
459
460
460
Install SAP NetWeaver ERS as root on the second node using a virtual hostname that maps to the IP address of the load balancer frontend configuration for the ERS, for example **sapers**, **10.90.90.9** and the instance number that you used for the probe of the load balancer, for example **01**.
461
461
@@ -475,7 +475,7 @@ The following items are prefixed with either **[A]** - applicable to all nodes,
475
475
sudo chgrp sapsys /usr/sap/NW1/ERS01
476
476
```
477
477
478
-
1. **[1]** Adapt the ASCS/SCS and ERS instance profiles
478
+
6. **[1]** Adapt the ASCS/SCS and ERS instance profiles
479
479
480
480
* ASCS/SCS profile
481
481
@@ -505,7 +505,7 @@ The following items are prefixed with either **[A]** - applicable to all nodes,
505
505
# Autostart = 1
506
506
```
507
507
508
-
1. **[A]** Configure Keep Alive
508
+
7. **[A]** Configure Keep Alive
509
509
510
510
The communication between the SAP NetWeaver application server and the ASCS/SCS is routed through a software load balancer. The load balancer disconnects inactive connections after a configurable timeout. To prevent this, you need to set a parameter in the SAP NetWeaver ASCS/SCS profile, if using ENSA1. Change the Linux system `keepalive` settings on all SAP servers for both ENSA1/ENSA2. Read [SAP Note 1410736][1410736] for more information.
511
511
@@ -514,7 +514,7 @@ The following items are prefixed with either **[A]** - applicable to all nodes,
514
514
sudo sysctl net.ipv4.tcp_keepalive_time=300
515
515
```
516
516
517
-
1. **[A]** Update the /usr/sap/sapservices file
517
+
8. **[A]** Update the /usr/sap/sapservices file
518
518
519
519
To prevent the start of the instances by the sapinit startup script, all instances managed by Pacemaker must be commented out from /usr/sap/sapservices file.
520
520
@@ -528,9 +528,9 @@ The following items are prefixed with either **[A]** - applicable to all nodes,
@@ -559,8 +559,8 @@ The following items are prefixed with either **[A]** - applicable to all nodes,
559
559
sudo pcs property set maintenance-mode=false
560
560
```
561
561
562
-
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.
563
-
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:
562
+
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.
563
+
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:
564
564
565
565
```bash
566
566
sudo pcs property set maintenance-mode=true
@@ -591,12 +591,12 @@ The following items are prefixed with either **[A]** - applicable to all nodes,
591
591
sudo pcs property set maintenance-mode=false
592
592
```
593
593
594
-
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).
594
+
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).
595
595
596
-
> [!NOTE]
597
-
> The timeouts in the above configuration are just examples and may need to be adapted to the specific SAP setup.
596
+
> [!NOTE]
597
+
> The timeouts in the above configuration are just examples and may need to be adapted to the specific SAP setup.
598
598
599
-
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.
599
+
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.
600
600
601
601
```bash
602
602
sudo pcs status
@@ -616,10 +616,23 @@ The following items are prefixed with either **[A]** - applicable to all nodes,
616
616
# nc_NW1_AERS (ocf::heartbeat:azure-lb): Started sap-cl1
617
617
# vip_NW1_AERS (ocf::heartbeat:IPaddr2): Started sap-cl1
618
618
# rsc_sap_NW1_ERS01 (ocf::heartbeat:SAPInstance): Started sap-cl1
619
-
```
619
+
```
620
+
621
+
10. **[1]** Execute below step to configure priority-fencing-delay (applicable only as of pacemaker-2.0.4-6.el8 or higher)
622
+
623
+
> [!NOTE]
624
+
> If you have two-node cluster, you have option to configure priority-fencing-delay cluster property. This property introduces additional delay in fencing a node that has higher total resource priority when a split-brain scenario occurs. For more information, see [Can Pacemaker fence the cluster node with the fewest running resources?](https://access.redhat.com/solutions/5110521).
625
+
>
626
+
> The property priority-fencing-delay is applicable forpacemaker-2.0.4-6.el8 version or higher. If you are setting up priority-fencing-delay on existing cluster, make sure to unset `pcmk_delay_max` optionin fencing device.
627
+
628
+
```bash
629
+
sudo pcs resource defaults update priority=1
630
+
sudo pcs resource update rsc_sap_NW1_ASCS00 meta priority=10
631
+
632
+
sudo pcs property set priority-fencing-delay=15s
633
+
```
620
634
621
-
1. **[A]** Add firewall rules for ASCS and ERS on both nodes
622
-
Add the firewall rules for ASCS and ERS on both nodes.
635
+
11. **[A]** Add firewall rules for ASCS and ERS on both nodes.
0 commit comments