Skip to content

Commit 38b1b93

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

File tree

2 files changed

+24
-24
lines changed

2 files changed

+24
-24
lines changed

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)