- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How do I determine if installation of a depot...
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
02-11-2004 08:55 AM
02-11-2004 08:55 AM
The bundle contains 20 patches as well as the
product.
I now know that only 1 of the 20 patches
require a reboot but lets assume you don't
know this.
From the command line I want to determine if
the package requires a reboot (I know that I
can get this information via interactive
swlist or swinstall under product desc)
I also want to know which patch requires the
reboot since may already have it installed.
What I came up seems overly complex, anyone
have a better way?
swlist -v -l fileset -s /tmp/ShadowPassword_B.01.00.00_HP-UX_B.11.11_32+64.depot | grep -e "# PH" -e is_reboot | uniq
...
# PHCO_28194
is_reboot false
# PHNE_23502
is_reboot true
# PHSS_26492
is_reboot false
# PHSS_26493
is_reboot false
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2004 09:09 AM
02-11-2004 09:09 AM
Re: How do I determine if installation of a depot requires a reboot
How about
swlist -l fileset -v @ hostname:/path/to/depot | grep reboot | grep true
If you get *anything* back then it's a reboot bundle/product/patch
Doesn't matter if you get one OR many - it's *still* a reboot.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2004 09:14 AM
02-11-2004 09:14 AM
Re: How do I determine if installation of a depot requires a reboot
If you install PHKL patches , reboot is required .
Patches like PHNE & PHSS usualy dont need reboot .
Bye ,
Eran.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2004 09:19 AM
02-11-2004 09:19 AM
Re: How do I determine if installation of a depot requires a reboot
swinstall -s /full_path_of_depot \*
fail=$?
if [ $fail -ne 1 ]
then
echo "Install failed restart may be needed"
else
echo "Install successful."
fi
The install will fail kicking a specific error code. You can trap that and take appropriate action.
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
02-11-2004 09:32 AM
02-11-2004 09:32 AM
Re: How do I determine if installation of a depot requires a reboot
Perhaps the easiest way. When you extract the downloaded patch file you get two files, one .depot and one .text. In the .test file you can find information about the patch, also if reboot is needed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2004 09:38 AM
02-11-2004 09:38 AM
Re: How do I determine if installation of a depot requires a reboot
My way of doing is not much different than yours. Except I check for the attribute is_reboot.
For ex.,
swlist -l fileset -a is_reboot -s /mydepot/krng
# PHKL_27750
PHKL_27750.CORE2-KRN true
PHKL_27750.CORE2-KRN true
# PHKL_27766
PHKL_27766.CORE2-KRN true
PHKL_27766.CORE2-KRN true
# RandomNumGen
RandomNumGen.RNG-DKRN false
RandomNumGen.RNG-DKRN false
RandomNumGen.RNG-KRN true
RandomNumGen.RNG-KRN true
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2004 08:53 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2004 08:58 PM
02-11-2004 08:58 PM
Re: How do I determine if installation of a depot requires a reboot
Patch basics:
Kernel Patches
PHKL_12345
installation usually causes reboots
Network Patches
PHNE_23456
installation may cause reboot
Commands Patches
PHCO_34567
no reboot
Subsystem Patches
PHSS_45678
usually no reboot
Thank you,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2004 09:09 AM
02-12-2004 09:09 AM
Re: How do I determine if installation of a depot requires a reboot
swlist -l fileset -a is_reboot -s \
/tmp/ShadowPassword_B.01.00.00_HP-UX_B.11.11_32+64.depot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2004 04:44 AM
02-28-2004 04:44 AM