Removes a peer domain that has already been defined.
rmrpdomain [-f] [-q] [-h] [-TV] peer_domain
The rmrpdomain command removes the peer domain definition that is specified by the peer_domain parameter. The peer domain that is to be removed must already be defined. This command must be run on a node that is defined in the peer domain. When rmrpdomain is run on a node that is online to the peer domain, it removes the peer domain definition on all nodes defined to the peer domain that are reachable from that node. If a node defined to the peer domain is not reachable, that node's local peer domain definition is not removed. To remove the local peer domain definition when the peer domain is not online or when the node is not online to the peer domain, run the rmrpdomain command on that node and specify the -f flag.
The most efficient way to remove a peer domain definition is to make sure the peer domain is online. Then, from a node that is online to the peer domain, run the rmrpdomain command. If there are nodes that are not reachable from the node on which the rmrpdomain command was run, on each of those nodes, run the rmrpdomain command using the -f flag. This can be done at a later time if the node itself is not operational.
The -f flag must also be used to override a subsystem's rejection of the peer domain removal. A subsystem may reject the request if a peer domain resource is busy, for example. Specifying the -f flag in this situation indicates to the subsystems that the peer domain definition must be removed.
The rmrpdomain command does not require configuration quorum. Therefore, this command is still successful if it is issued to a minority subcluster. Later, the majority subcluster may become active. If so, the domain is still removed.
If a Cluster-Aware AIX® (CAA) cluster is configured and this peer domain is representing it, the rmrpdomain command removes the underlying CAA cluster as well.
The user of the rmrpdomain command needs write permission to the IBM.PeerDomain resource class on each node that is to be defined to 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.
The node on which this command is run must be defined to the peer domain and should be able to reach all of the nodes that are defined to the peer domain. The node's local peer domain definition will not be removed if the node is not reachable.
This command is part of the rsct.basic.rte fileset for AIX®.
When the -f "-" or -F "-" flag is specified, this command reads one or more node names from standard input.
When the -h flag is specified, this command's usage statement is written to standard output. All verbose messages are written to standard output.
All trace messages are written to standard error.
rmrpdomain ApplDomain
rmrpdomain -f ApplDomain
rmrpdomain -f ApplDomain
The /etc/services file is modified.