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

  1. To display the current user-defined node classes, issue this command:
    mmlsnodeclass
    The system displays information similar to:
    Node Class Name       Members
    --------------------- -----------------------------------------------------------
    siteA                 linuxNodes
  2. To display the system-defined node classes, issue this command:
    mmlsnodeclass --system
    The system displays information similar to:
    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
  3. To display all node classes defined in the system, issue this command:
    mmlsnodeclass --all
    The system displays information similar to:
    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
  4. To display only the nodes that are quorum nodes, issue this command:
    mmlsnodeclass quorumNodes
    The system displays information similar to:
    Node Class Name       Members
    --------------------- -----------------------------------------------------------
    quorumNodes           c8f2c1vp4,c8f2c4vp1,c8f2c4vp2

Location

/usr/lpp/mmfs/bin