IBM Books

Administration Guide

rmnode Command

Name

rmnode - Removes a node definition from the CSM database.

Synopsis

rmnode [-h] [-f file ] [-N group ][-v | -V [ host [host ...]]

Description

The rmnode command is run on the management server and deletes a managed node definition from the CSM database. The managed node is represented by the host parameter, which can be specified by either host name or IP address. Removing a node from a cluster does not uninstall CSM and its prerequisites from the node. Rather, it disassociates the node from its management server. It removes the node from the database of the management server, and it informs the node that it is no longer attached to the management server.

Note:
The -P option is no longer valid for this command.

Options

-h
Writes the command's usage statement to standard output.

-f file
Specifies a file that contains a list of nodes names. If the file name is "-", then the list is read from stdin. The file can contain multiple lines and each line can have one or more node names, separated by spaces and/or commas.

-v | -V
Writes the command's verbose messages to standard output.

-N group
Remove the nodes that are in the node groups specified. The node group is evaluated by the nodegrp command. Multiple node groups can be separated by commas or spaces (if the list is quoted).

Exit Status

1
A combination of options and arguments has been entered that is not valid.

12
Node not found.

13
No nodes were specified.

If an error occurs in the RMC layer, the RMC return code will be returned as the exit status.

Examples

  1. To remove the node named websvr from the CSM database, type:
    rmnode websvr
    
  2. To remove the node with the IP address 9.117.10.51 from the database, type:
    rmnode 9.117.10.51
    

Files

/opt/cms/bin/rmnode
Location of rmnode command.

See Also

Author

Bruce Potter - cluster@us.ibm.com


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]