Friday, 9 May 2014

Setting up 7 to 7 SnapMirror with Local and Replicated Vaults

In the following blog post, we run through the steps to
setup a Data ONTAP 7-Mode SnapMirror-ed Production and DR setup, additionally
with a SnapVault of the primary volume at the local site, and further mirror
the volume with the SnapVaults to a DR site.

In the lab, I have two sites - A and B - with the below named
7-Mode systems. We will create 3 volumes on the Production controller (N7A01)
that we want to protect.

N7A01 - (Site
A) Production Volumes

N7B01 - (Site
B) DR of Production Volumes

N7A01 - (Site
A) SnapVault of Production Volumes

N7B01 - (Site
B) DR SnapVault of Production Volumes

IP Addressing:

N7A01:
10.10.10.101

N7A02:
10.10.10.104

N7B01:
10.10.10.201

N7B02:
10.10.10.204

Image: 7 to 7
SnapMirrors with Local and Replicated Vaults

Workflow

Note: The version
of Data ONTAP 8 (Operating in 7-Mode) used in the lab is 8.1.2P4.

Step 1) Licensing
Work

Here we add
licenses for SnapMirror and SnapVault (Primary or Secondary) as required (Licenses
have been XXXXXXX’d out!)

N7A01>
license add XXXXXXX # snapmirror

N7A01>
license add XXXXXXX # sv_ontap_pri

N7A02>
license add XXXXXXX # snapmirror

N7A02>
license add XXXXXXX # sv_ontap_sec

N7B01>
license add XXXXXXX # snapmirror

N7B02>
license add XXXXXXX # snapmirror

2) Volume Work

Here we create
volumes; restrict volumes where they will be VSM (Volume SnapMirror)
destinations; and disable the SnapShot schedule on the primary and secondary
SnapVault volumes, since we’ll be using SnapVault snap sched to manage our
SnapShots.

N7A01>

vol create vol01 -s none
aggr1 2g

vol create vol02 -s none
aggr1 2g

vol create vol03 -s none
aggr1 2g

snap sched vol01 0 0 0

snap sched vol02 0 0 0

snap sched vol03 0 0 0

N7A02>

vol create vol010203 -s none
aggr1 6g

snap sched vol010203 0 0 0

N7B01>

vol create vol01 -s none
aggr1 2g

vol create vol02 -s none
aggr1 2g

vol create vol03 -s none
aggr1 2g

vol restrict vol01

vol restrict vol02

vol restrict vol03

N7B02>

vol create vol010203 -s none
aggr1 6g

vol restrict vol010203

Note: SnapVault in
7-Mode uses the Qtree SnapMirror engine (QSM) - this gives the option of a
volume fan-in relationship. Here we take all 3 source volumes and SnapVault
them into our one Vault volume.

3) Hosts Files
Work (Optional)

This step optional,
you can let your external DNS handle this (if configured).