Migrate a storage VM from an ASA cluster to an ASA r2 cluster
Beginning with ONTAP 9.18.1, you can non-disruptively migrate a storage virtual machine (VM) from any standard ASA cluster to any ASA r2 cluster to adopt the simplified, streamlined architecture of ASA r2 systems for SAN-only environments.
|
|
You cannot migrate a storage VM from an ASA MetroCluster to an ASA r2 cluster. ASA r2 systems do not support MetroCluster configurations. |
ASA r2 systems support QuickAssist Technology (QAT). ASA systems do not support QAT. Beginning with ONTAP 9.20.1, ONTAP reduces high read latency and CPU usage that can occur after a storage VM is migrated from an ASA (non-QAT) system to an ASA r2 (QAT) system.
Storage VM migration between ASA and ASA r2 storage systems is supported as follows:
| From any of the following ASA systems: | To any of the following ASA r2 systems: |
|---|---|
|
|
For the most current list of ASA and ASA r2 systems, see NetApp Hardware Universe. ASA r2 systems are listed in NetApp Hardware Universe as "ASA A-Series/C-Series (New)".
You can migrate a storage VM to an ASA r2 cluster from an ASA cluster only. Migration from any other type of ONTAP system to an ASA r2 system is not supported.
All nodes in the ASA r2 cluster and the ASA cluster must be running ONTAP 9.18.1 or later. The ONTAP 9.18.1 patch versions on the cluster nodes can vary.
Step 1: Verify the status of the ASA storage VM
Before you migrate a storage VM from an ASA system, there should be no NVMe namespaces or vVols present and each volume in the storage VM should contain only one LUN. Migration of NVMe namespaces and vVols is not supported. The architecture of ASA r2 systems requires that volumes contain a single LUN.
-
Verify that no NVMe namespaces are present in the storage VM:
vserver nvme namespace show -vserver <storage_VM>If entries are displayed, the NVMe objects must be converted to LUNs or removed. See the
vserver nvme namespace deleteand thevserver nvme subsystem deletecommands in the ONTAP command reference for more information. -
Verify that there are no vVols present in the storage VM:
lun show -vserver <storage_VM> -class protocol-endpoint,vvolIf any vVols are present, they should be copied to another storage VM and then deleted from the storage VM to be migrated. See the
lun copyandlun deletecommands in the ONTAP command reference for more information. -
Verify that each volume in the storage VM contains a single LUN:
lun show -vserver <storage_VM>If a volume contains more than one LUN, use the
volume createandlun movecommands to create a 1:1 volume-to-LUN ratio. See the ONTAP command reference for more information.
You are ready to create a cluster peer relationship between your ASA and ASA r2 clusters.
Step 2: Create a cluster peer relationship between your ASA and ASA r2 clusters
Before you can migrate a storage VM from an ASA cluster to an ASA r2 cluster, you need to create a peer relationship. A peer relationship defines network connections that enable ONTAP clusters and storage VMs to exchange data securely.
The ASA cluster is the source cluster from which the storage VM will be migrated, and the ASA r2 cluster is the destination cluster to which the storage VM will be migrated.
You must have created intercluster LIFs on every node in the clusters being peered using one of the following methods.
-
On the destination cluster, create a peer relationship with the source cluster and generate a passphrase:
cluster peer create -peer-addrs <source_cluster_LIF_IPs> -generate-passphraseThe following example creates a cluster peer relationship between cluster 1 and cluster 2 and creates a system-generated passphrase:
cluster1::> cluster peer create -peer-addrs 10.98.191.193 -generate-passphrase Passphrase: UCa+6lRVICXeL/gq1WrK7ShR Peer Cluster Name: cluster2 Initial Allowed Vserver Peers: - Expiration Time: 6/7/2017 09:16:10 +5:30 Intercluster LIF IP: 10.140.106.185 Warning: make a note of the passphrase - it cannot be displayed again. -
Copy the generated passphrase.
-
On the source cluster, create a peer relationship with the destination cluster:
cluster peer create -peer-addrs <destination_cluster_LIF_IPs> -
Enter the passphrase generated on the destination cluster.
-
Verify that the cluster peer relationship is created:
cluster peer showThe following example displays the expected output for successfully peered clusters.
cluster1::> cluster peer show Peer Cluster Name Cluster Serial Number Availability Authentication ----------------- --------------------- -------------- -------------- cluster2 1-80-123456 Available ok
The ASA and ASA r2 clusters are peered and storage VM data can be securely transferred.
You are ready to execute the migration pre-check.
Step 3: Execute the migration pre-check
Before you migrate a storage VM from an ASA cluster to an ASA r2 cluster, you must run a migration pre-check and fix any required issues. You cannot perform the migration until the pre-check passes successfully.
The ASA cluster is the source cluster from which the storage VM will be migrated, and the ASA r2 cluster is the destination cluster to which the storage VM will be migrated.
-
From your destination cluster, execute the migration pre-check:
vserver migrate start -vserver <storage_VM> -source-cluster <sourcecluster> -check-only trueIf you need to fix any issues to prepare for migration, the issue and the corrective action are displayed. Fix the issue and repeat the pre-check until it completes successfully.
You are ready to migrate your storage VM from your ASA cluster to an ASA r2 cluster.
Step 4: Migrate an ASA storage VM to an ASA r2 cluster
After you have prepared your ASA cluster and created the necessary cluster peer relationship with the ASA r2 cluster, you can begin the storage VM migration.
When performing a storage VM migration, it is a best practice to leave 30% CPU headroom on both the ASA cluster and the ASA r2 cluster to enable the CPU workload to execute.
-
After the storage VM migration, client I/O seamlessly transitions to the destination cluster with no disruption and the storage VM on the ASA r2 cluster is automatically removed. Automatic cutover and automatic storage VM removal are enabled by default. You can optionally disable one or both options and perform them manually.
-
The ASA cluster is the source cluster from which the storage VM will be migrated, and the ASA r2 cluster is the destination cluster to which the storage VM will be migrated.
-
The ASA r2 cluster must have enough free space to hold the migrated storage VM.
-
If the ASA storage VM contains encrypted volumes, the onboard key manager or the external key manager on the ASA r2 system must be configured at the cluster level.
-
The following operations cannot be running on the source ASA cluster:
-
Failover operations
-
WAFLIRON
-
Fingerprint
-
Volume move, rehost, clone, create, convert or analytics
-
-
From the destination cluster, start the storage VM migration:
vserver migrate start -vserver <storage_VM_name> -source-cluster <source_cluster>To disable automatic cutover, use the
-auto-cutover falseparameter. To disable the automatic removal of the source storage VM, use the-auto-source-cleanup falseparameter. -
Monitor the status of the migration
vserver migrate show -vserver <storage_VM_name>If you need to pause or cancel the migration before automatic cutover begins, use the
vserver migrate pauseand thevserver migrate abortcommands. You must pause the migration before cancelling it. You cannot cancel the migration after cutover starts.If automatic cutover is enabled, when the migration is complete, the status displays as migration-complete. If automatic cutover is disabled, the status displays as Ready for source cleanup.
The storage VM is migrated from the ASA cluster to the ASA r2 cluster. The storage VM’s name and UUID, the data LIF name, IP address, and object names, such as the volume name, remain unchanged. The UUID of the migrated objects in the storage VM is updated.
If you disabled automatic cutover and automatic storage VM removal, perform post-migration cutover and cleanup to manually cut over your ASA clients to your destination cluster and remove the storage VM from the ASA cluster.
Step 5: Post-migration cutover and cleanup
During an inter-cluster storage VM migration, client I/O transitions to the destination cluster and the storage VM on the source cluster is automatically removed. If you choose to disable automatic cutover and removal of the source storage VM during the migration, you need to perform these steps manually after the migration status reaches Ready for source cleanup.
Manually cut over clients after a storage VM migration
If you disable automatic client cutover during the inter-cluster migration of a storage VM, after the migration relationship is ready for cutover, perform the cutover manually so the destination storage VM can serve data to clients.
Perform this task from the destination cluster.
-
Manually execute client cutover:
vserver migrate cutover -vserver <storage_VM_name> -
Verify that the cutover operation is complete:
vserver migrate show
Data is being served to your clients from the storage VM on your destination cluster.
You are now ready to remove the storage VM from the source cluster.
Manually remove a storage VM after migration
If you disable automatic source cleanup during an inter-cluster storage VM migration, after the migration is complete, remove the storage VM from the source cluster to free the storage space.
Your clients should be serving data from the destination cluster.
-
From the source cluster, verify that the status of the source storage VM is Ready for source cleanup:
vserver migrate show -
Remove the source storage VM:
vserver migrate source-cleanup -vserver <storage_VM_name>
The storage VM on your source cluster is removed.