HP Online Import Software manual Example 18 Updating the multipath.conf file

Page 47

Example 18 Updating the multipath.conf file

#multipath -v2

#multipath -ll

mpath13 (360060160bf902a00e03cb1bb3c3fe411) dm-4 DGC,VRAID [size=150G][features=1 queue_if_no_path][hwhandler=1 emc][rw] \_ round-robin 0 [prio=1][active]

\_ 2:0:0:2 sde 8:64 [active][ready] \_ round-robin 0 [prio=0][enabled] \_ 3:0:0:2 sdg 8:96 [active][ready]

mpath12 (360060160bf902a00cae2a2a33c3fe411) dm-3 DGC,VRAID [size=200G][features=1 queue_if_no_path][hwhandler=1 emc][rw] \_ round-robin 0 [prio=1][active]

\_ 3:0:0:1 sdf 8:80 [active][ready] \_ round-robin 0 [prio=0][enabled] \_ 2:0:0:1 sdd 8:48 [active][ready]

mpath11 (360060160bf902a002ac0388f3c3fe411) dm-2 DGC,VRAID [size=200G][features=1 queue_if_no_path][hwhandler=1 emc][rw] \_ round-robin 0 [prio=1][active]

\_ 3:0:0:0 sdb 8:16 [active][ready] \_ round-robin 0 [prio=0][enabled] \_ 2:0:0:0 sdc 8:32 [active][ready]

#

6.Using the HP 3PAR Online Import Utility, execute the createmigration command with the

-migtype online option.

Example 19 Using createmigration with -migtype online

>createmigration -sourceuid xxxxxxxxxxxxxxxx -srchost "X7DBU-02-IG" -destcpg "testcpg" -destprov full -migtype online

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

This step admits LUNs presented to the EMC Storage system and exports them to the HP 3PAR host created on the EMC Storage system.

NOTE: Be aware, the createmigration command 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.

7.Execute the showmigration command to verify that the data migration task preparation has completed successfully. This may take some time. On the successful creation of the task the STATUS column will indicate preparationcomplete(100%).

>showmigration

 

 

 

MIGRATIONID

 

TYPE

SOURCE_NAME

DESTINATION_NAME

 

START_TIME

 

 

END_TIME

 

STATUS(PROGRESS)(MESSAGE)

1411673030253

 

online

SYMMETRIX+000194901212

3par_7200_DCA_01

 

Thu Sep 25

15:

23:50 EDT 2014

-NA-

 

preparationcomplete(100%)(-NA-)

8.Execute the showmigrationdetails command to verify the volumes being migrated. In the preparation stage, PROGRESS for each volume will be 0% and the TASK_ID will be unknown.

>showmigrationdetails -migrationid 1411673030253

SOURCE_VOLUME

DESTINATION_VOLUME

TASK_ID

PROGRESS

Online Data Migration with Native device-mapper Multipath 47

Image 47
Contents Abstract HP 3PAR Online Import for EMC Storage Data Migration GuidePage Contents Performing Offline Data Migration Performing MDM Using a Windows HostPerforming MDM Using a Linux Host Performing MDM Using a Hyper-V HostTroubleshooting Documentation feedback 106 Glossary 107 Index 108 Support and Other Resources 102Understanding Which Data is Migrated Overview of HP 3PAR Online Import for EMC StorageTypes of Data Migration EMC to HP 3PAR Migration Process Premigration Migration Process ChecklistsPrerequisite Component Installation Online MigrationPost-Migration Migration checklist-OnlinePost-migration checklist-Online MigrationMinimally Disruptive Migration Prerequisite component installation-MDMPremigration checklist-MDM Offline Migration Migration checklist-MDMPost-migration checklist-MDM Prerequisite component installation-offlineMigration checklist-offline Premigration checklist-offlinePost-migration checklist-offline Installing EMC SMI-S Provider Installation and Setup for Data Migration\Program Files\EMC\ECIM\ECOM\bin Configuring EMC SMI-S ProviderInstalling the HP 3PAR Online Import Utility for EMC Storage \Program Files x86\Hewlett-Packard\hp3paremcoiu Default Log File NameWhen the Welcome screen appears, click Next Installation and Setup for Data Migration Install location\Hewlett-Packard\ hp3paremcoiu\CLI Installation and Setup for Data Migration Installing the HP 3PAR Online Import Utility for EMC Storage Installation and Setup for Data Migration Migration supported by the HP 3PAR Online Import Utility Migrations Supported for VNX, CLARiiON CX4, and VmaxMigration supported by the HP 3PAR Online Import Utility Migration supported by the HP 3PAR Online Import Utility Migration supported by the HP 3PAR Online Import Utility Unsupported Configuration General Considerations Preparing for Data MigrationData Migration Considerations Planning for Migration Reconfiguring the Host DSMSystem Requirements Multipathing software by operating system Network and Fabric Zoning RequirementsData migration zoning Premigration StepsPreparing the Host for MDM Symaccess -sid vmax id list loginsPreparing Windows Clusters for Migration Identifying the Source and Destination Storage SystemsExample 2 showsource command Example 1 addsource commandOIUmigrationIDSG Example 4 Certificate validation errorExample 6 showdestination command Creating the Data Migration TaskOIUmigrationIDMV OIUmigrationIDIGOIUmigrationIDPG MDM Online Data Migration with Removal of EMC PowerPath Performing Online Data Migration Using LinuxExample 9 Updating the multipath.conf file Migtype online option Example 10 Using createmigration with -migtype onlineExample 11 Updating path configuration on the host Example 13 Unzoning an Rhel 6.x host from the source array Example 12 Unzoning an Rhel 5.x host from the source arrayExample 14 Removing a path to a storage device in Rhel Online Data Migration with Native device-mapper MultipathViewing Migration Status Vmax Example 18 Updating the multipath.conf file Example 19 Using createmigration with -migtype onlineExample 20 Updating path configuration on the host Example 22 Unzoning an Rhel 6.x host from the source array Example 21 Unzoning an Rhel 5.x host from the source arrayExample 23 Removing a path to a storage device in Rhel Source storage system Performing MDM Using a Windows HostRequired Information Creating the Data Migration TaskExample 27 showmigrationdetails command Example 25 createmigration commandExample 26 showmigration command For Windows Server 2003 or Windows Server 2003 R2 Example 31 Safe to bring the host online Example 29 showmigration commandBringing the Windows Host Back Online Example 30 Unsafe to bring the host onlinePerforming Subsequent Migrations Viewing Migration StatusAborting a Migration Performing MDM Using a Linux Host Example 34 showmigrationdetails command Example 32 createmigration commandExample 33 showmigration command Performing MDM Using a Linux Host Example 38 Safe to bring the host online Example 36 showmigration commandBringing the Linux Host Back Online Example 37 Unsafe to bring the host onlineExample 40 Linux Host with Multiple LUNs Performing MDM Using a Hyper-V Host Example 43 showmigrationdetails command Example 41 createmigration commandExample 42 showmigration command Example 45 showmigration command Example 47 Safe to bring the host online Bringing the Hyper-V Host Back OnlineExample 46 Unsafe to bring the host online Performing Subsequent Migrations Performing Offline Data Migration Identifying the Destination Storage System PrerequisitesRequired Information Identifying the Source Storage SystemExample 52 createmigration command Example 51 showdestination commandExample 54 showmigrationdetails command Example 53 showmigration commandPerforming Post-Migration Tasks Example 56 showmigration commandExample 57 Removing the Storage System Removing a Storage System from EMC SMI-S ProviderClarStorageSystem Removing a Storage System from EMC SMI-S Provider Adddestination 11 HP 3PAR Online Import Utility for EMC Storage CommandsVmax AddsourceExample Createmigration Volume device idSourcevolume Destinationvolume Taskid Progress Help InstallcertificateSource Optional RemovedestinationShowconnection RemovemigrationRemovesource Description ShowdestinationShowdestination ShowmigrationShowmigration ShowmigrationdetailsStartmigration ShowsourceStartmigration -migrationid Troubleshooting HP 3PAR Online Import Utility Server Logs and Output HP 3PAR Online Import Utility ServiceIncreasing the EMC SMI-S Provider Server Logging Level Example 59 dv commandExample 60 eq command EMC SMI-S Provider Server Logs and OutputWindows C\Program Files\EMC\ECIM\ECOM\conf\Portsettings.xml Example 61 Output on Windows TestSmiProvider Login and Command Examples with OutputLocalhost5988 ? dv Example 62 dv command outputInstance Example 63 eq command outputHP 3PAR Online Import Utility for EMC Storage Error Messages Not able to add a source EMC Storage system Troubleshooting IssuesNot able to create migration Example 64 createmigration command errorExample 65 OIU login error Error Logging into the HP 3PAR Online Import Utility CLI HP 3PAR Online Import Utility addsource Error OIUERRDST0004 Example 66 Example error TPDCertVerifier.bat Example 67 Error message-example\InFormMC\security \Program Files x86\Hewlett-Packard\hp3paremcoiu\binExample 68 Error message-example Error when Importing LUN of Size Smaller than 256 MBMigration Includes Unexpected LUNs and Hosts Restarted Migration Showed Incorrect Failed StatusHP 3PAR documentation Support and Other ResourcesContacting HP HP 3PAR Command Line Interface Administrator’s Storage Physical Planning Document conventions Typographic conventionsHP 3PAR branding information RequiredDocumentation feedback DSM GlossaryIndex SMI-S Provider configuring Windows Source storage system identifying