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
@@ -372,155 +372,155 @@ This article assumes that:
372
372
373
373
If you use enqueue server 2 architecture ([ENSA2](https://help.sap.com/docs/ABAP_PLATFORM_NEW/cff8531bc1d9416d91bb6781e628d4e0/6d655c383abf4c129b0e5c8683e7ecd8.html)), install resource agent resource-agents-sap-4.1.1-12.el7.x86_64 or newer and define the resources for SAP systems `NW2` and `NW3` as follows:
op monitor interval=20 on-fail=restart timeout=60 op start interval=0 timeout=600 op stop interval=0 timeout=600 \
442
+
--group g-NW2_AERS
471
443
472
-
sudo pcs property set maintenance-mode=false
473
-
```
444
+
sudo pcs resource meta rsc_sap_NW2_ERS12 resource-stickiness=3000
474
445
475
-
---
446
+
sudo pcs constraint colocation add g-NW2_AERS with g-NW2_ASCS -5000
447
+
sudo pcs constraint order start g-NW2_ASCS then start g-NW2_AERS kind=Optional symmetrical=false
448
+
sudo pcs constraint order start g-NW2_ASCS then stop g-NW2_AERS kind=Optional symmetrical=false
476
449
477
-
If you're upgrading from an older version and switching to enqueue server 2, see SAP note [2641019](https://launchpad.support.sap.com/#/notes/2641019).
op monitor interval=20 on-fail=restart timeout=60 op start interval=0 timeout=600 op stop interval=0 timeout=600 \
464
+
--group g-NW3_AERS
484
465
485
-
```bash
486
-
sudo pcs status
466
+
sudo pcs resource meta rsc_sap_NW3_ERS22 resource-stickiness=3000
487
467
488
-
Online: [ rhelmsscl1 rhelmsscl2 ]
468
+
sudo pcs constraint colocation add g-NW3_AERS with g-NW3_ASCS -5000
469
+
sudo pcs constraint order start g-NW3_ASCS then start g-NW3_AERS kind=Optional symmetrical=false
470
+
sudo pcs constraint order start g-NW3_ASCS then stop g-NW3_AERS kind=Optional symmetrical=false
489
471
490
-
Full list of resources:
472
+
sudo pcs property set maintenance-mode=false
473
+
```
491
474
492
-
rsc_st_azure (stonith:fence_azure_arm): Started rhelmsscl1
493
-
Resource Group: g-NW1_ASCS
494
-
fs_NW1_ASCS (ocf::heartbeat:Filesystem): Started rhelmsscl1
495
-
vip_NW1_ASCS (ocf::heartbeat:IPaddr2): Started rhelmsscl1
496
-
nc_NW1_ASCS (ocf::heartbeat:azure-lb): Started rhelmsscl1
497
-
rsc_sap_NW1_ASCS00 (ocf::heartbeat:SAPInstance): Started rhelmsscl1
498
-
Resource Group: g-NW1_AERS
499
-
fs_NW1_AERS (ocf::heartbeat:Filesystem): Started rhelmsscl2
500
-
vip_NW1_AERS (ocf::heartbeat:IPaddr2): Started rhelmsscl2
501
-
nc_NW1_AERS (ocf::heartbeat:azure-lb): Started rhelmsscl2
502
-
rsc_sap_NW1_ERS02 (ocf::heartbeat:SAPInstance): Started rhelmsscl2
503
-
Resource Group: g-NW2_ASCS
504
-
fs_NW2_ASCS (ocf::heartbeat:Filesystem): Started rhelmsscl1
505
-
vip_NW2_ASCS (ocf::heartbeat:IPaddr2): Started rhelmsscl1
506
-
nc_NW2_ASCS (ocf::heartbeat:azure-lb): Started rhelmsscl1
507
-
rsc_sap_NW2_ASCS10 (ocf::heartbeat:SAPInstance): Started rhelmsscl1
508
-
Resource Group: g-NW2_AERS
509
-
fs_NW2_AERS (ocf::heartbeat:Filesystem): Started rhelmsscl1
510
-
vip_NW2_AERS (ocf::heartbeat:IPaddr2): Started rhelmsscl1
511
-
nc_NW2_AERS (ocf::heartbeat:azure-lb): Started rhelmsscl1
512
-
rsc_sap_NW2_ERS12 (ocf::heartbeat:SAPInstance): Started rhelmsscl1
513
-
Resource Group: g-NW3_ASCS
514
-
fs_NW3_ASCS (ocf::heartbeat:Filesystem): Started rhelmsscl1
515
-
vip_NW3_ASCS (ocf::heartbeat:IPaddr2): Started rhelmsscl1
516
-
nc_NW3_ASCS (ocf::heartbeat:azure-lb): Started rhelmsscl1
517
-
rsc_sap_NW3_ASCS20 (ocf::heartbeat:SAPInstance): Started rhelmsscl1
518
-
Resource Group: g-NW3_AERS
519
-
fs_NW3_AERS (ocf::heartbeat:Filesystem): Started rhelmsscl1
520
-
vip_NW3_AERS (ocf::heartbeat:IPaddr2): Started rhelmsscl1
521
-
nc_NW3_AERS (ocf::heartbeat:azure-lb): Started rhelmsscl1
522
-
rsc_sap_NW3_ERS22 (ocf::heartbeat:SAPInstance): Started rhelmsscl1
523
-
```
475
+
---
476
+
477
+
If you're upgrading from an older version and switching to enqueue server 2, see SAP note [2641019](https://launchpad.support.sap.com/#/notes/2641019).
478
+
479
+
> [!NOTE]
480
+
> The timeouts in the above configuration are just examples and might need to be adapted to the specific SAP setup.
481
+
482
+
Make sure that the cluster status is ok and that all resources are started. It's not important on which node the resources are running.
483
+
The following example shows the cluster resources status, after SAP systems `NW2` and `NW3` were added to the cluster.
484
+
485
+
```bash
486
+
sudo pcs status
487
+
488
+
# Online: [ rhelmsscl1 rhelmsscl2 ]
489
+
490
+
# Full list of resources:
491
+
492
+
# rsc_st_azure (stonith:fence_azure_arm): Started rhelmsscl1
493
+
# Resource Group: g-NW1_ASCS
494
+
# fs_NW1_ASCS (ocf::heartbeat:Filesystem): Started rhelmsscl1
495
+
# vip_NW1_ASCS (ocf::heartbeat:IPaddr2): Started rhelmsscl1
496
+
# nc_NW1_ASCS (ocf::heartbeat:azure-lb): Started rhelmsscl1
497
+
# rsc_sap_NW1_ASCS00 (ocf::heartbeat:SAPInstance): Started rhelmsscl1
498
+
# Resource Group: g-NW1_AERS
499
+
# fs_NW1_AERS (ocf::heartbeat:Filesystem): Started rhelmsscl2
500
+
# vip_NW1_AERS (ocf::heartbeat:IPaddr2): Started rhelmsscl2
501
+
# nc_NW1_AERS (ocf::heartbeat:azure-lb): Started rhelmsscl2
502
+
# rsc_sap_NW1_ERS02 (ocf::heartbeat:SAPInstance): Started rhelmsscl2
503
+
# Resource Group: g-NW2_ASCS
504
+
# fs_NW2_ASCS (ocf::heartbeat:Filesystem): Started rhelmsscl1
505
+
# vip_NW2_ASCS (ocf::heartbeat:IPaddr2): Started rhelmsscl1
506
+
# nc_NW2_ASCS (ocf::heartbeat:azure-lb): Started rhelmsscl1
507
+
# rsc_sap_NW2_ASCS10 (ocf::heartbeat:SAPInstance): Started rhelmsscl1
508
+
# Resource Group: g-NW2_AERS
509
+
# fs_NW2_AERS (ocf::heartbeat:Filesystem): Started rhelmsscl1
510
+
# vip_NW2_AERS (ocf::heartbeat:IPaddr2): Started rhelmsscl1
511
+
# nc_NW2_AERS (ocf::heartbeat:azure-lb): Started rhelmsscl1
512
+
# rsc_sap_NW2_ERS12 (ocf::heartbeat:SAPInstance): Started rhelmsscl1
513
+
# Resource Group: g-NW3_ASCS
514
+
# fs_NW3_ASCS (ocf::heartbeat:Filesystem): Started rhelmsscl1
515
+
# vip_NW3_ASCS (ocf::heartbeat:IPaddr2): Started rhelmsscl1
516
+
# nc_NW3_ASCS (ocf::heartbeat:azure-lb): Started rhelmsscl1
517
+
# rsc_sap_NW3_ASCS20 (ocf::heartbeat:SAPInstance): Started rhelmsscl1
518
+
# Resource Group: g-NW3_AERS
519
+
# fs_NW3_AERS (ocf::heartbeat:Filesystem): Started rhelmsscl1
520
+
# vip_NW3_AERS (ocf::heartbeat:IPaddr2): Started rhelmsscl1
521
+
# nc_NW3_AERS (ocf::heartbeat:azure-lb): Started rhelmsscl1
522
+
# rsc_sap_NW3_ERS22 (ocf::heartbeat:SAPInstance): Started rhelmsscl1
523
+
```
524
524
525
525
8. **[A]** Add firewall rules for ASCS and ERS on both nodes. The example below shows the firewall rules for both SAP systems `NW2` and `NW3`.
0 commit comments