HP Online Import Software manual Performing MDM Using a Linux Host

Page 58

c.Unmount the application file systems, bring offline any raw devices (if configured), and deactivate any volume groups where Logical Volume Manager is in use.

d.Uninstall EMC PowerPath from the host, following the EMC PowerPath documentation instructions.

2.Zone the host to the destination HP 3PAR StoreServ Storage system to establish communication. Using the HP 3PAR Management Console, verify host-to-destination connectivity by confirming host initiator login on the HP 3PAR StoreServ Storage.

3.Configure device-mapper-multipath (DM) on the host.

a.Install device-mapper-multipath (if not already installed).

b.Register HP 3PAR LUN types with DM by whitelisting HP 3PAR-specific information (the vendor is 3PARdata and the product is VV) in /etc/multipath.conf. See the HP 3PAR StoreServ product documentation on the Linux host configuration.

NOTE: 3PARdata and VV are case sensitive.

4.Restart device-mapper-multipath.

5.Modify /etc/fstab for new mount points. Remount file systems.

6.Where applicable, make the appropriate changes to the Logical Volume Manager configuration.

IMPORTANT: In Linux, EMC PowerPath devices are presented as /dev/emcpower* (i.e. /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 /dev/sdb and /dev/sdc being combined to /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 recommends that fstab mounts are performed using blkid/uuid; however this is not always employed. For example, if /dev/emcpowera is mounted as /var, then after the EMC PowerPath removal, /var would not automatically mount to /dev/mpathx.

7.Shut down the Linux host. Leave the host offline until the migration is started.

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

9.HP recommends that you change the HP 3PAR host persona/host OS to the appropriate setting before enabling access to the HP 3PAR array.

NOTE: EMC Storage arrays do not implement specific OS settings when registering host initiators on the EMC Storage array. During migration, online import cannot determine the host OS when migrating the hosts to the HP 3PAR StoreServ Storage. All hosts that are being created on the HP 3PAR StoreServ Storage during EMC migration are set by default to host persona 2.

Starting the Data Migration from Source EMC Storage System to Destination HP 3PAR StoreServ Storage System

1.From the HP 3PAR Online Import Utility, execute the startmigration command. Example 35 startmigration command

>startmigration –migrationid 1122334456 >SUCCESS: Data transfer started successfully

2.To view the status of the migration, execute the showmigration command.

58 Performing MDM Using a Linux Host

Image 58
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 108Types of Data Migration Overview of HP 3PAR Online Import for EMC StorageUnderstanding 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-MigrationPremigration checklist-MDM Prerequisite component installation-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 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 commandCreating the Data Migration Task Example 4 Certificate validation errorExample 6 showdestination command 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 Creating the Data Migration Task Performing MDM Using a Windows HostRequired Information Source storage systemExample 26 showmigration command Example 25 createmigration 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 online Aborting a Migration Viewing Migration Status Performing 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 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 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 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 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 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 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 \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 HostsContacting HP Support and Other ResourcesHP 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