- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Swinstall & Depots
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2003 08:44 PM
07-24-2003 08:44 PM
Swinstall & Depots
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2003 08:57 PM
07-24-2003 08:57 PM
Re: Swinstall & Depots
You first have to "unshar" the PH* files.
Example :
#sh PHSS_26360
This will give you a PHSS_26360.depot file, which you can copy to a depot ...
Example :
#swcopy -s /var/adm/crash/PHSS_26360.depot \* @ /var/adm/crash/depot
Regards,
Tom Geudens
P.S. When you download a number of patches (in tar or zip format) from HP there is (these days) a script called create_depot_* included in the download. You might want to use that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2003 09:00 PM
07-24-2003 09:00 PM
Re: Swinstall & Depots
These look fairly old. You may wish to generate a new depot for the later patches and clean up the old depot later.
To load the patches from /home/beala01/patches you could do this:
Create depot files
# for i in PH*
> do
> sh $i
> done
# mkdir depot
# for i in PH*.depot
> do
> swcopy -s ${PWD}/$i \* @ /home/beala01/patches/patch
> done
Then run swinstall interactively (no options) pick the depot and you should be okay. One thing to note that if a file is not complete, it will bomb out and the rest will continue to register into the depot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2003 09:04 PM
07-24-2003 09:04 PM
Re: Swinstall & Depots
/home/beala01/patches/depot
not
/home/beala01/patches/patch
Sorry my typing skills are terrible ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2003 09:06 PM
07-24-2003 09:06 PM
Re: Swinstall & Depots
you need to create depot to install multiple patches in one shot
assume all yourpatches under /tmp
#cd /tmp
#for i in PH*
do
sh $i
done
will create .text and depot files for all the patches
# mkdir patch_depot
for i i PH*.depot
do
swcopy -s ${PWD}/$i \* @ /tmp/patch_depot
done
will create bundle under /tmp/patch_depot
#swinstall -s /tmp/patch_depot
will install all the patches
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2003 09:07 PM
07-24-2003 09:07 PM
Re: Swinstall & Depots
I noticed I did not exactly "explain" what's going on ... Here goes.
1. You download patches from HP. Put those in a temporary directory (I use a specifically created /install directory for it, some people use /var/adm/crash).
2. If you've got the create_depot* script in the download, use that to automatically create a depot (in my case that would be /install/depot). You may also create a depot yourself. In other to do that you need to unshar all the patches (sh PHxx_xxxxxx). The result are ".depot" files. Don't confuse those with a "depot". A ".depot" file is the tape-equivalent of a depot and used for easy transport. Use swcopy to copy all the .depot files to a depot of your choice(/install/my_depot for example). Note that the order of copying is important (so its easier to use the create_depot* script).
3. Register the depot and install it with a swinstall-command.
Hope this explains,
Tom Geudens