mmdelnodeclass command

Deletes user-defined node classes.

Synopsis

mmdelnodeclass ClassName[,ClassName...]

Availability

Available on all IBM Spectrum Scale™ editions.

Description

Use the mmdelnodeclass command to delete existing user-defined node classes.

Parameters

ClassName
Specifies an existing user-defined node class to delete.

If ClassName was used to change configuration attributes with mmchconfig, and the configuration attributes are still referencing ClassName, then ClassName cannot be deleted. Use the mmchconfig command to remove the references to ClassName before deleting this user-defined node class.

Exit status

0
Successful completion.
nonzero
A failure has occurred.

Security

You must have root authority to run the mmdelnodeclass 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:
mmlsnodeclass --user
The system displays information similar to:
Node Class Name       Members
--------------------- -----------------------------------------------------------
siteA                 c6f1c3vp1,c6f1c3vp2
siteB                 c6f1c3vp4,c6f1c3vp5
To delete the siteA node class, issue this command:
mmdelnodeclass siteA
The system displays information similar to:
mmdelnodeclass: Propagating the cluster configuration data to all
  affected nodes.  This is an asynchronous process.
To display the updated list of user-defined node classes, issue this command:
mmlsnodeclass --user
The system displays information similar to:
Node Class Name       Members
--------------------- -----------------------------------------------------------
siteB                 c6f1c3vp4,c6f1c3vp5

Location

/usr/lpp/mmfs/bin