Symmigrate – symcli command to migrate devices

Please find the steps to perform Virtual LUN Migration using symmigrate command. Output is self explanatory and verbose in nature ūüôā

In order to migrate a group of thin devices contained in the VP_ProdApp1 storage group, currently bound to a RAID 6 14+2 on SATA thin pool, to a RAID 1 on FC thin pool, the following steps would be performed:

1. Validate the migration:
symmigrate -sid 1234 -sg SG-group1 -tgt_pool -pool ST_R662 -name migration validate

2. Establish the migration:
symmigrate -sid 1234 -sg SG-group1 -tgt_pool -pool ST_R662 -name migration establish

3. Monitor the migration progress:
symmigrate -sid 1234 -name migration query

4. Verify the migration has completed:
symmigrate -name migration verify -migrated

5. Terminate the migration:
symmigrate -sid 1234 -name migration terminate

C:\Users\>symmigrate -sid 1234 -sg SG-group1 -tgt_pool -pool ST_R662 -name migration validate

Execute ‘Validate’ operation execution for
the device group ‘SG-group1’ (y/[n]) ? y

‘Validate’ operation execution is in progress for
the device group ‘SG-group1’. Please wait…

Validate Migration……………………………………….Started.
Validate Migration……………………………………….Done.

‘Validate’ operation successfully executed for
the device group ‘SG-group1’.

C:\Users\>symmigrate -sid 1234 -sg SG-group1 -tgt_pool -pool ST_R662 -name migration establish

Execute ‘Establish’ operation execution for
the device group ‘SG-group1’ (y/[n]) ? y

‘Establish’ operation execution is in progress for
the device group ‘SG-group1’. Please wait…

Establish Migration………………………………………Started.
Establish Migration………………………………………Done.

‘Establish’ operation successfully executed for
the device group ‘SG-group1’.

C:\Users\>symmigrate -sid 1234 -name migration query

Symmetrix ID: 000198701234

Invalid    Status    Done Flags
Src  Tgt    Tracks  SRC => TGT   (%)   T   Session Name
—- —- ——– ———— —- —– —————-
04DD  N/A 62915280 SyncInProg      0   V   migration
04ED  N/A 62915280 SyncInProg      0   V   migration
04FD  N/A 62915280 SyncInProg      0   V   migration
050D  N/A 62915280 SyncInProg      0   V   migration
0680  N/A 31457640 SyncInProg      0   V   migration

Total¬†¬†¬†¬† ——–
Tracks   283118760
MB(s)    17694922
Done(%)         0

Flags:
(T)ype: V = The session is a Virtual Provisioning migration session.
C = The session is a configured migration session.
U = The session is an unconfigured migration session.
P = The session is a Virtual Provisioning pool migration session.

C:\Users\vbabuume>symmigrate -sid 1234 -name migration query

Symmetrix ID: 000198701234

Invalid    Status    Done Flags
Src  Tgt    Tracks  SRC => TGT   (%)   T   Session Name
—- —- ——– ———— —- —– —————-
04DD  N/A        0 Migrated      100   V   migration
04ED  N/A        0 Migrated      100   V   migration
04FD  N/A        0 Migrated      100   V   migration
050D  N/A        0 Migrated      100   V   migration
0680  N/A        0 Migrated      100   V   migration

Total¬†¬†¬†¬† ——–
Tracks          0
MB(s)         0.0
Done(%)       100

Flags:
(T)ype: V = The session is a Virtual Provisioning migration session.
C = The session is a configured migration session.
U = The session is an unconfigured migration session.
P = The session is a Virtual Provisioning pool migration session.

C:\Users\>

C:\Users\>symmigrate -sid 1234 -name migration verify -migrated

All session(s) with name ‘migration’ are in ‘Migrated’ state.

C:\Users\>symmigrate -sid 1234 -name migration terminate

Execute ‘Terminate’ operation execution for
the session named ‘migration’ (y/[n]) ? y

‘Terminate’ operation execution is in progress for
the session named ‘migration’. Please wait…

Terminate Migration………………………………………Started.
Terminate Migration………………………………………Done.

‘Terminate’ operation successfully executed for
the session named ‘migration’.

Advertisements

Written by Vinay

Proud and Tolerant Indian

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s