Customer wants to migrate production environment to new hardware.
1. At the production location we are going to use a temporary system to
snapmirror the data to, and we will create a common snapshot for later use.
2 Physically move the temporary system to the stage location and set up a
snapmirror from temporary to staged system.
3. Physically move the staged system to the production location and resync
the data from production to staged system using the common snapshot
4. Activate the staged system to be the new production system
Productions system : gr7m1
Temporary system : kp7m1
Staged system : gr7m2
Data to be migrated : volm
(*the volume volm has been created on all three systems*)
1. setup relationship and initialize
kp7m1> vol restrict volm
kp7m1> snapmirror initialize -S gr7m1:volm kp7m1:volm
create a common snapshot on the source (gr7m1:volm)
gr7m1> snap create volm commonsnap
run snapmirror update to get the common snapshot to the destination
volume
snapmirror update -S gr7m1:volm kp7m1:volm
kp7m1> snap list volm
Volume volm
working...
%/used %/total date name
---------- ---------- ------------ --------
0% ( 0%) 0% ( 0%) Feb 27 12:16 commonsnap
(snipped)
break the relationship between gr7m1 and kp7m1
kp7m1> snapmirror quiesce kp7m1:volm
kp7m1> snapmirror break kp7m1:volm
2. now physically move the destinationfiler to staging location
set up a relationship between the old destinationfiler (now the new soure)
and the new destinationfiler to which you want to migrate the data
gr7m2> vol restrict volm
gr7m2> snapmirror initialize -S kp7m1:volm gr7m2:volm
check whether the common snapshot is on the new destination volume
gr7m2> snap list volm
Volume volm
working...
%/used %/total date name
---------- ---------- ------------ --------
0% ( 0%) 0% ( 0%) Feb 27 12:16 commonsnap
(snipped)
Now break the relationship
gr7m2> snapmirror quiesce gr7m2:volm
gr7m2> snapmirror break gr7m2:volm
3. Physically move the new destination filer back to the production location
Run snapmirror resync to get the changed blocks from the production
environment since the common snapshot.
gr7m2> snapmirror resync -S gr7m1:volm gr7m2:volm
The resync base snapshot will be: commonsnap
4. Finally stop clients accessing the production volume, offline it
and break the relationship to make the destination writable
gr7m1> vol offline volm
gr7m2> snapmirror break volm