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
For more information on how to change the `nfs_disable_idmapping` parameter, see the [Red Hat Knowledge Base](https://access.redhat.com/solutions/1749883).
274
+
For more information on how to change the `nfs_disable_idmapping` parameter, see the [Red Hat Knowledge Base](https://access.redhat.com/solutions/1749883).
275
275
276
276
## SAP HANA installation
277
277
@@ -507,22 +507,43 @@ In this example, each cluster node has its own HANA NFS file systems `/hana/shar
507
507
Location rule constraints are set so that the SAP HANA resources can run on a node only if all of the node's NFS mounts are mounted.
508
508
509
509
```bash
510
-
sudo pcs constraint location SAPHanaTopology_HN1_03-clone rule score=-INFINITY hana_nfs1_active ne true and hana_nfs2_active ne true
510
+
sudo pcs constraint location SAPHanaTopology_HN1_03-clone rule score=-INFINITY hana_nfs1_active ne true and hana_nfs2_active ne true
511
511
```
512
512
513
513
On RHEL 7.x:
514
514
515
515
```bash
516
-
sudo pcs constraint location SAPHana_HN1_03-master rule score=-INFINITY hana_nfs1_active ne true and hana_nfs2_active ne true
516
+
sudo pcs constraint location SAPHana_HN1_03-master rule score=-INFINITY hana_nfs1_active ne true and hana_nfs2_active ne true
517
517
```
518
518
519
519
On RHEL 8.x/9.x:
520
520
521
521
```bash
522
-
sudo pcs constraint location SAPHana_HN1_03-clone rule score=-INFINITY hana_nfs1_active ne true and hana_nfs2_active ne true
522
+
sudo pcs constraint location SAPHana_HN1_03-clone rule score=-INFINITY hana_nfs1_active ne true and hana_nfs2_active ne true
523
523
```
524
524
525
-
Take the cluster out of maintenance mode.
525
+
1. **[1]** Configure ordering constraints so that the SAP resources on a node will stop ahead of a stop for any of the NFS mounts.
526
+
527
+
```bash
528
+
pcs constraint order stop SAPHanaTopology_HN1_03-clone then stop hanadb1_nfs
529
+
pcs constraint order stop SAPHanaTopology_HN1_03-clone then stop hanadb2_nfs
530
+
```
531
+
532
+
On RHEL 7.x:
533
+
534
+
```bash
535
+
pcs constraint order stop SAPHana_HN1_03-master then stop hanadb1_nfs
536
+
pcs constraint order stop SAPHana_HN1_03-master then stop hanadb2_nfs
537
+
```
538
+
539
+
On RHEL 8.x/9.x:
540
+
541
+
```bash
542
+
pcs constraint order stop SAPHana_HN1_03-clone then stop hanadb1_nfs
543
+
pcs constraint order stop SAPHana_HN1_03-clone then stop hanadb2_nfs
544
+
```
545
+
546
+
Take the cluster out of maintenance mode.
526
547
527
548
```bash
528
549
sudo pcs property set maintenance-mode=false
@@ -610,27 +631,27 @@ This section describes how you can test your setup.
610
631
```output
611
632
Full list of resources:
612
633
rsc_hdb_azr_agt (stonith:fence_azure_arm): Started hanadb1
613
-
634
+
614
635
Resource Group: hanadb1_nfs
615
636
hana_data1 (ocf::heartbeat:Filesystem): Started hanadb1
616
637
hana_log1 (ocf::heartbeat:Filesystem): Started hanadb1
617
638
hana_shared1 (ocf::heartbeat:Filesystem): Started hanadb1
618
-
639
+
619
640
Resource Group: hanadb2_nfs
620
641
hana_data2 (ocf::heartbeat:Filesystem): Started hanadb2
621
642
hana_log2 (ocf::heartbeat:Filesystem): Started hanadb2
622
643
hana_shared2 (ocf::heartbeat:Filesystem): Started hanadb2
623
-
644
+
624
645
hana_nfs1_active (ocf::pacemaker:attribute): Started hanadb1
625
646
hana_nfs2_active (ocf::pacemaker:attribute): Started hanadb2
0 commit comments