Top
PRIMECLUSTER  Installation and Administration Guide 4.6
FUJITSU Software

6.12.6 Preliminary Setup When Using NFS Server Function

  1. Starting the NFS service and setting its automatic startup

    Perform the following procedure on all the nodes where userApplication is configured to start the NFS service and set its automatic startup.

    # systemctl enable nfs-server
    # systemctl start nfs-server
  2. Defining the /etc/exports.pcl file

    Add the mount point of a file system to be published as an NFS server, to the /etc/exports.pcl file on all the nodes where userApplication is configured. The procedure for description in this file is the same as the one for description in the /etc/exports file of OS. Each line must begin with "#RMS#."

    Example: When the mount point to be published is /mnt/swdsk1, the NFS client is 192.168.1.10/24, and the option is ro,sync

    #RMS#/mnt/swdsk1   192.168.1.10/24(ro,sync)

    Note

    • The mount point to be described in this file needs to be the same as the one described in the fstab.pcl file.

    • For the NFS client, a host name can be specified. In this case, an asterisk (*) and question mark (?) cannot be used.

  3. Setting up dependency relationships between the NFS service and the PRIMECLUSTER service

    Perform the following procedure on all the nodes where userApplication is configured.

    1. Copying the UNIT file smawrhv-nfs.service to the management directory of systemd

      # cp -p /opt/SMAW/SMAWRrms/etc/smawrhv-nfs.service /usr/lib/systemd/system
    2. Changing the privileges of the UNIT file smawrhv-nfs.service

      # chmod 644 /usr/lib/systemd/system/smawrhv-nfs.service
      # chown root:root /usr/lib/systemd/system/smawrhv-nfs.service
    3. Setting the smawrhv-nfs.service to be automatically started at OS startup

      # systemctl enable smawrhv-nfs.service