Operating System - HP-UX
1851046 Members
2969 Online
104056 Solutions
New Discussion

patch and kernel change in one reboot

 
SOLVED
Go to solution
Paul Wasik
Frequent Advisor

patch and kernel change in one reboot

Hello,

I'd like to update a 'reboot required' kernel setting (dbc_max_pct) and then install a 'reboot required' patch bundle. can I update the dbc_max_pct (creating a new kernel, for next boot) and then have the patch install work against the 'next boot' kernel? or do I have to conduct two seperate efforts?

thanks
7 REPLIES 7
spex
Honored Contributor

Re: patch and kernel change in one reboot

Hi Paul,

Yes, this should work. However, if something goes wrong after the reboot, you've now got two potential causes, instead of just one.

PCS
James R. Ferguson
Acclaimed Contributor
Solution

Re: patch and kernel change in one reboot

Hi Paul:

Technical Knowledge Base document KBRC00012410 details the procedure necessary to coincidently apply patches that require a reboot and tune kernel parameters in one pass.

Regards!

...JRF...
Steven E. Protter
Exalted Contributor

Re: patch and kernel change in one reboot

Shalom,

Great doc from JRF.

You don't state your OS. If you are using 11.23 you may need to use kctune and slightly different syntax to make this happen.

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
Paul Wasik
Frequent Advisor

Re: patch and kernel change in one reboot

Hey Guys,

thanks for the quick responses, which help direct my researching. I'm on 11.11.

It seems that I can just 'set' the kernel parameter manually (kmtune -s) and then instal the Patch Bundle. here you can see that I changed the variables with a simple command, my next step being the patch install:
root@saturn: kmtune -s dbc_min_pct=1 -s dbc_max_pct=10
root@saturn: kmtune -q dbc_min_pct -q dbc_max_pct
Parameter Current Dyn Planned
=================================================
dbc_min_pct 5 - 1
dbc_max_pct 50 - 10

seems pretty simple and about what the noted Document suggests. do you agree this is a valid approach?
Paul Wasik
Frequent Advisor

Re: patch and kernel change in one reboot

Hi,

I tried my suggestion above which didn't work. I tried the procedures in above noted document which did work. thanks for the help.
Paul Wasik
Frequent Advisor

Re: patch and kernel change in one reboot

close.
Denver Osborn
Honored Contributor

Re: patch and kernel change in one reboot

cool! I wrote that doc after someone called the RC and asked the same question. This would make you the 2nd person to actaully use it. :)

-denver