1748205 Members
4793 Online
108759 Solutions
New Discussion юеВ

Golden image problems...

 
SOLVED
Go to solution
Coolmar
Esteemed Contributor

Golden image problems...

This is my first time trying to do this and I have a couple of questions.

1. When I create the save_cfg file I don't put just vg00 because I need vg01/oracle. Then I edit the save_cfg and removed all vg01 *except* oracle. When I created the golden image, it had all of vg00 and vg01. How can I create a golden image with only one of the LV's in vg01?

2. When I booted another system off the lan and said I wanted to restore the golden image, it had no swap info; no filesystem info; and no software. I read that even though the system has different hardware, it still should know where to set everything up once you select the root disk.

3. Will the root disk have to be re-mirrored, or will the golden image hold that information?

Thanks for all the help,
S.
6 REPLIES 6
Marco A.
Esteemed Contributor

Re: Golden image problems...

A golden image is a compressed archive of an entire installed and configured system (Golden System), it will save ALL the information.


Start reading this book.:

http://docs.hp.com/en/5991-6440/ch08.html

You can also download the book in pdf format.

I hope this helps.

Regards,
Just unplug and plug in again ....
Steven E. Protter
Exalted Contributor
Solution

Re: Golden image problems...

Shalom,

Back when I was doing a few Golden images, you had two choices.

You could script your mirroring in a post configuration script in our Golden Image.

You could mirror after the fact.

The first approach is hard to write but once written works every time. The second approach is prone to human error and needs to be thoroughly checked after the fact.

My boss wrote a script to do it.

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
Coolmar
Esteemed Contributor

Re: Golden image problems...

Thanks Steven...I think I might just leave the mirroring and do it manually after.

Does anyone have any idea why the golden image didn't keep the disk layout? I thought it was supposed to...

thanks
Scot Bean
Honored Contributor

Re: Golden image problems...

As you mentioned, the save_config command generates some syntax specific to your image. Sounds like you edited this syntax to change the disk layout a bit.

Yes, this should work. If you remove all of the VG01 definitions from the congfig file, Ignite should not lay it down at install time. The config file should control what happens at install time for the disk layout.

If it is not working as you expected, consider posting your custom config file here so we can look at your syntax.
Steven E. Protter
Exalted Contributor

Re: Golden image problems...

Shalom,

If the systems have the same address layout, or are identical (thats how I like to do it) then the disk layout should be precisely preserved. If the systems are different, then Ignite does the best it can. This behavior can be controlled through customization, manual intervention and Ignite configuration.

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
Coolmar
Esteemed Contributor

Re: Golden image problems...

I was able to figure out my problem. Thanks!