Configuring the file server

You must first configure the file server by enabling and starting the NFS server and setting up the shared directories. This configuration is required for sharing directories with lead primary server, alternate primary server, and the UI server.
To configure the file server:
  1. Log in as the root user.
  2. Enable and start the NFS server. Type:
    • systemctl enable nfs-server.service
    • systemctl start nfs-server.service
  3. Copy the create-mp-shares.sh script to the file server.
    1. Mount the base product DVD or ISO file.
    2. Navigate to the /scripts/mp directory.
    3. Find create-mp-shares.sh and copy it to a directory on the file server.
    4. Change to the directory where you copied the file.
  4. To set up the shared directories, type:
    • create-mp-shares.sh primary1_hostnameprimary2_hostnamegui_hostname

    The command creates the necessary shared directories and updates the /etc/exports file. Example of /etc/exports file:

    /mpaiw/primary1aiw primary1_hostname(rw,no_root_squash,sync,no_subtree_check,crossmnt)
    /mpaiw/primary2aiw primary2_hostname(rw,no_root_squash,sync,no_subtree_check,crossmnt)
    /mpaiw/primary1aiw gui_hostname(rw,no_root_squash,sync,no_subtree_check,crossmnt)

      Note:
    • The primary1_hostname, primary2_hostname, and gui_hostname are the host names for the lead primary, alternate primary, and UI servers.