IBM Books

Administration Guide

mgmtsvr Command

Name

mgmtsvr - Displays the management server entry for this managed node.

Synopsis

mgmtsvr [-h] [-k][-v | -V] [-n nodename] [-d | -N | host]

Description

The mgmtsvr command is run on the managed node and displays the management server that will manage this node in the CSM cluster. If this command is run on the management server, the command will acknowledge that.

If hostname or ipaddr is not specified, the current management server is displayed.

Note:
The -N, hostname, and ipaddr arguments should not be issued by the user. Instead, the user should run the updatenode command from the management server.

Options

-d
Deletes the management server entry.

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

-k
Exchange RSCT public keys, host name, and node identifier between the node and the management server. Only use this option if the host name, node identifier, or public key of either machines has changed. At the time this option is used, you must trust your network to ensure that a rogue machine is not going to insert its public key in place of the public key of the real node.

-n nodename
Host name by which the CSM management server knows this node. Normally you do not need to specify this option because it is used internally by installnode to ensure correct operation even when the host name value on the node resolves to a different name from that by which the management server knows the node. Defaults to the output of /bin/hostname.

-N
Displays the value for the local node name along with that of the management server. This argument is only valid when a host name or IP address for the management server is not specified.

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

Exit Status

0
Command has run successfully.

1
You have entered a combination of options that is not valid.

11
The management server is not set for this node.

21
This node is the management server for itself.

22
This node is also a management server for other nodes.

23
This machine is a CSM management server and a node, but the node does not currently have a management server set for it.

31
This machine is a CSM management server.

101
This machine is neither a CSM management server or node.

Examples

  1. To query the current CSM management server for this node, type:

    mgmtsvr
    
  2. To set the management server for this node to csmsvr.com:
    mgmtsvr csmsvr.com
    

Files

/opt/csm/bin/mgmtsvr
Location of mgmtsvr command.

/var/log/csm/makenode.log
Location of the log output by the makenode command.

See Also

Author

Bruce Potter - cluster@us.ibm.com


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