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

Install Cluster Export Services (CES) on Red Hat Enterprise Linux® 7.x and 8.x, SLES 12, and Ubuntu 16.04 LTS and 18.04 LTS as follows.

Note:
  • The object protocol is not supported on Red Hat Enterprise Linux 8.x.
  • The object protocol is not supported on SLES 12.
  • SMB and object protocols are not supported on the s390x architecture.
  • SMB, NFS, and object protocols are not supported on SLES 15.
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 by using the following command.
    # mmshutdown -a
  2. Configure the CES shared root file system using the following command.
    # mmchconfig cesSharedRoot=/gpfs/fs0
    Note: It is recommended to configure an independent file system as the CES shared root file system.
  3. Start GPFS on all nodes in the cluster by using the following command.
    # mmstartup -a
  4. Enable CES on the required nodes by using the following command.
    # mmchnode -–ces-enable –N prnode1,prnode2,prnode3
  5. Add to the protocol nodes the IP addresses designated to be used for CES connectivity by using the following command.
    # mmces address add --ces-node prnode1 --ces-ip CESIPAddress
  6. Verify the CES configuration by using the following commands.
    # mmlscluster --ces
    # mmces address list

Currently, there are no services that are enabled. You can verify by 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. Start of changeRemove 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 8.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
    End of change
  3. Start of changeInstall 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 8.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.

    End of change
  4. Start of changeInstall 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 8.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
      Start of changeIf you cannot install NFS package because of any error by using the dpkg -i command, issue the following command:End of changeStart of change
      # apt install ./NFS_Package_Name1 ./NFS_Package_Name2 ... ./NFS_Package_NameN
      End of changeStart of changeThis command installs the specified local package files.End of change

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

    End of change
  5. Install IBM Spectrum Scale for object storage package by 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 by 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.