Operating System - HP-UX
1834222 Members
2940 Online
110066 Solutions
New Discussion

Re: Adding custom depots to ignite fails

 
SOLVED
Go to solution
edwin hamers
Advisor

Adding custom depots to ignite fails

I am working on a personal ignite cookbook. This will be used to setup ignite and to create golden-images and core depots.

Further i want to include steps to create custom made depots into ignite. And here is where i got lost.

I worked my way thru the forums and the ignite-UX admin guide. But no luck.

I would like to see a small list of commands that i can use to do the following :

I download patches from ITRC.
I unpack them and create a depot.

Now i want to include this depot into ignite.

I managed with make_config -r to include the custom depot, but in the GUI the "Environments" selecter stays empty...
So my guess is that the config file of the depot is faulty.

any help guys? Ive been struggling for 4 days now...

Ignite 6.9.150


Chant and be happy
5 REPLIES 5
edwin hamers
Advisor

Re: Adding custom depots to ignite fails

Here is my INDEX file :

cfg "HP-UX B.11.23 Default" {
description "This selection supplies the default system configuration that HP supplies for the B.11.23 release."
"/opt/ignite/data/Rel_B.11.23/config"
"/opt/ignite/data/Rel_B.11.23/hw_patches_cfg"
"/var/opt/ignite/data/Rel_B.11.23/core_cfg"
"/var/opt/ignite/config.local"
}=TRUE
cfg "GOLDEN IMAGES 1123 " {
description "Gold Image cfiux05- hpux 11.23 en SG11.16 "
"/opt/ignite/data/Rel_B.11.23/config"
"/opt/ignite/data/Rel_B.11.23/hw_patches_cfg"
"/var/opt/ignite/data/gold-images/cfiux05.img.cfg"
"/var/opt/ignite/config.local"
}
cfg "Oracle 1123 Patches " {
description "Oracle 10g Required Patches for B.11.23 "
"/opt/ignite/data/Rel_B.11.23/config"
"/opt/ignite/data/Rel_B.11.23/hw_patches_cfg"
"/var/opt/ignite/data/Rel_B.11.23/orapatch_cfg"
"/var/opt/ignite/config.local"
}

And here is the config file :

#########################################################
## Config file: "orapatch_cfg"
## Date: Thu Nov 16 10:57:27 2006
## Created by Version: Ignite-UX Revision C.6.9.150
#########################################################

#########################################################
## Software Sources
#########################################################

sw_source "/var/opt/ignite/depots/Rel_B.11.23/orapatch" {
source_type = "NET"
sd_server = "172.18.129.7"
sd_depot_dir = "/var/opt/ignite/depots/Rel_B.11.23/orapatch"
source_format = SD
}



######################################################
## Other Software
#####################################################

sw_sel "ORACLE10g-REQ" {
description = "Oracle 10g Required OS Patches"
sw_source = "/var/opt/ignite/depots/Rel_B.11.23/orapatch"
sw_category = "Uncategorized"
sd_software_list = "ORACLE10g-REQ,r=B.11.23,a=HP-UX_B.11.23_32/64,v=HP"
}
Chant and be happy
Scot Bean
Honored Contributor
Solution

Re: Adding custom depots to ignite fails

Not sure I understand your INDEX file. You should not have a completely separate entry just for the patch depot.

Instead, do this
cfg "HP-UX B.11.23 Default" {
description "This selection supplies the default system configuration that HP supplies for the B.11.23 release."
"/opt/ignite/data/Rel_B.11.23/config"
"/opt/ignite/data/Rel_B.11.23/hw_patches_cfg"
"/var/opt/ignite/data/Rel_B.11.23/core_cfg"
"/var/opt/ignite/data/Rel_B.11.23/orapatch_cfg"
"/var/opt/ignite/config.local"
}=TRUE
cfg "GOLDEN IMAGES 1123 " {
description "Gold Image cfiux05- hpux 11.23 en SG11.16 "
"/opt/ignite/data/Rel_B.11.23/config"
"/opt/ignite/data/Rel_B.11.23/hw_patches_cfg"
"/var/opt/ignite/data/gold-images/cfiux05.img.cfg"
"/var/opt/ignite/data/Rel_B.11.23/orapatch_cfg"
"/var/opt/ignite/config.local"
}


By inserting your optional depot into your existing configs, you should see your new option on the Software tab.

If you don't want the patch bundle to be optional, use

...
} = TRUE

on the end of your depot config.
edwin hamers
Advisor

Re: Adding custom depots to ignite fails

Finally i found the extra defined patch bundle.......... grrr@#@@$#@#

I was always looking at the first tab of the ignite screen. Today i accidently clicked on the software tab, and there is appeared...

4 days of struggling, and it is on the next screen.... How about user-friendly??



Chant and be happy
edwin hamers
Advisor

Re: Adding custom depots to ignite fails

Sean,

Your suggestion is not really "workable".
I just want to install this extra patch bundle.
But when i choose to install the patches it ALSO wants to install the other patches from the core os, and i cannot deselect it.

any suggestion?

Is it not possible to create another cfg category in the INDEX?


Chant and be happy
edwin hamers
Advisor

Re: Adding custom depots to ignite fails

I figured out that you need the configuration scripts for a base Core 11.23 installation.
This is really bothersome...

Any other hacks available?
Chant and be happy