Designating the cloud services nodes

This topic describes how to designate a node as cloud services node in the IBM Spectrum Scale™ cluster.

Before you begin, ensure that you have installed the server package RPMs on all nodes that you want to designate as cloud services nodes. These nodes must have GPFS™ server licenses enabled.

Also, ensure that a user-defined node class has been created and properly configured for cloud services. For instructions, see Creating a user-defined node class for Transparent cloud tiering or Cloud data sharing

To start working with cloud services, the administrator first needs to designate a node as cloud services node in the IBM Spectrum Scale cluster. Data migration to or data recall from a cloud object storage occurs in this node.

You can designate a maximum of any combination of 4 CES or NSD nodes as cloud service nodes in each node class (with a maximum of 4 node class for 16 nodes total) in the IBM Spectrum Scale cluster.

If you have used multiple node classes for cloud services, then you can designate at least one node in each node class as cloud services server nodes.

By default and by way of recommendation, cloud services use the node IP addresses, not the CES IPs.
Note: You need to perform this procedure only on a single node where the server package is installed.
  1. To designate the nodes as cloud services nodes, issue a command according to this syntax: mmchnode change-options -N {Node[,Node...] | NodeFile | NodeClass} [--cloud-gateway-nodeclass CloudGatewayNodeClass].

    You can either choose to designate all nodes or only some selected nodes in a node class as cloud services nodes.

    To designate all nodes in the node class, TCTNodeClass1, as cloud services server nodes, issue this command:
    mmchnode --cloud-gateway-enable -N TCTNodeClass1
    To designate only a few nodes (node1 and node2) in the node class, TCTNodeClass1, as cloud services server nodes, issue this command:
    mmchnode --cloud-gateway-enable -N node1,node2 --cloud-gateway-nodeclass TCTNodeClass1
    It only designates node1 and node2 as cloud services server nodes from the node class, TCTNodeClass1. Administrators can continue to use the node class for other purposes.
    Note: The cloud services node must have connectivity to the object storage service that the cloud service uses.
  2. To designate nodes from multiple node classes as cloud services server nodes, issue the following commands:
    • mmchnode --cloud-gateway-enable -N TCTNodeClass1
    • mmchnode --cloud-gateway-enable -N TCTNodeClass2
  3. To list the designated Transparent cloud tiering nodes, issue this command: mmcloudgateway node list
    Note: For more information, see the mmcloudgateway command.
  4. To disable two nodes, node1 and node2, from the node class, TCTNodeClass1, issue this command:
    mmchnode --cloud-gateway-disable -N nod1,node2 --cloud-gateway-nodeclass TCTNodeClass1
You can add a new node to the node class at any time. For example, issue the following commands to add the node, 10.11.12.13, to the node class, TCTNodeClass1.
  1. mmchnodeclass TCTNodeClass1 add -N 10.11.12.13
  2. mmchnode --cloud-gateway-enable -N 10.11.12.13 --cloud-gateway-nodeclass TCTNodeClass1