Creating a user-defined node class for Transparent cloud tiering or Start of changeCloud data sharingEnd of change

Start of changeYou must create a node class as a preparation for installing cloud services on IBM Spectrum Scale™ nodes.End of change If you have an existing node class, you might use that one.

Note: You need to run this command only once on any node on the IBM Spectrum Scale cluster.

You can install Start of changecloud servicesEnd of change on a maximum of 4 nodes (any combination of NSD or CES nodes) on the IBM Spectrum Scale cluster. Before you install cloud services, you need to create a node class specifying the IP address (or fully qualified host name) of the node where the server packages are going to be installed. You can use any host name that the -N option accepts. For details, see mmcrnodeclass command in IBM Spectrum Scale: Command and Programming Reference.

Start of changeYou can enable and manage independent groups of cloud services nodes in different node classes for use with different network configurations per node class. Nodes are mutually exclusive to each node class and cannot be shared with another node class that has cloud services nodes. For example, the node class TCTNodeClass1 has node1 and node2 and the node class TCTNodeClass2 has node3 and node 4. All nodes are Start of changecloud servicesEnd of change enabled nodes. In this case, the node class TCTNodeClass2 cannot enable node1 as a Start of changecloud servicesEnd of change node under the TCTNodeClass2 node class because it is already marked for Start of changecloud servicesEnd of change usage under the TCTNodeClass1 node class, and so on. Additionally, each group of Start of changecloud servicesEnd of change enabled nodes under a node class cannot share the same file system with Start of changecloud servicesEnd of change enabled nodes from a different node class. And each Start of changecloud servicesEnd of change enabled node under a node class is limited to use only 1 common file system with each node in that node class. Therefore, you must manage each group of Start of changecloud servicesEnd of change nodes within a node class as a pool of nodes requiring a single common file system.End of change

Note: It is recommended that you set up at least 2 nodes so that you have good availability for the service if a node were to go down. Ensure to use the GPFS™ cluster IP address that gets displayed when you run the mmlscluster command.
To create a node class, issue a command according to this syntax:
mmcrnodeclass ClassName -N {Node[,Node...] | NodeFile | NodeClass}
For example, to create a node class called TCTNodeClass by using three nodes 10.10.10.10, 11.11.11.11, and 12.12.12.12, issue this command:
mmcrnodeclass TCTNodeClass -N 10.10.10.10,11.11.11.11,12.12.12.12
To verify that the node class is created, issue this command:
mmnlsnodeclass
The system displays output similar to this:
Node Class Name Members
--------------------- -----------------------------------------------------------
TCTNodeClass jupiter-vm878.pk.slabs.ibm.com
jupiter-vm780.pk.slabs.ibm.com
jupiter-vm686.pk.slabs.ibm.com

For more information on the usage and the other options available in the mmcrnodeclass command, see mmcrnodeclass command

Next step: Installing cloud services on IBM Spectrum Scale nodes