[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home |
Legal |
Search ]
Commands Reference, Volume 4
rmrpnode Command
Purpose
Removes one or more nodes from a peer domain definition.
Syntax
rmrpnode [-q] [-h] [-TV] node_name1 [node_name2 ...]
Description
The rmrpnode command removes the specified nodes from the online
peer domain where the command is run. The command must be run on a node that
is online to the peer domain in which the nodes are to be removed. The nodes
to be removed must be offline to the peer domain and must be reachable from
the node that runs the command. Use the stoprpnode command to bring
nodes offline.
More than half of the nodes must be online to remove one or more nodes
from the domain.
Flags
- -q
- Specifies quiet mode. The command does not return an error if the node
is not in the peer domain.
- -h
- Writes the command's usage statement to standard output.
- -T
- Writes the command's trace messages to standard error. For your software
service organization's use only.
- -V
- Writes the command's verbose messages to standard output.
Parameters
- node_name1 [node_name2 ...]
- Specifies the peer domain node name of the node to be removed from the
peer domain definition. To list the peer domain node names, run the lsrpnode command.
Security
The user of the rmrpnode command needs write permission for the IBM.PeerNode resource class on each node that is to be removed from the
peer domain. By default, root on any node in the peer domain has
read and write access to this resource class through the configuration resource
manager.
Exit Status
- 0
- The command ran successfully.
- 1
- An error occurred with RMC.
- 2
- An error occurred with a command-line interface script.
- 3
- An incorrect flag was entered on the command line.
- 4
- An incorrect parameter was entered on the command line.
- 5
- An error occurred that was based on incorrect command-line input.
- 6
- The node does not exist in the peer domain.
Environment Variables
- CT_CONTACT
- Determines the system where the session with the resource monitoring
and control (RMC) daemon occurs. When CT_CONTACT is set to a host name or
IP address, the command contacts the RMC daemon on the specified host. If
CT_CONTACT is not set, the command contacts the RMC daemon on the local system
where the command is being run. The target of the RMC daemon session and
the management scope determine the resource classes or resources that are
processed.
Restrictions
This command must be run on a node that is online in the peer domain in
which the nodes are to be removed. The nodes to be removed must also be offline
to the peer domain.
Standard Input
When the -f "-" flag is specified, this command reads one or more node names from standard
input.
Standard Output
When the -h flag is specified, this command's usage statement is written to standard
output. All verbose messages are written to standard output.
Standard Error
All trace messages are written to standard error.
Examples
To remove the peer domain definitions of nodes nodeB and nodeC from the peer domain ApplDomain, when nodeA is
defined and online to ApplDomain, and nodeB and nodeC are reachable from nodeA, run this command from nodeA:
rmrpnode nodeB nodeC
Location
- /usr/sbin/rsct/bin/rmrpnode
- Contains the rmrpnode command
Files
The /etc/services file is modified.
Related Information
Commands: addrpnode, lsrpnode, preprpnode, startrpnode, stoprpnode
[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home |
Legal |
Search ]