cancel
Showing results for 
Search instead for 
Did you mean: 

vvr

vucni11
Level 4

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 rvg_name host

after the secondary is primary i start the synchronization with

vradmin startrep?

or with vradmin syncrvg?

tnx

1 ACCEPTED SOLUTION

Accepted Solutions

Mouse
Moderator
Moderator
Partner    VIP    Accredited Certified

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

View solution in original post

4 REPLIES 4

Mouse
Moderator
Moderator
Partner    VIP    Accredited Certified

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

hi,

when do i need to use the commands i specified?

tnx

Mouse
Moderator
Moderator
Partner    VIP    Accredited Certified

Stoprvg will stop replication, which I think is self-explanatory?

 

hi,

yes it is self explanatory but i think those commands are used when you need to break the connection between the rvg in primary and rvg in secondary.Pimary rvg will carries on with normal work and secondary is used to test things.right?

tnx