Automatic Switch Over

If the onedb-server-1 server is the HDR primary and onedb-server-0 server is the HDR secondary you can switch these two roles when automatic failover is enabled by doing the following.

During a planned downtime login to the onedb-server-1 (current HDR primary) and run the following commands:
onmode –c
# Wait for checkpoint to complete on primary & secondary
onmode –ky

After forcing a checkpoint (onmode –c) verify the checkpoint has completed on the primary and secondary servers by logging in to each and running onstat –m, looking for Checkpoint completed message. After verification of checkpoint, then run the onmode –ky command.

This will cause the HDR primary on onedb-server-1 to go offline. The onedb-server-0 will automatically failover from HDR secondary to HDR primary. And when onedb-server-1 comes back up it will restart as the HDR secondary.