Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments

Migrating the vFiler

Before you start  Top

Before you begin the migration, make sure the following are true:

How migrating a vFiler affects clients  Top

If you migrate a vFiler to another filer on the same subnet, you see the following effects on clients.

For information on moving a vFiler to a filer on a different subnet, see If you have moved the vFiler to a different subnet or Windows domain.

Caution
The procedure that follows destroys the original vFiler after replicating it on the destination filer. If you want to leave the original vFiler intact and create a backup copy of it for disaster-recovery purposes, use the procedures listed under How to create and activate a disaster-recovery vFiler instead.

Migrating the vFiler  Top

To migrate the filer, perform the following steps.

Step

Action

1

On the destination filer, enter the following command:

vfiler migrate start source_vfiler@source_filer

Note
This procedure locks up the console for the minimum amount of time. If this is not a concern for you (if you want to let the job run overnight, for example) you can perform the migration with a single command:

vfiler migrate source_vfiler@source_filer

If you do this, skip Step 4 and Step 5.

2

Respond to the login prompt with a valid administrative ID and password for the source filer.

3

Respond to the IP address and binding prompts, using the addresses you entered on the "new interface" lines on the worksheet.

4

Monitor the progress of the migration with the following command:

vfiler migrate status source_vfiler@source_filer 

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

5

When the status command reports that SnapMirror has replicated all the storage units of the source vFiler, complete the migration by entering the following command:

vfiler migrate complete source_vfiler@source_filer 

Note
If you want to cancel the migration, you can do so now by issuing the following command on the destination filer:

vfiler migrate cancel source_vfiler@source_filer

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

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.

6

If you copied quota information into the destination filer's /etc/quotas file (see Step 8 of Preparing the destination filer earlier in this chapter) activate the quotas on that filer. For each volume you are activating quotas on, use the following command:

quota on volume
7

Make adjustments on the clients.

These will include remounting qtrees, but volume-level mounts should be intact.

8

If you have moved the vFiler to a different subnet, follow the steps in If you have moved the vFiler to a different subnet or Windows domain.

9

If the vFiler's storage units contain iSCSI LUNS, reconfigure iSCSI authentication.

See the Block Access Management Guide for iSCSI for instructions.

What the vFiler migrate commands do  Top

The vfiler migrate start command does the following:

The vfiler migrate complete command does the following:

If you have moved the vFiler to a different subnet or Windows domain  Top

If you have moved the vFiler to a different subnet, you might need to configure the network servers and make adjustments on the clients. If you have moved the vFiler to a different Windows domain, you might also need to modify data-file security attributes.

Perform the following steps on the destination vFiler.

Step

Action

1

To configure NIS and DNS servers, run setup.

2

To change the name of the Windows domain controller, use the cifs prefdc command.

3

To change the Windows WINS server, run cifs setup.

Note
If the Windows domain has changed, you might need to change the permissions on the Windows data files to allow your users the same access they had in the old domain.

4

To change the trusted host, do the following:

a. Edit the vFiler's /etc/hosts.equiv file, adding the name of the trusted host for administering the vFiler. (This is the hostname you entered on the worksheet as "new trusted host".)

Note
If the trusted host is a Windows system, or if it is a UNIX system and the trusted user is not the root user, you need to add the user name as well; for example adminhost joe_smith

b. Add the path to the root volume and the name of the trusted host to the vFiler's /etc/exports file.

Example

/vol/vol0 access=adminhost, root=adminhost

5

Make adjustments on the clients.

These will include remounting volumes and qtrees.

Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments