SAP HANA installation preparations for NFSv4
NFS version 4 and higher requires user authentication. This authentication can be accomplished by using a central user management tool such as a Lightweight Directory Access Protocol (LDAP) server or with local user accounts. The following sections describe how to configure local user accounts.
The administration user
<sidadm> and the
sapsys group must be created manually on the SAP HANA hosts and the storage controllers before the installation of the SAP HANA software begins.
SAP HANA hosts
If it does not already exist, you must create the
sapsys group on the SAP HANA host. Choose a unique group ID that does not conflict with the existing group IDs on the storage controllers.
<sidadm> is created on the SAP HANA host. A unique ID must be chosen that does not conflict with existing user IDs on the storage controllers.
For a multiple-host SAP HANA system, the user and group ID must be the same on all SAP HANA hosts. The group and user are created on the other SAP HANA hosts by copying the affected lines in
/etc/passwd from the source system to all other SAP HANA hosts.
The NFSv4 domain must be set to the same value on all Linux servers and SVMs. Set the domain parameter “
Enable and start the NFS idmapd service:
systemctl enable nfs-idmapd.service systemctl start nfs-idmapd.service
|The latest Linux kernels do not require this step. You can safely ignore warning messages.|
The user ID and group ID must be the same on the SAP HANA hosts and the storage controllers. The group and user are created by entering the following commands on the storage cluster:
vserver services unix-group create -vserver <vserver> -name <group name> -id <group id> vserver services unix-user create -vserver <vserver> -user <user name> -id <user-id> -primary-gid <group id>
Additionally, set the group ID of the UNIX user root of the SVM to 0.
vserver services unix-user modify -vserver <vserver> -user root -primary-gid 0