Operating System - HP-UX
1830350 Members
2690 Online
110001 Solutions
New Discussion

make net recovery (excluding data directories)

 
Joe Robinson_2
Super Advisor

make net recovery (excluding data directories)

I would like to clone a production server (also happens to be my Ignite server) less certain data directories, such as web cache. What is the "no pain" way to go about this? Also, there are a couple factors that are pertinent: 1) the current OS (11.00) had a non-standard load, which I consider "bad" and don't mind overwriting, 2) the current VG's on the system are smaller than what I want them to be (but I do have the disk capacity to put them where I want them to be), and 3) when I have tested doing a net_recovery I only seem to be able to attempt to load patches, not the entire server as I want to. Any input from you Ignite vets would be appreciated!!!
3 REPLIES 3
Kevin Wright
Honored Contributor

Re: make net recovery (excluding data directories)

create your archive with make_net_recovery, then boot your server 'boot lan.IP.address.of.ignite install'

If you want to overwrite your install, then re-install the OS, don't use ignite.
Steven E. Protter
Exalted Contributor

Re: make net recovery (excluding data directories)

In the make_sys_image file on the Ignite server there is an exclusion list.

You can add the data directories to that list and they should be excluded from the image.

If the data directories are part of a different volume group, this methodology can work on the make_net_recovery command line

/opt/ignite/bin/make_tape_recovery -Av -x inc_entire=vg00

add this line

-x exclude=file

or

-x exclude=dir

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
Joe Robinson_2
Super Advisor

Re: make net recovery (excluding data directories)

Thanks for your replies, Kevin and Steve. I've decided to reload HP 11.00 from scratch (to ensure that my VG's are cut the way that I want them, and then use make_sys_image to replicate the application VG's (for Oracle, and our local apps). Thanks for saving me the headache of beating my head on the wall on this one!