- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- installing a patch, avoiding reboot
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
Discussions
Discussions
Forums
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
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-29-2009 07:30 PM
тАО07-29-2009 07:30 PM
On my production server, i need to install quite a few patches so that i could install oracle agent on that. Many patches require reboot. Is it possible if i could install all patches wihout rebooting and at the end i do only one reboot. If i do reboot for every patch, i would need a longer down time. If possible, what option can i use with "swinstall" command to skip reboot.
Thanks
Salman
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2009 07:38 PM
тАО07-29-2009 07:38 PM
Re: installing a patch, avoiding reboot
Read the readme file of the patches for whether it required reboot, if it required you have to reboot the server. You cannot skip that.Combine all patehs and make it as a single bundle so that you can avoid reboot for individual patches. The skip opetion for swinstall is #swinstall -x autoreboot=false.
Reagrds,
LIJEESH N G
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2009 07:46 PM
тАО07-29-2009 07:46 PM
Re: installing a patch, avoiding reboot
Yes it requires a reboot as it returns message when i try to install. Can you please guide me how to bundle all these patches in one file so that i need only one reboot?
Thanks
Salman
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2009 07:48 PM
тАО07-29-2009 07:48 PM
Re: installing a patch, avoiding reboot
You can install all patches at a time by copy all patehs in a single depot and select all patehs at a time with swinstall.
Regards,
LIJEESH N G
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2009 07:52 PM
тАО07-29-2009 07:52 PM
Re: installing a patch, avoiding reboot
If two or more patches dependent on each other it is better to create a bundle using swcopy. Installing them individually may cause system boot failure.
Have a look on the following threads that describes exactly what you are looking for:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1248925256392+28353475&threadId=607560
http://forums11.itrc.hp.com/service/forums/parseCurl.do?admit=109447626+1248925364726+28353475&CURL=%2Fcm%2FQuestionAnswer%2F1%2C%2C0xaf457b8d1de3d5118ff40090279cd0f9%2C00.html
Hope this helps,
R.K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2009 08:46 PM
тАО07-29-2009 08:46 PM
Re: installing a patch, avoiding reboot
From patch depot select all the desire patches which you want to install then download the tar or gzip file untar or uzip it then read the README file and install as per the instruction it will install all patches in a single reboot.
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2009 08:57 PM
тАО07-29-2009 08:57 PM
Re: installing a patch, avoiding reboot
Follow these steps to create single depot for multiple patches.
1. Download the patches in binary mode to your PC.
2. Transfer all the patches to the directory "/tmp/patches" of your server in binary mode.
3.Extract the patch depots as below
# cd /tmp/patches
# for i in *
do
sh $i
done
4. The above procedure will give you patch_name.depot file and patch_name.txt file for each patch. Please remove all the files except the .depot files.
5. Create a depot bundle as below
# cd /tmp/patches
# for i in *.depot
do
swcopy -s /tmp/patches/$i \* @ /tmp/patches/depot
done
6. The above will create a patch source in the following path "/tmp/patches/depot"
7. Run swinstall command to install patches. Select local directory and select the source path as "/tmp/patches/depot" when prompted to do so.
#swinstall -v -s /tmp/patches/depot \*
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2009 12:05 PM
тАО07-31-2009 12:05 PM
SolutionThe procedure is simple.
When you download patches from ITRC you will get one script called "Create_depot_hpux.11". extract all the files.
Just run this script, it will create current directory as a depot. Install from the same path it will reboot atlast .
attached the script here with.
* Please dont forget to read all "Special installation instructions and Other dependencey text" if any. Installing some patches with out enough prerequesite may damage your system.
Regards
Sooraj
Regards,
Sooraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2009 12:47 PM
тАО07-31-2009 12:47 PM
Re: installing a patch, avoiding reboot
Proper patches have dependencies so you can't install them without them.
>Sooraj: Installing some patches without enough prerequisite may damage your system.
swinstall by default shouldn't let you do this.
But also check the Special installation instructions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2009 12:59 PM
тАО07-31-2009 12:59 PM
Re: installing a patch, avoiding reboot
While you still have to deal with a single reboot, DRD can even help you manage that. It allows you to install the patches to a clone of the current root volume. This is only for 11.23 (11iv2) and later releases. See http://docs.hp.com/en/DRD/index.html for more info.