The SAP HANA shared file system is used for the SAP HANA binary, trace, and some configuration files. It must be mounted under the /hana/shared mount point. In SAP HANA single node (scale-up) systems, the file system can reside on a block volume using the XFS file system. For SAP HANA scale-out systems, this file system must be shared across all scale-out nodes, including worker and standby nodes.
The PowerStore file uses virtualized file servers that are known as NAS servers. A NAS server contains the configuration, interfaces, and environmental information that is used to facilitate access to the file systems. This information includes services such as Domain Name System (DNS), Lightweight Directory Access Protocol (LDAP), Network Information Service (NIS), Network Data Management Protocol (NDMP), anti-virus, and so on.
New NAS servers are automatically assigned on a round-robin basis across the available PowerStore nodes. The preferred node acts as a marker to indicate the node that the NAS server runs based on this algorithm. When it is provisioned, the preferred node for a NAS server never changes. The current node indicates the node on which the NAS server is running. Changing the current node moves the NAS server to a different node, which can be used for load-balancing purposes. When a NAS server is moved to a new node, all file systems on the NAS server are moved along with it.
To create a NAS (NFS) shared file system on a PowerStore system, follow these steps in the PowerStore Manager UI. If NAS servers exist in the UI, skip this procedure.
The following page is displayed:
Figure 16. Creating a NAS server
Figure 17. Specifying a sharing protocol
Figure 18. NAS servers overview
To create an SAP HANA shared file system:
The Create File System page is displayed, as shown in the following figure:
Figure 19. Selecting a NAS server
The Create a File System Details page appears, as shown in the following figure:
Figure 20. Creating file system details
Figure 21. NFS Export details
Figure 22. Configuring access
On the SAP HANA host:
mkdir -p /hana/shared
<NAS Server>:/hanashared /hana/shared nfs4 rw,bg,hard,timeo=600,intr,noatime,vers=4.0,rsize=1048576,wsize=1048576,lock,_netdev 0 0
where <NAS Server> is the IP address or hostname of your NAS server on the PowerStore system.
If you are using NFSv3, adjust the NFS version.