- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: One boot? kernel tune and patch/boot
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
01-24-2006 09:52 AM
01-24-2006 09:52 AM
If I build a new kernel with kmtune and make it /stand/vmunix but do not boot on it will swinstall use my new values when it rebuilds the kernel as part of a patch update?
Or does swinstall take values from the running kernel?
Thanks,
Gary Powell
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2006 10:15 AM
01-24-2006 10:15 AM
SolutionYou can set your kernel values with sam and choose not to boot the system.
You can change your values with the kmtune command and then do all the preparation steps but not boot.
Your patch install will handle that.
See this procedure:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=234110
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=105739
Summary: If the system file has been moved and the vmunix file is in place but the system not booted, an swinstall, even one installing patches that updates/patches the
kernel or values will correctly install and make necessary changes.
This DOES increase slightly the risk of ending up with an unbootable server. But it does minimize downtime when it works, which is most of the time.
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
01-24-2006 10:16 AM
01-24-2006 10:16 AM
Re: One boot? kernel tune and patch/boot
"Caution: Ensure that the booted kernel is /stand/vmunix before installing any kernel software. The swinstall process assumes that the system has been booted using the kernel at /stand/vmunix. Installing kernel software or performing an operating system update with another kernel might result in loss of data or other errors."
So, you may be able to - as it seems to look at /stand/vmunix.
Make sure you have a good ignite image - just to be safe :)
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2006 11:02 AM
01-24-2006 11:02 AM
Re: One boot? kernel tune and patch/boot
I think swinstall doesn't interact with with kernel parameter values directly either from running kernel or /stand/vmunix file. If you are installing a kernel patch which obviously requires rebuild of new kernel, then it simply pass on control to the kernel build up system procedures/commands for new kernel generation.
As I understand,
When you make kernel parameter value change using kmtune or SAM command, they are written to /stand/system file.
Then "mk_kernel" uses this file ( by default ) copies it to "/stand/build/". This directory is a kernel build up working directory.
When you do "kmupdate" the new generated kernel is marked to move to its destination /stand/vmunix upon next startup.
So even after you don't reboot the system with recently generated kernel with new values, those kernel parameters & values would remain in /stand/system thus getting automatically included in the next kernel build.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2006 05:52 AM
01-25-2006 05:52 AM
Re: One boot? kernel tune and patch/boot
Installed patches w/kernel rebuild and reboot. Tuned parameters not in place. Used SAM to change them again and 2nd reboot.
Not sure where swinstall gets it's kernel data.
Thanks anyway.
Gary