Attaching NFS Server Volumes

Scenarios

If you use SFS Turbo to provide shared file storage, skip this section. To attach an SFS Turbo file system to an ECS, see related sections in the SAP NetWeaver User Guide.

After the HA mechanism of NFS servers has been configured, attach the corresponding volumes on NFS servers to both the active and the standby ASCS nodes.

For details about the HA mechanism of NFS servers, see section Configuring HA on NFS Servers.

Procedure

  1. Log in to the active ASCS node.

    1. Run the following commands to create directories:

      mkdir /sapmnt

      mkdir -p /usr/sap/A01/SYS

      mkdir /sapcd

    2. Attach the shared volumes to corresponding directories on the active ASCS node.

      In this example, the floating IP address of the NFS server is 10.0.5.103.

      mount -t nfs -o vers=3 10.0.5.103:/sapmnt /sapmnt

      mount -t nfs -o vers=3 10.0.5.103:/usr/sap/A01/SYS /usr/sap/A01/SYS

      mount -t nfs -o vers=3 10.0.5.103:/sapcd /sapcd

    3. Write disk attaching relationships into the /etc/fstab file.

      Open the file and add the following content:

      10.0.5.103:/sapmnt /sapmnt nfs defaults 0 0
      10.0.5.103:/usr/sap/A01/SYS /usr/sap/A01/SYS nfs defaults 0 0
      10.0.5.103:/sapcd /sapcd nfs defaults 0 0
    4. Log in to the standby ASCS node and repeat steps 1.a to 1.c.