1847730 Members
3814 Online
104013 Solutions
New Discussion

Kernel Reconfiguration

 
Nagamani
Occasional Contributor

Kernel Reconfiguration

Hi

How to increase the maxdsize and maxsize parameters and reconfigure the kernel. Doing this in SAM gives errors


Nagamani
Smile....It increases your face value
2 REPLIES 2
Paula J Frazer-Campbell
Honored Contributor

Re: Kernel Reconfiguration

Hi

What errors are you getting in SAM?

Paula
If you can spell SysAdmin then you is one - anon
Carsten Krege
Honored Contributor

Re: Kernel Reconfiguration

For HPUX 11.x:

Save the old kernel
# cp /stand/system /stand/system.prev
# cp /stand/vmunix /stand/vmunix.prev
# cp ?R /stand/dlkm /stand/dlkm.vmunix.prev

2.) Retrieve actual system file from kernel
# /usr/lbin/sysadm/system_prep ?s /stand/system

3.) Use kmtune to change the kernel parameter in the system file, e.g
# kmtune -q madsiz
# kmtune ?s maxdsiz=0x10000000
(this changes /stand/system and sets maxdsiz to 256MB)


4.) Build a new kernel /stand/build/vmunix_test
# mk_kernel

5.) if mk_kernel was successful, make sure the new kernel is loaded after reboot
# kmupdate

6.) Shutdown the system
# shutdown ?r 0

Carsten
-------------------------------------------------------------------------------------------------
In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move. -- HhGttG