1753943 Members
9075 Online
108811 Solutions
New Discussion юеВ

Re: VXVM boot disk image

 
SOLVED
Go to solution
Mac86
Occasional Contributor

VXVM boot disk image

I have 2 rp3410.
i runs production, it is running 11.11 with VXVM 3.5 for the boot disks.

I would like to add another disk to the Prod system and mirror the boot disk (VXVM) and then move it to the Dev box.

They have identical configs.

Is this possible, I tried to use Ignite/UX to do this and it did not work, none of the VXVM came over in the ignite image.

Any other ideas to get the prod image over to the Dev box?
Thanks Mike
2 REPLIES 2
Kapil Jha
Honored Contributor
Solution

Re: VXVM boot disk image

You do not have to do anything.
Add the disk on the server get the cdt name and

vxdisksetup -iB cdt
vxdg -g rootdg adddisk rootdisk=cxtydz
vxrootmir -v -a -b -R cxtydz


man vxrootmir for more information.
thats all.

BR,
Kapil+
I am in this small bowl, I wane see the real world......
chris huys_4
Honored Contributor

Re: VXVM boot disk image

Hi Mike,

HP-UX 11.11 and vxvm 3.5 is pretty old.

But still, a "current" ignite/ux version of hp-ux 11.11, should be able to recover a vxvm bootdisk to another system.

f.e. with the command.

if it would be a vxvm bootdisk env.

gsesrv8#./make_net_recovery -v -x inc_entire=rootdg -s soda.bel.hp.com

if it would be a lvm bootdisk env with "vxvm" in the mix..

gsesrv8#./make_net_recovery -v -x inc_entire=vg00 -x inc_entire=rootdg -s soda.bel.hp.com

For the "conversion" of a lvm bootdisk to a vxvm bootdisk, its the vxcp_lvmroot command that can be used as in the following procedure..

#ioscan -fnC disk|grep dsk
/dev/dsk/c2t0d0
/dev/dsk/c2t1d0

#lvlnboot -v
/dev/dsk/c2t0d0

#bdf
/dev/vg00/lvol1 ... /stand
..

>> CONCLUSION -- at this moment the LVM bootdisk is located on c2t0d0.

1. make from c2t1d0 the (primary) vxvm bootdisk.
1.a restart vxconfigd daemon

#vxconfigd -kr reset -m boot
#vxdctl -k stop
#vxdctl mode
mode : not-running

1.b. create the vxvmbootdisk c2t1d0

#/usr/lib/vxvm/bin/vxcp_lvmroot -v -b c2t1d0
[automatic reboot, (I think)]
2. check if system is booted from vxvm bootdisk
#bdf|grep rootdg
/dev/vx/rootdg/rootvol /stand
[..]
#vxdisk list
c2t0d0 LVM
c2t1d0 rootdg online

Greetz,
Chris