- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: swinstall multiple patches not working
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
12-02-2004 09:16 AM
12-02-2004 09:16 AM
First I used :
...lines deleted...
/usr/sbin/swinstall -x match_target=true \
-s /home/patch/tmp/PHKL_14282.depot
/usr/sbin/swinstall -x match_target=true \
-s /home/patch/tmp/PHKL_22701.depot
... lines deleted
The first patch (14282)loaded fine but PHKL_22701 got the error " requires a reboot" and did not install. So, still trying to avoid 6 or 7 reboots, I tried putting -x autoreboot=false. NOGO
So I put in the "-x autoreboot=true" and the patch loads, kernel rebuilds, the system reboots. And I have to do it again for the next patch...
My question is this; Is there a way to install multiple patches without rebooting?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2004 09:21 AM
12-02-2004 09:21 AM
SolutionYou can use swcopt to copy all the patches to a single patch depot and then use the patch depot to install all the patches at the same time. Here is the procedure from itrc on how to do it,
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000066914906
the itrc doc id is A5841153.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2004 09:22 AM
12-02-2004 09:22 AM
Re: swinstall multiple patches not working
Make a patch depot.
copy all your depot files into a single directory.
say /tmp/patch
cd /tmp/patch
for i in PH*
do
sh $i
done
for i in PH*.depot
do
swcopy -s ${PWD}/$i \* @ /tmp/mydepot.depot
done
Now you have a patch depot.
swinstall -x autoreboot=true -s /tmp/mydepot.depot \*
That will install all of the patches at once and reboot once.
This stuff is covered in more detail in HP's patching guide.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2004 09:26 AM
12-02-2004 09:26 AM
Re: swinstall multiple patches not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2004 09:32 AM
12-02-2004 09:32 AM
Re: swinstall multiple patches not working
You could just use swcopy to cpoy each patch to a specified directory, and use swinstall with that directory as the source.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2004 09:36 AM
12-02-2004 09:36 AM
Re: swinstall multiple patches not working
10.20 development and patching stopped, but the assumption here is you know what patches you need and they exist.
I tested this by going to the patch database and pulling down the version tree. Its possible to hunt for 10.20 patches.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2004 09:42 AM
12-02-2004 09:42 AM
Re: swinstall multiple patches not working
Interesting...thanks for the info.
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2004 09:57 AM
12-02-2004 09:57 AM
Re: swinstall multiple patches not working
What a response and so fast. I should have asked this morning before all the frustration.
I saw the create_depot file but just spaced on its purpose. I will definiely try this.
And despite the fact that this is 10./20, hps
"build your own patch package" web-site,
javascript:openExternal("http://www1.itrc.hp.com/service/patch/assessSystemsPage.do?BC=patch.breadcrumb.main|")I was able to get all the patches my system needed. It was slick.
I appreciate all you help.
Linda
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2004 04:19 AM
12-07-2004 04:19 AM
Re: swinstall multiple patches not working
I unzipped the patch file I got from HP. It included the create_depot_hp-ux_10 file.
I ran the create_depot script. It created a "depot" directory where I was standing and a depot.psf file in my current dir.
The next step was the swinstall -s /abc/xyz/depot -x autoreboot=true \ (enter)
-x match_target=true (enter)
It worked great. Afterwards, I could see the swagent.log in the /abc/xyz/depot directory.
Thanks so much for all the help.
Linda
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2004 04:21 AM
12-07-2004 04:21 AM
Re: swinstall multiple patches not working
Thanks to all