- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: kernel configuration in command line
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-24-2004 07:08 PM
02-24-2004 07:08 PM
I am working on HP-UX 11.23 O/S Installed on
rx5670 Server.
I want to chane follows kernel parameters.
msgseg 8192 -> 16384
msgtql 1024 -> 2048
msgmap 1026 -> 2050
Please let me know command level.
Thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2004 07:14 PM
02-24-2004 07:14 PM
Re: kernel configuration in command line
You can use sam or take a look at this doc,
http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000072193594
Document description: Manual relink the kernel on 11.20 / 11.22.
Document id: KBRC00014038
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2004 07:15 PM
02-24-2004 07:15 PM
Re: kernel configuration in command line
# cd /stand/build
# /usr/lbin/sysadm/system_prep -s system
# vi system
(make your changes and save the file)
# mk_kernel -s system (compiles your kernel)
# kmupdate
Then you can reboot your system
# shutdown -r -y 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2004 07:17 PM
02-24-2004 07:17 PM
Re: kernel configuration in command line
Mark Syder (like the drink but spelt different)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2004 07:29 PM
02-24-2004 07:29 PM
Re: kernel configuration in command line
Create the kernel parameter system file from the running system.
# /usr/lbin/sysadm/system_prep -s system
Edit the configuration file to make necessary changes i.e. vi system and make changes
Build the New kernel
#/usr/sbin/mk_kernel -s system
Backup the old kernel
# cp /stand/system /stand/system.old
# cp /stand/vmunix /stand/vmunix.old
Install the new kernel
# cp /stand/build/system /stand
# cp /stand/build/vmunix_test /stand/vmunix
Shutdown the system
# shutdown -r 0
Best Wishes
Naveej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2004 07:31 PM
02-24-2004 07:31 PM
Re: kernel configuration in command line
there are two way(I know) kernel configuration,
web interface or command line using kctune command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2004 07:37 PM
02-24-2004 07:37 PM
Re: kernel configuration in command line
SAM --> Kernel Configuration --> Configurable Parameters
1. Each line in the "Configurable Parameters" object list has several fields: Name, Current Value, Pending Value, Type = Dynamic / Static (requires a kernel recompile and reboot), Associated Module (DKLM) and Description.
2. Actions --> Modify Configurable Parameters. Most parameters are defined as explicit values but some as refined by formulas based on other kernel parameters values.
3. If the parameter is dynamically tunable, the "Current State" value should change immediately. Other changes will take effect after the next kernel recompile and reboot.
4. SAM help menus include a tutorial that explains the purpose of many of the configurable kernel parameters.
5. Tuned Parameters Sets: Actions --> Apply Tuned Parameter Set.
6. Compiling the New Kernel: Action --> Process New Kernel.
7. SAM will make a backup of copy of your existing kernel and immediately move your new kernel into place for you by choosing "Move Kernel into Place and Shutdown/Reboot System Now" option.
sks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2004 07:44 PM
02-24-2004 07:44 PM
Re: kernel configuration in command line
It doesn't work in SAM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2004 07:49 PM
02-24-2004 07:49 PM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2004 01:43 AM
02-25-2004 01:43 AM
Re: kernel configuration in command line
You are right. You will have to use the kctune command to modify the kernel parameters. Refer to kctune manpage for more information.
You can also do the same using the kcweb tool. As the tunables you have mentioned are static tunables, you may have to reboot the system for applying your new changes to the kernel.
Hope this helps. Let me know if you need more information.
Regards,
Hemanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2004 02:49 PM
02-25-2004 02:49 PM
Re: kernel configuration in command line
# kctune -h msgseg=16384
# kctune -h msgtql=2048
# kctune -h msgmap=2050
# shutdown -r -y 0
Is it right ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2004 08:02 PM
02-25-2004 08:02 PM
Re: kernel configuration in command line
# kctune -h msgseg=16384
# kctune -h msgtql=2048
# kctune -h msgmap=2050
# shutdown -r -y 0
Is it right?
Yes Sir, you are absolutely right.
If you want to inform other users that you are going to reboot the machine, use the wall command before the shutdown command. Refer wall manpage for more information.
You may also want to consider increasing the grace time from 0 to 10 if you want to notify users.
Regards,
Hemanth