Operating System - HP-UX
1833569 Members
3394 Online
110061 Solutions
New Discussion

Re: Patch and change kernel parms at the same time

 
Joel Shank
Valued Contributor

Patch and change kernel parms at the same time

Hi All,

I am wondering if anyone knows how (or if its possible) I can change kernel parameters and install system patch bundle with a single reboot. I have a very narrow window in which I can install my patch bundle and I also have to make some kernel parm changes. I'd like to be able to do both with a single reboot, but I don't know how. swinstall reboots when the patches are installed and SAM reboots when the kernel parms are changed. Has anyone been done this before?

Thanks for your assistance,
jls
7 REPLIES 7
Robert-Jan Goossens
Honored Contributor

Re: Patch and change kernel parms at the same time

Hi Joel,

Depends a bit on which patch your going to install. Could you post the patch number?

Regards,
Robert-Jan
Pete Randall
Outstanding Contributor

Re: Patch and change kernel parms at the same time

Install your patches. When it comes time to reboot, a window will pop up requesting your OK to reboot. Don't say OK.

Make your kernel changes. When SAM asks if it's OK to move the kernel into place and reboot, say OK.

The system will reboot once , your patches will be installed and your kernel changes will be incorporated.


Pete

Pete
Mustafa Gulercan
Respected Contributor

Re: Patch and change kernel parms at the same time

hi;
sure you can do it for one reboot.Change the parameter what you want.(at sam menu you can see the new value at pending value clone).
Than you may install patches.

regards;

mustafa
Joel Shank
Valued Contributor

Re: Patch and change kernel parms at the same time

I am installing an HP-supplied Quarterly Patch Bundle.

I run swinstall via a script that automatically does the reboot (-x autoreboot=yes). If I don't have this set, the patches won't install. I have 11 servers to do in a very short amount of time and need to use the script to save as much time as possible.

I was hoping that there was a way to tell swinstall not to reboot, just make the kernel and leave it to me to do the reboot. Actually, I think this should be an option to swinstall.

Also, the same thing should be available in SAM, allow kernel parms to be changed but let the sysadmin do the reboot to make them effective when (s)he want them to take effect.

I can't believe I am the only one that needs to do this :)

jls
James R. Ferguson
Acclaimed Contributor

Re: Patch and change kernel parms at the same time

Hi Joel:

In my opinion, this is a recipe for disaster, if in fact, you could even do it.

It is possible to delay the automatic reboot after an interactive 'swinstall' of patches. This is not advisable given that a reboot is expected to occur when kernel filesets have been changed. To defer this reboot means that the running kernel and some already loaded (though non-kernel) filesets are not in the expected arrangement. This has the potential to lead to unexpected behavior.

To attempt to impose another kernel generation on top of this could be disasterous.

Regards!

...JRF...
Fabio Ettore
Honored Contributor

Re: Patch and change kernel parms at the same time

Hi,

I understand the need to reboot at once but I would suggest you in this instance to do two reboots as the system expects.
I always prefer to do one reboot more if needs rather than working on strange situations.

Good luck...

Best regards,
Fabio
WISH? IMPROVEMENT!
Joel Shank
Valued Contributor

Re: Patch and change kernel parms at the same time

Thanks for all your comments. I guess the best way to do this is to bite the bullet and do two reboots. I only get one shot per year and don't want/need any problems.

jls