System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

manaually configuring kernel parameters

unixuser
Advisor

manaually configuring kernel parameters


Hi all,

i am new to HP unix.i need to know how to configure Kernel parameters manually not from the SAM, jus like we have a file in solaris called /etc/system.thanks in advance.
8 REPLIES
Torsten.
Acclaimed Contributor

Re: manaually configuring kernel parameters

What is your OS version (11.11; 11.23; 11.31) - it is slightly different.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
unixuser
Advisor

Re: manaually configuring kernel parameters



thank you for quick reply.OS is 11.31 and i need to know about 11.23.thanks again.
Taifur
Respected Contributor

Re: manaually configuring kernel parameters

HI,

Check below link as follows,

http://docs.hp.com/en/B2355-60103/kctune.1M.html

Rgds//
Taifur
SoorajCleris
Honored Contributor

Re: manaually configuring kernel parameters

Hi,

If you like to modify only a few tunables or modules use kctune or kcmodule respectively:

# kctune nproc=1000
# kcmodule krm=loaded

If tunables/modules are dynamic youâ re done, else you need to reboot.

In order to perform many changes at once, e.g. apply tunable settings from another system do
the following:

1) Export the current kernel configuration to a file:
# kconfig -e system_config
* The current configuration (including any changes being held for
next boot) has been exported to /root/system_config.
NOTE: The obsolete system_prep script has been rewritten to incoke kconfig -e

2) Now change the tunable values by editing this file:
# vi system_config
*
* Created on Thu Jul 31 11:08:37 2003
*
version 1
configuration nextboot "" [3f27e819]
*
* Module entries
*
module drmfglrx auto 0.1.0
module drmfgl auto 0.1.0
module gvid_him_rad auto 0.1.0
...
...
module lba best [3F0E6070]
module sba best [3F0E6070]
module root best [3F0E6070]
*
* Swap entries
*
*
* Dump entries
*
*
* Driver binding entries
*
*
* Tunables entries
*
tunable secure_sid_scripts 0x0
tunable nstrpty 60
tunable dbc_max_pct 20
tunable vx_ninode 30000
NOTE: Do not try to change modules. Tunables only.

3) Now import the modified configuration:
If you modified only dynamic tunables, then changes will be applied immediately:
# kconfig -i system
WARNING: The automatic 'backup' configuration currently contains the
configuration that was in use before the last reboot of this
system.
==> Do you wish to update it to contain the current configuration
before making the requested change? y
* The automatic 'backup' configuration has been updated.
* system has been imported. The changes have been applied to the
currently running system.
If you modified at least one static tunable it takes a reboot to apply the changes:
# kconfig -i system_config
* The automatic 'backup' configuration has been updated.
NOTE: The configuration being loaded contains changes that cannot be
applied immediately:
-- The tunable vx_ninode cannot be changed in a dynamic fashion.
NOTE: The changes will be held for next boot.

* system_config has been imported. The changes will take effect
at next boot.

Regards,
Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
Sivakumar MJ._1
Respected Contributor

Re: manaually configuring kernel parameters

Hi Unixuser,

Pls. gothru the pdf attached..
For HP Online Case Logging-->http://support.openview.hp.com/
unixuser
Advisor

Re: manaually configuring kernel parameters


Hi,

i need the kernel parameters which are used while installing Oracle database on HP-unix server .the K parameters like shmmax,shmmni,smhseg.can we set using tctune command .below is example

#kctune shmmax=1073741824
#kctune shmmni=512
#kctune shmseg=120

is it right or wrong .please reply me.thank you.
Ganesan R
Honored Contributor

Re: manaually configuring kernel parameters

unixuser
Advisor

Re: manaually configuring kernel parameters


Hi,

yed question has been solved.thanks for that