Operating System - HP-UX
1832822 Members
3206 Online
110045 Solutions
New Discussion

Re: Cloning a Vpar partition

 
Ravi_8
Honored Contributor

Cloning a Vpar partition

Hi all

I have 4 vpars(vpar1,vpar2,vpar3,vpar4) running on rp7400. I need to clone vpar4 from another machine(L-1000 i already have make_tape_recovery tape ready) I had connected tape drive to vpar4's SCSI card and configured, but after rebooting, vpar4 does't have any /dev/rmt files. i tried reconfiguring tape drive again (to set boot path to tape drive), it says "All tape-related device drives are currently configured into the kernel. No kernel rebuilding is necessary".

From the console i am not getting option to get into single user mode of vpar4 (by interrupting the boot process as we does in other machines. ctrl-A shows only the booting process of vpar4).

Does any knows/done this pls let me know the process. I don't want to interrupt remaining 3 vpar's as the they are in production.

thanx in advance
never give up
5 REPLIES 5
Enrico P.
Honored Contributor

Re: Cloning a Vpar partition

Hi,
for boot a virtual partition in single user mode:

From shell prompt
# vparboot -p -o
"-is"

Is the scsii connected at the tape belonging to vpar4?

Enrico.
Massimo Bianchi
Honored Contributor

Re: Cloning a Vpar partition

Hi,
i used Vpar 2 years ago. We encountered the same problem: newly added devices were not probed, until a hard reboot, and in some cases only when the hw db was rebuild, and some partition reconfigured.

I hope you will not have to do the same.
What about latest vpar patch, since you are going to reboot it ? I tried to found them, but looks like thre are not...

I suggest to open an HP support call....

Massimo

Ravi_8
Honored Contributor

Re: Cloning a Vpar partition

Hi,

I don't know whether it's really correct or not.

I asked all partition users to logoff ( as it is already night here in India).
shutdown all Vpar's (vpar2,vapr3,vapr4)
finally shutdown vpar1
vpmon> reboot
Interrupt the boot process
main menu> sea
main menu> boot

by default system asked for advanced installation (as the Disks path changes from L-1000 to rp7400)
I choosed the vpar4 disk as the root disk
( i changed the IP as well)
After the process (retrieving from make_tape_recovery tape) completed, Install Vpar software from the Vpar media on vpar4 disk

Since i had original vpdb in another disk(belongs to vpar1), booted the with vpar1's disk.
ISL> boot /stand/vpmon
vpmon> vparload vpar1

vpar1># vparboot vpar2
vpar1># vparboot vapr3
vpar1># vparboot vpar4

now the vpar4 is replica of L-1000 machine
never give up
Massimo Bianchi
Honored Contributor

Re: Cloning a Vpar partition

Hi,
it looks good to me.

If you have a support contract, i will open a support call the same, just to now is every time that you add new hardware you have to do an hard reboot.

Massimo
Steve Robinson_12
Occasional Advisor

Re: Cloning a Vpar partition

Because HP do not support vpars on a L1000 then cloning is not the best option. If you wish to clone (not recommended) then yes you have to do things the hard way, as you did.

Installing to a vpar is recommended to be done from the vpmon prompt to an ignite server, as per the manual.

Best regards,

Steve