7-mode snapmirror

1. license snapmirror on both nodes
2. create source and destination volumes e.g. sourcevol destvol
3. grant access to destination node
node1> options snapmirror.access host=node2
4. restrict destinationvolume
node2> vol restrict destvol
node2> snapmirror initialize -S node1:sourcevol destvol
node2> snapmirror status
5. create a schedule in snapmirror.conf in node2
node2> wrfile /etc/snapmirror.conf
node1:sourcevol destvol - * * * *
CTRL+C
6. snapmirror status
7. share both volumes with cifs and/or nfs
put some files on sourcevol and notice you cannot write
to destvol
8. break the relationship
node2> snapmirror break destvol
9. try to write from the client to destvol.
10.resync the relationship
node2> options snapmirror.access host=node1
node1> snapmirror resync -S node2:destvol sourcevol

This entry was posted in netapp. Bookmark the permalink.

Comments are closed.