Operating System - HP-UX
1824633 Members
4192 Online
109672 Solutions
New Discussion юеВ

how to make software depot from CD ?

 
yyghp
Super Advisor

how to make software depot from CD ?

I have "HP ANSI C" in 1 of the application CDs, which is not free... I have to enter "Customer ID" and "Codeword" before I can see such package in the CD.
I have several hosts to install ANSI C, which don't have internal CD-ROM... I need to connect my external CD-ROM and mount it each time I install this package.
So, how can I make a '.depot' file from this CD for the ANSI C package, then I can just transfer the depot file to other server without connecting the CD-ROM ?

Thanks!
8 REPLIES 8
Bill Hassell
Honored Contributor

Re: how to make software depot from CD ?

You can run swcopy to create the depot. You might start by creating a depot directory, perhaps /var/depot/products. Then use swcopy to copy the product(s) from the CD to the directory. Then check if the directory has been registered with swlist -l depot. Now check on one of your other servers: swlist -l depot @ depot_server

Once this is working, you should be able to use swinstall and point it to your depot server and directory to install the software.

If you don't have enough space in /var, you can also mount the CDROM on your server, then use swreg to make the CD visible to the rest of your servers (don't use NFS) as in:

swreg -l depot /cdrom

(where /cdrom is the mountpoint for your CD). The run swlist and swinstall on the remote servers as mentioned above. You'll need separate codewords for each system when you install.


Bill Hassell, sysadmin
Juergen Tappe
Valued Contributor

Re: how to make software depot from CD ?

Mount the CD to your server with the drive.

i.e. mount /dev/dsk/cXtXD0 /cdrom

register this as a depot.

swreg -l depot /cdrom

then on the other host(s) execute swintall
and choose source "1st-server:/cdrom"

you have to enter the codewords everytime but its working.

Working together
yyghp
Super Advisor

Re: how to make software depot from CD ?

Thanks.
But can I make a "ansic.depot" file like those software or patches I download from this site ?
Bharat Katkar
Honored Contributor

Re: how to make software depot from CD ?

Do you have Ignite UX installed? ...
if yes then you can create Bundle of required depots files on CD with your own name as follows:
make_bundles -B -n -t ├в HP-UX 11.23 Patches├в /tmp/patches

where /tmp/patches is your directory where you have copied depot files from Soft APpl CD using SWCOPY command as follows:

swcopy -s ; Follow thr' the menu, select the depot files of your choice and Click Actions and Select Copy COntinue Further.

Hope this is what you r looking for!!!

Further you can use this customize bundle for other serve
You need to know a lot to actually know how little you know
RAC_1
Honored Contributor

Re: how to make software depot from CD ?

mount /dev/dsk/cxtxd0 /cdrom
swlist -x "codeword=xxxx" -d /cdrom
Note down product no. of ANSI compiler.

swcopy -x "codeword=xxxx" -s /cdrom "product_no" @ /tmp/ansi

Make sure you have /tmp/ansi.

swreg -l depot /tmp/ansi

Now from the host you want to install
ansi, do

swinstall -x "codeword=xxx" s server:/tmp/ansi

Anil
There is no substitute to HARDWORK
Bharat Katkar
Honored Contributor

Re: how to make software depot from CD ?

I don't know this line got corrupted:make_bundles -B -n -t ├Г┬в├В ├В HP-UX 11.23 Patches├Г┬в├В ├В /tmp/patches

Read this as:

make_bundles -B -n -t "HP-UX 11.23 Patches" /tm
You need to know a lot to actually know how little you know
yyghp
Super Advisor

Re: how to make software depot from CD ?

thanks, but what i want is a depot file, like "ansic.depot", like those patches files (e.g. PHSS_26946.depot)
Bharat Katkar
Honored Contributor

Re: how to make software depot from CD ?

See you can combine more depots files into bundle but i doubt clubbing of depot files into one whether it is possible !!.
You need to know a lot to actually know how little you know