Installing Cluster Export Services as part of installing IBM Spectrum Scale on Linux systems

Use this information to install Cluster Export Services (CES) on Red Hat Enterprise Linux 7.x, SLES 12, and Ubuntu 16.04 LTS and 18.04 LTS systems.
Note:
  • The object protocol is not supported on SLES 12.
  • SMB, NFS, and object protocols are not supported on the s390x architecture.
Important: If you plan to install and configure CES, all protocols available on your platform must be installed. Installing a subset of available protocols is not supported.
  1. Unmount GPFS file systems and stop GPFS on all nodes using the following command.
    # mmshutdown -a
  2. Configure the CES shared root file system on one of the available file systems using the following command.
    # mmchconfig cesSharedRoot=/gpfs/fs0
  3. Start GPFS on all nodes in the cluster using the following command.
    # mmstartup -a
  4. Enable CES on the required nodes using the following command.
    # mmchnode -–ces-enable –N prnode1,prnode2,prnode3
  5. Add the IP addresses of the protocol nodes to CES using the following commands.
    # mmces address add --ces-ip 198.51.100.2
    # mmces address add --node prnode1 --ces-ip 198.51.100.2
  6. Verify the CES configuration using the following commands.
    # mmlscluster --ces
    # mmces address list

At this point, there are no services enabled. You can verify that using the mmces service list --all command. The system displays output similar to the following.

No CES services are enabled.

  1. Download and extract IBM Spectrum Scale protocol packages, and then accept the licensing agreement. For more information, see Extracting the IBM Spectrum Scale software on Linux nodes and Accepting the electronic license agreement on Linux nodes.

    For information on the location of extracted packages, see Location of extracted packages.

  2. Install IBM Spectrum Scale NFS packages by issuing one of the following commands depending on the operating system.
    • On Red Hat Enterprise Linux 7.x and SLES 12, issue the following command.
      # rpm -ivh NFS_Package_Name1 NFS_Package_Name2 ... NFS_Package_NameN
    • On Ubuntu 16.04 LTS and 18.04 LTS, issue the following command.
      # dpkg -i NFS_Package_Name1 NFS_Package_Name2 ... NFS_Package_NameN

    For a list of packages for the current IBM Spectrum Scale release, see Manually installing the IBM Spectrum Scale software packages on Linux nodes.

  3. Remove conflicting Samba packages that might have been installed on each CES node by issuing one of the following commands depending on the operating system.
    • On Red Hat Enterprise Linux 7.x and SLES 12, issue the following command.
      # mmdsh -N all rpm -e samba-common --nodeps
      # mmdsh -N all rpm -e samba-client
    • On Ubuntu 16.04 LTS and 18.04 LTS, issue the following command.
      # mmdsh -N all dpkg -P samba-common
      # mmdsh -N all dpkg -P samba-client
  4. Install IBM Spectrum Scale SMB package by issuing one of the following commands depending on the operating system.
    • On Red Hat Enterprise Linux 7.x and SLES 12, issue the following command.
      # rpm -ivh gpfs.smb*.rpm
    • On Ubuntu 16.04 LTS and 18.04 LTS, issue the following command.
      # dpkg -i gpfs.smb*.deb

    For a list of packages for the current IBM Spectrum Scale release, see Manually installing the IBM Spectrum Scale software packages on Linux nodes.

  5. Install IBM Spectrum Scale for object storage package using one of these procedures depending on the operating system.
  6. If you want to use the CES BLOCK service that is available only on Red Hat Enterprise Linux 7.x, install the package using the following command.
    # rpm -ivh BLOCK_Service_Package_Name

    For a list of packages for the current IBM Spectrum Scale release, see Manually installing the IBM Spectrum Scale software packages on Linux nodes.

    For an overview of the CES BLOCK service, see CES iSCSI support.

    For information on configuring the CES BLOCK service, see Configuring and enabling the BLOCK service.