1836987 Members
2200 Online
110111 Solutions
New Discussion

kernel tweaks

 
SOLVED
Go to solution
bixley
Advisor

kernel tweaks

Re: HPUX 11.0 and 11i

Often with updates to oracle or other apps I need to make kernel changes to accomodate the app. We have servers already setup for say oracle 9i which we use for a template.
Presently we run SAM on the template server and the new/changing server and alter parameters one by one. Time consuming.

Under HUPX 8.02 and 9.04 I used to compile the kernels from the system file.

What is the way to to this today? I'd like to ftp a /stand/system file from another server, run diff, transpose a few lines then gen the new kernel & reboot.
1 REPLY 1
Con O'Kelly
Honored Contributor
Solution

Re: kernel tweaks

Hi

Steps to regen Kernel as follows:
# cd /stand/build
# /usr/lbin/sysadm/system_prep -s system
# kmtune -s = -S /stand/build/system
# mk_kernel -s /stand/build/system
# mv /stand/system /stand/system.prev
# mv /stand/build/system /stand
# kmupdate
# shutdown -ry now
(Assuming kernel change requires a re-boot).

As you can see from above, you still use the system file to regen the kernel.
Howver copying system file from another system is risky if you have different drivers etc.

Don't know if it helps but you could just put the above commands into a script & put in multiple "kmtune -s" lines to update all the kern values that are required.
This script could then be copied & run on any system that requires say the Oracle9i kernel changes?

Cheers
Con