Operating System - HP-UX
1834156 Members
2297 Online
110064 Solutions
New Discussion

Moving LV definition across nodes.

 
Odd Olsson
Advisor

Moving LV definition across nodes.

Hi!

OS: HP-UX 11.00

We want to make an exact copy of one HP-node A to another B. First we have used an ignite from the first node A to the copy B, so the OS and vg00 looks the same now
Is there any fast way to copy the LV:s on A to B.
A and B are NOT sharing the same disk-sub-system (no service guard), but the size of the disks are the same and VG-names are the same.

Regards // mats sj?blom
OJobb
5 REPLIES 5
Servio Cabrera
Advisor

Re: Moving LV definition across nodes.

Try to save the configuration of vg0x from node A with vgcfgbackup, to a map file, then copy that file to the node B and resotre the configuration with vgcfgrestore using the map file from node A.
Pedro Sousa
Honored Contributor

Re: Moving LV definition across nodes.

Hi!
I've never done this, but the latest ignite-ux does give you the oportunity to include every VGs by using the flag '-x vgxx', where vgxx is the name of the other vgs...
just a thought.
good luck.
Pedro Sousa
Honored Contributor

Re: Moving LV definition across nodes.

other thing is, you can always use fbackup, Networker, Omniback to perform a total backup of the system. Then you can simply restore it into the new system.
I made this once, and it worked fine.
Chin Guan
Valued Contributor

Re: Moving LV definition across nodes.


If your disk are same size, you can disconnect the disks from Node B, connect them to Node A, Use "dd" command to copy the disks.

Once done, you connect the disks back to Node B, just vgimport the vg into Node B.
Vincenzo Restuccia
Honored Contributor

Re: Moving LV definition across nodes.

#dd if=/dev/rdsk/cxtyd0 of=/dev/rdsk/cwtzd0 bs=4096k