1846588 Members
2142 Online
110256 Solutions
New Discussion

Re: Server move

 
Heath Ramos
Frequent Advisor

Server move

I am trying to set up a new server with the exact set up as another server. They are both hp9000 d380 servers. In order to do this, can I just create the volume groups on the new server, restore files to it from the old one, and then use the make recovery tape for the vg00 volume group? I could then change the host name and ip address. I running 10.20 on the old server, by the way.
6 REPLIES 6
John Poff
Honored Contributor

Re: Server move

Hi,

Yes, you can do it with Ignite. You'll probably want to make the Ignite tape of the original system and use to clone the new system first. If you take the interactive option you can specify the hostname, IP address, and other information before Ignite clones the second box. After that is done you can make the other volume groups and do the restore.

Have fun!

JP
Sridhar Bhaskarla
Honored Contributor

Re: Server move

Hi Heath,

Yes. make_tape_recovery process is the way to go. If you use the following syntax on the original server, then it will take you to interactive session.

/opt/ignite/bin/make_tape_recovery -v -I -x inc_entire=vg00 -a /dev/rmt/0m

Since you said make_recovery, I would suggest to upgrade your Ignite to the latest so that you can use make_tape_recovery command.

I also suggest you to install the system first through make_tape_recovery tape and then create the volume groups on it exactly like the other server.


-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Steven E. Protter
Exalted Contributor

Re: Server move

Link to Ignite:

http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=IGNITEUX

Get it, isntall latest version and use instructions above to create your Ignite tape.

You'll get an exact system copy, this way, vg00.

After making the tape, insert it into the tape drive of the second system.

shutdown -ry now

interupt at the 10 second prompt.

sea

You'll see a sequential device, take note of its Pnumber

bo p3 if 3 is the number of the sequential(tape) device.

N as far as the question concerning interacting with the IPL.

There is an opportunity to interact with the Ignite restore. Take that, and use the interface to change the name and IP address of the target system so you don't have a conflect when system #2 tries to come on the network.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Michael Tully
Honored Contributor

Re: Server move

Ignite is definitely the way to do it. Get the latest version from here, having the latest loaded does not affect anything else on your system.

http://www.software.hp.com/products/IUX/download.html

Before you start, and if the target system already has an OS on it, do an 'ioscan -fnkC tape' and get the hardware address of the sequential tape drive.

Making the tape: (make two tapes)
# /opt/ignite/bin/make_tape_recovery -x inc_entire=vg00 -I -v -a /dev/rmt/0mn (make not of the no-rewind device)

As suggested, boot your system and interrupt the auto sequence. Do a 'SEA' and you will see the hardware address of the sequential device you'll be using for the recovery you'll be booting from. Once the tape has booted and the interactive screen appears, you'll have the chance to change the IP address and hostname. One other thing, if you are interested, this is the time to make changes to your logical volume sizes, should you wish.

One item to note, don't forget that support for 10.20 finished end of June.
Anyone for a Mutiny ?
Michael Steele_2
Honored Contributor

Re: Server move

As the others have indicated the ignite advanced recovery option is the way to go.

Regarding.."...can I just create the volume groups on the new server, restore files to it from the old one, and then use the make recovery tape for the vg00 volume group?..."

The LVM header on each disk will contain a vgid unique to each volume group. And as long the same disks are being used during the migration between servers you???ll have these additional options:

A) The make_recovery install will contain this information in /etc/lvmtab and /etc/lvmconf, and,

B) You'll be able to recover the data via the vgid in each LVM header with the -s option in vgexport and vgimport.

vgexport -p -v -s -m /tmp/vg##_mapfile /dev/vg## (* preview with -p *)

mkdir /dev/vg##
mknod /dev/vg##/group c 64 0x0#0000
vgimport -p -v -s -m /tmp/vg##_mapfile /dev/vg## (* -p preview *)

If new disk media is involved then there are several ways to go, the easiest with tape backup and restore, especially with a SAN environment. But nowadays people reduce out a mirror, mount the new disks onto the old server, make new vgs and file systems and copy the data over. If you have the HBA's, (* host bus adapters *) I would consider this.
Support Fatherhood - Stop Family Law
Rita C Workman
Honored Contributor

Re: Server move

Well the other have mentioned creating your make_recovery_tape for vg00 will give you the ability to create vg00 on your other box, as the folks above mentioned.

But for your other vg, I would create my vg mapfiles using a vgexport and thus vgimport them to the other server.

Just a thought,
Rita