Operating System - HP-UX
1753878 Members
7284 Online
108809 Solutions
New Discussion юеВ

Re: how to set the kernel parameters in hpux

 
SOLVED
Go to solution
James R. Ferguson
Acclaimed Contributor

Re: how to set the kernel parameters in hpux

Hi:

> can we set value for static kernel tunable using kmtune?

Yes.

Regards!

...JRF...
Suraj K Sankari
Honored Contributor

Re: how to set the kernel parameters in hpux

Hi,

>>can we set value for static kernel tunable using kmtune?

Yes you can.

Suraj
Ganesan R
Honored Contributor

Re: how to set the kernel parameters in hpux

Hi Senthil,

Yes. you can. But the notable point is, by the name implies it needs kernel rebuilt to impact the changes.
Best wishes,

Ganesh.
senthil_kumar_1
Super Advisor

Re: how to set the kernel parameters in hpux

Hi All,

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.
James R. Ferguson
Acclaimed Contributor

Re: how to set the kernel parameters in hpux

Hi:

> 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...
Sunny123_1
Esteemed Contributor

Re: how to set the kernel parameters in hpux

Hi Senthil


> But i dont know 3. how to implement 3.
I prefer to use SAM to do it.


Regards
Sunny
Steven E. Protter
Exalted Contributor

Re: how to set the kernel parameters in hpux

Shalom,

1) We can modify the dynamic tunable by kmtune and doesn't require reboot.

kmtune does this. Note if you have rules and dependency formulas you may run into issues.

2) We can modify the static and dynamic thru recompiling the kernel and make new entries in stand file. it requires reboot.

This can be done with sam or on the command line. Almost any changes to 11.00 systems will require a reboot.

3) We can modify the static thru kmtune but needs to recompile the kernel and reboot the server.?

First timers should use sam.

sam Kernel Modify configurable parameters.

sam will guide you through the change process.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Johnson Punniyalingam
Honored Contributor

Re: how to set the kernel parameters in hpux

>>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.>>>

Hi Senthil,

Hence Its "static" Kernal parameter, You can use either command line or SAM

Command line would require couple of steps.
But SAM , much eashier for your first time.

before perfroming the kernal always perform

Step1 :- make_tape_recovery (Ignite backup of the Server)
Step2 :- SAM -->Kernal Configuration->select-> paremeter-->modify.


Thanks,
Johnson



Problems are common to all, but attitude makes the difference
senthil_kumar_1
Super Advisor

Re: how to set the kernel parameters in hpux

Hi All,

I tried to set the new value to kernel tunables thru SAM.

1)I used following method.

SAM --> kernel configuration --> Configurable parameters --> Then we have to select any parameters (Ex: maxvgs) by clicking sapce bar --> Action --> Modify configurable parameters--> Now we have to enter the new value in "Formula / Value ---------"---> then Action --> Apply tuned parameter set (For applying new changes) ---> process new kernel (It will backup old kernel like "vmunix.prev" & "system.prev" and build the new kernel like "vmunix" & "system".

Am i correct?

Pls correct me if i am wrong in any steps.
Suraj K Sankari
Honored Contributor

Re: how to set the kernel parameters in hpux

Hi Senthil,

You are very much correct.

Suraj