Selecting a Secondary Node to be Promoted as the Primary Node

When administratively stopping a node, you can promote a specific secondary node as the primary node for the copyset. As a result, instead of waiting for a secondary node to time out the existing primary node and taking over as the new primary node, you can select the new primary node from the existing set of secondary nodes. The tibdg tool provides an additional -promote <node_to_promote> option to let you select the secondary node.

Procedure

  • To promote a specific secondary node as primary, use the following command:
    tibdg -r <realm_url> node stop -promote <node_to_promote> <node_to_stop>