Operating System - HP-UX
1833758 Members
2684 Online
110063 Solutions
New Discussion

Creating my own kernel template file on HP-UX 11

 
SOLVED
Go to solution
Mats Sjöblom
Occasional Contributor

Creating my own kernel template file on HP-UX 11

Hi!

I wanna apply the same kernel parameters on serveral servers.
Is it possible to create my own "kernel parameter template file" on the "template" server, then copy this file to another server, and then use the option "Load a Template File ..." in sam (menu "Kernel Configuration")? How?

Regards // Mats Sj?blom
4 REPLIES 4
Victor BERRIDGE
Honored Contributor
Solution

Re: Creating my own kernel template file on HP-UX 11

Hi,
I woulnd use sam for this:

I would generate the template:
cd /stand/build
/usr/lbin/sysadm/system_prep -s system
vi system # modify the params
and use rdist to copy system in :/stand/build

then all each system I would generate a new kernel using a script which would contain:
cd /stand/build
/usr/sbin/mk_kernel -s system
...


All the best

Victor
unixdaddy
Trusted Contributor

Re: Creating my own kernel template file on HP-UX 11

I would agree with Victor. I would also add that you'll need to be careful, as the values set for parameters are dependant on hardware/application/usage etc.. So unless it is a standard system you may still have to make changes.
CHRIS_ANORUO
Honored Contributor

Re: Creating my own kernel template file on HP-UX 11

Mats,

There is no need in posting in diferrent category areas.
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.
James R. Ferguson
Acclaimed Contributor

Re: Creating my own kernel template file on HP-UX 11

Hi:

Please see also respones in your duplicate post:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0xc4ad53921f1ad5118fef0090279cd0f9,00.html

...JRF...