To explain this migration technique a little more, PPME is a block level migration. It migrates the blocks on the LUN using the host to process the migration. This can cause performance degradation depending on how active the host is and the throttle you specify during the synchronization. Since the migration is at the block level, whatever the filesystem/alignment offset on the source LUN is exactly what gets migrated. You can migrate to a larger LUN but NOT to a smaller LUN.
If you need to make a configuration change to the filesystem, such as correcting an alignment offset issue, PPME is NOT the tool. EMC Open Migrator (OM), however, can do that. OM can migrate LUNs online, but the setup and takedown require reboots (no less than three). I digress, let’s get on with the PPME migration.
Note: Adding -noprompt to many of these commands, specifically those that take action, prevent the yes/no prompt.
A live example for this migration…….
C:Documents and SettingsAdministrator>powermt set policy=co dev=all
C:Documents and SettingsAdministrator>powermt save
C:Documents and SettingsAdministrator>powermt display dev=all
Pseudo name=harddisk2
CLARiiON ID=CKxxxxxxxxx482 [NOZOMI_SUP_SG]
Logical device ID=600601607BD01A00F68F2AAC48C3DB11 [LUN 77]
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP B, current=SP B Array failover mode: 1
==============================================================================
—————- Host ————— – Stor – — I/O Path – — Stats —
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
3 port3path0tgt0lun0 c3t0d0 SP A5 active alive 0 7
3 port3path0tgt1lun0 c3t1d0 SP B4 active alive 0 1
Pseudo name=harddisk3
CLARiiON ID=CKxxxxxxxxx482 [NOZOMI_SUP_SG]
Logical device ID=60060160C2021B00D8807DC433F7DD11 [LUN 72]
state=alive; policy=CLAROpt; priority=0; queued-IOs=1
Owner: default=SP A, current=SP A Array failover mode: 1
==============================================================================
—————- Host ————— – Stor – — I/O Path – — Stats —
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
3 port3path0tgt0lun1 c3t0d1 SP A5 active alive 1 7
3 port3path0tgt1lun1 c3t1d1 SP B4 active alive 0 1
Pseudo name=harddisk4
CLARiiON ID=CKxxxxxxxxx482 [NOZOMI_SUP_SG]
Logical device ID=60060160416121000560A5593994E111 [LUN 301]
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP B, current=SP B Array failover mode: 1
==============================================================================
—————- Host ————— – Stor – — I/O Path – — Stats —
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
3 port3path0tgt0lun2 c3t0d2 SP A5 active alive 0 1
3 port3path0tgt1lun2 c3t1d2 SP B4 active alive 0 1
Pseudo name=harddisk5
CLARiiON ID=FCNxxxxxxxx055 [SG_NOZOMI-SUP]
Logical device ID=6006016010A030009C49FE259E94E111 [LUN 300]
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP B, current=SP B Array failover mode: 4
==============================================================================
—————- Host ————— – Stor – — I/O Path – — Stats —
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
3 port3path0tgt2lun0 c3t2d0 SP B1 active alive 0 1
C:Documents and SettingsAdministrator>powermig setup -src harddisk4 -tgt harddisk5 -techtype hostcopy
Setup migration? [yes]/no: y
Migration Handle = 1
C:Documents and SettingsAdministrator>powermig info -all
==========================================
Hnd Source Target Tech State
=== ========= ========= ======== =====
1 harddisk4 harddisk5 HostCopy setup
C:Documents and SettingsAdministrator>powermig info -all
==========================================
Hnd Source Target Tech State
=== ========= ========= ======== =====
1 harddisk4 harddisk5 HostCopy setup
C:Documents and SettingsAdministrator>powermig query -handle 1
Handle: 1
Source: harddisk4
Target: harddisk5
Technology: HostCopy
Migration state: setup
C:Documents and SettingsAdministrator>powermig sync -handle 1
Start sync? [yes]/no: y
C:Documents and SettingsAdministrator>powermig query -handle 1
Handle: 1
Source: harddisk4
Target: harddisk5
Technology: HostCopy
Migration state: syncing
Percent InSync: 0%
Throttle Value: 2
Suspend time: 5
C:Documents and SettingsAdministrator>powermig query -handle 1
Handle: 1
Source: harddisk4
Target: harddisk5
Technology: HostCopy
Migration state: syncing
Percent InSync: 67%
Throttle Value: 2
Suspend time: 5
C:Documents and SettingsAdministrator>powermig pause -handle 1
Pause migration? [yes]/no: y
PPME error(4): Not in proper state to perform the requested operation
C:Documents and SettingsAdministrator>powermig query -handle 1
Handle: 1
Source: harddisk4
Target: harddisk5
Technology: HostCopy
Migration state: sourceSelected
C:Documents and SettingsAdministrator>powermt display dev=all
Pseudo name=harddisk2
CLARiiON ID=CKxxxxxxxxx482 [NOZOMI_SUP_SG]
Logical device ID=600601607BD01A00F68F2AAC48C3DB11 [LUN 77]
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP B, current=SP B Array failover mode: 1
==============================================================================
—————- Host ————— – Stor – — I/O Path – — Stats —
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
3 port3path0tgt0lun0 c3t0d0 SP A5 active alive 0 7
3 port3path0tgt1lun0 c3t1d0 SP B4 active alive 0 1
Pseudo name=harddisk3
CLARiiON ID=CKxxxxxxxxx482 [NOZOMI_SUP_SG]
Logical device ID=60060160C2021B00D8807DC433F7DD11 [LUN 72]
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP A, current=SP A Array failover mode: 1
==============================================================================
—————- Host ————— – Stor – — I/O Path – — Stats —
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
3 port3path0tgt0lun1 c3t0d1 SP A5 active alive 0 7
3 port3path0tgt1lun1 c3t1d1 SP B4 active alive 0 1
Pseudo name=harddisk4
CLARiiON ID=CKxxxxxxxxx482 [NOZOMI_SUP_SG]
Logical device ID=60060160416121000560A5593994E111 [LUN 301]
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP B, current=SP B Array failover mode: 1
==============================================================================
—————- Host ————— – Stor – — I/O Path – — Stats —
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
3 port3path0tgt0lun2 c3t0d2 SP A5 active alive 0 1
3 port3path0tgt1lun2 c3t1d2 SP B4 active alive 0 1
Pseudo name=harddisk5
CLARiiON ID=FCNxxxxxxxx055 [SG_NOZOMI-SUP]
Logical device ID=6006016010A030009C49FE259E94E111 [LUN 300]
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP B, current=SP B Array failover mode: 4
==============================================================================
—————- Host ————— – Stor – — I/O Path – — Stats —
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
3 port3path0tgt2lun0 c3t2d0 SP B1 active alive 0 1
C:Documents and SettingsAdministrator>powermig query -handle 1
Handle: 1
Source: harddisk4
Target: harddisk5
Technology: HostCopy
Migration state: sourceSelected
C:Documents and SettingsAdministrator>powermig selectTarget -handle 1
Transition to targetSelected state? [yes]/no: y
C:Documents and SettingsAdministrator>powermig query -handle 1
Handle: 1
Source: harddisk4
Target: harddisk5
Technology: HostCopy
Migration state: targetSelected
C:Documents and SettingsAdministrator>powermig commit -handle 1
Commit migration? [yes]/no: y
C:Documents and SettingsAdministrator>powermig query -handle 1
Handle: 1
Source: harddisk4
Target: harddisk5
Technology: HostCopy
Migration state: committed
C:Documents and SettingsAdministrator>powermt display dev=all
Pseudo name=harddisk2
CLARiiON ID=CKxxxxxxxxx482 [NOZOMI_SUP_SG]
Logical device ID=600601607BD01A00F68F2AAC48C3DB11 [LUN 77]
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP B, current=SP B Array failover mode: 1
==============================================================================
—————- Host ————— – Stor – — I/O Path – — Stats —
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
3 port3path0tgt0lun0 c3t0d0 SP A5 active alive 0 7
3 port3path0tgt1lun0 c3t1d0 SP B4 active alive 0 1
Pseudo name=harddisk3
CLARiiON ID=CKxxxxxxxxx482 [NOZOMI_SUP_SG]
Logical device ID=60060160C2021B00D8807DC433F7DD11 [LUN 72]
state=alive; policy=CLAROpt; priority=0; queued-IOs=1
Owner: default=SP A, current=SP A Array failover mode: 1
==============================================================================
—————- Host ————— – Stor – — I/O Path – — Stats —
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
3 port3path0tgt0lun1 c3t0d1 SP A5 active alive 1 7
3 port3path0tgt1lun1 c3t1d1 SP B4 active alive 0 1
Pseudo name=harddisk4
CLARiiON ID=FCNxxxxxxxx055 [SG_NOZOMI-SUP]
Logical device ID=6006016010A030009C49FE259E94E111 [LUN 300]
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP B, current=SP B Array failover mode: 4
==============================================================================
—————- Host ————— – Stor – — I/O Path – — Stats —
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
3 port3path0tgt2lun0 c3t2d0 SP B1 active alive 0 1
Pseudo name=harddisk5
CLARiiON ID=CKxxxxxxxxx482 [NOZOMI_SUP_SG]
Logical device ID=60060160416121000560A5593994E111 [LUN 301]
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP B, current=SP B Array failover mode: 1
==============================================================================
—————- Host ————— – Stor – — I/O Path – — Stats —
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
3 port3path0tgt0lun2 c3t0d2 SP A5 active alive 0 1
3 port3path0tgt1lun2 c3t1d2 SP B4 active alive 0 1
C:Documents and SettingsAdministrator>powermig query -handle 1
Handle: 1
Source: harddisk4
Target: harddisk5
Technology: HostCopy
Migration state: committed
C:Documents and SettingsAdministrator>powermig cleanup -handle 1
Cleanup migration? [yes]/no: y
C:Documents and SettingsAdministrator>powermig query -handle 1
PPME error(6): Handle not found
C:Documents and SettingsAdministrator>