HP Online Import Software manual Createmigration, Volume device id

Page 76

createmigration

DESCRIPTION

The createmigration command performs preparation phase of a migration. Actual data transfer will not be triggered by this command. This does following for a given set of source volumes while presenting to 3PAR destination storage system.

NOTE: Can only create one migration at a time per source EMC Storage system.

NOTE: Be aware, the createmigration command may take several minutes to complete.

NOTE: The volume(s) or host specified in the createmigration command are mapped to a storage group on the associated source EMC Storage system. All LUNs and all hosts in the mapped storage group will be migrated even if only a subset are entered in the createmigration command.

PARAMETERS

Parameter

Mandatory/Optional

sourceuid

Mandatory

srcvolmap or volmapfile

A combination of commands is

 

mandatory as specified by user—for

 

example, if srchost is used,

 

destcpg and destprov should be

 

used.

 

If srcvolmap is there, srchost should

 

not be there.

 

If srcvolmap has CPG and Prov

 

information, then destcpg and

 

destprov need not be there.

 

If the srcvolmap has mixed Prov

 

information ("thin" and "full") for some

 

volumes, then destprov is

 

mandatory for the rest of the volumes

 

not specified in srcvolmap.

Description

WWN (World Wide Name).

Map that provides information about the source volumes for migration. A list of volume names that identifies the volumes should be provided.

It can also have mapping of every source volume to required provisioning or destination CPG. This is required if destCPG and destProv are not provided.

-srcvolmap[{”source unique name”, desired destination provisioning after migration (Thin/Full), desired destination CPG name},{...},...]

Sample content of volmapfile:

“vdisk4”,thin,cpg1

“vdisk2”,full,cpg2

A provisioning and CPG entry here will override default in destcpg and destprov.

Possibilities:

“vdisk”,thin

“vdisk”,cpg

“vdisk”

“vdisk”,thin,cpg

For VMAX, use the following format:

Volume <device id>

The <device id> value must be five characters in length. If the actual device ID is less than five characters, add “0” at the front to make five characters. For example, if the VMAX device ID is 0192:

createmigration -sourceuid 50000972C012F400 -srcvolmap [{"Volume 00192"}] -destcpg

76 HP 3PAR Online Import Utility for EMC Storage: Commands

Image 76
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 commandExample 4 Certificate validation error Example 6 showdestination commandCreating 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