1837836 Members
2435 Online
110121 Solutions
New Discussion

Re: depot creation

 
ami6788
Occasional Contributor

depot creation

I want to deploy ED agent in my env, below are the ED bits that I have. Is it possible to create a depot for them & execute it..

plugin.ini config settings
disusge file
discagnt---executable

tnks in advance
5 REPLIES 5
Patrick Wallek
Honored Contributor

Re: depot creation

Information on SD (Software Distributor), which is what you would use to accomplish this, and its functionality is available here:

Software Distributor Administration Guide for HP-UX 11i v1, 11i v2, and 11i v3

HTML - http://docs.hp.com/en/5992-2146/index.html
PDF - http://docs.hp.com/en/5992-2146/5992-2146.pdf

I believe the information you require can be found in "Chapter 10 Creating Software Packages":

HTML - http://docs.hp.com/en/5992-2146/ch10.html
Dennis Handly
Acclaimed Contributor

Re: depot creation

If you want to create SD depots, expect a long thread like this one:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1241895

You may want to just skip to Bob's reply about Software Package Builder:
http://www.hp.com/portal/swdepot/displayProductInfo.do?productNumber=SwPkgBuilder

>plugin.ini config settings

This isn't a valid HP-UX suffix and maybe harder to do than on Windows.
Grayh
Trusted Contributor

Re: depot creation

HP-UX: Create a new software depot for patches:
Creating a separate software depot for your patches is useful,
when space is tight and patches have dependencies.
Assuming you have two patches PHNE_20000 and PHNE_20001.

unshare all two patches by typing the following commands.

sh PHNE_20000
sh PHNE_20001

Next, we have to create a new software depot on the directory /newdir/depot

mkdir /newdir/depot
swpackage -s PHNE_20000.depot -d /newdir/depot


Register your new depot on the sd-ux.

swreg -l depot /newdir/depot


Copy the next patch to the newly created software depot.

swcopy -s `pwd`/PHNE_20001.depot PHNE_20001 @ /newdir/depot


You are now ready to install your patches

swinstall -s /newdir/depot


Hope this helps
Patrick Wallek
Honored Contributor

Re: depot creation

>>This isn't a valid HP-UX suffix...

Since when are there valid or invalid "HP-UX suffix[es]"? Last I checked you could have an executable called "my.stuff" and it would run just fine.

Granted a '.ini' extension is TYPICALLY associated with Windows, but saying it isn't a valid HP-UX suffix is going a bit far.
Dennis Handly
Acclaimed Contributor

Re: depot creation

>Patrick: Since when are there valid or invalid "HP-UX suffix[es]"?

True. But I meant valid as in "does something magical" as on Windows. There is no special meaning for .ini unless ami6788 programs/scripts it. Or that file means something special so some other existing tool.

>DMVamsi: we have to create a new software depot on the directory /newdir/depot

You should not fall into the SD darkside and use the N different commands/options that do the same thing.

>mkdir /newdir/depot
>swpackage -s PHNE_20000.depot -d /newdir/depot
>swreg -l depot /newdir/depot

Instead of these 3 different commands, you should just use the obvious:
swcopy -x enforce_dependencies=false -s $PWD/PHNE_20000.depot \* @ /newdir/depot

And use this format for each depot you want to copy.