Setting up Cluster Export Services groups in an IBM Spectrum Scale cluster

After IBM Spectrum Scale™ is successfully installed and deployed, you can set up Cluster Export Services (CES) groups that are specific to nodes and CES IPs on a cluster that is working correctly by using the following information.

  1. Set the CES nodes in the cluster to the corresponding groups by issuing the mmchnode --ces-group command. For example:
     mmchnode --ces-group Site1 -N prt001st001
     mmchnode --ces-group Site1 -N prt002st001
     mmchnode --ces-group Site2 -N prt003st001
     mmchnode --ces-group Site2 -N prt004st001
    Note: CES group names are not case-sensitive.

    In the example, protocol nodes prt001st001 and prt002st001 are set to the Site1 CES group, and protocol nodes prt003st001 and prt004st001 are set to the site2 CES group.

  2. Assign CES IPs to the corresponding CES groups by issuing the mmces address change command. For example:
    mmces address change --ces-ip 192.0.2.20,192.0.2.21,192.0.2.22,192.0.2.23 
    --ces-group Site1
    mmces address change --ces-ip 192.0.3.20,192.0.3.21,192.0.3.22 
    --ces-group Site2
  3. To verify the CES groups your nodes belong to, issue the mmces node list command.
    The system displays information similar to this:
     
              Node Name                                Node Flags      Node Groups
              -------------------------------------------------------------------- 
              10   prt005st001                         none            site2 
              11   prt006st001                         none            site2 
              12   prt007st001                         none            site2 
              13   prt008st001                         none            site2 
              6    prt001st001                         none            site1 
              7    prt002st001                         none            site1 
              8    prt003st001                         none            site1 
              9    prt004st001                         none            site1
  4. To verify the groups your CES IPs belong to, issue the mmces address list command. The system displays information similar to the following:
              Address        Node                                Group   Attribute  
              ---------------------------------------------------------------------------------
             10.18.52.30     prt001st001                         site1    object_singleton_node,
                                                                          object_database_node
             10.18.52.31     prt002st001                         site1    none 
             10.18.52.32     prt003st001                         site1    none 
             10.18.52.33     prt004st001                         site1    none 
             10.18.60.30     prt005st001                         site2    none 
             10.18.60.31     prt006st001                         site2    none 
             10.18.60.32     prt007st001                         site2    none 
             10.18.60.33     prt008st001                         site2    none