sfotware depot creation in hp-unix (222 Views)
Reply
Super Advisor
rajesh73
Posts: 431
Registered: ‎03-17-2009
Message 1 of 6 (222 Views)

sfotware depot creation in hp-unix

[ Edited ]

i want to create the depot file. while one is the correct method to create the depot file

 

1. sh PHCO-15220 

 

2. swcopy -s PHCO-15220

 

 

P.S. This thread has been movedfrom HP-UX>System Administration to HP-UX > patches. -HP Forum Moderator

 

 

Please use plain text.
Honored Contributor
Patrick Wallek
Posts: 13,731
Registered: ‎06-21-2000
Message 2 of 6 (216 Views)

Re: sfotware depot creation in hp-unix

If it is a patch you have downloaded from HP, then the first thing you need to do is un-shar it, which is your option 1.

 

# sh PHCO-15220

 

This should create a PHCO_15220.text and PHCO_15220.depot file.

Please use plain text.
Super Advisor
rajesh73
Posts: 431
Registered: ‎03-17-2009
Message 3 of 6 (207 Views)

Re: sfotware depot creation in hp-unix

ok, thanks for your reply

 

then what is the use of second command  -swcopy -s PHCO

Please use plain text.
Super Advisor
rajesh73
Posts: 431
Registered: ‎03-17-2009
Message 4 of 6 (206 Views)

Re: sfotware depot creation in hp-unix

collection of depot is called bundles, so please share the procedure to create bundles
Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,853
Registered: ‎03-06-2006
Message 5 of 6 (204 Views)

Re: software depot creation in HP-UX

[ Edited ]

>then what is the use of second command swcopy -s PHCO

 

swcopy is used to copy/create depots.  You can use it to combine many depots into one.

 

>collection of depot is called bundles

 

No.  A collection of depots is just one larger depot.

SD bundles are a collection of SD products.  Which is a collection of SD filesets.  Which is a collection of files, metadata and control scripts.

Please use plain text.
Honored Contributor
Bill Hassell
Posts: 14,199
Registered: ‎05-29-2000
Message 6 of 6 (174 Views)

Re: sfotware depot creation in hp-unix

[ Edited ]

>> i want to create the depot file. while one is the correct method to create the depot file

 

A depot is useful when you want to easily install software or patches on multiple servers without using NFS or copying the files to each server. It is also useful as a way to collect multiple software items or patches into one depot for a single pass swinstall.

 

>> 1. sh PHCO-15220 

 

Correct. This will produce several PHCO files, one of which will be a .depot file

 

 

>> 2. swcopy -s PHCO-15220

 

The complete command would be:

 # swcopy -x enforce_dependencies=false -s $PWD/PHCO_15220.depot "*" @ /var/tmp/patch1

 

To see the depot from any HP-UX server, use the command:

 # swlist -l depot @ <server>

 

where <server> is the system where you ran the above swcopy command.

 

You can now add more patches to this depot by just repeating the swcopy command:

 # swcopy -x enforce_dependencies=false -s $PWD/PHKL_1234.depot "*" @ /var/tmp/patch1

 

And to install these patches on another server:

 # swinstall -s <server>:/var/tmp/patch1 PHCO_15220

 

or to install everything in the depot:

 # swinstall -s <server>:/var/tmp/patch1 "*"

Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation