- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Kernel parameter import to another system. ?
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
06-29-2007 01:26 PM
06-29-2007 01:26 PM
What is the best process to copy the kernel parameters to another system,
OS= hp-ux 11.23 ,
Suppose I have customized most of the important kernel parameters on system-A and want to copy to system-B , what would be the procedure,
Thanks in advance,
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2007 01:56 PM
06-29-2007 01:56 PM
Re: Kernel parameter import to another system. ?
Youu can't directly copy one kernel configuration directory from one server to another, but you can export a system file from one server; move it to anotherserver; and import it.
See the "Reconfiguring the Kernel (HP-UX 11i Version 2)" in the Systems and Workgroups Guide:
http://www.docs.hp.com/en/B2355-90950/ch03s11.html
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2007 03:32 PM
06-29-2007 03:32 PM
Re: Kernel parameter import to another system. ?
Using SAM or kctune?
If the latter, you should have recorded your commands in a file.
You could of course extract the tunables from /stand/system and convert them into kctune commands.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2007 05:01 PM
06-29-2007 05:01 PM
Re: Kernel parameter import to another system. ?
Well it was customized using the 'kctune -h -B kparm=value' command, and lot of kernel parameters are there, 50+ ,
(Example, msfssz, nclist, st_san_sage,shmseg, semmnu, shmmax, maxdsiz,ksi_alloc_max,create_fast_links,nproc.., etc)
So I heard that kconfig has some features to export/import it without reusing the commands one by one, So that I can setup the other server with same kernel parameter values,
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2007 05:20 PM
06-29-2007 05:20 PM
Re: Kernel parameter import to another system. ?
You are correct sir!
It is right on the man page:
-e [config] filename
kconfig will export the saved kernel configuration
named config to a system file named filename, ...
The exported file can be
later imported using kconfig -i on this system or any
other system with compatible HP-UX software.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2007 05:26 PM
06-29-2007 05:26 PM
SolutionModule entries
Swap entries
Dump entries
Driver binding entries
Tunables entries
So unless your two systems are exactly the same, this may fail.
I suppose you could export your config on the new system, then glue the tunables changes from your original system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2007 03:02 AM
06-30-2007 03:02 AM
Re: Kernel parameter import to another system. ?
in Hp-ux 11.11 there is an option to load a Kernel template if you are tuning your kernel through SAM -> Kernel Configuration.
you can provide either a kernel file(vmunix)or the system configuration file from another system as a templete for loading.
Dont know wether it works on 11.23 ver, as i haven't worked on it yet.
Regards,
Sreejith.M
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2007 09:13 AM
06-30-2007 09:13 AM
Re: Kernel parameter import to another system. ?
"The only issue with the exported config file is that it has more than just the tunables:"
Makes more sense now.
I hope the command kctune might be useful in this case to change just the tunables. And can be used with a script with the values.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2007 10:37 AM
06-30-2007 10:37 AM
Re: Kernel parameter import to another system. ?
A simple while read script can be used to extract the tunables from the file. Either to create another script or to execute kctune directly.