7 to C Migration Methods for SnapMirrored 7-Mode Volumes: Part 4/7


Part 4) Method 1: Using 7MTT GUI to Migrate Our 7 to 7 SnapMirror Relationship

Log into the 7MTT GUI at: https://10.10.10.11:8443/transition/

Home > Click on ‘New Transition Project
Add both 7-Mode systems (NAFAS1.lab.priv & NAFAS2.lab.priv)
Add both Clustered ONTAP clusters (NACLU1.lab.priv & NACLU2.lab.priv)
Click Next

New Transition Project Name:
NAFAS1toCDOT
Click Continue

With NAFAS1 selected...
Tick the ‘Transition with SnapMirror Relationship’ boxes for volumes vol1, vol2 and vol3
Click ‘Create Project and Continue’.

Image 1: 7MTT GUI - Choose Origin Volumes to Transition (Transition with SnapMirror Relationship)

Subproject 1/2 NAFAS2 to NASVM2 (“Destination”)

Configuring Subproject: 1/2
IP Configuration > Precheck > Vserver Mapping > Volume Mapping > Interface Mapping > SnapMirror Schedule > Final Precheck > Subproject Summary

Project Name = NAFAS1toCDOT
Subproject Name = NAFAS1toCDOT_secondary
Data Copy IP = 10.10.10.201
Click Next

Image 2: 7MTT GUI - NAFAS1toCDOT_secondary Subproject Configuration

Configuring Subproject: 1/2
IP Configuration > Precheck > Vserver Mapping > Volume Mapping > Interface Mapping > SnapMirror Schedule > Final Precheck > Subproject Summary

Click the Run Prechecks button

Image 3: 7MTT Precheck

Review the Precheck summary...
If there are no Errors and the Warnings are acknowledged and understood...
Click Next

Image 4: A Precheck Summary

Note: With the Prechecks you can ‘Save As CSV

Configuring Subproject: 1/2
IP Configuration > Precheck > Vserver Mapping > Volume Mapping > Interface Mapping > SnapMirror Schedule > Final Precheck > Subproject Summary

Select a Clustered Data ONTAP system:
Click NACLU2 (our destination cluster)
Select a Vserver:
Tick NASVM2 (our destination SVM)
Click Next

Configuring Subproject: 1/2
IP Configuration > Precheck > Vserver Mapping > Volume Mapping > Interface Mapping > SnapMirror Schedule > Final Precheck > Subproject Summary

Map Original Volumes to Aggregates on Target Cluster:
Here we leave ‘Target Aggregate’ and ‘Target Volume’ as is!
Click Next

Image 5: Map Original Volumes to Aggregates on Target Cluster (can change volume name)

Configuring Subproject: 1/2
IP Configuration > Precheck > Vserver Mapping > Volume Mapping > Interface Mapping > SnapMirror Schedule > Final Precheck > Subproject Summary

Map 7-Mode IP Addresses to Cluster LIFs:
{Here I skip this optional step - my failover method will be to update the CNAME}
Click Next

Configuring Subproject: 1/2
IP Configuration > Precheck > Vserver Mapping > Volume Mapping > Interface Mapping > SnapMirror Schedule > Final Precheck > Subproject Summary

Select SnapMirror Schedule or Transition:
Tick hourly
Click Next

Image 6: 7MTT Transition Schedule

Note: Use “job schedule cron create” on the Cluster to configure a custom schedule!

Configuring Subproject: 1/2
IP Configuration > Precheck > Vserver Mapping > Volume Mapping > Interface Mapping > SnapMirror Schedule > Final Precheck > Subproject Summary

Click the Run Prechecks button

One error, must add the intercluster LIF IP of NACLU2N1 to NANAS1!
NAFAS1> options snapmirror.access host=NAFAS2,10.10.10.121,10.10.10.221

Click Run Prechecks Again

Review the Precheck summary...
If there are no Errors and the Warnings are acknowledged and understood...
Click Next

Image 7: Even with the Origin Controller being NAFAS2, NACLU2N1 still needs to be added to NAFAS1!

Image 8: Final Precheck

Configuring Subproject: 1/2
IP Configuration > Precheck > Vserver Mapping > Volume Mapping > Interface Mapping > SnapMirror Schedule > Final Precheck > Subproject Summary

Informational: You have configured one of the two subprojects in this project. You can configure the second subproject by clicking “Save & Configure Next Subproject” button, or later from the Dashboard.

Click OK

Click Save and Configure Next Subproject

Subproject 2/2 NAFAS1 to NASVM1 (“Source”)

Configuring Subproject: 2/2
IP Configuration > Precheck > Vserver Mapping > Volume Mapping > Interface Mapping > SnapMirror Schedule > Final Precheck > Subproject Summary

Project Name = NAFAS1toCDOT
Subproject Name = NAFAS1toCDOT_primary
Data Copy IP = 10.10.10.101
Click Next

Configuring Subproject: 2/2
IP Configuration > Precheck > Vserver Mapping > Volume Mapping > Interface Mapping > SnapMirror Schedule > Final Precheck > Subproject Summary

Click the Run Prechecks button

Review the Precheck summary...
If there are no Errors and the Warnings are acknowledged and understood...
Click Next

Configuring Subproject: 2/2
IP Configuration > Precheck > Vserver Mapping > Volume Mapping > Interface Mapping > SnapMirror Schedule > Final Precheck > Subproject Summary

Select a Clustered Data ONTAP system:
Click NACLU1 (our source cluster)
Select a Vserver:
Tick NASVM1 (our source SVM)
Click Next

Configuring Subproject: 2/2
IP Configuration > Precheck > Vserver Mapping > Volume Mapping > Interface Mapping > SnapMirror Schedule > Final Precheck > Subproject Summary

Map Original Volumes to Aggregates on Target Cluster:
Here we leave ‘Target Aggregate’ and ‘Target Volume’ as is!
Click Next

Configuring Subproject: 2/2
IP Configuration > Precheck > Vserver Mapping > Volume Mapping > Interface Mapping > SnapMirror Schedule > Final Precheck > Subproject Summary

Map 7-Mode IP Addresses to Cluster LIFs:
{Here I skip this optional step - my failover method will be to update the CNAME}
Click Next

Configuring Subproject: 2/2
IP Configuration > Precheck > Vserver Mapping > Volume Mapping > Interface Mapping > SnapMirror Schedule > Final Precheck > Subproject Summary

Select SnapMirror Schedule or Transition:
Tick hourly
Click Next

Note: Use “job schedule cron create” on the Cluster to configure a custom schedule!

Configuring Subproject: 2/2
IP Configuration > Precheck > Vserver Mapping > Volume Mapping > Interface Mapping > SnapMirror Schedule > Final Precheck > Subproject Summary

Click the Run Prechecks button

Review the Precheck summary...
If there are no Errors and the Warnings are acknowledged and understood...
Click Next

Configuring Subproject: 2/2
IP Configuration > Precheck > Vserver Mapping > Volume Mapping > Interface Mapping > SnapMirror Schedule > Final Precheck > Subproject Summary

Click Save and Go to Dashboard

Image 9: Subproject 2/2 Summary

Note: If you reboot the server with 7MTT installed on, you will need to re-enter credentials (best done from Home > Storage Systems)

7MTT Dashboard: Subproject NAFAS1toCDOT_secondary

For NAFAS1toCDOT_secondary click Start

Image 10: NAFAS1toCDOT_secondary in the 7MTT Dashboard

If you’ve acknowledged and understood all the Precheck Warnings click Yes to the:
“Warning! It is recommended that you address all warnings in precheck results before starting the transition. Do you want to continue?”

Informational: Transition started successfully.
Click View Result or Close

Image 11: NAFAS1toCDOT_secondary - Baseline Completed & Transfers In Progress

For interest, here are the SnapMirror shows/statuses and Snapshots on vol1 across NAFAS1, NAFAS2 and NACLU2:

NAFAS1> snapmirror status
Source        Destination
NAFAS1:vol1   NAFAS2:vol1
NAFAS1:vol2   NAFAS2:vol2
NAFAS1:vol3   NAFAS2:vol3

NAFAS1> snap list vol1
date          name
------------  --------
May 03 23:15  NAFAS2(4221225673)_vol1.31 (snapmirror)
May 03 23:00  hourly.0
May 03 22:00  hourly.1
May 03 21:01  hourly.2
May 03 20:00  hourly.3
May 03 16:12  hourly.4

NAFAS2> snapmirror status
Source        Destination   State      
NAFAS1:vol1   NAFAS2:vol1   Snapmirrored
NAFAS1:vol2   NAFAS2:vol2   Snapmirrored
NAFAS1:vol3   NAFAS2:vol3   Snapmirrored
NAFAS2:vol1   NASVM2:vol1   Source     
NAFAS2:vol2   NASVM2:vol2   Source     
NAFAS2:vol3   NASVM2:vol3   Source     

NAFAS2> snap list vol1
date          name
------------  --------
May 03 23:15  NAFAS2(4221225673)_vol1.31 (snapmirror)
May 03 23:00  hourly.0
May 03 23:00  NAFAS2(4221225673)_vol1.30
May 03 22:00  hourly.1
May 03 21:01  hourly.2
May 03 20:00  hourly.3
May 03 16:12  hourly.4

NACLU2::> snapmirror show
Source            Destination  Mirror  Relationship
Path        Type  Path         State   Status     
----------- ---- ------------ ------- -------------
10.10.10.201:vol1
            TDP  NASVM2:vol1  Snapmirrored
                                      Idle        
10.10.10.201:vol2
            TDP  NASVM2:vol2  Snapmirrored
                                      Idle        
10.10.10.201:vol3
            TDP  NASVM2:vol3  Snapmirrored
                                      Idle        

NACLU2::> snapshot show -volume vol1
Vserver  Volume  Snapshot                  
-------- ------- --------------------------
NASVM2   vol1
                 hourly.4                 
                 hourly.3                 
                 hourly.2                 
                 hourly.1                 
                 NAFAS2(4221225673)_vol1.30
                 hourly.0                 
                 NAFAS2(4221225673)_vol1.31

7MTT Dashboard: Subproject NAFAS1toCDOT_primary

For NAFAS1toCDOT_primary click Start

Image 12: NAFAS1toCDOT_primary in the 7MTT Dashboard

Precheck Warnings ... click Yes

Informational: Transition started successfully.
Click View Result or Close

Image 13: NAFAS1toCDOT_primary - Baseline Completed & Transfers In Progress

Note: Notice the informational ‘You cannot cutover a primary subproject before the associated secondary subproject is completed.’

7MTT Dashboard: Cutover NAFAS1toCDOT_secondary

For NAFAS1toCDOT_secondary click Cutover (Refresh the view first)

Image 14: NAFAS1toCDOT_secondary, time to click Cutover!

Precheck Warnings ... click Yes

Transition Cutover ...
Leave Ticked - The origin volumes will be made offline
Click Continue

Image 15: 7MTT Transition Cutover Warning

Informational: Transition completed successfully.
Click View Result or Close

Image 16: Transition complete successfully

7MTT Dashboard: Cutover NAFAS1toCDOT_primary

On MSADM1, disconnect CIFS shares U, V and W:

net use U: /delete
net use V: /delete
net use W: /delete

On NAFAS1, run these commands:

priv set advanced
cifs terminate -v vol1
cifs terminate -v vol2
cifs terminate -v vol3

For NAFAS1toCDOT_primary click Cutover (Refresh the view first)

Image 17: NAFAS1toCDOT_primary, time to click Cutover!

Precheck Warnings ... click Yes

Transition Cutover ...
Leave Ticked - The origin volumes will be made offline
Select Yes to ‘Is SnapMirror applied on this system (NACLU1)’
Click Continue

Image 18: 7MTT Transition Cutover Warning

Informational: Transition completed successfully.
Click View Result or Close

Image 19: Transition complete successfully

MSDMC01: Update the CNAME for FS1 to point to NASVM1

Image 20: Updating CNAME to point to the SVM

MSADM01: Remount the shares and test data access

ipconfig /flushdns
net use U: \\FS1\share1 /persistent:yes
net use V: \\FS1\share2 /persistent:yes
net use W: \\FS1\share3 /persistent:yes

NACLU2: Verify SnapMirrors as created by 7MTT:

NACLU2::> snapmirror show
Source            Destination  Mirror
Path        Type  Path         State
----------- ---- ------------ -------
NASVM1:vol1 DP   NASVM2:vol1  Snapmirrored
NASVM1:vol2 DP   NASVM2:vol2  Snapmirrored
NASVM1:vol3 DP   NASVM2:vol3  Snapmirrored

NACLU2::> snapmirror show -fields schedule
schedule show -name sched_vol1_vol1_0
schedule show -name sched_vol2_vol2_0
schedule show -name sched_vol2_vol2_0

NACLU2::> volume show -type DP

NACLU1&2: Verify Volumes and CIFS Shares:

volume show
vserver cifs share show
vol show -fields junction-path
vserver cifs share show -fields path

NAFAS2: Tidy up SnapMirrors on the 7-Mode Destination

Note: We clear /etc/snapmirror.conf since we only had our 3 volumes being replicated

NAFAS2>
wrfile /etc/snapmirror.conf
{PRESS CTRL+C to EXIT}
vol online vol1
vol online vol2
vol online vol3
snapmirror break NAFAS2:vol1
snapmirror break NAFAS2:vol2
snapmirror break NAFAS2:vol3
snap delete vol1 NAFAS2(4221225673)_vol1.33
snap delete vol2 NAFAS2(4221225673)_vol2.33
snap delete vol3 NAFAS2(4221225673)_vol3.33
vol offline vol1
vol offline vol2
vol offline vol3

NAFAS1: Tidy up SnapMirrors on the 7-Mode Source

NAFAS1>
vol online vol1
vol online vol2
vol online vol3
snapmirror release vol1 NAFAS2:vol1
snapmirror release vol2 NAFAS2:vol2
snapmirror release vol3 NAFAS2:vol3
vol offline vol1
vol offline vol2
vol offline vol3

Comments