How to install the latest patch in HP-UX 11.31

by Community Manager on ‎04-02-2012 11:30 AM

Question

I am new to HP-UX.

I would like to install new patch in HP-UX 11.31.

I have some questions regarding:

1)How to see existing patch installed?

2)Where we can download the latest patch from?

3)How to install?

4)How to revert if any thing goes wrong?

5)Do we need to restart the server after updating patch?

Answer


> 1)How to see existing patch installed?

# swlist

> 2)Where we can download the latest patch from?

There is no one "latest patch" but you can find individual patches and/or standard bundles here:

http://www.itrc.hp.com/service/patch/mainPage.do

You can/should also learn about and how to use the Software Assistant Tool (SWA):

www.hp.com/go/swa

3)How to install?

You use :

# swinstall -x autoreboot=true -x patch_match_target=true -s /patches/swdepot \*

4)How to revert if any thing goes wrong?

By default, a rollback image of the predecessor software is kept. TO remove a patch, you use 'swremove' to remove and restore the previous incarnation.

5)Do we need to restart the server after updating patch?

If kernel (PHKL_) or networking patches are applied (PHNE_) then a reboot will be required. This will be automatic if you use the 'swinstall' commandline example above.

You should read:

http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c01919407/c01919407.pdf

http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c01976045/c01976045.pdf