Skip to content

Commit 96786c9

Browse files
Merge pull request #235846 from rdeltcheva/anf-nfsvers-1
SAP with ANF - adjust mount options from nfs to nfsvers, part 1
2 parents 2de88ad + 38b1b93 commit 96786c9

File tree

3 files changed

+43
-43
lines changed

3 files changed

+43
-43
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

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ms.subservice: sap-vm-workloads
1414
ms.topic: article
1515
ms.tgt_pltfrm: vm-windows
1616
ms.workload: infrastructure-services
17-
ms.date: 12/06/2022
17+
ms.date: 04/25/2023
1818
ms.author: radeltch
1919

2020
---
@@ -340,9 +340,9 @@ The following items are prefixed with either **[A]** - applicable to all nodes,
340340
# mount temporarily the volume
341341
sudo mkdir -p /saptmp
342342
# If using NFSv3
343-
sudo mount -t nfs -o rw,hard,rsize=65536,wsize=65536,vers=3,tcp 10.1.0.4:/sapQAS /saptmp
343+
sudo mount -t nfs -o rw,hard,rsize=65536,wsize=65536,nfsvers=3,tcp 10.1.0.4:/sapQAS /saptmp
344344
# If using NFSv4.1
345-
sudo mount -t nfs -o rw,hard,rsize=65536,wsize=65536,vers=4.1,sec=sys,tcp 10.1.0.4:/sapQAS /saptmp
345+
sudo mount -t nfs -o rw,hard,rsize=65536,wsize=65536,nfsvers=4.1,sec=sys,tcp 10.1.0.4:/sapQAS /saptmp
346346
# create the SAP directories
347347
sudo cd /saptmp
348348
sudo mkdir -p sapmntQAS
@@ -454,7 +454,7 @@ The following items are prefixed with either **[A]** - applicable to all nodes,
454454
op monitor interval=20s timeout=40s
455455
456456
# If using NFSv4.1
457-
sudo crm configure primitive fs_<b>QAS</b>_ASCS Filesystem device='<b>10.1.0.4</b>:/usrsap<b>qas</b>/usrsap<b>QAS</b>ascs' directory='/usr/sap/<b>QAS</b>/ASCS<b>00</b>' fstype='nfs' options='sec=sys,vers=4.1' \
457+
sudo crm configure primitive fs_<b>QAS</b>_ASCS Filesystem device='<b>10.1.0.4</b>:/usrsap<b>qas</b>/usrsap<b>QAS</b>ascs' directory='/usr/sap/<b>QAS</b>/ASCS<b>00</b>' fstype='nfs' options='sec=sys,nfsvers=4.1' \
458458
op start timeout=60s interval=0 \
459459
op stop timeout=60s interval=0 \
460460
op monitor interval=20s timeout=105s
@@ -514,7 +514,7 @@ The following items are prefixed with either **[A]** - applicable to all nodes,
514514
op monitor interval=20s timeout=40s
515515
516516
# If using NFSv4.1
517-
sudo crm configure primitive fs_<b>QAS</b>_ERS Filesystem device='<b>10.1.0.4</b>:/usrsap<b>qas</b>/usrsap<b>QAS</b>ers' directory='/usr/sap/<b>QAS</b>/ERS<b>01</b>' fstype='nfs' options='sec=sys,vers=4.1' \
517+
sudo crm configure primitive fs_<b>QAS</b>_ERS Filesystem device='<b>10.1.0.4</b>:/usrsap<b>qas</b>/usrsap<b>QAS</b>ers' directory='/usr/sap/<b>QAS</b>/ERS<b>01</b>' fstype='nfs' options='sec=sys,nfsvers=4.1' \
518518
op start timeout=60s interval=0 \
519519
op stop timeout=60s interval=0 \
520520
op monitor interval=20s timeout=105s

articles/sap/workloads/high-availability-guide-suse-nfs-simple-mount.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ms.subservice: sap-vm-workloads
1414
ms.topic: tutorial
1515
ms.tgt_pltfrm: vm-windows
1616
ms.workload: infrastructure-services
17-
ms.date: 12/06/2022
17+
ms.date: 04/25/2023
1818
ms.author: radeltch
1919

2020
---
@@ -396,7 +396,7 @@ The following items are prefixed with:
396396
```bash
397397
# Temporarily mount the volume.
398398
sudo mkdir -p /saptmp
399-
sudo mount -t nfs sapnfsafs.file.core.windows.net:/sapnfsafs/sapnw1 /saptmp -o vers=4,minorversion=1,sec=sys
399+
sudo mount -t nfs sapnfsafs.file.core.windows.net:/sapnfsafs/sapnw1 /saptmp -o vers=4.1,sec=sys
400400
# Create the SAP directories.
401401
sudo cd /saptmp
402402
sudo mkdir -p sapmntNW1
@@ -424,9 +424,9 @@ The following items are prefixed with:
424424
With the simple mount configuration, the Pacemaker cluster doesn't control the file systems.
425425
426426
```bash
427-
echo "sapnfsafs.file.core.windows.net:/sapnfsafs/sapnw1/sapmntNW1 /sapmnt/NW1 nfs vers=4,minorversion=1,sec=sys 0 0" >> /etc/fstab
428-
echo "sapnfsafs.file.core.windows.net:/sapnfsafs/sapnw1/usrsapNW1/ /usr/sap/NW1 nfs vers=4,minorversion=1,sec=sys 0 0" >> /etc/fstab
429-
echo "sapnfsafs.file.core.windows.net:/sapnfsafs/saptrans /usr/sap/trans nfs vers=4,minorversion=1,sec=sys 0 0" >> /etc/fstab
427+
echo "sapnfsafs.file.core.windows.net:/sapnfsafs/sapnw1/sapmntNW1 /sapmnt/NW1 nfs vers=4.1,sec=sys 0 0" >> /etc/fstab
428+
echo "sapnfsafs.file.core.windows.net:/sapnfsafs/sapnw1/usrsapNW1/ /usr/sap/NW1 nfs vers=4.1,sec=sys 0 0" >> /etc/fstab
429+
echo "sapnfsafs.file.core.windows.net:/sapnfsafs/saptrans /usr/sap/trans nfs vers=4.1,sec=sys 0 0" >> /etc/fstab
430430
# Mount the file systems.
431431
mount -a
432432
```
@@ -473,9 +473,9 @@ The instructions in this section are applicable only if you're using Azure NetAp
473473
# Temporarily mount the volume.
474474
sudo mkdir -p /saptmp
475475
# If you're using NFSv3:
476-
sudo mount -t nfs -o rw,hard,rsize=65536,wsize=65536,vers=3,tcp 10.27.1.5:/sapnw1 /saptmp
476+
sudo mount -t nfs -o rw,hard,rsize=65536,wsize=65536,nfsvers=3,tcp 10.27.1.5:/sapnw1 /saptmp
477477
# If you're using NFSv4.1:
478-
sudo mount -t nfs -o rw,hard,rsize=65536,wsize=65536,vers=4.1,sec=sys,tcp 10.27.1.5:/sapnw1 /saptmp
478+
sudo mount -t nfs -o rw,hard,rsize=65536,wsize=65536,nfsvers=4.1,sec=sys,tcp 10.27.1.5:/sapnw1 /saptmp
479479
# Create the SAP directories.
480480
sudo cd /saptmp
481481
sudo mkdir -p sapmntNW1
@@ -504,13 +504,13 @@ The instructions in this section are applicable only if you're using Azure NetAp
504504
505505
```bash
506506
# If you're using NFSv3:
507-
echo "10.27.1.5:/sapnw1/sapmntNW1 /sapmnt/NW1 nfs vers=3,hard 0 0" >> /etc/fstab
508-
echo "10.27.1.5:/sapnw1/usrsapNW1 /usr/sap/NW1 nfs vers=3,hard 0 0" >> /etc/fstab
509-
echo "10.27.1.5:/saptrans /usr/sap/trans nfs vers=3,hard 0 0" >> /etc/fstab
507+
echo "10.27.1.5:/sapnw1/sapmntNW1 /sapmnt/NW1 nfs nfsvers=3,hard 0 0" >> /etc/fstab
508+
echo "10.27.1.5:/sapnw1/usrsapNW1 /usr/sap/NW1 nfs nfsvers=3,hard 0 0" >> /etc/fstab
509+
echo "10.27.1.5:/saptrans /usr/sap/trans nfs nfsvers=3,hard 0 0" >> /etc/fstab
510510
# If you're using NFSv4.1:
511-
echo "10.27.1.5:/sapnw1/sapmntNW1 /sapmnt/NW1 nfs vers=4,minorversion=1,sec=sys,hard 0 0" >> /etc/fstab
512-
echo "10.27.1.5:/sapnw1/usrsapNW1 /usr/sap/NW1 nfs vers=4,minorversion=1,sec=sys,hard 0 0" >> /etc/fstab
513-
echo "10.27.1.5:/saptrans /usr/sap/trans nfs vers=4,minorversion=1,sec=sys,hard 0 0" >> /etc/fstab
511+
echo "10.27.1.5:/sapnw1/sapmntNW1 /sapmnt/NW1 nfs nfsvers=4.1,sec=sys,hard 0 0" >> /etc/fstab
512+
echo "10.27.1.5:/sapnw1/usrsapNW1 /usr/sap/NW1 nfs nfsvers=4.1,sec=sys,hard 0 0" >> /etc/fstab
513+
echo "10.27.1.5:/saptrans /usr/sap/trans nfs nfsvers=4.1,sec=sys,hard 0 0" >> /etc/fstab
514514
# Mount the file systems.
515515
mount -a
516516
```
@@ -883,8 +883,8 @@ If you're using NFS on Azure Files, use the following instructions to prepare th
883883
2. Mount the file systems.
884884
885885
```bash
886-
echo "sapnfsafs.file.core.windows.net:/sapnfsafs/sapnw1/sapmntNW1 /sapmnt/NW1 nfs vers=4,minorversion=1,sec=sys 0 0" >> /etc/fstab
887-
echo "sapnfsafs.file.core.windows.net:/sapnfsafs/saptrans /usr/sap/trans nfs vers=4,minorversion=1,sec=sys 0 0" >> /etc/fstab
886+
echo "sapnfsafs.file.core.windows.net:/sapnfsafs/sapnw1/sapmntNW1 /sapmnt/NW1 nfs vers=4.1,sec=sys 0 0" >> /etc/fstab
887+
echo "sapnfsafs.file.core.windows.net:/sapnfsafs/saptrans /usr/sap/trans nfs vers=4.1,sec=sys 0 0" >> /etc/fstab
888888
# Mount the file systems.
889889
mount -a
890890
```
@@ -904,11 +904,11 @@ If you're using NFS on Azure NetApp Files, use the following instructions to pre
904904
905905
```bash
906906
# If you're using NFSv3:
907-
echo "10.27.1.5:/sapnw1/sapmntNW1 /sapmnt/NW1 nfs vers=3,hard 0 0" >> /etc/fstab
908-
echo "10.27.1.5:/saptrans /usr/sap/trans nfs vers=3, hard 0 0" >> /etc/fstab
907+
echo "10.27.1.5:/sapnw1/sapmntNW1 /sapmnt/NW1 nfs nfsvers=3,hard 0 0" >> /etc/fstab
908+
echo "10.27.1.5:/saptrans /usr/sap/trans nfs nfsvers=3, hard 0 0" >> /etc/fstab
909909
# If you're using NFSv4.1:
910-
echo "10.27.1.5:/sapnw1/sapmntNW1 /sapmnt/NW1 nfs vers=4,minorversion=1,sec=sys,hard 0 0" >> /etc/fstab
911-
echo "10.27.1.5:/saptrans /usr/sap/trans nfs vers=4,minorversion=1,sec=sys,hard 0 0" >> /etc/fstab
910+
echo "10.27.1.5:/sapnw1/sapmntNW1 /sapmnt/NW1 nfs nfsvers=4.1,sec=sys,hard 0 0" >> /etc/fstab
911+
echo "10.27.1.5:/saptrans /usr/sap/trans nfs nfsvers=4.1,sec=sys,hard 0 0" >> /etc/fstab
912912
# Mount the file systems.
913913
mount -a
914914
```

0 commit comments

Comments
 (0)