mmlsnodeclass command
Displays node classes defined in the system.
Synopsis
mmlsnodeclass [ClassName[,ClassName...] | --user | --system | --all]
Availability
Available on all IBM Spectrum Scale™ editions.
Description
Use the mmlsnodeclass command to display node classes defined in the system.
Parameters
- ClassName
- Displays the specified node class.
- --user
- Displays all user-defined node classes. This is the default.
- --system
- Displays all system-defined node classes.
- --all
- Displays both the system-defined and user-defined node classes.
Exit status
- 0
- Successful completion.
- nonzero
- A failure has occurred.
Security
You must have root authority to run the mmlsnodeclass 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. For more information, see Requirements for administering a file system in IBM Spectrum Scale: Administration and Programming Reference.
Examples
- To display the current user-defined node classes, issue this command:
The system displays information similar to:mmlsnodeclass
Node Class Name Members --------------------- ----------------------------------------------------------- siteA linuxNodes
- To display the system-defined node classes, issue this command:
The system displays information similar to:mmlsnodeclass --system
Node Class Name Members --------------------- ----------------------------------------------------------- aixNodes c8f2c4vp1,c8f2c4vp2 all c8f2c1vp4,c8f2c4vp1,c8f2c4vp2,c8f2c4vp3 clientLicense c8f2c4vp3 clientNodes c8f2c4vp3 cnfsNodes disabledCnfsNodes enabledCnfsNodes linuxNodes c8f2c1vp4,c8f2c4vp3 managerNodes c8f2c1vp4,c8f2c4vp1,c8f2c4vp2 nonAixNodes c8f2c1vp4,c8f2c4vp3 nonCnfsNodes c8f2c1vp4,c8f2c4vp1,c8f2c4vp3,c8f2c4vp2 nonLinuxNodes c8f2c4vp1,c8f2c4vp2 nonNsdNodes c8f2c4vp3 nonQuorumNodes c8f2c4vp3 nonWindowsNodes c8f2c1vp4,c8f2c4vp1,c8f2c4vp3,c8f2c4vp2 nsdNodes c8f2c1vp4,c8f2c4vp1,c8f2c4vp2 quorumNodes c8f2c1vp4,c8f2c4vp1,c8f2c4vp2 serverLicense c8f2c1vp4,c8f2c4vp1,c8f2c4vp2 windowsNodes
- To display all node classes defined in the system, issue this
command:
The system displays information similar to:mmlsnodeclass --all
Node Class Name Members --------------------- ----------------------------------------------------------- aixNodes c8f2c4vp1,c8f2c4vp2 all c8f2c1vp4,c8f2c4vp1,c8f2c4vp2,c8f2c4vp3 clientLicense c8f2c4vp3 clientNodes c8f2c4vp3 cnfsNodes disabledCnfsNodes enabledCnfsNodes linuxNodes c8f2c1vp4,c8f2c4vp3 managerNodes c8f2c1vp4,c8f2c4vp1,c8f2c4vp2 nonAixNodes c8f2c1vp4,c8f2c4vp3 nonCnfsNodes c8f2c1vp4,c8f2c4vp1,c8f2c4vp3,c8f2c4vp2 nonLinuxNodes c8f2c4vp1,c8f2c4vp2 nonNsdNodes c8f2c4vp3 nonQuorumNodes c8f2c4vp3 nonWindowsNodes c8f2c1vp4,c8f2c4vp1,c8f2c4vp3,c8f2c4vp2 nsdNodes c8f2c1vp4,c8f2c4vp1,c8f2c4vp2 quorumNodes c8f2c1vp4,c8f2c4vp1,c8f2c4vp2 serverLicense c8f2c1vp4,c8f2c4vp1,c8f2c4vp2 windowsNodes siteA linuxNodes
- To display only the nodes that are quorum nodes, issue this command:
The system displays information similar to:mmlsnodeclass quorumNodes
Node Class Name Members --------------------- ----------------------------------------------------------- quorumNodes c8f2c1vp4,c8f2c4vp1,c8f2c4vp2