HP Online Import Software manual Migtype online option

Page 42

IMPORTANT: In Linux, EMC PowerPath devices are presented as /dev/emcpower* (for example, /dev/emcpowera). EMC PowerPath removal in Linux also removes this device type. This changes when the Linux native device-mapper multipath assumes management of these devices. For example, before EMC PowerPath removal, consider combining /dev/sdb and /dev/sdc into /dev/emcpowera. After EMC PowerPath removal, /dev/sdb and /dev/sdc would be represented by /dev/mpathx. This represents a challenge for customers who use direct device referencing in /etc/fstab or other custom scripts. HP generally recommends that fstab mounts be performed using blkid/uuid; however, this is not always employed. In that case, consider mounting /dev/emcpowera as /var. After EMC PowerPath removal, /var would not automatically mount to /dev/mpathx.

c.If this is for a cluster configuration, initialize the cluster and start cluster services.

d.Start applications.

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

-migtype online option.

Example 10 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.

9.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-)

10.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

Volume 00145

Volume_00145

unknown

0%

Volume 00146

Volume_00146

unknown

0%

>

 

 

 

42 Performing Online Data Migration Using Linux

Image 42
Contents HP 3PAR Online Import for EMC Storage Data Migration Guide AbstractPage Contents Performing MDM Using a Hyper-V Host Performing MDM Using a Windows HostPerforming MDM Using a Linux Host Performing Offline Data MigrationTroubleshooting Support and Other Resources 102 Documentation feedback 106 Glossary 107 Index 108Overview of HP 3PAR Online Import for EMC Storage Types of Data MigrationUnderstanding Which Data is Migrated EMC to HP 3PAR Migration Process Online Migration Migration Process ChecklistsPrerequisite Component Installation PremigrationMigration Migration checklist-OnlinePost-migration checklist-Online Post-MigrationPrerequisite component installation-MDM Premigration checklist-MDMMinimally Disruptive Migration Prerequisite component installation-offline Migration checklist-MDMPost-migration checklist-MDM Offline MigrationPremigration checklist-offline Migration checklist-offlinePost-migration checklist-offline Installation and Setup for Data Migration Installing EMC SMI-S ProviderConfiguring EMC SMI-S Provider \Program Files\EMC\ECIM\ECOM\binInstalling the HP 3PAR Online Import Utility for EMC Storage Default Log File Name \Program Files x86\Hewlett-Packard\hp3paremcoiuWhen 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 Migrations Supported for VNX, CLARiiON CX4, and Vmax Migration supported by the HP 3PAR Online Import UtilityMigration 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 Preparing for Data Migration Data Migration ConsiderationsGeneral Considerations Reconfiguring the Host DSM System RequirementsPlanning for Migration Network and Fabric Zoning Requirements Multipathing software by operating systemPremigration Steps Data migration zoningSymaccess -sid vmax id list logins Preparing the Host for MDMIdentifying the Source and Destination Storage Systems Preparing Windows Clusters for MigrationExample 1 addsource command Example 2 showsource commandCreating the Data Migration Task Example 4 Certificate validation errorExample 6 showdestination command OIUmigrationIDSGOIUmigrationIDIG OIUmigrationIDPGOIUmigrationIDMV MDM Performing Online Data Migration Using Linux Online Data Migration with Removal of EMC PowerPathExample 9 Updating the multipath.conf file Example 10 Using createmigration with -migtype online Migtype online optionExample 11 Updating path configuration on the host Example 12 Unzoning an Rhel 5.x host from the source array Example 13 Unzoning an Rhel 6.x host from the source arrayOnline Data Migration with Native device-mapper Multipath Viewing Migration StatusExample 14 Removing a path to a storage device in Rhel Vmax Example 19 Using createmigration with -migtype online Example 18 Updating the multipath.conf fileExample 20 Updating path configuration on the host Example 21 Unzoning an Rhel 5.x host from the source array Example 22 Unzoning an Rhel 6.x host from the source arrayExample 23 Removing a path to a storage device in Rhel Creating the Data Migration Task Performing MDM Using a Windows HostRequired Information Source storage systemExample 25 createmigration command Example 26 showmigration commandExample 27 showmigrationdetails command For Windows Server 2003 or Windows Server 2003 R2 Example 30 Unsafe to bring the host online Example 29 showmigration commandBringing the Windows Host Back Online Example 31 Safe to bring the host onlineViewing Migration Status Aborting a MigrationPerforming Subsequent Migrations Performing MDM Using a Linux Host Example 32 createmigration command Example 33 showmigration commandExample 34 showmigrationdetails command Performing MDM Using a Linux Host Example 37 Unsafe to bring the host online Example 36 showmigration commandBringing the Linux Host Back Online Example 38 Safe to bring the host onlineExample 40 Linux Host with Multiple LUNs Performing MDM Using a Hyper-V Host Example 41 createmigration command Example 42 showmigration commandExample 43 showmigrationdetails command Example 45 showmigration command Bringing the Hyper-V Host Back Online Example 46 Unsafe to bring the host onlineExample 47 Safe to bring the host online Performing Subsequent Migrations Performing Offline Data Migration Identifying the Source Storage System PrerequisitesRequired Information Identifying the Destination Storage SystemExample 51 showdestination command Example 52 createmigration commandExample 53 showmigration command Example 54 showmigrationdetails commandExample 56 showmigration command Performing Post-Migration TasksRemoving a Storage System from EMC SMI-S Provider ClarStorageSystemExample 57 Removing the Storage System Removing a Storage System from EMC SMI-S Provider 11 HP 3PAR Online Import Utility for EMC Storage Commands AdddestinationAddsource VmaxExample Volume device id CreatemigrationSourcevolume Destinationvolume Taskid Progress Installcertificate HelpRemovedestination Source OptionalRemovemigration RemovesourceShowconnection Showdestination DescriptionShowmigration ShowdestinationShowmigrationdetails ShowmigrationShowsource StartmigrationStartmigration -migrationid Troubleshooting HP 3PAR Online Import Utility Service HP 3PAR Online Import Utility Server Logs and OutputEMC SMI-S Provider Server Logs and Output Example 59 dv commandExample 60 eq command Increasing the EMC SMI-S Provider Server Logging LevelWindows C\Program Files\EMC\ECIM\ECOM\conf\Portsettings.xml TestSmiProvider Login and Command Examples with Output Example 61 Output on WindowsExample 62 dv command output Localhost5988 ? dvExample 63 eq command output InstanceHP 3PAR Online Import Utility for EMC Storage Error Messages Troubleshooting Issues Not able to add a source EMC Storage systemExample 64 createmigration command error Example 65 OIU login errorNot able to create migration Error Logging into the HP 3PAR Online Import Utility CLI HP 3PAR Online Import Utility addsource Error OIUERRDST0004 Example 66 Example error \Program Files x86\Hewlett-Packard\hp3paremcoiu\bin Example 67 Error message-example\InFormMC\security TPDCertVerifier.batError when Importing LUN of Size Smaller than 256 MB Example 68 Error message-exampleRestarted Migration Showed Incorrect Failed Status Migration Includes Unexpected LUNs and HostsSupport and Other Resources Contacting HPHP 3PAR documentation HP 3PAR Command Line Interface Administrator’s Storage Physical Planning Required Typographic conventionsHP 3PAR branding information Document conventionsDocumentation feedback Glossary DSMIndex SMI-S Provider configuring Windows Source storage system identifying