Geo Reset Role

To reset the GR instance role (for example, roles from STANDBY_ERROR to STANDBY to PRIMARY), use the following sample commands:

geo reset-role role role instance-id gr_instanceId 

NOTES:

  • role role —Specify the new role for the given site.

    The role can be PRIMARY or STANDBY.

  • instance-id gr_instanceId —Specify the GR Instance ID.

Important

The command geo reset-role triggers change in the role for the given instance on the local site. The remote site doesn't receive any message for the same command. It’s only possible to change the role for the given instance ID from STANDBY_ERROR to STANDBY and STANDBY to PRIMARY. Another role change isn’t possible.