Table of ContentsLibraryView in Frames

How to migrate a vFiler unit by copying data (SnapMirror)

You might want to copy data from one storage system to another to maintain a backup copy of the data so that if the primary disks fail or the data on them becomes inaccessible, you can use the backup copy to restore services to clients.

Before You Begin

Ensure that you perform all the steps listed in the storage checklist and network checklist.

Considerations

Attention: This procedure destroys the original vFiler unit after replicating it on the destination storage system. To leave the original vFiler unit intact and create its backup copy for disaster recovery purposes, use the procedure for creating a disaster recovery vFiler unit.

Steps

  1. Qualify and prepare the destination storage system using the storage checklist and network checklist.
  2. On the destination storage system, enter one of the following commands:
    If the time the console is locked ... Then...
    Concerns you, (for example, if you want to lock the console for a minimum amount of time)

    Enter the following command:

    source_vfiler @source_filer
    Is of no concern to you (for example, if you want to migrate the vFiler unit overnight) vfiler migrate source_vfiler@source_filer
    Note: Skip Step 5 and Step 6 if you use this command. For more information, see the na_vfiler(1) man page.
  3. Respond to the login prompt with a valid administrative ID and password for the source storage system.
  4. Respond to the IP address and binding prompts, using the addresses you entered on the “new interface” lines on the worksheet.
  5. Monitor the progress of the migration with the following command: vfiler migrate status source_vfiler@source_filer

    Note: The vfiler migrate command might take some time to complete, especially if a source qtree has many millions of inodes.

  6. When the status command reports that SnapMirror has replicated all the storage units of the source vFiler unit, you can either complete the migration or cancel the migration.
    If you want to... Then...
    Complete the migration

    Enter the following command:

    vfiler migrate complete [-l user:passwd ] [-c secure] source_vfiler@source_filer
    Note: You need to use the user name and password when the password is changed at the remote storage system after vfiler migrate start is triggered.
    Note: If the vfiler migrate complete command reports that the process cannot complete, wait a few minutes and then enter the same vfiler migrate complete command again.
    Cancel the migration,

    Enter the following command:

    vfiler migrate cancel source_vfiler@source_filer

    This destroys the destination vFiler unit and removes the SnapMirror and other migration-related configuration information from the source vFiler unit.

  7. If you copied quota information into the destination storage system’s /etc/quotas file when you prepared the destination storage system, activate the quotas on that storage system. For each volume you are activating quotas on, use the following command: quota on volume_name
  8. Make adjustments on the clients.

    You will need to remount qtrees, but volume-level mounts should be intact. If you have moved the vFiler unit to a different subnet or Windows domain, you need to configure the network servers and make adjustments on the clients and you need to modify data-file security attributes.

  9. Reconfigure iSCSI authentication if the vFiler unit’s storage units contain iSCSI LUNS, see the Data ONTAP Block Access Management Guide for iSCSI and FC for instructions.