Skip to content

Commit a641d18

Browse files
author
rdeltcheva
committed
SAP with ANF - adjust mount options from nfs to nfsvers-, part 1
1 parent 34e5c9e commit a641d18

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

articles/sap/workloads/high-availability-guide-rhel-netapp-files.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.service: sap-on-azure
88
ms.subservice: sap-vm-workloads
99
ms.topic: article
1010
ms.workload: infrastructure-services
11-
ms.date: 12/06/2022
11+
ms.date: 04/25/2023
1212
ms.author: radeltch
1313
---
1414

@@ -261,9 +261,9 @@ The following items are prefixed with either **[A]** - applicable to all nodes,
261261
# mount temporarily the volume
262262
sudo mkdir -p /saptmp
263263
# If using NFSv3
264-
sudo mount -t nfs -o rw,hard,rsize=65536,wsize=65536,vers=3,tcp 192.168.24.5:/sapQAS /saptmp
264+
sudo mount -t nfs -o rw,hard,rsize=65536,wsize=65536,nfsvers=3,tcp 192.168.24.5:/sapQAS /saptmp
265265
# If using NFSv4.1
266-
sudo mount -t nfs -o rw,hard,rsize=65536,wsize=65536,vers=4.1,sec=sys,tcp 192.168.24.5:/sapQAS /saptmp
266+
sudo mount -t nfs -o rw,hard,rsize=65536,wsize=65536,nfsvers=4.1,sec=sys,tcp 192.168.24.5:/sapQAS /saptmp
267267
# create the SAP directories
268268
sudo cd /saptmp
269269
sudo mkdir -p sapmntQAS
@@ -332,19 +332,19 @@ The following items are prefixed with either **[A]** - applicable to all nodes,
332332
sudo vi /etc/fstab
333333

334334
# Add the following lines to fstab, save and exit
335-
192.168.24.5:/sapQAS/sapmntQAS /sapmnt/QAS nfs rw,hard,rsize=65536,wsize=65536,vers=3
336-
192.168.24.5:/sapQAS/usrsapQASsys /usr/sap/QAS/SYS nfs rw,hard,rsize=65536,wsize=65536,vers=3
337-
192.168.24.4:/transSAP /usr/sap/trans nfs rw,hard,rsize=65536,wsize=65536,vers=3
335+
192.168.24.5:/sapQAS/sapmntQAS /sapmnt/QAS nfs rw,hard,rsize=65536,wsize=65536,nfsvers=3
336+
192.168.24.5:/sapQAS/usrsapQASsys /usr/sap/QAS/SYS nfs rw,hard,rsize=65536,wsize=65536,nfsvers=3
337+
192.168.24.4:/transSAP /usr/sap/trans nfs rw,hard,rsize=65536,wsize=65536,nfsvers=3
338338
```
339339
340340
If using NFSv4.1:
341341
```
342342
sudo vi /etc/fstab
343343

344344
# Add the following lines to fstab, save and exit
345-
192.168.24.5:/sapQAS/sapmntQAS /sapmnt/QAS nfs rw,hard,rsize=65536,wsize=65536,vers=4.1,sec=sys
346-
192.168.24.5:/sapQAS/usrsapQASsys /usr/sap/QAS/SYS nfs rw,hard,rsize=65536,wsize=65536,vers=4.1,sec=sys
347-
192.168.24.4:/transSAP /usr/sap/trans nfs rw,hard,rsize=65536,wsize=65536,vers=4.1,sec=sys
345+
192.168.24.5:/sapQAS/sapmntQAS /sapmnt/QAS nfs rw,hard,rsize=65536,wsize=65536,nfsvers=4.1,sec=sys
346+
192.168.24.5:/sapQAS/usrsapQASsys /usr/sap/QAS/SYS nfs rw,hard,rsize=65536,wsize=65536,nfsvers=4.1,sec=sys
347+
192.168.24.4:/transSAP /usr/sap/trans nfs rw,hard,rsize=65536,wsize=65536,nfsvers=4.1,sec=sys
348348
```
349349
350350
> [!NOTE]
@@ -402,7 +402,7 @@ The following items are prefixed with either **[A]** - applicable to all nodes,
402402

403403
# If using NFSv4.1
404404
sudo pcs resource create fs_QAS_ASCS Filesystem device='192.168.24.5:/sapQAS/usrsapQASascs' \
405-
directory='/usr/sap/QAS/ASCS00' fstype='nfs' force_unmount=safe options='sec=sys,vers=4.1' \
405+
directory='/usr/sap/QAS/ASCS00' fstype='nfs' force_unmount=safe options='sec=sys,nfsvers=4.1' \
406406
op start interval=0 timeout=60 op stop interval=0 timeout=120 op monitor interval=200 timeout=105 \
407407
--group g-QAS_ASCS
408408

@@ -465,7 +465,7 @@ The following items are prefixed with either **[A]** - applicable to all nodes,
465465

466466
# If using NFSv4.1
467467
sudo pcs resource create fs_QAS_AERS Filesystem device='192.168.24.5:/sapQAS/usrsapQASers' \
468-
directory='/usr/sap/QAS/ERS01' fstype='nfs' force_unmount=safe options='sec=sys,vers=4.1' \
468+
directory='/usr/sap/QAS/ERS01' fstype='nfs' force_unmount=safe options='sec=sys,nfsvers=4.1' \
469469
op start interval=0 timeout=60 op stop interval=0 timeout=120 op monitor interval=200 timeout=105 \
470470
--group g-QAS_AERS
471471

@@ -784,17 +784,17 @@ The following items are prefixed with either **[A]** - applicable to all nodes,
784784
sudo vi /etc/fstab
785785
786786
# Add the following lines to fstab, save and exit
787-
192.168.24.5:/sapQAS/sapmntQAS /sapmnt/QAS nfs rw,hard,rsize=65536,wsize=65536,vers=3
788-
192.168.24.4:/transSAP /usr/sap/trans nfs rw,hard,rsize=65536,wsize=65536,vers=3
787+
192.168.24.5:/sapQAS/sapmntQAS /sapmnt/QAS nfs rw,hard,rsize=65536,wsize=65536,nfsvers=3
788+
192.168.24.4:/transSAP /usr/sap/trans nfs rw,hard,rsize=65536,wsize=65536,nfsvers=3
789789
```
790790

791791
If using NFSv4.1:
792792
```
793793
sudo vi /etc/fstab
794794
795795
# Add the following lines to fstab, save and exit
796-
192.168.24.5:/sapQAS/sapmntQAS /sapmnt/QAS nfs rw,hard,rsize=65536,wsize=65536,vers=4.1,sec=sys
797-
192.168.24.4:/transSAP /usr/sap/trans nfs rw,hard,rsize=65536,wsize=65536,vers=4.1,sec=sys
796+
192.168.24.5:/sapQAS/sapmntQAS /sapmnt/QAS nfs rw,hard,rsize=65536,wsize=65536,nfsvers=4.1,sec=sys
797+
192.168.24.4:/transSAP /usr/sap/trans nfs rw,hard,rsize=65536,wsize=65536,nfsvers=4.1,sec=sys
798798
```
799799

800800
Mount the new shares
@@ -811,7 +811,7 @@ The following items are prefixed with either **[A]** - applicable to all nodes,
811811
812812
sudo vi /etc/fstab
813813
# Add the following line to fstab
814-
92.168.24.5:/sapQAS/usrsapQASpas /usr/sap/QAS/D02 nfs rw,hard,rsize=65536,wsize=65536,vers=3
814+
92.168.24.5:/sapQAS/usrsapQASpas /usr/sap/QAS/D02 nfs rw,hard,rsize=65536,wsize=65536,nfsvers=3
815815
816816
# Mount
817817
sudo mount -a
@@ -824,7 +824,7 @@ The following items are prefixed with either **[A]** - applicable to all nodes,
824824
825825
sudo vi /etc/fstab
826826
# Add the following line to fstab
827-
92.168.24.5:/sapQAS/usrsapQASpas /usr/sap/QAS/D02 nfs rw,hard,rsize=65536,wsize=65536,vers=4.1,sec=sys
827+
92.168.24.5:/sapQAS/usrsapQASpas /usr/sap/QAS/D02 nfs rw,hard,rsize=65536,wsize=65536,nfsvers=4.1,sec=sys
828828
829829
# Mount
830830
sudo mount -a
@@ -838,7 +838,7 @@ The following items are prefixed with either **[A]** - applicable to all nodes,
838838
839839
sudo vi /etc/fstab
840840
# Add the following line to fstab
841-
92.168.24.5:/sapQAS/usrsapQASaas /usr/sap/QAS/D03 nfs rw,hard,rsize=65536,wsize=65536,vers=3
841+
92.168.24.5:/sapQAS/usrsapQASaas /usr/sap/QAS/D03 nfs rw,hard,rsize=65536,wsize=65536,nfsvers=3
842842
843843
# Mount
844844
sudo mount -a
@@ -851,7 +851,7 @@ The following items are prefixed with either **[A]** - applicable to all nodes,
851851
852852
sudo vi /etc/fstab
853853
# Add the following line to fstab
854-
92.168.24.5:/sapQAS/usrsapQASaas /usr/sap/QAS/D03 nfs rw,hard,rsize=65536,wsize=65536,vers=4.1,sec=sys
854+
92.168.24.5:/sapQAS/usrsapQASaas /usr/sap/QAS/D03 nfs rw,hard,rsize=65536,wsize=65536,nfsvers=4.1,sec=sys
855855
856856
# Mount
857857
sudo mount -a

0 commit comments

Comments
 (0)