How to migrate EMC Symmetrix LUNs non
disruptively to another tier using symmigrate command
EMC Symmetrix Virtual LUN technology enables transparent, non disruptive data migration among storage tiers within the array and between RAID protection schemes without impacting local or remote replication. You can migrate data to unconfigured space or configured space.
Solutions Enabler 7.0 introduced a new symcli command symmigrate. Follwoing example use symmigrate command to non disruptively migrate an EMC LUN to another tier.
In this example, EMC symmetrix device 105e is a 30GB concatenated meta device in tier 1. This device needs to be migrated to tier 3. Given below are the step by step tasks to perform this migration
Create a concatenated meta device in the target tier (tier 3) of 30GB. Click here to find out the procedure for creating concatenated meta device. For this example we will use 27F7 which is a concatenated meta device in Tier 3 disk group.
Create a device file with source and destination devices. In this example I have created ‘migdevice.txt’. The content of the file is listed below. It is not necessary to create a text file, the symmigrate command can be used to migrate all devices in a device group or storage group.
# cat migdevice.txt
105e 27F7
Before performing the migration, run symmigrate command in validate mode to make sure that a migration can be completed with the source and target devices mentioned in the configuration file. You can name the migration session so that it is easy to identify and manage later.
#symmigrate -name testmig -sid 8899 -f migdevice.txt validate –v
Once the validate operation is completed successfully, the migration session can be established
#symmigrate -name testmig -sid 8899 -f migdevice.txt establish -v
Check the progress of the migration using the below command. Wait until the the status changes to “migrated”
#symmigrate -name testmig -sid 8899 query -detail -i 10
List the devices and make sure that the storage tier has changed
#symdev show 105E
This device will be showing the original disk group of 27F7
#symdev show 27F7
This device will be showing the disk group of the original 105E. Basically they would have swapped the disk groups.
Once the migration is completed, the session can be removed or terminated. The terminate operation removes the migration session named “testmig”
#symmigrate -name testmig -sid 8899 verify -migrated
#symmigrate -name testmig -sid 8899 terminate
EMC Symmetrix Virtual LUN technology enables transparent, non disruptive data migration among storage tiers within the array and between RAID protection schemes without impacting local or remote replication. You can migrate data to unconfigured space or configured space.
Solutions Enabler 7.0 introduced a new symcli command symmigrate. Follwoing example use symmigrate command to non disruptively migrate an EMC LUN to another tier.
In this example, EMC symmetrix device 105e is a 30GB concatenated meta device in tier 1. This device needs to be migrated to tier 3. Given below are the step by step tasks to perform this migration
Create a concatenated meta device in the target tier (tier 3) of 30GB. Click here to find out the procedure for creating concatenated meta device. For this example we will use 27F7 which is a concatenated meta device in Tier 3 disk group.
Create a device file with source and destination devices. In this example I have created ‘migdevice.txt’. The content of the file is listed below. It is not necessary to create a text file, the symmigrate command can be used to migrate all devices in a device group or storage group.
# cat migdevice.txt
105e 27F7
Before performing the migration, run symmigrate command in validate mode to make sure that a migration can be completed with the source and target devices mentioned in the configuration file. You can name the migration session so that it is easy to identify and manage later.
#symmigrate -name testmig -sid 8899 -f migdevice.txt validate –v
Once the validate operation is completed successfully, the migration session can be established
#symmigrate -name testmig -sid 8899 -f migdevice.txt establish -v
Check the progress of the migration using the below command. Wait until the the status changes to “migrated”
#symmigrate -name testmig -sid 8899 query -detail -i 10
List the devices and make sure that the storage tier has changed
#symdev show 105E
This device will be showing the original disk group of 27F7
#symdev show 27F7
This device will be showing the disk group of the original 105E. Basically they would have swapped the disk groups.
Once the migration is completed, the session can be removed or terminated. The terminate operation removes the migration session named “testmig”
#symmigrate -name testmig -sid 8899 verify -migrated
#symmigrate -name testmig -sid 8899 terminate
0 comments:
Post a Comment