netapp flexgroup snapmirror example

In the following example we set up:

1. a flexgroup on cluster cl1 svm flex1
2. a destination volume on cluster cl2single svm flex-2
3. a snapmirror relation between source and destination volume
4. a reversed relationship

Prereq: Clusters and SVMs are peered for snapmirror.

1.
The flexgroup volume created on cl1 will use 3 aggregates with a total of 16
constituents.

cl1::*> flexgroup deploy -vserver flex1 -size 20g -type RW -space-guarantee none
cl1::*> vol show -vserver flex1
Vserver   Volume       Aggregate    State      Type       Size  Available Used%
--------- ------------ ------------ ---------- ---- ---------- ---------- -----
flex1     fg           -            online     RW         20GB    17.63GB   11%
flex1     fg__0001     n1_aggr2     online     RW       1.25GB     1.10GB   11%
flex1     fg__0002     n1_aggr2     online     RW       1.25GB     1.10GB   11%
flex1     fg__0003     n1_aggr2     online     RW       1.25GB     1.10GB   11%
flex1     fg__0004     n1_aggr2     online     RW       1.25GB     1.10GB   11%
flex1     fg__0005     n1_aggr3     online     RW       1.25GB     1.10GB   11%
flex1     fg__0006     n1_aggr3     online     RW       1.25GB     1.10GB   11%
flex1     fg__0007     n1_aggr3     online     RW       1.25GB     1.10GB   11%
flex1     fg__0008     n1_aggr3     online     RW       1.25GB     1.10GB   11%
flex1     fg__0009     n2_aggr1     online     RW       1.25GB     1.10GB   11%
flex1     fg__0010     n2_aggr1     online     RW       1.25GB     1.10GB   11%
flex1     fg__0011     n2_aggr1     online     RW       1.25GB     1.10GB   11%
flex1     fg__0012     n2_aggr1     online     RW       1.25GB     1.10GB   12%
flex1     fg__0013     n2_aggr2     online     RW       1.25GB     1.10GB   12%
flex1     fg__0014     n2_aggr2     online     RW       1.25GB     1.10GB   12%
flex1     fg__0015     n2_aggr2     online     RW       1.25GB     1.10GB   12%
flex1     fg__0016     n2_aggr2     online     RW       1.25GB     1.10GB   11%

2.
The destination volume on the second cluster will use 8 constituents per aggregate.
The volume is given two aggregates. The volume is of the type DP because it will
be used as a destinationvolume in a snapmirror relationship.

cl2single::*> vol create -vserver flex-2 -volume fg_dp -aggr-list n1_aggr1,n1_aggr2 -aggr-list-multiplier 8 -type DP -size 20g
cl2single::*> vol show -vserver flex-2
Vserver   Volume       Aggregate    State      Type       Size  Available Used%
--------- ------------ ------------ ---------- ---- ---------- ---------- -----
flex-2    fg_dp        -            online     DP         20GB    18.63GB    6%
flex-2    fg_dp__0001  n1_aggr1     online     DP       1.25GB     1.17GB    6%
flex-2    fg_dp__0002  n1_aggr2     online     DP       1.25GB     1.17GB    6%
flex-2    fg_dp__0003  n1_aggr1     online     DP       1.25GB     1.17GB    6%
flex-2    fg_dp__0004  n1_aggr2     online     DP       1.25GB     1.17GB    6%
flex-2    fg_dp__0005  n1_aggr1     online     DP       1.25GB     1.17GB    6%
flex-2    fg_dp__0006  n1_aggr2     online     DP       1.25GB     1.17GB    6%
flex-2    fg_dp__0007  n1_aggr1     online     DP       1.25GB     1.17GB    6%
flex-2    fg_dp__0008  n1_aggr2     online     DP       1.25GB     1.17GB    6%
flex-2    fg_dp__0009  n1_aggr1     online     DP       1.25GB     1.17GB    6%
flex-2    fg_dp__0010  n1_aggr2     online     DP       1.25GB     1.17GB    6%
flex-2    fg_dp__0011  n1_aggr1     online     DP       1.25GB     1.17GB    6%
flex-2    fg_dp__0012  n1_aggr2     online     DP       1.25GB     1.16GB    7%
flex-2    fg_dp__0013  n1_aggr1     online     DP       1.25GB     1.16GB    7%
flex-2    fg_dp__0014  n1_aggr2     online     DP       1.25GB     1.16GB    7%
flex-2    fg_dp__0015  n1_aggr1     online     DP       1.25GB     1.16GB    7%
flex-2    fg_dp__0016  n1_aggr2     online     DP       1.25GB     1.17GB    6%
The relationship between Flexgroup volumes can only be of the type XDP.

cl2single::*> snapmirror create -source-path flex1:fg -destination-path flex-2:fg_dp -throttle unlimited -type XDP
cl2single::*> snapmirror initialize flex-2:fg_dp

3.
First we break and delete the relationship.

cl2single::> snapmirror break -destination-path flex-2:fg_dp
cl2single::> snapmirror delete -destination-path flex-2:fg_dp

 

Then we release the destination-path, create a new relationa and resync.

cl1::*> snapmirror release -relationship-info-only true -destination-path cl2single://flex-2/fg_dp
cl1::*> snapmirror create -source-path cl2single://flex-2/fg_dp -destination-path flex1:fg
cl1::*> snapmirror resync flex1:fg
cl1::*> snapmirror show -expand

Source Destination Mirror Relationship Total Last
Path Type Path State Status Progress Healthy Updated
----------- ---- ------------ ------- -------------- --------- ------- --------
flex-2:fg_dp XDP flex1:fg Snapmirrored Idle - true -
flex-2:fg_dp__0001 XDP flex1:fg__0001 Snapmirrored Idle - true -
flex-2:fg_dp__0002 XDP flex1:fg__0002 Snapmirrored Idle - true -
flex-2:fg_dp__0003 XDP flex1:fg__0003 Snapmirrored Idle - true -
flex-2:fg_dp__0004 XDP flex1:fg__0004 Snapmirrored Idle - true -
flex-2:fg_dp__0005 XDP flex1:fg__0005 Snapmirrored Idle - true -
flex-2:fg_dp__0006 XDP flex1:fg__0006 Snapmirrored Idle - true -
flex-2:fg_dp__0007 XDP flex1:fg__0007 Snapmirrored Idle - true -
flex-2:fg_dp__0008 XDP flex1:fg__0008 Snapmirrored Idle - true -
flex-2:fg_dp__0009 XDP flex1:fg__0009 Snapmirrored Idle - true -
flex-2:fg_dp__0010 XDP flex1:fg__0010 Snapmirrored Idle - true -
flex-2:fg_dp__0011 XDP flex1:fg__0011 Snapmirrored Idle - true -
flex-2:fg_dp__0012 XDP flex1:fg__0012 Snapmirrored Idle - true -
flex-2:fg_dp__0013 XDP flex1:fg__0013 Snapmirrored Idle - true -
flex-2:fg_dp__0014 XDP flex1:fg__0014 Snapmirrored Idle - true -
flex-2:fg_dp__0015 XDP flex1:fg__0015 Snapmirrored Idle - true -
flex-2:fg_dp__0016 XDP flex1:fg__0016 Snapmirrored Idle - true -
17 entries were displayed.

This entry was posted in Uncategorized. Bookmark the permalink.

Comments are closed.