1833875 Members
1639 Online
110063 Solutions
New Discussion

Making Software Depots

 
Nicky_5
Regular Advisor

Making Software Depots

Hi,

I want to create a software depot, but i dont have the OS cds. Can i create a software depot if i dont have the cds?
5 REPLIES 5
Pete Randall
Outstanding Contributor

Re: Making Software Depots

Do you mean extract an installable OS depot from an installed and running system? No, I don't believe that's feasible.


Pete

Pete
Devender Khatana
Honored Contributor

Re: Making Software Depots

Hi Nicky,

If you are talking about downloading multiple patches and then creating a single depot, then it is possible even without OS cds. create_depot_hp-ux-?? executable comes with every patch you download for achiving this.

HTH,
Devender
Impossible itself mentions "I m possible"
Mel Burslan
Honored Contributor

Re: Making Software Depots

If you want to create a bootable image from a running system to ignite other servers, I'd suggest you look into make_(net|tape)_recovery command's man page. (choose either tape or net in paranthesis above depending on how you are going to do your igniting. I think the option you need to provide is "-i" for interactive make so you can select what information gets into the recovery archive. For instance you may skip the network information, system name etc to be included in your archive. When you recover from this archive, you will have a chance of entering a different name for your server.

To do this successfully, the machie you are making the archive from needs to be quite similar to the one you are trying to install. For instance, you can not expect an archive taken from a K-Class machine to ignite an rp-xxxx server properly.

Hope this helps
________________________________
UNIX because I majored in cryptology...
lawrenzo
Trusted Contributor

Re: Making Software Depots

seems to me that the depot can be created from patch's or from cd's.

Where are you getting your software from for these depots?

If you are copying them from a different depot from another server then type:

# swcopy :/ \* @

This will copy the existing depot and create in on your target server.

then remove the software you do not want and copy software you do.

also read the man pages for swreg, it suggests you need to use the swpackage command with the swreg command when creating depots
hello
Biswajit Tripathy
Honored Contributor

Re: Making Software Depots

As Pete Randall said, if you want to create a depot
from an installed/running system, the answer is no.
The reason is, a depot is not only the product filesets
that come with it, it also contains bunch of SD scripts
that needs to run before, during and after the
installation process. Most depots will be useless without
these SD scripts. A depot can only be created from the product filesets by running swpackage command
that takes a PSF (product specification) file as input.
So, bottomline is, to create a valid depot you need all
3 (i.e product filesets, SD scripts and PSF file).

- Biswajit
:-)