LVM and VxVM
cancel
Showing results for 
Search instead for 
Did you mean: 

How to move VG configuration from one machine to another?

 
Highlighted
Super Advisor

How to move VG configuration from one machine to another?

 I have cloned one machine to another via Ignite. It only took care of the vg00 volume group. I still need to restore Oracle volume groups. What is the best way to accomplish that?

 

The disk names (LUNs) are different on both machines. Would it be easier to recreate the volume groups manually? vgcreate/vgextend/lvcreate?   Just wondering if there is a shortcut. with vgcfgbackup. But how do I get it to understand that all the LUN definitions are new?

 

Both machines are 11.31/rx8640

 

 

4 REPLIES 4
Highlighted
Acclaimed Contributor

Re: How to move VG configuration from one machine to another?

do you want to move the disks to the new system with data in place?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Highlighted
Super Advisor

Re: How to move VG configuration from one machine to another?

No, I don't want to move the disks. the machine is a clone and the disks defined on it have different names.  The LUNS presented to the old computer can only be presented there.  

Highlighted
Anonymous_User1
Not applicable

Re: How to move VG configuration from one machine to another?

> I still need to restore Oracle volume groups

> The LUNS presented to the old computer can only be presented there.  

You have to be more specific about what you need to do here.

Do you want to make the LVM layout (VG/LV names and mountpoints) the

same on both servers? Once you have presented the new LUNs to the new

(clone) server, you can recreate the LVM structure to match the old server.

Trusted Contributor

Re: How to move VG configuration from one machine to another?

Yes, you have to recreate the volume groups  via vgcreate/vgextend/lvcreate for your particular case.

On a different occassion, let's say you have a snaphot ( via storage system )  of the LUNs of the non vg00's, you can do a  -   

# vgimport -m <mapfile> <new_vgname> < new_CTD_of_the LUN> 

Cheers!!

derekh