Operating System - HP-UX
1752781 Members
6255 Online
108789 Solutions
New Discussion юеВ

Re: Volume Groups Migration

 
SOLVED
Go to solution
mhm
Advisor

Volume Groups Migration

Hello all,
We need to migrate data from an old server to new one, both machines are integrity, and both are hp-ux 11.23 OS. The target is to move the 20 TB data (surely configured as volume groups on SAN disks (EMC)).

My question is:
Can we migrate the volume groups from the old server to the new one? like making the SAN team present the disks to the new server and somehow we do vgexport from the old one then vgimport to the new one to transfer the volume group configurtion?

Or we should have to ask for the same amount of storage to the new server and configure the new volume groups, then copy the data (through network (NFS) or maybe through tape)?

Best Regards
3 REPLIES 3
Johnson Punniyalingam
Honored Contributor
Solution

Re: Volume Groups Migration

>>>Can we migrate the volume groups from the old server to the new one? like making the SAN team present the disks to the new server and somehow we do vgexport from the old one then vgimport to the new one to transfer the volume group configurtion?<<<<

yes your correct,

Old server:-

vgexport -pvs -m /dev/vgxx


Request SAN Team to present the LUNS, to

new server:-

1. Recreate the directory
>>>>mkdir -p /dev/vgxx

2. Recreate the VG group file
>>>mknod /dev/vgxx/group c 64 0xMM0000
where MM is a unique identifier (ex 01 for vg01)

3. Preview the vgimport to check for any possible error
>>>>vgimport -pvs -m /dev/vgxx
where mapfile is the one copied from the first node

4. If no error, remove the preview mode
>>>>vgimport -vs -m /dev/vgxx
Problems are common to all, but attitude makes the difference
Johnson Punniyalingam
Honored Contributor

Re: Volume Groups Migration

Check below thread,

Comment by >>Sridhar Bhaskarla <<

Also its straight forward, I hope hence your "VG" not under Cluster aware.

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=619265
Problems are common to all, but attitude makes the difference
mhm
Advisor

Re: Volume Groups Migration

Thanks