TRIM FACILITY
RTR MONITOR QUORUM displays a monitor picture which allows the quorum
negotiations to be observed. You can use this after using a TRIM FACILITY
command; once quorum has been re-attained, the participating nodes return to
the quorate state.
For example, in a three node facility called
facnam
, the nodes
FE
and
NFE
have
only frontend roles, and node
FETRBE
has frontend, router and backend roles.
This facility could have been created as follows:
% RTR
RTR> SET ENVIRONMENT /NODE=(FE,FETRBE,NFE)
RTR> CREATE FACILITY facnam /FRONTEND=(NFE,FE,FETRBE) -
/ROUTER=FETRBE -
/BACKEND=FETRBE
The frontend node
NFE
can be removed from the facility as follows:
% RTR
RTR> SET ENVIRONMENT /NODE=(FETRBE,NFE)
RTR> TRIM FACILITY facnam /FRONTEND=NFE
Parameters
facility_name
Specifies the name of the facility to be trimmed.
The default value for
facility_name
is
RTR$DEFAULT_FACILITY
.
Qualifiers
/BACKEND=backend-list
/NOBACKEND (D)
Specifies the names of the nodes where backend roles for this facility are removed.
backend-list
is a list of
backend-nodes
separated by commas. If there is more
than one
backend-node
, then
backend-list
must be enclosed in parentheses.
backend-node
is either the name of a node or
@file-spec
, where
file-spec
specifies a text file containing a
backend-list
on each line.
/CLUSTER
/NOCLUSTER (D)
Specifies that the command is executed on all the nodes in the cluster.
If neither
/NODE
nor
/CLUSTER
is specified then the command is executed on the
nodes specified by the latest
SET ENVIRONMENT
command. If no
SET ENVIRONMENT
command has been entered then the command is executed only on the node where
the command was issued.
Note: In environments that do not support clustering, use of the /CLUSTER
qualifier will cause the relevant command to be executed on the local node only.
/FRONTEND=frontend-list
6–180 RTR Command Line Interface