1748145 Members
3603 Online
108758 Solutions
New Discussion юеВ

make_net_recovery to DVD

 
SOLVED
Go to solution
OFC_EDM
Respected Contributor

make_net_recovery to DVD

Has anyone taken a make_net_recovery ignite image and made a bootable DVD?

I've looked at the steps for make_tape_recovery in Patrick Walleks document but there seems to be a few differences between a tape and net ignite image.

Such as more config files. And, for example, I can't determine which cfg files to use for the make_medialif.

Here's some background information on my situation.:

This is how I create the ignite image:
-------- Start of script ---------
#!/bin/sh
export HOST=`uname -n`
export IGNITEDT=$(date)
export IGPATH=/opt/ignite/bin
rm /tmp/ignitelog.log
$IGPATH/make_net_recovery -s [IP of ignite server] -a 10.1.x.xxx:/images/$HOST -A -b -d "$HOST for $IGNITEDT" -n 3 -m tar >/tmp/ignitelog.log
if [ "$?" -eq 0 ]
then
cat /tmp/ignitelog.log | mailx -s "Ignite of $HOST was Successfully Completed" unix_admins@somedomain.com
else
cat /tmp/ignitelog.log | mailx -s "Ignite of $HOST FAILED" unix_admins@somedomain.com

fi
-------- end of script ---------

This creates files in two locations:
Config files are in:
-------------------------
/var/opt/ignite/clients/[servername]/recovery/2005-12-02,02:45/
archive_cfg
archive_content
control_cfg
flist
manifest
recovery.log
system_cfg

The actual image is in:
/images/[servername]/
2005-12-02,02:45


Cheers
The Devil is in the detail.
10 REPLIES 10
OFC_EDM
Respected Contributor

Re: make_net_recovery to DVD

In short the question is how do you create a DVD from a make_net_recovery ignite image?
The Devil is in the detail.
Steven E. Protter
Exalted Contributor
Solution

Re: make_net_recovery to DVD

Shalom,

Yes,

You can create a bootable DVD from your system using the exact same tools as make_net_recovery.

Here is a document.

Concepts:

http://www2.itrc.hp.com/service/james/dispDoc.do?docURL=http%3A%2F%2Fsearch.hp.com%2Fredirect.html%3Furl%3Dhttp%253A%2F%2Fdocs.hp.com%2Fen%2FB2355-90893%2Fch08s04.html%26qt%3D%2BIgnite%2BDVD%2Bwrite%26hit%3D1&aid=SEARCH_MANUAL&pil=1&serStr=Ignite+DVD+write

All you need to do is change the make_sys_image parameters to create the image you wish.

The procedure above works with HP-9000/Integrity DVD writers. They seem to only like DVD RW+ media.

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
OFC_EDM
Respected Contributor

Re: make_net_recovery to DVD

I'm missing something here. Please help clarify.

On a weekly basis I run make_net_recovery on all my systems.

This creates an image on my Ignite server in /images/servername/imagename

Could I not skip the make_sys_image step and use the image created by make_net_recovery with some cfg changes?

Or is there something fundamentally different in the two image types?
The Devil is in the detail.
Jayasuntar
Valued Contributor

Re: make_net_recovery to DVD

Dear Kevin,

make_sys_image is the only command to create the ignite image. Even the make_net_recovery internally calls the make_sys_image for creating the images.

Instead of using make_net_recovery , u can use mak_sys_image itself to copy the image in another server.

#make_sys_image -s (servername) -d (dest directory) -n (archieve name).

regards

Jay
Jayasuntar
Valued Contributor

Re: make_net_recovery to DVD

Dear kevin,

The below link refers the admin guide, Please see the 8th chapter and creating DVD media.

http://docs.hp.com/en/B2355-90893/B2355-90893.pdf

As I told you, instead of using make_net_recovery, use make_sys_image itself to create image on remote m/c, where DVD RW+ is avial. And create the DVD.

Regards

Jay
OFC_EDM
Respected Contributor

Re: make_net_recovery to DVD

Thanks I'll refer to that information.

But just an FYI

This is why I want to use the image from make_net_recovery.

We have an existing automated process which creates ignite images of all our HP-UX servers to our Ignite server. Using make_net_recovery.

So instead of re-running the image create process on our extremely busy systems I want to be able to use these existing images to create the bootable DVD.

If anyone has done this please let me know how.

Thanks again
The Devil is in the detail.
OFC_EDM
Respected Contributor

Re: make_net_recovery to DVD

I've no success creating a DVD yet because my image sizes are too large. So I can't event attempt to create the DVD.

The problem is that make_sys_image seems to want to archive the ENTIRE /dev/vg00.

Whereas I only want the minimal OS required. And will possibly add a few customization later once I know I can create a bootable DVD.

Question
----------------
How can I stop make_sys_image from archiving the entire vg00 and just do what's required for a minimal OS?
The Devil is in the detail.
Sivakumar TS
Honored Contributor

Re: make_net_recovery to DVD

Dear Keven,

You can edit the

make_sys_image script and

edit the LEVEL2_NO_ARCHIVE protion of the file to include the files/directories that you want to exclude from taking bakup / in the image.

With Regards,

Siva.
Nothing is Impossible !
OFC_EDM
Respected Contributor

Re: make_net_recovery to DVD

Thank you,

I am editing the LEVEL2_NO_ARCHIVE portion of the file to include the files/directories that I want to exclude from the image.

But I'm trying to recall where I once saw a configuration file which defined the minimal core OS files for an image.

I want to use that as a starting point to verify I have everything I need for a valid archive.

Valid meaning I don't want to exclude files required for the OS to operate properly.

Cheers
The Devil is in the detail.