- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to set the kernel parameters in hpux
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
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
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-08-2009 03:45 AM
тАО06-08-2009 03:45 AM
I am using hpux 11.00 and 11.11.
I knew "how to set the kernel parameters in linux".
The file "/etc/sysctl.conf" is used to set the kernel parameters in linux.
Like this how to set the kerner parameters in hpux 11.00 and 11.11.
1) what is the file is used to set the kernel parameters?
2) how to view all current kernel parameter settings?
3) How to set the new kernel parameter with out restarting the server?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2009 03:55 AM
тАО06-08-2009 03:55 AM
Re: how to set the kernel parameters in hpux
Cheers
George
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2009 03:55 AM
тАО06-08-2009 03:55 AM
Re: how to set the kernel parameters in hpux
please refer below good doc,
http://docs.hp.com/en/939/KCParms/KCparams.OverviewAll.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2009 03:56 AM
тАО06-08-2009 03:56 AM
Re: how to set the kernel parameters in hpux
You can change kernel parameter through SAM.
from command line also you can change the parameter.
"Overview of Kernel Configuration Parameters"
See the below link your all answers are there.
http://docs.hp.com/en/B8725-90143/ch13s03.html
or Download the pdf file
http://docs.hp.com/en/B8725-90143/B8725-90143.pdf
See the attache file how to change kernel parameter through command line.
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2009 04:01 AM
тАО06-08-2009 04:01 AM
Re: how to set the kernel parameters in hpux
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2009 04:07 AM
тАО06-08-2009 04:07 AM
Re: how to set the kernel parameters in hpux
Best way to use SAM
go to sam > Kernel Configuration > Configurable Parameters.
Or use kmtune.
Regards
Sunny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2009 04:08 AM
тАО06-08-2009 04:08 AM
Re: how to set the kernel parameters in hpux
Please check the following link, it is an excellent one
http://docs.hp.com/en/1219/tuningwp.html
thanks and regards
Sajjad Sahir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2009 04:16 AM
тАО06-08-2009 04:16 AM
Re: how to set the kernel parameters in hpux
>>1) what is the file is used to set the kernel parameters?
/stand/system is used to create /set kernal tunables.(changing the system file entries doesnt mean that you have set the kernal tunables on the kernel)
>>2) how to view all current kernel parameter settings?
#kmtune (till 11iv2)
#kctune (v2
and v3)
>>>3) How to set the new kernel parameter with out restarting the server?
Reboot is required for tunables that are static
You can use SAM or change it as belo
(if you are tuning the dynamic parameters using kmtune -s
1)Modify the system file either by vi or by command
# kmtune ├в s dbc_max_pct=35
2)Generate the kernel
after you modified the system file as needed you can generate the new kernel using the
mk_kernel script. The name of the new kernel will be /stand/build/vmunix_test
unless explicitely specified through the -o option. The -s option specifies the system
file to use, /stand/system is the default:
# mk_kernel
3)Schedule kernel update
kmupdate is used to initiate the move of the new kernel (/stand/build/vmunix_test)
and the corresponding files to their appropriate places at the next shutdown or startup.
The current kernel will be copied to /stand/vmunix.prev
# kmupdate
4)the new kernel will be activated by restarting the system:
# cd /
# shutdown ├в r 0
Rgds
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2009 05:37 AM
тАО06-10-2009 05:37 AM
Re: how to set the kernel parameters in hpux
Before changing Kernel Parameter be sure there is two type of Kernel Parameter
1) static, where reebot require, to make effective.
2) Dynamic where no need to reebot.
well, sam is the best way to change the kernel parameter, there is some dependencys with other kernel parameters, and it will simply display the formula.
sam > Kernel Configuration > Configurable Parameters
Regards,
Rahul Rai.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2009 07:02 AM
тАО06-10-2009 07:02 AM
Re: how to set the kernel parameters in hpux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2009 03:39 PM
тАО06-10-2009 03:39 PM
Re: how to set the kernel parameters in hpux
If you dont wanna take risk use SAM easy and best way.
kmtune can be used from command line. read man pages for different switches.
-UVK
Like it or worked !! Click kudos !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2009 08:34 PM
тАО06-10-2009 08:34 PM
Re: how to set the kernel parameters in hpux
Check the below link:
http://publib.boulder.ibm.com/infocenter/db2luw/v9/index.jsp?topic=/com.ibm.db2.udb.uprun.doc/doc/t0008238.htm
http://www.linux.org/docs/ldp/howto/Oracle-9i-Fedora-3-Install-HOWTO/sect_05.html
http://www.cyberciti.biz/howto/question/static/linux-kernel-parameters.php
Rgds-Kranti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2009 12:07 AM
тАО06-11-2009 12:07 AM
SolutionAs your OS version is 11.00 and 11.11
I can give you an example how to modify kernel in HP-UX without using SAM(SAM is recommanded):
Say you want to modify "maxvgs" parameter
1.
#kmtune -q maxvgs
OR
#kmtune|grep -i maxvgs
2.
#/usr/lbin/sysadm/system_prep -s system
#cd /stand/build
#ll system
................system----->Newly created
3.
#vi system
maxvgs 15----->Add this line at the
:wq!
4.
#mk_kernel -s ./system
5.
#mv /stand/system /stand/system.old
6.
#cp /stand/build/system /stand/
7.
#kmupdate /stand/build/vmunix_test
8.
#shutdown -ry 0
Note:
If new kernel was not able to boot follows the below procedure:
Step 1: Booting from the Backup Kernel:
To boot the backup kernel, /stand/vmunix.prev, boot the system manually as described below:
[POWER] #Power-on the system.
[ESC] #Hit the escape key to interrupt the boot process.
Main Menu> boot pri #Boot from the primary boot disk.
Interact with the IPL? Y #Do interact with the IPL/ISL.
ISL> hpux ll /stand #Shows the content of the boot filesystem /stand
ISL> hpux -is /stand/vmunix.prev #Boot from the original kernel and goto single user
Step 2: Moving the Original Kernel Back into Place
After booting the system, you may wish to make the original kernel the default so future reboots can proceed without any intervention from the administrator:
#mount /usr
# cd /stand #Move to the /stand directory.
# mv system.prev system #Move the original system file back into place.
# kmupdate /stand/vmunix.prev #Move the original kernel back into place.
# shutdown ├в ry 0 #Reboot the system with the original kernel.
**Note 1: If ├в cd ├в or ├в mv├в or ├в kmupdate├в command not work after booting the system into single user mode mount /usr directory.
#mount /usr
**Note2: To Shows the content of the boot filesystem /stand give the following command.This is useful if the kernel cannot be found.
ISL> hpux ll /stand
Thanks
Minhaz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2009 03:22 AM
тАО06-11-2009 03:22 AM
Re: how to set the kernel parameters in hpux
May be attached document will help you out about kernel's query..
Regards,
Aaryan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-29-2009 06:24 AM
тАО06-29-2009 06:24 AM
Re: how to set the kernel parameters in hpux
I am using HPUX 11.00 and 11.11.
How to find static and dynamic kernel parameters?
Can dynamic parameters only be set using "kmtune" and doesn't require restart?
Can static parameters only be set by system file and needs restart?
Pls explain me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-29-2009 06:50 AM
тАО06-29-2009 06:50 AM
Re: how to set the kernel parameters in hpux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-29-2009 06:53 AM
тАО06-29-2009 06:53 AM
Re: how to set the kernel parameters in hpux
HTH
Duncan
I'm sure I've mentioned this to you before, but you do know 11.00 is out of support don't you??
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-29-2009 07:23 AM
тАО06-29-2009 07:23 AM
Re: how to set the kernel parameters in hpux
kmtune, not kctune will show all current parameter settings in the Os you list.
kmtune -l
Check the man page for additional options to display which are dynamic.
11.00 has very few dynamic parameters, 11.11 a few more.
kmtune can set any dynamic parameters on the fly.
sam kernel configuration has some limited documentation on kernel parameters.
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
тАО06-29-2009 10:06 AM
тАО06-29-2009 10:06 AM
Re: how to set the kernel parameters in hpux
Dynamic kernal parameter not requierd reboot.But static kernel parameter requierd reboot.
Regards
Sunny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-30-2009 04:08 AM
тАО06-30-2009 04:08 AM
Re: how to set the kernel parameters in hpux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-30-2009 04:11 AM
тАО06-30-2009 04:11 AM
Re: how to set the kernel parameters in hpux
> can we set value for static kernel tunable using kmtune?
Yes.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-30-2009 04:13 AM
тАО06-30-2009 04:13 AM
Re: how to set the kernel parameters in hpux
>>can we set value for static kernel tunable using kmtune?
Yes you can.
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-30-2009 04:29 AM
тАО06-30-2009 04:29 AM
Re: how to set the kernel parameters in hpux
Yes. you can. But the notable point is, by the name implies it needs kernel rebuilt to impact the changes.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-30-2009 11:29 AM
тАО06-30-2009 11:29 AM
Re: how to set the kernel parameters in hpux
I have understood something as follows.
1) We can modify the dynamic tunable by kmtune and doesn't require reboot.
2) We can modify the static and dynamic thru recompiling the kernel and make new entries in stand file. it requires reboot.
3) We can modify the static thru kmtune but needs to recompile the kernel and reboot the server.?
I know 1 and 2. But i dont know 3. how to implement 3.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-30-2009 11:37 AM
тАО06-30-2009 11:37 AM
Re: how to set the kernel parameters in hpux
> But i dont know 3. how to implement 3.
Use SAM or see here:
http://docs.hp.com/en/B2355-90950/ch03s10.html
Regards!
...JRF...