System Administration

Re: patching, creating new kernel,

 
SOLVED
Go to solution

patching, creating new kernel,

Guru's:
quick question, lets say I ran swinstall to install some patch bundles. I have not rebooted the system yet, because it's scheduled downtime is not for about another hour. I also need to make a change to one of the configurable kernel parameters (maxvgs). I made the change, created a new kernel and deferred reboot until later. I then ran kmupdate, and mv /stand/build/system.SAM to /stand/system. What is the status of the kernel that got created with the patch install? Will the "maxvg kernel" now have overwritten the "patch kernel"? I have not rebooted .... YET.
8 REPLIES 8
Biswajit Tripathy
Honored Contributor

Re: patching, creating new kernel,

If you are installing a patch (or a product) that
requires rebuilding of kernel, the swinstall process
itself will automatically reboot the system (after you
click "OK", ofcourse). Since your installation did not
ask your permission for a reboot, it's clear that the
patch you installed did not require a kernel built. You
could confirm this by looking at the doc that came
with the patch (it should tell you if it requires a reboot
and kernel rebuilt).

- Biswajit
:-)

Re: patching, creating new kernel,

I know that the patch bundle I installed does require a reboot. i just havn't clicked "ok" to do so, I instead made the kernel param change, built a new kernel, deferred the shutdown and ran a manual kmupdate. What will happen to the patch kernel reboot, that I havn't said "ok" to yet. Has that now been overwritten by the kernel param change kernel?
Biswajit Tripathy
Honored Contributor
Solution

Re: patching, creating new kernel,

Is this 11i v1 or v2? I have tried this on 11i v2 and
it works fine (i.e after reboot, the kernel will have both
the changes). I have not tried it on 11i, v1; but I
would be very surprised if the behaviour would be any
different.

- Biswajit
:-)

Re: patching, creating new kernel,

Its B.11.11, not quite sure if that's v1 or v2.
Biswajit Tripathy
Honored Contributor

Re: patching, creating new kernel,

Andreas,
in any case, you should know that, while one process
is modifying the kernel, it's not a good idea to start
another process that is also trying to modify the
kernel. You should have modifyed the tunables first
and then installed the patch that requires kernel
rebuild.

- Biswajit
:-)
Biswajit Tripathy
Honored Contributor

Re: patching, creating new kernel,

Run "uname -a". If it says 11.23, then it's v2; if
it says 11.11, then it's v1.

- Biswajit
:-)

Re: patching, creating new kernel,

Thanks, I'm getting ready to reboot now, will assign points when system is back up.
It's 11.11

Re: patching, creating new kernel,

Just FYI, the system booted and processed the "patch kernel" changes, then booted again (system never came all the way up) and applied the maxvg kernel changes. Everything is up and well. Thanks for your help!