Operating System - HP-UX
1831615 Members
2137 Online
110027 Solutions
New Discussion

moving boot and data disk and then test it on stand by server.

 
pap
Respected Contributor

moving boot and data disk and then test it on stand by server.

Currently I have HP 10.20 on my server (E45). It has total 6 disks installed. However I am using only 2 disks from them. One disk A is for root(vg00) and other B is for data (vg02). I want to transfer my root disk to C disk and data disk to D disk. Then I want to take out disks A and B from the system. The one possible solution is to do mirroring root disk (A to C) and pvmove disk B to D. Then lvreduce the disk A from vg00 and vgreduce to disk B from vg02. Please let me know your comments on this.

Once this is done I want to connect this 2 new disks i.e C and D to another server (E55 same class)
I am using it as a standby server. My Question is if I want to connect C and D to New server, will it be boot satisfactory ?, will there be any problems ? any modifications required doing in standby server?
"Winners don't do different things , they do things differently"
6 REPLIES 6
Mike_305
Super Advisor

Re: moving boot and data disk and then test it on stand by server.

Hi,

The easy way to do this is to cut the image using "make_tape_recovery -AvI" then boot from ignite tape restore the data and OS on those drives and then take the disk out that you need. Hope this helps.

Thanks,

Mike
If there is problem then don't think as problem, think as opportunity.
Sandip Ghosh
Honored Contributor

Re: moving boot and data disk and then test it on stand by server.

Do a make_recovery and include vg02 also inside that.

Or according to your process make create a root disk mirro for vg00 that includes mkboot comand also. Then just take out the disk and connect to the new server. After that boot the original server and do the lvreduce.

Sandip
Good Luck!!!
John Carr_2
Honored Contributor

Re: moving boot and data disk and then test it on stand by server.

why not make it simple remove all four unused disks from the E45 place two in the E55.

on the E45 then do a make_recovery -A

then place the tape in the E55 and boot from it.

This will then rebuild your system without any user intervention.

of course this is subject to having installed Ignite/UX which can be found on the installation applications CD.Checkout this thread for info on Ignite make_recovery and installation of Ignite.

http://docs.hp.com/hpux/onlinedocs/B2355-90749/B2355-90749.html

good luck
John.
K.Vijayaragavan.
Respected Contributor

Re: moving boot and data disk and then test it on stand by server.

Alternate way,

If you have the HP support DAT with ODE and COPYUTIL you can do it this way also?

using COPYUTIL at IPL prompt with the help of HP support Tape or CD, take raw disk backup of root disk in one tape and data disk in another tape.

put 2 new disks in new server using the same COPYUTIL you can restore root an data there in 2 disks.

But the type and size of the disk should be same.

or

use LVM to mirror the root disk to disk c and data disk to disk d respectively,
make disk c bootable,
break the mirror,
update the lvmtab,
move the disks,

-Vija
"Let us fine tune our knowledge together"
Alexander M. Ermes
Honored Contributor

Re: moving boot and data disk and then test it on stand by server.

Hi there.
Why not use Clay Stephenson's lifeboat tactics ?
Making a dd from the used disks to the unused disks and then put the unused disks in the other server ?

using the raw disk devices (e.g)
dd bs=8000k if=/dev/rdsk/c0t6d0 of=/dev/rdsk/c0t4d0.

Rgds
Alexander M. Ermes
p.s.
Clay, if you read this, at least the honor is yours.
.. and all these memories are going to vanish like tears in the rain! final words from Rutger Hauer in "Blade Runner"
Helen French
Honored Contributor

Re: moving boot and data disk and then test it on stand by server.

Piyush,

See this thread too:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x316efd3f91d3d5118ff40090279cd0f9,00.html

Shiju

Life is a promise, fulfill it!