show role
To view the current role of the GR instance, use the following command:
show role instance-id gr_instanceId
Note | The following is a list of possible values for the role:
|
Example
The following is a list of few configuration examples:
show role instance-id 1
result
"PRIMARY"
show role instance-id 2
result
"STANDBY"