- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HP-Ux Patch Bundle to be created
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
11-27-2000 01:03 AM
11-27-2000 01:03 AM
I would like to put forward a query .
I have a bunch of some recommended PHKL Patches relating to Network issues , which I would like to Bundle into one intead of applying one by one , which requires a reboot each time because of kernel rebuilding .
Server Type : HP 9000 N4000
HP-Ux Version : HP-unix 11.0
Kindly guide me with a solution for this .
Thanks & Regards ,
Naveen Shetty .
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2000 01:28 AM
11-27-2000 01:28 AM
Re: HP-Ux Patch Bundle to be created
patch files stored in /tmp, new depot is /tmp/allpatches
swcopy /tmp/PHKL_11111.depot @ /tmp/allpatches
swcopy /tmp/PHKL_22222.depot @ /tmp/allpatches
swcopy /tmp/PHKL_33333.depot @ /tmp/allpatches
an so on for all patches you want
After that you can install all patches with
swinstall -s /tmp/allpatches
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2000 01:30 AM
11-27-2000 01:30 AM
Re: HP-Ux Patch Bundle to be created
RESOLUTION
1. Remove the bundle specification with:
swremove -d bundlename. @/depotname
Note: The >.< dot after the bundle-name.
2. swcopy the new patch(es) into the depot
swcopy -v -s patch.depot @depotname
3. Create a new bundle with make_bundles, use the old name/title/revision
Note:The dot after the bundle-name says remove the bundle-name reference,
but not the patches included in the bundle
eg :
Install ignite !
all patches in sdu format (+ catalog) are in dir /patches.london
/opt/ignite/bin/make_bundles -B -n Patches -t "Patchvorgabe London"
/plattevg05/patches.london
swcopy -s /plattevg05/patches.london/ Patches @
var/opt/local/sw/10.20/patche//future/Y2KPREDX
swlist -l bundle -s /var/opt/local/sw/10.20/patche/future/Y2KPREDX
# Initializing...
# Contacting target "fraco2b"...
#
# Target: fraco2b:/var/opt/local/sw/10.20/patche/future/Y2KPREDX
#
OnlineDiag B.10.20.11.08 HPUX 10.0 Support Tools Bundle
Patches A.1.0 Patchvorgabe London
XSW800GR1020 B.10.20.43 Extension Software Patch Bundle
Y2K-1020S800 B.10.20.B0315 HP-UX Core OS Year 2000 Patch Bundle
#
swreg -u -l depot /plattevg05/patches.london/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2000 01:41 AM
11-27-2000 01:41 AM
Re: HP-Ux Patch Bundle to be created
The above solution from Rainer is good, you now have a single depot which allows you to install all the patches in it in one go - so only 1 reboot. Just copying the patches to the depot registers it so from a remote host you can also install from that depot and once again install all patches in it in one go and thus only 1 reboot (swinstall -x autoreboot=true -s
However, not always is installing across the network reliable or advisable for critical patches (any network problems could screw up the install and leave your server in a big mess). Better to install locally, so, how to copy the depot to a remote server first. Either you can copy the entire depot to a local depot on the server you want to install it on by doing;
swcopy -x enforce_dependencies=false -s
Then you can swinstall from the local depot, /tmp/allpatches.
Or, you can use swpackage to create 1 depot file and ftp that around and install from that instead. To create the swpackage depot use; swpackage -x target_type=tape -s /tmp/allpatches \\* @ /tmp/patches.depot
Then ftp patches.depot to a remote server and use swinstall to install from it; swinstall -x autoreboot=true -s
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2000 01:56 AM
11-27-2000 01:56 AM
Solution2)Create a depot eg (mkdir /var/adm/sw/DEPOT
3)Use this is a script for the patches, one after the other:
============================================
(for i in 'PHK*'
do
sh $i
swcopy -s /tmp/$i.depot \* @ /var/adm/sw/DEPOT
done)
==============================================
Cheers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2000 02:20 AM
11-27-2000 02:20 AM
Re: HP-Ux Patch Bundle to be created
Once the patches have been copied to the depot directory, you can then use swinstall to install all of them. You can set the dependency flag to false as Stefan has pointed out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2000 02:35 AM
11-27-2000 02:35 AM
Re: HP-Ux Patch Bundle to be created
Oh great, now the ITRC is displaying \ (backslash) properly. In my above reply replace all \\* with \*
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2000 04:54 AM
11-29-2000 04:54 AM
Re: HP-Ux Patch Bundle to be created
To extract Patch files:
# for i in PH* ( return )
do ( return )
sh $PWD/$i ( return )
done ( return )
# for in PH*depot. ( return )
do ( return )
swcopy -s $PWD/$i \* @ /var/tmp/GSCdepot ( return )
done ( return )
If you want to put the depot on a tape
dd if=/var/tmp/GSCdepot of=/dev/rmt/0m bs=2k
swinstall -s /dev/rmt/0m # To install on target system