Mounting the NFS share on a Linux server

If Docs servers are running on Linux, Docs share needs to be mounted on the Docs servers. If File Viewer servers are running on Linux, Docs share and Viewer share need to be mounted on the File Viewer server. If Document Format Conversion servers are running on Linux, the Docs share and Viewer share need to be mounted on the Docs servers.

  1. Log in to the Linux host as root.
  2. Open a terminal window.
  3. If you are installing with a non-root user, add the user to the server.
  4. adduser -u <userid>
  5. Run the following commands to create the mount point to the HCL Docs share:
    • mkdir –p /opt/IBM/docs_data
    • chown root:root /opt/IBM/docs_data
    • chmod 755 /opt/IBM/docs_data
  6. If File Viewer is installed on Linux, run the following commands to create the mount point to the File Viewer share:
    • mkdir –p /opt/IBM/viewer_data
    • chown root:root /opt/IBM/viewer_data
    • chmod 755 /opt/IBM/viewer_data
    Note: Make sure you mount the viewer_data directory to the server where you deploy Connections. In HCL Docs 2.0 CR2 or later version, there is no need to do this.
  7. If Document Format Conversion is installed on Linux, run the following commands to create the mount point to the HCL Docs share and File Viewer share:
    • mkdir –p /opt/IBM/docs_data
    • chown root:root /opt/IBM/docs_data
    • chmod 755 /opt/IBM/docs_data
    • mkdir –p /opt/IBM/viewer_data
    • chown root:root /opt/IBM/viewer_data
    • chmod 755 /opt/IBM/viewer_data
  8. Add the following commands to the end of the /etc/fstab file to automount the share at boot. These commands ensure that the HCL Docs and File Viewer shares are mounted whenever the system is booted.
    • DocsLab01.example.com:/nfs/viewer_data /opt/IBM/viewer_data nfs noatime,acdirmin=0,nfsvers=3,defaults 0 0
    • DocsLab01.example.com:/nfs/docs_data /opt/IBM/docs_data nfs noatime,acdirmin=0,nfsvers=3,defaults 0 0
  9. In a terminal window, run the following commands:
    • mount –a
    • mount
  10. Review the output to confirm that the NFS mount points are displayed.