1832978 Members
3179 Online
110048 Solutions
New Discussion

Re: Patching

 
Anoop P_2
Regular Advisor

Patching

Hi

I have downloaded the latest QPK patch bundle from the hp site. Before applying them, I have to find out any bad patch, and remove them, and also make a seperate depot for the sendmail and bind patches.

Could some body suggest a method?

Thanks in Advance.
Anoop
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: Patching

swverify \*

That will give you a list of any patches that are corrupt and not installed. Then use swremove to get rid of them.

cleanup -c 1

that will let you remove any patches that are superseded by 1 or more newer patches. This commits the patches so they can't be backed out and saves you substantial amounts of space.

As far as the last suggestion, you would have to go through the patch descriptions on the QPK and manually create a new depot.

I'm attaching a script that will create a new depot after you manually identify and copy the patches off. The QPK is a stable, well tested patch group. I suggest you not create BIND and sendmail depots and install it whole.

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
Anoop P_2
Regular Advisor

Re: Patching

We are in an environment with almost 580 servers across the net, and needs to patch them as per the stated policies. The policy states that the patched should be applied seperately, due to the requirements of this environment. So thats a must.

Regarding the command which you gave, is it that it can be exectuted only after installation, or can it be done on a depot, without doin the actual installation?

I'm looking for a solution, the second way.

Anoop
Steven E. Protter
Exalted Contributor

Re: Patching

swverify was intended to help you clean the server prior to doing the installation.

The script I attaches will let you create sperate depots after breaking the QPK into pieces.

In your situation, I'd copy the QPK to disk and then use the mv command to move the sendmail and BIND portions into new directories. Then use my script to create new depots.

The script requires one command line parameter, the target location of the new depot.

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
Anoop P_2
Regular Advisor

Re: Patching

Steven,

I would still need some assistance from you.

Currently I have the QPK bundle in a .depot file.

1. How do I find out those patches in the depot which are for bind and sendmail? swlist command does give me patch numbers in the depot, but not the description.

2. How do I seperate them from this depot, with out discarding them? I mean, I need to make seperate depots off them.

Thanks in advance.