Thursday, 10 November 2011

Snapmirror Secondary or Destination configuration of VSM & QSM

Snapmirror Secondary or Destination configuration of VSM  (Volume snapmirror)

primary controller name : src
Secondary controller name : dst

primary controller IP : 192.168.1.2
Secondary controller IP : 192.168.1.3

primary &Secondary  aggregate name: aggr1
primary &Secondary Vol name:vol1

Dst volume size should be same or grater than  the Source  volume

sec>  aggr create aggr1 20
sec>  aggr status
sec>  vol create vol1 aggr1 1g
sec>  vol status

sec>  wrfile -a \etc\hosts 192.168.1.2 src
sec>  ping 192.168.1.2
sec>  ping src

sec>  cifs shares -add vol_share2 /vol/vol1
sec>  cifs shares
sec>  vol restrict vol1
sec>  license add (snapmirror license no)
sec>  license
sec>  snapmirror initialize -S src:vol dst:vol1
sec>  snapmirror status


Switch to windows

Go to Run-> \\dst\vol_share2      # open this path

Now data started copying.




Note :

1. Before Migrate command please check both src and dst datas are in same size and check the total no of file manually.
2. snanpmirror Migrate :  command will release the relationship between src and dst and it will delete the base snapshot from on both side.


Last command:


sec>  snapmirror update  src:vol1 dst:vol1
sec>  snapmirror migrate  src:vol1 dst:vol1






Snapmirror Secondary configuration of QSM (Qtree snap mirror)

sec>  aggr create aggr1 20
sec>  aggr status
sec>  vol create vol1 aggr1 1g
sec>  vol status

sec>  wrfile -a \etc\hosts 192.168.1.2 src
sec>  ping 192.168.1.2
sec>  ping src

sec>  qtree create /vol/vol/qtree
sec>  cifs shares -add qtree_dst /vol/vol1/qtree
sec>  cifs shares
sec>  vol restrict vol1
sec>  license add (snapmirror license no)
sec>  license
sec>  snapmirror initialize -S src:\vol\vol1\qtree dst:\vol\vol1\qtree
sec>  snapmirror status

Switch to windows


Go to Run-> \\dst\vol_share2      # open this path

Now data started copying.

Note :
1. Before migrate command please check the both src and dst datas are in same size and check the total no of file manually.
2. snanpmirror migrate :   command will release the relationship between src and dst and it will delete the base snapshot from on both side.


Last command:


sec>  snapmirror update  src:\vol\vol1\qtree dst:\vol\vol1\qtree
sec> snapmirror migrate  src:\vol\vol1\qtree dst:\vol\vol1\qtree




                                                                                  Snapmirror Sync, Async, Semi-sync configuration

No comments:

Post a Comment