Maintenance Commands getrole(1m)
NAME
getrole - displays a system's PC NetLink domain configura-
tion
SYNOPSIS
getrole [ -I instance ] [-d ] [-r ] [-p ]
DESCRIPTION
The getrole command can be used to display the name of the
local system's domain, its role within the domain, and the
PDC of the domain.
OPTIONS
-I instance
Specifies the PCNL instance name or number. In a multi-
instance environment instance may be specified either on the
command line or by the environment variable PCNL_INSTANCE.
If there is only one instance configured, it is not neces-
sary to specify this argument.
-d
Displays the name of the system's domain.
-r
Displays the system's role within the domain: primary,
backup, or member.
-p
Displays the name of the PDC for the system's domain.
EXAMPLES
To display the domain, role, and PDC, use the command:
getrole -drp