Name
chnode - Changes a node definition in the CSM database.
Synopsis
chnode [-a] [-h] [-v | -V] {host | -f file | -N group |-w selectstr} Attr=value [Attr=value ...]
Description
The chnode command changes a managed node definition in the CSM database by setting one or more attribute values. Attribute values can be set in the database for this node definition by specifying attribute/value pairs on the command line in the form Attr=value. If the value is a string that contains spaces or other special characters, the value must be enclosed in quotation marks. The host parameter can be specified by host name or by IP address. If -w selectstr is specified, chnode uses that string in the "where" part of an SQL select statement against the database of nodes and changes the nodes that are matched.
The chnode command can only be run from the management server to change a node definition in the CSM database on the management server.
Options
Exit Status
If an error occurs in the RMC layer, the RMC return code will be returned as the exit status.
Examples
chnode websvr InstallDistributionVersion='7.2'
Files
See Also
The definenode, lsnode, nodeattributes, nodegrp, rmnode man pages.
See the rmccli man page for information on attr=value syntax.
See the IBM RSCT for Linux: Guide and Reference for information on selection string syntax.
Author
Bruce Potter - cluster@us.ibm.com