Create 4 SVMs and setup Peering
# two SVMs will be peered for setting up snapmirror relations between seperate volumes
# two SVMs will be peered for setting up a snapmirror relation between the two SVMs (SVMDR)
# v_src and v_dst will be peered
# v_src_dr and v_dst_dr will be peered

cl1::*> vserver create v_src -subtype default -rootvolume rv -aggregate n1_aggr1 -rootvolume-security-style unix
cl1::*> vserver create v_src_dr -subtype default -rootvolume rv -aggregate n1_aggr1 -rootvolume-security-style unix

cl2::*> vserver create -vserver v_dst -subtype default -rootvolume rv -aggregate aggr1 -rootvolume-security-style unix
cl2::*> vserver create -vserver v_dst_dr -subtype dp-destination

# v_src <-> v_dst
cl1::*> vserver peer create -vserver v_src -peer-vserver v_dst -applications snapmirror -peer-cluster cl2
cl2::*> vserver peer accept -vserver v_dst -peer-vserver v_src

# v_src_dr <-> v_dst_dr
cl1::*> vserver peer create -vserver v_src_dr -peer-vserver v_dst_dr -applications snapmirror -peer-cluster cl2
cl2::*> vserver peer accept -vserver v_dst_dr -peer-vserver v_src_dr

cl2::*> vserver peer show
Peer Peer Peering Remote
Vserver Vserver State Peer Cluster Applications Vserver
----------- ----------- ------------ ----------------- -------------- ---------
v_dst v_src peered cl1 snapmirror v_src
v_dst_dr v_src_dr peered cl1 snapmirror v_src_dr


- back -