mmvdisk nodeclass command
Manages recovery group server node classes for IBM Spectrum Scale™ RAID.
Synopsis
mmvdisk nodeclass create --node-class NcName
-N Node[,Node...]
ormmvdisk nodeclass add --node-class NcName
-N Node[,Node...]
ormmvdisk nodeclass delete --node-class NcName
-N {Node[,Node...]
ormmvdisk nodeclass delete --node-class NcName
[--confirm]
ormmvdisk nodeclass list [--node-class {all | NcName[,NcName...]}]
[-Y]
Availability
Available on all IBM Spectrum Scale editions.
Description
Use the mmvdisk nodeclass command to manage recovery group server node classes.
An mmvdisk node class is an IBM Spectrum Scale node class that can be created, modified, or deleted by using the mmvdisk nodeclass command. Each IBM Spectrum Scale RAID recovery group that is managed by using mmvdisk must be associated with a node class that contains only the servers for that recovery group.
- Use the mmvdisk nodeclass create command to create a node class that contains the intended servers for the recovery group. Use the mmvdisk recoverygroup create command to create a recovery group that uses the node class.
- Use the mmvdisk recoverygroup convert command to convert two paired recovery
groups and their two servers to mmvdisk management. For example:
- An existing node class that contains the two servers can be converted to the mmvdisk node class for the recovery group pair.
- A new node class name can be specified that is created by using the two servers for the recovery group pair.
You can use the mmvdisk nodeclass add and mmvdisk nodeclass delete commands to modify or delete a node class that is not yet or is no longer associated with a recovery group. This corrects the member servers of a node class before a recovery group is created or after a recovery group is deleted.
While an mmvdisk node class is associated with a recovery group, changes to the node class can only be made using the mmvdisk recoverygroup command.
You can use the mmvdisk nodeclass list command to list all mmvdisk node classes with their associated recovery groups and to list the member servers in individual node classes.
Parameters
- mmvdisk nodeclass create
- Creates a mmvdisk node class. The specified node class must not exist.
- mmvdisk nodeclass add
- Adds server nodes to an existing mmvdisk node class. The node class name cannot be associated with a recovery group. The server nodes cannot belong to an mmvdisk node class.
- mmvdisk nodeclass delete
- Deletes server nodes from an existing mmvdisk node class or deletes entire node classes. The node class name cannot be associated with a recovery group.
- mmvdisk nodeclass list
- Lists the mmvdisk node classes that are in a IBM Spectrum Scale cluster or lists the member servers that belong to individual mmvdisk node classes.
- --node-class NcName
- Specifies a single mmvdisk node class name to be created, deleted, added to, or deleted from.
- --node-class {all | NcName[NcName...]}
- Specifies the mmvdisk node class names for which the member servers are shown (when used with the mmvdisk nodeclass list command).
- -N Node[,Node...]
- Specifies the IBM Spectrum Scale cluster nodes with which to create a node class or the list of cluster nodes to be added to or deleted from an mmvdisk node class.
- --confirm
- Confirms deletion of an entire mmvdisk node class. This flag bypasses the interactive prompt that would otherwise be printed to confirm node class deletion.
- -Y
- Specifies that the mmvdisk nodeclass list command produce colon-delimited raw output.
Exit status
- 0
- Successful completion.
- nonzero
- A failure occurred.
Security
You must have root authority to run the mmvdisk nodeclass command.
The node on which the command is issued must be able to execute remote shell commands on any other node in the cluster without the use of a password and without producing any extraneous messages.
Example
To create an mmvdisk node class that is named ESS01 that contains nodes server01 and server02:
mmvdisk nodeclass create --node-class ESS01 -N server01,server02
The system displays output similar to the following:
mmvdisk: Node class 'ESS01' created.
Example
To list the mmvdisk node classes in a cluster:
mmvdisk nodeclass list
The system displays output similar to the following:
node class recovery groups
---------- ---------------
ESS01 ESS01L, ESS01R
ESS02 ESS02L, ESS02R

