Professional Documents
Culture Documents
storage.
ii 7-Mode LUN Transition to Clustered Data ONTAP 8.2
TABLE OF CONTENTS
Workflow Automation for SAN LUN Migration.......................................................................................... i
1. Introduction ........................................................................................................................................... 1
1.1. Audience .........................................................................................................................................................1
1.2. Features ..........................................................................................................................................................1
1.3. Supported Configurations ...............................................................................................................................2
2. LUN Migration Workflow Setup ........................................................................................................... 3
2.1. Install OnCommand Workflow Automation (WFA) 2.2 RC1 or Later ...............................................................3
2.2. Install OnCommand Unified Manager Core Package 5.2 for 7-Mode .............................................................3
2.3. Install OnCommand Unified Manager 6.1 RC1 for Clustered Data ONTAP ....................................................3
2.4. Configure 7-Mode and Clustered Data ONTAP Unified Managers as Data Sources in WFA .........................4
2.5. Configure Credentials for 7-Mode, Clustered Data ONTAP Controllers, and WFA Loopback in WFA ............5
2.6. Import LUN Migrate Workflows into WFA........................................................................................................6
2.7. Configure 7-Mode and Clustered Data ONTAP Direct Data Source ...............................................................7
2.8. Install NFShardlink Utility ................................................................................................................................8
2.9. Install and Configure Windows Services for UNIX Applications ......................................................................8
2.10. Configure Target Cluster for Transition ...........................................................................................................9
2.11. Configure Source Storage and Staging Storage .............................................................................................9
3. Overview of Migrations ...................................................................................................................... 10
3.1. Offline Migration ............................................................................................................................................ 10
3.2. Online Migration ............................................................................................................................................ 11
4. LUN Migration WFA Workflows Overview ....................................................................................... 12
4.1. Online Migration WFA Workflows ................................................................................................................. 12
4.2. Offline Migration WFA Workflows ................................................................................................................. 13
4.3. SnapMirror Pair Offline Migration WFA Workflows ....................................................................................... 13
5. Offline Migration Using LUN Migrate Workflow .............................................................................. 15
6. Online Migration Using LUN Migrate Workflow ............................................................................... 18
7. Troubleshooting ................................................................................................................................. 29
7.1. Reference Manuals ....................................................................................................................................... 29
7.2. Triage and Data Collection............................................................................................................................ 30
iii 7-Mode LUN Transition to Clustered Data ONTAP 8.2
Data Coll ection and AutoSupport ........................................................................................................... 30
WFA Log Files ........................................................................................................................................... 31
WFA Execution Logs ................................................................................................................................ 32
Viewing Logs Using Log Viewer ............................................................................................................. 32
7.3. Resume LUN Migrate Workflows .................................................................................................................. 33
7.4. Common LUN Migrate Errors ........................................................................................................................ 33
Feedback ............................................................................................................................................................... 64
Version History ...................................................................................................................................................... 64
LIST OF FIGURES
Figure 1) Install NFS hardlink. ........................................................................................................................................8
Figure 2) Offline LUN migration based on SnapMirror. ................................................................................................ 10
Figure 3) Online LUN migration based on SnapMirror. ................................................................................................ 11
Figure 4) SnapMirror pair offline LUN migration. .......................................................................................................... 14
Figure 5) 7-Mode to clustered Data ONTAP LUN migrate igroups: input. .................................................................... 15
Figure 6) 7-Mode to clustered Data ONTAP LUN offline migrate: input. ...................................................................... 16
Figure 7) 7-Mode to clustered Data ONTAP LUN offline migrate: execution details. ................................................... 17
Figure 8) 7-Mode to clustered Data ONTAP LUN offline migrate: command log details. ............................................. 17
Figure 9) Online migration state diagram. .................................................................................................................... 18
Figure 10) 7-Mode to clustered Data ONTAP LUN migrate igroups: input. .................................................................. 19
Figure 11) 7-Mode to clustered Data ONTAP LUN migrate job baseline: input. ........................................................... 20
Figure 12) 7-Mode to clustered Data ONTAP LUN migrate job baseline: execution. ................................................... 21
Figure 13) 7-Mode to clustered Data ONTAP LUN migrate job baseline multivolume: input. ....................................... 22
Figure 14) 7-Mode to clustered Data ONTAP LUN migrate run group: job list. ............................................................ 23
Figure 15) 7-Mode to clustered Data ONTAP LUN migrate run group: update. ........................................................... 24
Figure 16) 7toC LUN Migrate Periodic Update. ........................................................................................................... 25
Figure 17) 7-Mode to clustered Data ONTAP LUN migrate run group: rapid cutover. .................................................. 26
Figure 18) 7-Mode to clustered Data ONTAP LUN migrate run group: execution status. ............................................ 27
Figure 19) 7-Mode to clustered Data ONTAP LUN migrate run group: cleanup. .......................................................... 27
Figure 20) Workflow: reference manual........................................................................................................................ 29
Figure 21) WFA AutoSupport configuration. ................................................................................................................. 30
Figure 22) WFA log files. .............................................................................................................................................. 31
Figure 23) Download WFA execution logs. .................................................................................................................. 32
Figure 24) Log viewer. .................................................................................................................................................. 32
Figure 25) Resume workflow. ....................................................................................................................................... 33
1 7-Mode to clustered Data ONTAP SnapMirror based LUN Transition
1. Introduction
The LUN migration tool consists of a set of Workflow Automation (WFA) workflows and associated tools
that provide online and offline transition of LUNs from 7-Mode controllers to clustered Data ONTAP 8.2.
This tool is intended to be used instead of a DTA or host-based migration mechanisms.
LUN Transition Process
1. LUNs on the 7-Mode controller(s) are converted to files.
2. Files are mirrored with SnapMirrortechnology from the 7-Mode controller to the clustered Data
ONTAP controllers.
3. Files are converted back to LUNs on the clustered Data ONTAP controllers.
Online and Offline Transition
Online. This process requires a staging volume on a 7-Mode controller (which can be the same as
the source controller) to hold a copy of the source LUNs and performs LUN to file conversion using
NFS hardlinks. Cutover requires a client outage and generally complete in minutes, independently of
LUN size.
Offline. The offline transition process does not require a staging volume; it uses a FlexClone
volume of the source on which to perform conversion of the LUN into files. An extended offline
workflow manages the migration of a SnapMirror source and destination pair to clustered Data
ONTAP with no requirement to rebaseline between sites.
This document does not cover discovery, assessment, pre- and posttransition, and validation steps. Use
tools such as nSANity, the 7-Mode parser, and NetApp Data Center Planner (NDCP) for discovery and
assessment. For detailed pre- and postmigration steps, refer to the DTA migration plans.
1.1. Audience
This document is for customers of the NetApp homogeneous storage area network (HoSAN) migration
service.
This document is for use by NetApp sales engineers (SEs), consulting sales engineers (CSEs),
Professional Services engineers (PSEs), Professional Services consultants (PSCs), and channel partner
engineers involved in a SAN data migration from 7-Mode to clustered Data ONTAP.
The document describes the steps necessary to transition LUNs from 7-Mode storage controllers to
clustered Data ONTAP storage controllers for a successful SAN data migration from 7-Mode to clustered
Data ONTAP storage.
1.2. Features
Supports offline LUN migration.
Supports online LUN migration (with minimal downtime).
Allows per-volume or per-LUN migration. Source data is left intact.
Preserves storage efficiency for offline migration. Snapshot history not copied.
Uses Windows PowerShellcmdlets to convert all LUN types to/from regular files verbatim.
Leverages hard links to convert LUNs to files.
Handles prefixed/suffixed LUNs and LUN resizes during migration.
2 7-Mode LUN Transition to Clustered Data ONTAP 8.2
Preserves LUN type and optionally preserves LUN serial number and LUN geometry.
Creates igroups and remaps LUNs.
Groups multiple volumes and performs update/resync/cutover per group.
Option to offline source LUNs pretransition. Offlines LUNs by default.
Supports offline migration of a SnapMirror pair of volumes containing LUNs.
Supports creation of a secondary SnapMirror target volume for use by data protection SnapMirror or
SnapVault.
Supports test cutover using cutover and resync workflows.
1.3. Supported Configurations
The following configurations are supported:
Source storage: 7.3.x, 8.x 7-Mode
Staging storage: 7.3.x, 8.x 7-Mode supported by clustered Data ONTAP Transition Data Protection
(TDP) SnapMirror
Destination storage: 8.2.x clustered Data ONTAP
3 7-Mode LUN Transition to Clustered Data ONTAP 8.2
2. LUN Migration Workflow Setup
This section provides an overview of the tools and setup required for a 7-Mode LUN transition.
Note: Direct data source types included with the LUN migration workflows may be used if OnCommand
Unified Manager is not installed in the environment.
2.1. Install OnCommand Workflow Automation (WFA) 2.2 RC1 or Later
OnCommand Workflow Automation (WFA) is a software solution that enables you to create storage
workflows and automate storage management tasks such as provisioning, migrating, decommissioning,
and cloning storage. WFA enables you to create simple and complex workflows in a short time for
virtualized and cloud environments.
You can use WFA to integrate storage workflows with your existing IT processes and align with NetApp
best practices.
Download and install OnCommand Workflow Automation 2.2 RC1.
Read the information provided in the description page and then proceed to the bottom of the page for the
software download instructions.
2.2. Install OnCommand Unified Manager Core Package 5.2 for 7-Mode
Note: This step is optional. An existing Unified Manager Core Package 5.x for 7-Mode or the WFA direct
data source included with the workflows may be used instead.
OnCommand Unified Manager (OCUM) software provides integrated policy-based data and storage
management for virtual and physical environments. It brings together multiple products, including
Operations Manager, protection capabilities, and provisioning capabilities, into a single integrated, policy-
based data and storage management solution for virtual and physical environments.
Download and install OCUM 5.2.
Note: All controllers added in OCUM must be configured with the correct credentials.
2.3. Install OnCommand Unified Manager 6.1 RC1 for Clustered Data ONTAP
Note: This step is optional. An existing Unified Manager Core Package 5.x for clustered Data ONTAP,
Unified Manager 6.0, or the WFA direct data source included with the workflows may be used instead.
Unified Manager 6.1 provides comprehensive monitoring and key management capabilities for clustered
Data ONTAP systems to help manage the availability, capacity, protection, and performance risks of your
storage systems.
Note: Unified Manager 6.1 is deployed only as a virtual instance. All controllers added in OCUM must be
configured with the correct credentials. Any OCUM supported with the respective clustered Data ONTAP
version can be used.
Download and install OnCommand Unified Manager 6.1 RC1.
Read the information provided in the description page and then proceed to the bottom of the page for the
software download instructions.
4 7-Mode LUN Transition to Clustered Data ONTAP 8.2
2.4. Configure 7-Mode and Clustered Data ONTAP Unified Managers as Data
Sources in WFA
Note: This step is only required if Unified Manager(s) are used as WFA data sources rather than the WFA
direct data sources.
1. Configure a database user on the OnCommand Unified Manager server by
downloading wf a_ocaset up. exe/ wf a_ocaset up. sh.
Refer to the OnCommand Workflow Automation Installation and Setup Guide for details on creating a
database user.
2. Log in to WFA as admi n.
3. Select Execution ->Data Sources.
4. Select Add New Data Sources.
5. Enter Data source type as follows:
7-Mode: Add OnCommand Unified Manager 5.2 7-Mode data source.
MYSQL for clustered Data ONTAP: Add OnCommand Unified Manager 6.1 clustered Data
ONTAP data source.
6. Enter Name and Host details.
5 7-Mode LUN Transition to Clustered Data ONTAP 8.2
2.5. Configure Credentials for 7-Mode, Clustered Data ONTAP Controllers, and
WFA Loopback in WFA
Add 7-Mode and clustered Data ONTAP credential s:
1. Log in to WFA as user admi n.
2. Select Execution ->Credentials.
3. Select New Credentials.
4. For Type, select ONTAP.
5. Enter host name/IP address and credentials.
6. Repeat steps 1 through 5 for all 7-Mode and clustered Data ONTAP controllers.
Add WFA loopback credentials:
1. For WFA loopback, make the following selections: Select Type as Other.
2. Enter name as WFA-loopback and enter WFA login credentials.
6 7-Mode LUN Transition to Clustered Data ONTAP 8.2
2.6. Import LUN Migrate Workflows into WFA
1. Download the LUN migrate dar file.
2. Log in to WFA using user admi n.
3. Select Administration ->Import.
4. Select the dar file.
5. Select Import to import new definitions.
6. Verify new LUN migrate (l unMi gr at e) workflows are imported into WFA.
7 7-Mode LUN Transition to Clustered Data ONTAP 8.2
2.7. Configure 7-Mode and Clustered Data ONTAP Direct Data Source
Note: This step is only required if Unified Manager data sources have not already been configured.
Configure a direct data source for 7-Mode and clustered Data ONTAP:
1. Log in to WFA as admi n.
2. Select Execution ->Data Sources.
3. Select Add New Data Sources.
4. Enter the data source type for 7-Mode and/or clustered Data ONTAP:
7-Mode: Direct 7-Mode Data ONTAP
Clustered Data ONTAP: Direct Clustered Data ONTAP 1.0
8 7-Mode LUN Transition to Clustered Data ONTAP 8.2
5. Set the Host name field and use a comma-separated list of array or cluster administration addresses
(IP or resolved hostname).
6. Reduce the scheduler interval to 15 minutes (or tune as required). For larger environments, increase
Timeout (sec) as required.
2.8. Install NFShardlink Utility
Note: Use if the NFShardlink utility is optional. Alternatives are to use WindowsServices for UNIX
Applications (described later) or to use a Linuxor UNIX proxy through SSH.
1. Download NSFHardlink 1.1 to the WFA server.
2. Verify that Microsoft.NET 4.0 framework is installed (client profile is
sufficient). http://www.microsoft.com/en-au/download/details.aspx?id=24872 )
3. Click NFSHardlink_v1.1.msi and follow the wizard instructions to install.
Figure 1) Install NFS hardlink.
2.9. Install and Configure Windows Services for UNIX Applications
Note: Use of Windows SUA is optional. Alternatives are to use the NFShardlink utility (described earlier)
or a Linux or UNIX proxy using SSH.
1. Add the following required registry settings for Windows NFS client; run the commands from an
administrative command or Windows PowerShell window:
REG ADD HKLM\ SOFTWARE\ Mi cr osof t \ Cl i ent For NFS\ Cur r ent Ver si on\ Def aul t / v AnonymousGi d
/ t REG_DWORD / d 0 / f
REG ADD HKLM\ SOFTWARE\ Mi cr osof t \ Cl i ent For NFS\ Cur r ent Ver si on\ Def aul t / v AnonymousUi d
/ t REG_DWORD / d 0 / f
REG ADD HKLM\ SOFTWARE\ Mi cr osof t \ Cl i ent For NFS\ Cur r ent Ver si on\ Def aul t / v
MaxDi r CacheSi ze / t REG_DWORD / d 0 / f
2. Add Services for Network File System to File Services role, and the subsystem for applications
feature based on UNIX. Use the Server Manager GUI or run the following commands from an
administrative Windows PowerShell window:
9 7-Mode LUN Transition to Clustered Data ONTAP 8.2
Windows Server 2012:
6TI mpor t - Modul e Ser ver Manager
Add- Wi ndowsFeat ur e Subsyst em- UNI X- Apps, FS- NFS- Ser vi ce
Windows Server 2008 R2:
6TI mpor t - Modul e Ser ver Manager
Add- Wi ndowsFeat ur e Subsyst em- UNI X- Apps, FS- NFS- Ser vi ces
3. Install the Base Utilities component from Utilities and SDK for Subsystem for applications based on
UNIX. This can be downloaded from Microsoft for Windows Server2008 R2 and Windows Server
2012. Detailed installation instructions are in Appendix B
2.10. Configure Target Cluster for Transition
1. Configure intercluster LIFs on all cluster nodes that are hosting destination aggregates.
Exampl e:
st l - b9cmode- 01: : > net wor k i nt er f ace cr eat e - vser ver st l - b9cmode- 01 - l i f
i nt er cl ust er l i f 1 - r ol e i nt er cl ust er - home- node st l - b9cmode- 01- 01 - home- por t e0a -
addr ess 10. 61. 187. 96 - net mask 255. 255. 255. 0 - st at us- admi n up - f ai l over - pol i cy
next avai l - f i r ewal l - pol i cy i nt er cl ust er
2. Create target storage virtual machine (SVM, formerly called Vserver) and SAN logical interfaces
(LIFs).
3. Create portsets on target SVM (if used on source storage and still required).
4. Create igroups on target SVM (if autoremapping is desired, use same igroup names source). The
migrate igroups workflow can be used for this task.
5. Install FlexClone license on clustered Data ONTAP storage.
6. Install SnapMirror license on clustered Data ONTAP storage.
2.11. Configure Source Storage and Staging Storage
1. Install the FlexClone license on the source 7-Mode storage (if using offline and no NFS license is
available).
2. Install the NFS license on the staging 7-Mode storage (required if using online, preferred for offline).
3. Install the SnapMirror license on the source and staging 7-Mode storage.
4. Set the ci f s. nf s_r oot _i gnor e_acl option to on if required on staging storage.
Exampl e: opt i ons ci f s. nf s_r oot _i gnor e_acl on
Note: This is required if any qtrees/volumes hosting LUNs have NTFS or mixed security style and for
online migrations if the option waf l . def aul t _secur i t y_st yl e is not set to uni x.
10 7-Mode LUN Transition to Clustered Data ONTAP 8.2
3. Overview of Migrations
This section provides instructions for offline and online migrations.
3.1. Offline Migration
During offline migration, the user does not have access to the application, and the host is shut down.
An offline migration workflow involves the following automated steps; see Figure 2.
1. Shut down the host.
2. Create a Snapshot copy of the volume.
3. Create a volume clone.
4. Convert the LUN to a file on the cloned volume.
5. Delete LUNs on the cloned volume.
6. Create SnapMirror relationship between the cloned volume and clustered Data ONTAP target
volume.
7. After the SnapMirror transfer, convert the file to a LUN.
8. Map the clustered Data ONTAP LUNs to host and perform remediation.
Figure 2) Offline LUN migration based on SnapMirror.
11 7-Mode LUN Transition to Clustered Data ONTAP 8.2
3.2. Online Migration
During online migration, the user has access to the application during copy and updates. The application
and host are shut down before cutover. Cutover downtime is minimal, usually the time it takes to
complete the host remediation activities.
An online migration workflow involves the following steps:
1. Create the QSM baseline from the source volume to the staging volume.
2. Perform QSM quiesce and break the relationship.
3. Convert the LUN to a file; this creates an NFS link to the file and takes a copy of the prefix and
properties.
4. Delete the LUNs on the staging volume.
5. Perform a SnapMirror baseline to the clustered Data ONTAP target volume. The update workflow
repeats step 1 to step 4 and does a TDP update from the staging volume to the clustered Data
ONTAP target volume.
6. During cutover downtime, shut down the application and the host.
7. Perform a QSM resync from the source volume to the staging volume.
8. Perform a QSM quiesce and break the relationship.
9. Convert the LUN to a file; this creates an NFS link to the file and takes a copy of prefix and
properties.
10. Delete the LUNs on the staging volume.
11. Perform a TDP update from the staging volume to the clustered Data ONTAP target volume.
12. Break the SnapMirror relationship from the staging volume to the clustered Data ONTAP target
volume.
13. Convert the file to a LUN. Copy the prefix and properties to the LUN.
14. Power on the host and perform remediation activities.
Figure 3) Online LUN migration based on SnapMirror.
12 7-Mode LUN Transition to Clustered Data ONTAP 8.2
4. LUN Migration WFA Workflows Overview
The tool is delivered as a number of different workflows.
4.1. Online Migration WFA Workflows
The online process has the following phases, each implemented as a separate workflow:
1. 7-Mode to clustered Data ONTAP LUN migrate igroups.
a. Copies igroup information from a 7-Mode controller or vFiler