Re: Kerne tuning on 11.23

Hi,

With out SAM kctune is the command or you have to tune your kernel by editing the system file and reboot the server.

login with superuser 1.go to /stand/build 2.give /usr/lbin/sysadm/system_prep -v -s system #this will create a new system file under /stand/build -v porvides explanation as the script executes. kernel3.in 10.x edit the /stand/build/system file as per requirments in 11.x to display the existing kernel parameters /usr/sbin/kmtune -l -S /stand/build/system to update /usr/sbin/kmtune -s ${parameter name}=${param value} -S /stand/build/system 4.to build the kernel mk_kernel -s system #this will create /stand/build/vmunix_test the new kernel is ready 5.now for safe take a backup of old /stand/build/system and vmunix with the name of system.prev and vmunix.prev6.now move new kernel vmunix_test and system file into /stand directory for 11.x give this command /usr/sbin/kmupdate7.shutdown the server and reboot with new kernel.

Re: Kerne tuning on 11.23

No, do *not* try to copy the kernel explicitly. All that stuff applies to 11.11, but is obsolete in v2 -- you have to manage the configuration as a whole, not just the vmunix binary.

If you're making a lot of changes in one batch, do:

kconfig -e system_for_10G

Edit system_for_10G, updating any lines which already exist for tunables with the values you wish, adding any which do not exist. (Do not modify module or driver lines, just tunables).

kconfig -i oracle10_tuned system_for_10G

This creates the oracle10_tuned kernel configuration from the system_for_10G system file you provided... since you have static tunables, I don't see any real reason to not hold all changes until you reboot as a set here.

To be nice and paranoid:

kconfig -s pre_oracle10

[Save the existing kernel configuration explicitly just in case of issues and the default backup getting overwritten by a later change].

And then:

kconfig -n oracle10_tuned

and shutdown/reboot.

If you hit any issues (like a bad tunable setting that shows up by causing the system not to boot) you can then use "hpux pre_oracle10/vmunix" to get back to your current configuration and resolve the problem.