HP Online Import Software manual Performing Online Data Migration Using Linux

Page 40

5 Performing Online Data Migration Using Linux

If EMC PowerPath is installed, it must be uninstalled, and device-mapper must be used to configure multipathing. Follow the online data migration procedure in “Online Data Migration with Removal of EMC PowerPath” (page 40).

If EMC PowerPath is not installed, follow the online data migration procedure in “Online Data Migration with Native device-mapper Multipath” (page 45).

Online Data Migration with Removal of EMC PowerPath

To perform online data migration using RHEL 5.x or RHEL 6.x, follow these steps.

NOTE: A maintenance window is required to complete an online data migration with removal of EMC PowerPath (see step 5).

1.Zone the source array to the destination array.

2.Using the HP 3PAR Online Import Utility addsource command, add the source storage system

Example 7 Using addsource to add a source storage system for online data migration

>addsource -type VMAX -mgmtip 10.10.10.10 -user admin -password adminpw -uid xxxxxxxxxxxxxxxx >SUCCESS: Added source storage system.

>

>showsource

NAME

 

TYPE

UNIQUE_ID

FIRMWARE

MANA

GEMENT_SERVER

OPERATIONAL_STATE

 

 

 

SYMMETRIX+000194901212

VMAX

xxxxxxxxxxxxxxxx

5876.229.145

 

10.10.10.10Good

3.Using the HP 3PAR Online Import Utility adddestination command, add the destination HP 3PAR StoreServ Storage system.

Example 8 Using adddestination to add the destination storage system for online data migration

>adddestination -type 3PAR -mgmtip 10.10.10.10 -user 3paradm -password 3parpassword >SUCCESS: Added destination storage system.

>

>showdestination

NAME

TYPE

UNIQUE_ID

FIRMWARE

MANAGEMENT_SERVER

OPER

ATIONAL_STATE PEER_PORTS

 

 

 

 

3par_7200_DCA_01

3PAR

2FF70002AC005F92

3.2.1

10.10.10.10

Norm

al

2022-0202-AC00-5F92(0:2:2) 2024-0202-AC00-5F92(0:2:4) 2122-0202-AC00-5F92(1:2:2) 2124-02

02-AC00-5F92(1:2:4)

4.Zone the host to the HP 3PAR StoreServ Storage system.

5.Uninstall EMC PowerPath by following these steps:

CAUTION: EMC PowerPath must not be installed during the migration process. Native device-mapper-multipath 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.

NOTE: A maintenance window is required. This step requires that all applications be stopped, but a reboot is not required.

40 Performing Online Data Migration Using Linux

Image 40
Contents HP 3PAR Online Import for EMC Storage Data Migration Guide AbstractPage Contents Performing MDM Using a Windows Host Performing MDM Using a Linux HostPerforming MDM Using a Hyper-V Host Performing Offline Data MigrationTroubleshooting Support and Other Resources 102 Documentation feedback 106 Glossary 107 Index 108Types of Data Migration Overview of HP 3PAR Online Import for EMC StorageUnderstanding Which Data is Migrated EMC to HP 3PAR Migration Process Migration Process Checklists Prerequisite Component InstallationOnline Migration PremigrationMigration checklist-Online Post-migration checklist-OnlineMigration Post-MigrationPremigration checklist-MDM Prerequisite component installation-MDMMinimally Disruptive Migration Migration checklist-MDM Post-migration checklist-MDMPrerequisite component installation-offline 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 Data Migration Considerations Preparing for Data MigrationGeneral Considerations System Requirements Reconfiguring the Host DSMPlanning 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 command Example 4 Certificate validation error Example 6 showdestination command Creating the Data Migration Task OIUmigrationIDSGOIUmigrationIDPG OIUmigrationIDIGOIUmigrationIDMV 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 arrayViewing Migration Status Online Data Migration with Native device-mapper MultipathExample 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 Performing MDM Using a Windows Host Required InformationCreating the Data Migration Task Source storage systemExample 26 showmigration command Example 25 createmigration commandExample 27 showmigrationdetails command For Windows Server 2003 or Windows Server 2003 R2 Example 29 showmigration command Bringing the Windows Host Back OnlineExample 30 Unsafe to bring the host online Example 31 Safe to bring the host onlineAborting a Migration Viewing Migration StatusPerforming Subsequent Migrations Performing MDM Using a Linux Host Example 33 showmigration command Example 32 createmigration commandExample 34 showmigrationdetails command Performing MDM Using a Linux Host Example 36 showmigration command Bringing the Linux Host Back OnlineExample 37 Unsafe to bring the host online Example 38 Safe to bring the host onlineExample 40 Linux Host with Multiple LUNs Performing MDM Using a Hyper-V Host Example 42 showmigration command Example 41 createmigration commandExample 43 showmigrationdetails command Example 45 showmigration command Example 46 Unsafe to bring the host online Bringing the Hyper-V Host Back OnlineExample 47 Safe to bring the host online Performing Subsequent Migrations Performing Offline Data Migration Prerequisites Required InformationIdentifying the Source Storage System 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 TasksClarStorageSystem Removing a Storage System from EMC SMI-S ProviderExample 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 OptionalRemovesource RemovemigrationShowconnection Showdestination DescriptionShowmigration ShowdestinationShowmigrationdetails ShowmigrationShowsource StartmigrationStartmigration -migrationid Troubleshooting HP 3PAR Online Import Utility Service HP 3PAR Online Import Utility Server Logs and OutputExample 59 dv command Example 60 eq commandEMC SMI-S Provider Server Logs and Output 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 65 OIU login error Example 64 createmigration command 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 Example 67 Error message-example \InFormMC\security\Program Files x86\Hewlett-Packard\hp3paremcoiu\bin 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 HostsContacting HP Support and Other ResourcesHP 3PAR documentation HP 3PAR Command Line Interface Administrator’s Storage Physical Planning Typographic conventions HP 3PAR branding informationRequired Document conventionsDocumentation feedback Glossary DSMIndex SMI-S Provider configuring Windows Source storage system identifying