Operating System - HP-UX
1753797 Members
7483 Online
108805 Solutions
New Discussion юеВ

Re: Configure kernel without SAM

 
SOLVED
Go to solution
Dewa Negara_4
Regular Advisor

Configure kernel without SAM

Hi All,

How to configure nfile kernel paremeter withour using SAM? What is the detailed steps?

Please help.

Thanks and Best Regards,
Negara
Santos
5 REPLIES 5
Sunny Jaisinghani
Trusted Contributor
Solution

Re: Configure kernel without SAM

Hi,

You can use

kctune

http://docs.hp.com/en/B2355-
60105/kctune.1M.html

kmtune

http://docs.hp.com/en/B2355-60105/kmtune.1M.html

to configure your kernel parameters.
you can view your current kernel configuration by "sysdef"

sunny
Sunny Jaisinghani
Trusted Contributor

Re: Configure kernel without SAM

Hello,

These are the steps which will help you rebuild the kernel after changing any static kernel parameter. you change the parameter in step 5.

The kernel rebuilding process is accomplished using the following steps.
1. Change the directory to /stand/build.
2. cd /stand/build
3. Create the kernel parameter system file from the running system.
4. /usr/lbin/sysadm/system_prep -s system
91 of 244
5. Edit the system file to make necessary changes.
6. vi system
7. Build the new kernel using the mk_kernel command.
8. /usr/sbin/mk_kernel -s ./system
9. Back up the old kernel and system files.
10. mv /stand/system /stand/system.old
11. mv /stand/vmunix /stand/vmunix.old
12. Install the new kernel.
13. cp /stand/build/system /stand
14. cp /stand/build/vmunix_test /stand/vmunix
15. Reboot the system.
16. shutdown -r 0
17. Verify the changed parameters and additional devices using the following
commands.
18. sysdef
19. ioscan
You will see the presence of additional configured devices and any changes in
the system parameters.
Adisuria Wangsadinata_1
Honored Contributor

Re: Configure kernel without SAM

Hi Mr. Dewa,

Good day to you !

If you are on 11iv1 (11.11):

http://docs.hp.com/en/B2355-0950/ch03s10.html

If you are on 11iv2 (11.23):

http://docs.hp.com/en/B2355-0950/ch03s11.html

Hope this information can help.

Cheers,
AW
now working, next not working ... that's unix
Geoff Wild
Honored Contributor

Re: Configure kernel without SAM

Really easy:

cd /stand/build
/usr/lbin/sysadm/system_prep -s system
vi system (make your changes and save the file)
mk_kernel -s system
kmupdate
cd /
reboot your system

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Steven E. Protter
Exalted Contributor

Re: Configure kernel without SAM

Shalom,

On 11.11 nfile is not dynamic, this requiring some combination of all steps above. Any perameter that kumtune reports as dynamic can be changed without the reboot, just a few simple kmtune commands

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com