Operating System - HP-UX
1843977 Members
2098 Online
110226 Solutions
New Discussion

Re: Help?? Cloning a server with Ignite (Almost)?

 
Craig A. Sharp
Super Advisor

Help?? Cloning a server with Ignite (Almost)?

Hello,

My N-Class production server currently has quite a bit of hardware attached.

4 SC10 enclosures, 2x20 tape lib, Mux

I need to clone the entire OS to a new N-Class server. The issue is that the new box has less memory, no enclosures and no tape lib.
The enclosures are all on vg01-vg21 (mirrored)
The OS is of course all vg00 (mirrored).

I would like to use Ignite to do this as ignite will only take vg00 to the new box. The question is, when I boot the new box, what will it do when it sees less memory, no SC10's and no lib and no mirroring. Will the OS come up and then allow me to do housekeeping?

I need to get the current OS on the new box exactly as it exists today on the old box for application purposes.

Thanks,

Craig
4 REPLIES 4
Michael Tully
Honored Contributor

Re: Help?? Cloning a server with Ignite (Almost)?


The standard ignite tool will do just that, except that it will include the drivers. You can clone the OS easily, without any other VG's

# make_tape_recovery -x inc_entire=vg00 -I -v -a /dev/rmt/0mn
(assuming that is your tape drive) You can make any mods you like, if not just proceed.

Boot the system, interrupt at the ten second prompt. Boot from the tape drive hardware address (get this beforehand if you can) and away you go.
Anyone for a Mutiny ?
Leif Halvarsson_2
Honored Contributor

Re: Help?? Cloning a server with Ignite (Almost)?

The memory and the library is not any problem, the there is no devicefiles created if no library exists. The problem may be with the disks, altought not in vg00, the definitions for the other vg exists in vg00 (/dev/vgNN). There may also be mountpoints defined that not exists after cloning. You have to do some clean up after the system is cloned.

If it is possible for you, an alternative is to export all volumegroups but vg00 before creating the ignite archive and import them again after.
John Bolene
Honored Contributor

Re: Help?? Cloning a server with Ignite (Almost)?

when cloning you get the options at the first window to install interactive or not.

interactive means that you want to change the layout of the file system and other parms before loading.

this is where you change any file system sizes
It is always a good day when you are launching rockets! http://tripolioklahoma.org, Mostly Missiles http://mostlymissiles.com
Steven E. Protter
Exalted Contributor

Re: Help?? Cloning a server with Ignite (Almost)?

If you are going to maintaining multiple N class servers, it might pay to set up a Golden Image.

This is done with a series of steps including a modified make_sys_image.

There is a great deal of customization allowed, including disk/array connections. I set up a profile for each server which compensates for the slight differences in my three identical servers.

I recently cloned a D320 off a base Golden Image created for 64 bit L class machines. It came out with 32 bits and no attached disk.

Here is some documentation on creating and maintaining Golden Images.

I won't say its easy, but its quite powerful.

http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90153/B2355-90153_top.html&con=/hpux/onlinedocs/B2355-90153/00/00/24-con.html&toc=/hpux/onlinedocs/B2355-90153/00/00/24-toc.html&searchterms=Golden%7cImage%7cIgnite&queryid=20030709-072826
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90810/B2355-90810_top.html&con=/hpux/onlinedocs/B2355-90810/00/00/30-con.html&toc=/hpux/onlinedocs/B2355-90810/00/00/30-toc.html&searchterms=Golden%7cImage%7cIgnite&queryid=20030709-072826
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90767/B2355-90767_top.html&con=/hpux/onlinedocs/B2355-90767/00/00/35-con.html&toc=/hpux/onlinedocs/B2355-90767/00/00/35-toc.html&searchterms=Golden%7cImage%7cIgnite&queryid=20030709-072826

My search:
http://us-support.external.hp.com/emse/bin/doc.pl/sid=2edcaecd1aec8a1446/distrib_redir=0+1057757304|*?rn=25&searchcategory=ALL&todo=search&x=37&searchtype=SEARCH_TECH_DOCS%00SEARCH_MANUAL%00SEARCH_TRAINER&y=13&searchcriteria=boolean&searchtext=Ignite+Golden+Image&presort=rank

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