Monday, 31 August 2015

Seeding an ONTAP 8.3 to 8.2.3 SnapVault via Swing Kit

Carrying on from the previous post....

In the post we go:

NACLU7:NASV1 -> SV -> SWINGCLU:SWINGCLUV1
8.3          -> SV -> 8.2.3

SWINGCLU:SWINGCLUV1 -> SM -> NACLU5:CIFSV1
8.2.3               -> SM -> 8.2.3

NACLU7:NASV1 -> SV (RESYNC) -> NACLU5:CIFSV1
8.3          -> SV (RESYNC) -> 8.2.3

Seeding an ONTAP 8.3 to 8.2.3 SnapVault via Swing Kit - Step-by-Step Walkthrough

NACLU7::> version
NetApp Release 8.3P2: Tue May 19 07:34:02 PDT 2015

SWINGCLU::> version
NetApp Release 8.2.3P2 Cluster-Mode: Thu Mar 05 00:47:29 PST 2015

NACLU5::> version
NetApp Release 8.2.3P2 Cluster-Mode: Thu Mar 05 00:47:29 PST 2015

NACLU7::> cluster peer create -peer-addrs 10.10.10.227 -no-authentication true

SWINGCLU::> cluster peer create -peer-addrs 10.10.10.223

NACLU7::> vserver peer create -vserver NASV1 -peer-cluster SWINGCLU -peer-vserver SWINGCLUV1 -applications snapmirror

SWINGCLU::> vserver peer accept -vserver SWINGCLUV1 -peer-vserver NASV1

NACLU7::> vol create -vserver NASV1 -volume SVSEEDTEST -aggregate NACLU7N1_AGGR1 -size 1g -junction-path /SVSEEDTEST -space-guarantee none -snapshot-policy none

SWINGCLU::>
vol create -vserver SWINGCLUV1 -volume SVSEEDTEST -aggregate AGGR1 -size 1g -space-guarantee none -type DP -language en.UTF-8
snapmirror create -source-path NASV1:SVSEEDTEST -destination-path SWINGCLUV1:SVSEEDTEST -type XDP -policy XDPDefault
snapmirror initialize -destination-path SWINGCLUV1:SVSEEDTEST

To make the snapshots more like what’s on a normal vault...

NACLU7::> snapshot create -vserver NASV1 -volume SVSEEDTEST -snapshot daily.01 -snapmirror-label daily

SWINGCLU::>
snapmirror update -destination-path SWINGCLUV1:SVSEEDTEST
snapshot show -volume SVSEEDTEST -fields snapshot

vserver    volume     snapshot
---------- ---------- --------
SWINGCLUV1 SVSEEDTEST daily.01

SWINGCLU::> cluster peer create -peer-addrs 10.10.10.243

NACLU5::> cluster peer create -peer-addrs 10.10.10.227

SWINGCLU::> vserver peer create -vserver SWINGCLUV1 -peer-cluster NACLU5 -peer-vserver CIFSV1 -applications snapmirror

NACLU5::>
vserver peer accept -vserver CIFSV1 -peer-vserver SWINGCLUV
vol create -vserver CIFSV1 -volume SVSEEDTEST -aggregate N1_aggr1 -size 1g -space-guarantee none -type DP -language en.UTF-8
snapmirror create -source-path SWINGCLUV1:SVSEEDTEST -destination-path CIFSV1:SVSEEDTEST
snapmirror initialize -destination-path CIFSV1:SVSEEDTEST
snapmirror show -destination-path CIFSV1:SVSEEDTEST -fields state,status,healthy

source-path           destination-path  state        status healthy
--------------------- ----------------- ------------ ------ -------
SWINGCLUV1:SVSEEDTEST CIFSV1:SVSEEDTEST Snapmirrored Idle   true

snapmirror break -destination-path CIFSV1:SVSEEDTEST
snapmirror delete -destination-path CIFSV1:SVSEEDTEST
snapmirror create -source-path NASV1:SVSEEDTEST -destination-path CIFSV1:SVSEEDTEST -type XDP -policy XDPDefault
snapmirror resync -destination-path CIFSV1:SVSEEDTEST

Warning: All data newer than Snapshot copy daily.01 on volume CIFSV1:SVSEEDTEST will be deleted.
Do you want to continue? {y|n}: y

snapmirror show -destination-path CIFSV1:SVSEEDTEST -fields state,status,healthy,type

source-path      destination-path  type state        status healthy
---------------- ----------------- ---- ------------ ------ -------
NASV1:SVSEEDTEST CIFSV1:SVSEEDTEST XDP  Snapmirrored Idle   true

snapshot show -vserver CIFSV1 -volume SVSEEDTEST -fields snapshot

vserver volume     snapshot
------- ---------- --------
CIFSV1  SVSEEDTEST daily.01

Done!

No comments:

Post a Comment