mmlsnodeclass command
Displays node classes defined in the system.
Synopsis
mmlsnodeclass [ClassName[,ClassName...] | --user | --system | --all] [-Y]
Availability
Available on all IBM Storage 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.
- -Y
- Displays the command output in a parseable format with a colon (:) as a field
delimiter. Each column is described by a header.Note: Fields that have a colon (:) are encoded to prevent confusion. For the set of characters that might be encoded, see the command documentation of mmclidecode. Use the mmclidecode command to decode the field.
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 GPFS file system.
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 all node classes defined in the system, issue this
command:
The system displays information similar to:mmlsnodeclass --all
Node Class Name Members --------------------- ----------------------------------------------------------- aixNodes all node03,node01,node02,node04,nodensd01,nodensd02 cesNodes node01,node02,node04 clientLicense clientNodes node03,node02,node04,nodensd01,nodensd02 cnfsNodes disabledCnfsNodes enabledCnfsNodes linuxNodes node03,node01,node02,node04,nodensd01,nodensd02 managerNodes node01 nonAixNodes node03,node01,node02,node04,nodensd01,nodensd02 nonCesNodes node03,nodensd01,nodensd02 nonCnfsNodes node03,node01,node02,node04,nodensd01,nodensd02 nonLinuxNodes nonNsdNodes node003,node01,node02,node04 nonQuorumNodes nonWindowsNodes node03,node01,node02,node04,nodensd01,nodensd02 nsdNodes nodensd01,nodensd02 quorumNodes node03,node01,node02,node04,nodensd01,nodensd02 serverLicense node03,node01,node02,node04,nodensd01,nodensd02 windowsNodes siteA linuxNodes object_database_node node01 object_singleton_node node01
- 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
See also
Location
/usr/lpp/mmfs/bin