Showing posts with label qtree snapmirror conf. Show all posts
Showing posts with label qtree snapmirror conf. Show all posts

Thursday, 10 November 2011

Snapmirror source or primary configuration of VSM & QSM

Snapmirror primary or source configuration  for 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



src> aggr create aggr1 20
src> aggr status
src> vol create vol1 aggr1 1g
src> vol status
src> wrfile -a \etc\hosts 192.168.1.3 dst
src> ping 192.168.1.3
src>ping dst
src> license add (license no)
src> license  # to check license
src> options snapmirror.enable on
src> options snapmirror.access host=dst
src> wrfile snapmirror.allow
192.168.1.3 # secondary filer ip
dst    # secondary filer name

Press CTRL-C to exit and save the file


src> cifs shares -add vol_share1 /vol/vol1
src> cifs shares # to check shares




Host (Windows )

windows Start --> Run--> \\src\vol_share1              # Open this path

copy and paste some files  for to view the data replication from Primary to Secondary Replication

--------------*END*------------------




Snapmirror primary configuration  for QSM (Qtree snap mirror)

Storage

src> aggr create aggr1 20
src> aggr status
src> vol create vol1 aggr1 1g
src> vol status
src>wrfile -a \etc\hosts 192.168.1.3 dst
src> ping 192.168.1.3
src> ping dst
src> qtree create /vol/vol1/qtree
src> qtree  # to check qtree
src> cifs shares -add vol_qtree /vol/vol1/qtree
src> cifs shares # to check shares
src> license add (license no)
src> license  # to check license
src> options snapmirror.enable on
src>options snapmirror.access host=dst
src> wrfile snapmirror.allow
192.168.1.3 # secondary filer ip
dst    # secondary filer name
Press CTRL-C to exit and save the file

Host (Windows )

Go to Run-> \\src\vol_qtree  # open this path
copy and paste some files  for to view the data replication from Primary to Secondary Replication

--------------*END*------------------