Operating System - HP-UX
1834872 Members
2432 Online
110070 Solutions
New Discussion

Re: Installing kernel patches

 
Richard Patenaude
Occasional Advisor

Installing kernel patches

Hi,

I have a series of kernel patches I have to install on a hp-ux 11.0 server. Is there a way to install them without having to reboot after each an everyone of them?

Richard.
7 REPLIES 7
Ian Dennison_1
Honored Contributor

Re: Installing kernel patches

Refer this link. Basically a series of 'swcopy' commands to a newly created directory will build a depot that can be used to install many patches with only one reboot.

http://forums.itrc.hp.com/cm/QuestionAnswer/1,11866,0xbc8cabe92dabd5118ff10090279cd0f9,00.html

Share and enjoy! ian
Building a dumber user
harry d brown jr
Honored Contributor

Re: Installing kernel patches

Yes,

Go to the "IT Resource Center Home"

Under "Maintenance and Support", select "more..."

Under "Patching", select "customized patch bundles".

And perform a custom patch bundle. This ensures you get all of the patches you need, not just a selected few.

There are other ways to "bundle" the patches, but the "Custom Patch Manager" is the safest!

live free or die
harry
Live Free or Die
Tom Geudens
Honored Contributor

Re: Installing kernel patches

Hi,
Yes, by making a depot an than installing that
depot.
Example
root/sv00220#swcopy -vv -s /var/adm/crash/patch/PHKL_18543.depot \*
@ /var/adm/crash/patch/veritas

root/sv00220#swcopy -vv -s /var/adm/crash/patch/PHCO_23651.depot \*
@ /var/adm/crash/patch/veritas

root/sv00220#swinstall -vv -p > -x autoreboot=true > -x patch_match_target=true > -x autoselect_patches=true > -s /var/adm/crash/patch/veritas \*

Regards,
Tom
A life ? Cool ! Where can I download one of those from ?
Tom Geudens
Honored Contributor

Re: Installing kernel patches

Wow ... that last command got seriously mangled ...
The install should be
root/sv00220#swinstall -vv -p -x autoreboot=true -x patch_match_target=true -x autoselect_patches=true -s /var/adm/crash/patch/veritas \*

Regards,
Tom
A life ? Cool ! Where can I download one of those from ?
James R. Ferguson
Acclaimed Contributor

Re: Installing kernel patches

Hi Richard:

Do this (assuming that your patches reside in /tmp):

PDIR=/tmp/patch_depot
mkdir $PDIR
cd /tmp
for X in PH*.depot
do
swcopy -s ${PWD}/${X} \* @ ${PDIR}
done
#
swlist -s ${PDIR}

...Now specify $PDIR as you source depot for the 'swinstall'.

Regards!

...JRF...
Deshpande Prashant
Honored Contributor

Re: Installing kernel patches

HI
Copy all the patches in depot and then install it from the depot.

for i in `ls PH*.depo`
do
swcopy -s ${i} \* @ ${PATCH_DEPOT_DIR}
done

Once copied in depot use
#swinstall -x autoreboot=true -x patch_match_target=true -s

Thanks.
Prashant.


Thanks.
Prashant
Take it as it comes.