1828577 Members
2429 Online
109982 Solutions
New Discussion

kernel parameters

 
SOLVED
Go to solution
Rob CUYNEN
Occasional Advisor

kernel parameters

We have several servers that need to be configured identically.
Is it possible to save the kernel parameters on one system in eg. a file and transfer these paramaters to the other systems.
6 REPLIES 6
Dan Hetzel
Honored Contributor

Re: kernel parameters

Hi Rob,

The file /stand/system contains all the "non-default" kernel drivers and settings.

You could copy this across systems and then run mk_kernel like in:

mk_kernel -s /stand/system -o /tmp/new_kernel

>> "Uses the file /stand/system to build a new kernel which will be placed in /tmp/new_kernel upon success."


Best regards,

Dan

Everybody knows at least one thing worth sharing -- mailto:dan.hetzel@wildcroft.com
Sandor Horvath_2
Valued Contributor

Re: kernel parameters

Hi !

backup /stand/system and use it for kernel generation all system.
OR use same vmunix but only if You have same hardware.

regards, Saa
If no problem, don't fixed it.
Pal Szabo_1
Valued Contributor

Re: kernel parameters

If you have a large number of servers, you should use Ignite-UX.It help not
only the kernel configuration, but the partitioning of disks and network configuration ... etc.


There are post-install script in:
/var/opt/ignite/scripts/

More info: http://docs.hp.com/hpux/onlinedocs/B2355-90704/B2355-90704.html
Darrel Louis
Honored Contributor

Re: kernel parameters

Rob,

You can never be sure if systems are identical.
When you install kernel patches it will load drivers in your kernel.
When you use a kernel from system x, which doesn't have the kernel driver loaded, you'll get the famous unsattisfied symbols problem.

So as Pal already mentioned the best way to make systems identical is to make a Ignite Image and use this for all the other servers.

Have Fun

Darrel
Victor BERRIDGE
Honored Contributor

Re: kernel parameters

Hi,
Yes you can ( /stand/system), as already mentionned be sure the hardware are the same, otherwise just append to a file the Tunable parameters part and use it to replace the values in /stand/system.

And as your master host may change params you would have do start all again, so I think its a good candidate for rdist...
Do a man rdist if you dont know how to use this command...

Good luck

Victor
Darren Miller
Advisor
Solution

Re: kernel parameters

This can also be accomplished via SAM. Copy the /stand/system file over from the system that you wish to use as a template, go to SAM -> kernel configuration -> configurable parameters, and select Actions -> Templates -> Load Templates, and enter the pathname for the desired system file. To view the differences between the values in the currently running kernel, go to "View -> Columns", and add the template field to your display. In order to build a new kernel using the template values, choose "Actions -> Templates -> Apply". Hope that helps.

Darren