cancel
Showing results for 
Search instead for 
Did you mean: 

How to migrate the data with vmvx

Thomas_Schulz_3
Level 5

Hello.

Ich have a Solaris9 server with an 3.x VXVM installation. Now we need to migrate all the data from an EMC CX400 to a DMX-4.

The implementation from the LUN in the OS and in vxvm is not the problem.

My problem is the migration from the old LUN to the new LUN. I have no idea which vxvm commands i need.

Please help me :)

4 REPLIES 4

Puckout
Level 2

you can use the mirroring function. these commands will get you started:

 

 

# vxdisksetup -i  lun1 ( repeat for all luns/disk)
# vxdg -g <diskgroup> adddisk newdisk1=lun1  newdisk2=lun2.
# vxassist -g <diskgroup> -b  mirror <name of volume to be mirroed>  lun1 lun2 (specify the  lun(s) to use)
where -b is optional if you want to run the mirroring in the backgroud
# vxplex -g <diskgroup> dis old_plex_name
# df  -kl ( make sure all data is active.. havent removed the wrong plex)
# vxedit -g <diskgroup> -rf rm old_plex_name
# vxdisk -o alldgs list
 

 

Thomas_Schulz_3
Level 5

Onw more question.

 

Is there a "move" command availiable ?

Herve_GREGOIRE
Level 4
Partner Accredited

Hello,

 

you can move subdisks only, but before you have to create them on your DMX... in your case mirroring is the best way !

 

maybe some scripts...

 

Puckout
Level 2

check out vxevac which is a move like operation, not sure about how you could recover if needed.