• No results found

9 Performing Minimally Disruptive Migration Using a Hyper-V Host

The MDM process is used when migrating a Hyper-V host attached to a source EMC Storage system. The host multipathing solution be updated to communicate with the destination HP 3PAR StoreServ Storage system, and the host must be shutdown briefly. Host I/O is interrupted only during the time it takes to reconfigure the host.

Creating the Data Migration Task

To create the data migration task for MDM, follow these steps:

1. Using the HP 3PAR Online Import Utility, issue thecreatemigrationcommand with the

-migtype MDMoption.

Example 56 createmigration command

# createmigration -sourceuid 50067890C6E059EE -srchost "HPDL585-01" -destcpg FC_r5 -destprov thin -migtype

MDM -persona “WINDOW_2008_R2”

# SUCCESS: Migration job submitted successfully. Please check status/details using showmigration command. Migration id: 1395864498822

NOTE: Thecreatemigrationcommand may take several minutes to complete.

TIP: Make a note of the migration ID, as it will be used in commands to track migration progress.

2. Issue theshowmigrationcommand to verify that the data migration task preparation has completed successfully. This may take some time. Upon successful creation of the task, the

STATUScolumn in the showmigrationcommand output will indicate

preparationcomplete(100%).

Example 57 showmigration command

# showmigration -migrationid 1395864498822

MIGRATION_ID TYPE SOURCE_NAME DESTINATION_NAME START_TIME END_TIME STATUS(PROGRESS)(MESSAGE)

1395864498822 MDM CLARiiON+APM00123452867 3par_7200_DCA_01

Wed Mar 26 13:08:19 PDT 2014 -NA- preparationcomplete(100%)(-NA-)

3. Issue theshowmigrationdetailscommand to verify the volumes being migrated. In the

preparation stage,PROGRESSfor each volume will be 0%and theTASK_IDwill beunknown.

Example 58 showmigrationdetails command

# showmigrationdetails -migrationid 1395864499741

SOURCE_VOLUME DESTINATION_VOLUME TASK_ID PROGRESS OIU_Test_Lun_01 OIU_Test_Lun_01 |unknown| 0%

A task ID will be assigned and percentage of progress will be shown while the task is being executed.

Example 59 showmigrationdetails command

# showmigrationdetails -migrationid 1395864499741

SOURCE_VOLUME DESTINATION_VOLUME TASK_ID PROGRESS OIU_Test_Lun_01 OIU_Test_Lun_01 6134 22%

TIP: TheSTATUScolumn in theshowmigrationcommand output will indicatesuccesswhen all volumes have been migrated successfully.

Example 60showmigrationcommand showing successful migration

# showmigration -migrationid 1395864498822

MIGRATION_ID TYPE SOURCE_NAME DESTINATION_NAME START_TIME END_TIME STATUS(PROGRESS)(MESSAGE)

1395864499741 MDM CLARiiON+APM00 3par_7200_DCB_01 Fri Apr 04 16:38:24 EDT 2014 -NA- success(-NA-)(-NA-)

Updating Host Multipath Software and Unzoning from the Source EMC

Storage System

CAUTION:

EMC PowerPath must not be installed during the migration process. Native MPIO must be managing the paths.

Stop all applications before removing EMC PowerPath. For cluster configurations, also stop the cluster services and the cluster. Applications should be restarted after migration has started. Perform the following steps on the Hyper-V host:

1. If EMC PowerPath software is present, remove it from the host, following the EMC PowerPath documentation instructions.

NOTE: After removal, you will be prompted to restart the host in order for the changes to take effect. Do not restart at this point.

2. The removal of EMC PowerPath multipath software might have also disabled the MPIO installation, but not removed it. Manually check to see whether native Microsoft MPIO is still loaded, and if it is, fully remove it at this time. Now power off the host and power up again.

3. Check the cluster reservation on the LUNs by shutting down the cluster by performing the following steps:

a. Using the Failover Cluster Manager, stop the cluster.

b. Clear the cluster reservation by following the appropriate Microsoft documentation about Hyper-V clusters.

4. Zone the host to the destination HP 3PAR StoreServ Storage system to establish communication. Using the HP 3PAR Management Console, verify that the host whose LUNs are under migration has paths to as many HP 3PAR controller nodes as are zoned in the SAN (seeFigure 6 (page 67)). This number of paths is listed in theNode ID(s)column. The path details are in theHost Detailspane.

Figure 6 HP 3PAR Management Console—Host Details

5. Configure the MPIO multipath software on the host.

a. Install MPIO.

b. Register HP 3PAR LUN types with MPIO by configuring MPIO to use3PARdataVVas the device hardware ID.

NOTE: 3PARdataVVis case sensitive.

You will be prompted to reboot the host in order for the change to take effect. Do not power off at this point, as this MDM procedure will already require stopping and restarting the Hyper-V host in the following step.

6. Shut down the Hyper-V host. Leave the host offline until the migration is started.

7. Unzone the source EMC Storage system from the host.

Starting the Data Migration from Source EMC Storage System to Destination

HP 3PAR StoreServ Storage System

To start the data migration, follow these steps:

1. From the HP 3PAR Online Import Utility, issue thestartmigrationcommand.

Example 61startmigrationcommand

# startmigration -migrationid 1395864499741 # SUCCESS: Data transfer started successfully

NOTE: The-migrationid(in the example above,1411673030253) will have been assigned by thecreatemigrationcommand.

2. To view the status of the migration, issue the showmigrationcommand.

Example 62showmigrationcommand

# showmigration -migrationid 1395864499741

MIGRATION_ID TYPE SOURCE_NAME DESTINATION_NAME

START_TIME END_TIME STATUS(PROGRESS)(MESSAGE) 1395864499741 MDM CLARiiON+APM00 3par_7200_DCB_01

Fri Apr 04 16:38:24 EDT 2014 -NA- unpresenting(1%)(-NA-)

3. Issue theshowmigrationdetailscommand to verify the volumes being migrated. In the preparation stage,PROGRESSfor each volume will be 0%and theTASK_IDwill beunknown.

Example 63 showmigrationdetails command

# showmigrationdetails -migrationid 1395864499741

SOURCE_VOLUME DESTINATION_VOLUME TASK_ID PROGRESS Test_Lun_01 Test_Lun_01 |unknown| 0%

A task ID will be assigned and percentage of progress will be shown while the task is being executed.

Example 64 showmigrationdetails command

# showmigrationdetails -migrationid 1395864499741

SOURCE_VOLUME DESTINATION_VOLUME TASK_ID PROGRESS Test_Lun_01 Test_Lun_01 6134 22%

TIP: TheSTATUScolumn in the showmigrationcommand output will indicatesuccess

when all volumes have been migrated successfully.

TIP: Theshowmigrationcommand output will indicatesuccesswhen all volumes have been migrated successfully.

Example 65showmigrationcommand showing successful migration

# showmigration -migrationid 1395864499741

MIGRATION_ID TYPE SOURCE_NAME DESTINATION_NAME

START_TIME END_TIME STATUS(PROGRESS)(MESSAGE)

1395864499741 MDM CLARiiON+APM00 3par_7200_DCB_01 Fri Apr 04 16:38:24 EDT 2014 -NA- success (-NA-) (-NA-)