Forum Discussion

vucni11's avatar
vucni11
Level 4
8 years ago

vvr

hi, i like to change slave host to primary host in a vvr configuration. before to do it ishould stop the replication between primary and secondary.right? is this the command?vradmin -g vvr stoprep...
  • Mouse's avatar
    8 years ago

    You don't need to stop the replication to swap the roles.

    I'd normally use the vradmin migrate command to swap the roles, it does wait until the SRL is synchronised before swapping the roles. Otherwise you can use vradmin takeover if you understand what are you doing, because this can lead to some data loss if there are outstanding writes in the SRL