Skip to content

Commit c1acc88

Browse files
committed
SAP HANA standby with scale out on SLES - changes for network configuration.
1 parent bc8968d commit c1acc88

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

articles/virtual-machines/workloads/sap/sap-hana-scale-out-standby-netapp-files-suse.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,6 @@ As you're creating your Azure NetApp Files for SAP NetWeaver on SUSE High Availa
164164
> [!IMPORTANT]
165165
> For SAP HANA workloads, low latency is critical. Work with your Microsoft representative to ensure that the virtual machines and the Azure NetApp Files volumes are deployed in close proximity.
166166
167-
> [!IMPORTANT]
168-
> The User ID for **sid**adm and the Group ID for `sapsys` on the VMs must match the configuration in Azure NetApp Files. If there's a mismatch between the VM IDs and the Azure NetApp configuration, the permissions for files on Azure NetApp volumes that are mounted on the VMs will be displayed as `nobody`. Be sure to specify the correct IDs when you're [onboarding a new system](https://forms.office.com/Pages/ResponsePage.aspx?id=v4j5cvGGr0GRqy180BHbRxjSlHBUxkJBjmARn57skvdUQlJaV0ZBOE1PUkhOVk40WjZZQVJXRzI2RC4u) to Azure NetApp Files.
169-
170167
### Sizing for HANA database on Azure NetApp Files
171168

172169
The throughput of an Azure NetApp Files volume is a function of the volume size and service level, as documented in [Service level for Azure NetApp Files](https://docs.microsoft.com/azure/azure-netapp-files/azure-netapp-files-service-levels).
@@ -403,28 +400,33 @@ Configure and prepare your OS by doing the following steps:
403400
umount /mnt/tmp
404401
</code></pre>
405402

406-
3. **[A]** Verify the NFS domain setting. Make sure that the domain is configured as **`localdomain`** and the mapping is set to **nobody**.
403+
3. **[A]** Verify the NFS domain setting. Make sure that the domain is configured as the default Azure NetApp Files domain, i.e. **`defaultv4iddomain.com`** and the mapping is set to **nobody**.
404+
405+
> [!IMPORTANT]
406+
> Make sure to set the NFS domain in `/etc/idmapd.conf' on the VM to match the default domain configuration on Azure NetApp Files: **`defaultv4iddomain.com`**. If there's a mismatch between the domain configuration on the NFS client (i.e. the VM) and the NFS server, i.e. the Azure NetApp configuration, then the permissions for files on Azure NetApp volumes that are mounted on the VMs will be displayed as `nobody`.
407407
408408
<pre><code>
409-
sudo cat /etc/idmapd.conf
409+
sudo cat /etc/idmapd.conf
410410
# Example
411411
[General]
412412
Verbosity = 0
413413
Pipefs-Directory = /var/lib/nfs/rpc_pipefs
414-
Domain = <b>localdomain</b>
414+
Domain = <b>ldefaultv4iddomain.com</b>
415415
[Mapping]
416416
Nobody-User = <b>nobody</b>
417417
Nobody-Group = <b>nobody</b>
418418
</code></pre>
419419

420-
4. **[A]** Disable NFSv4 ID mapping. To create the directory structure where `nfs4_disable_idmapping` is located, execute the mount command. You won't be able to manually create the directory under /sys/modules, because access is reserved for the kernel / drivers.
420+
4. **[A]** Verify `nfs4_disable_idmapping`. It should be set to **Y**. To create the directory structure where `nfs4_disable_idmapping` is located, execute the mount command. You won't be able to manually create the directory under /sys/modules, because access is reserved for the kernel / drivers.
421421

422422
<pre><code>
423+
# Check nfs4_disable_idmapping
424+
cat /sys/module/nfs/parameters/nfs4_disable_idmapping
425+
# If you need to set nfs4_disable_idmapping to Y
423426
mkdir /mnt/tmp
424427
mount 10.23.1.4:/HN1-shared /mnt/tmp
425428
umount /mnt/tmp
426-
# Disable NFSv4 idmapping.
427-
echo "N" > /sys/module/nfs/parameters/nfs4_disable_idmapping
429+
echo "Y" > /sys/module/nfs/parameters/nfs4_disable_idmapping
428430
</code></pre>`
429431

430432
5. **[A]** Create the SAP HANA group and user manually. The IDs for group sapsys and user **hn1**adm must be set to the same IDs, which are provided during the onboarding. (In this example, the IDs are set to **1001**.) If the IDs aren't set correctly, you won't be able to access the volumes. The IDs for group sapsys and user accounts **hn1**adm and sapadm must be the same on all virtual machines.

0 commit comments

Comments
 (0)