Operating System - HP-UX
1751765 Members
4952 Online
108781 Solutions
New Discussion юеВ

Re: how to create golden image with all partition

 
SOLVED
Go to solution
pratapvfr
Advisor

how to create golden image with all partition

Hello,
i know how to create golden image, i am able to create golden image for my one hpux 11.11 server i had saved that image on nfs.

i had still not done verificaiton for it, i would like to know by default ignite image will take all partion in image? or only system partions.

i am having server which having two data partition called /dbadata and /datapadb

when i create golden image for this it can also copy whole data inside image,

thanks in advance for suggestion, will assign point for each correct reply,
8 REPLIES 8
njia_1
Trusted Contributor

Re: how to create golden image with all partition

Hi there

I assumed that when you say partitions you actually mean logic volumes

Ignite will backup all the LVs of vg00 and if you want it to backup any additional VGs, there is an option inc_entire=/dev/vg01, that will include /dev/vg01 as part of the ignite backup

are both /dbadata and /datapadb on different VGs ?
pratapvfr
Advisor

Re: how to create golden image with all partition

did you mean in make_sys_image? i could not found inc_entire in this script?

where we need to specified this? my both data file system is in /dev/vg04, thanks,
Pulse001
Regular Advisor
Solution

Re: how to create golden image with all partition

Hi pratapvfr,

make_sys_image will include the contents of all mountpoints / partitions ( including /dbadata and datapadb in your case). If you want to exclude that, you need to unmount them while taking the system image. I have done this at my place and the archive size i got was 15gb.

Probably the size of your image will give a clear idea. Normally for a hpux 11.11 system, the gziped archive size will be approx. 2.5-3 gb. (again this is just an estimate)

But as i said previously, i have done this and the archive contains all mounted partitions.

Thanks



pratapvfr
Advisor

Re: how to create golden image with all partition

I have this error msg at the end of image creation,
i had verify the image size and its looks very small,
anybody anyother clue?
appriciate...

Error 0
cat: Cannot write to output.
* Creation of system archive complete
* Cleanup: Do Not interrupt, restoring files, kernel, and transition links.
Suraj K Sankari
Honored Contributor

Re: how to create golden image with all partition

Hi,
>>cat: Cannot write to output
What is your destination...
tape or network ?

Suraj
pratapvfr
Advisor

Re: how to create golden image with all partition

destination is nfs

i have still not recieved correct answer for how i can include all my file system in ingnite image?
please someone share this.. thanks,
R.O.
Esteemed Contributor

Re: how to create golden image with all partition

Hi,

Have you setup the nfs correctly? For the file systems, "man make_sys_image" says:

"make_sys_image does not capture file system or disk layout information. Use save_config to capture this information"

So you can save this information in this way:

"save_config -f /tmp/image.config vg00 vg04"

(put the vgs you want)

You have to add this file into your Golden Image configuration file.

Regards,
"When you look into an abyss, the abyss also looks into you"
Himanshu_Sourav
Occasional Advisor

Re: how to create golden image with all partition

<this one is for people who might face the same issue like me>

 

make sure your target directory where the image is getting stored has sufficient diskspace, while the image creation is in progress you can run #bdf <dir path> and ll   in target server/directory to check the space usage and if the archive size is getting bigger than the available disk space.