Deleting a Cluster Export Services node from an IBM Spectrum Scale cluster

Use this information to delete a Cluster Export Services (CES) node from an IBM Spectrum Scale™ cluster.

  1. Start of changeOn the node that you want to delete from the cluster, issue the following command to determine if it is a member of the file audit logging message queue.
    # mmmsgqueue status

    If the node is not in the list or if file audit logging was never configured, proceed to step 2.

    If the node is in the list, it is either a broker or a ZooKeeper. Therefore, file audit logging must be disabled for all file systems. Follow steps 1-5 in Enabling file audit logging on a new spectrumscale cluster node to disable it.

    End of change
  2. On a node other than the one you want to delete from the cluster, issue the following command to suspend the node.
    # mmces node suspend –N <Node_to_Delete>
  3. On the node that you want to delete from the cluster, issue the following commands to stop the CES services.
    # mmces service stop nfs
    # mmces service stop smb
    # mmces service stop obj

    In this example, it is assumed that all three protocols are enabled on the node that you want to delete from the cluster.

  4. On a node other than the one you want to delete from the cluster, issue the following command to disable CES on the node.
    # mmchnode –N <Node_to_Delete> --ces-disable
  5. On a node other than the one you want to delete from the cluster, issue the following command to shut down GPFS™ on the node.
    # mmshutdown –N <Node_to_Delete>
  6. On a node other than the one you want to delete from the cluster, issue the following command to delete the node from the cluster.
    # mmdelnode –N <Node_to_Delete>
  7. Start of changeIf you disabled file audit logging in step 1, you can enable it by following the instructions in Enabling file audit logging on a file system.End of change