Prepare an NFS as shared storage

Before you enable high availability, prepare a shared network file system (NFS). A shared file system is used in high availability to store share work and user settings.

Procedure

  1. Confirm that the NFS server can be used for the high availability configuration and that it is accessible from the IBM® Spectrum Cluster Foundation Community Edition management nodes. Run the following command on both management nodes to ping the NFS server from provision network.
    # ping -c 2 -I eth1 192.168.1.1
    PING 192.168.1.1 (192.168.1.1) from 192.168.1.3 eth1: 56(84) bytes of data.
    64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=0.051 ms
    64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=0.036 ms
  2. View the list of all NFS shared directories available on the NFS server.
    # showmount -e 192.168.1.1
    Export list for 192.168.1.1:
    /export/data 192.168.1.0/255.255.255.0
    /export/home 192.168.1.0/255.255.255.0
  3. Add the NFS server as an IP pool to the IBM Spectrum Cluster Foundation Community Edition system. This prevents the IP address of the NFS server from being allocated to a compute node and ensures that the NFS server name can be resolved consistently across the cluster. On the primary management node, run the following commands.
    #nodeaddunmged hostname=nfsserver ip=192.168.1.1
    Created unmanaged node.
    #plcclient.sh -d pcmnodeloader
    Loaders startup successfully.