show role

To view the instance role, use the following command:

show role 

Example

The following is a list of few configuration examples:

show role instance-id 2
result "PRIMARY"
show role instance-id 1
result "PRIMARY"