1826379 Members
4237 Online
109692 Solutions
New Discussion

Re: Installing patches

 
sheevm
Regular Advisor

Installing patches

Hi Everyone!

Oracle DBA is upgrading. He gave me a lost of HP patches oracle requires it was total of 6 patches. I called HP they said it has many dependencies. I need to install 68 patches.

I need to download one by one 68 patches from the hp site and install. They suggested me to put it in a depot and install once.

What if some of the patches is alraedy in the system? Does it screw me up?

And also waht is the efficient way to do this?

Thanks
be good and do good
13 REPLIES 13
Francois Bariselle_3
Regular Advisor

Re: Installing patches

Hi,

1) Unshare all patch using:

for i in PH*
do
sh $i
done

2) Combine the separate depots into one depot:

mkdir /tmp/patches

for i in PH*.depot
do
swcopy -s ${PWD}/$i \* @ /tmp/patches
done

4) Verify the contents of the depots:

swlist -d @ /tmp/patches

Good Luck

Frank.
Fais la ...
S.K. Chan
Honored Contributor

Re: Installing patches

When you "pack" all the download patches into a single patch depot it'll automatically take care of dependencies for you. I still think you'll have to individually download all the patches you need and "pack" 'em. For example :-

(say you put 'em in /tmp)
PHSS_1111
PHSS_2222
PHSS_3333

# cd /tmp
# for i in PH*
> do
> sh $i
> done
# mkdir /tmp/patch_depot
# for i in PH*.depot
> do
> swcopy -s /tmp/$i \* @ /tmp/patch_depot
> done

Now run swinstall and specify /tmp/patch_depot as your source.
Francois Bariselle_3
Regular Advisor

Re: Installing patches

If the patch is already in the system, swinstall will ignore it.
after see swinstall.log for more information.

Use:

swinstall install analyst and see logfile.

See man swinstall.

Frank
Fais la ...
Helen French
Honored Contributor

Re: Installing patches

Hi Raji,

In these cases the best option is to choose the custom patch manager from HP site. This will be very helpful and useful.

While installing the patches, ALWAYS you need to make sure that you are installing all dependencies too. If you dont want to re-install some patches, then you can specify the re-install option to false, during swinstall. In normal case, it will overwrite the old patches in the system and will not give any harm to you.

HTH,
Shiju
Life is a promise, fulfill it!
Helen French
Honored Contributor

Re: Installing patches

Hi Raji,

Check this document for making a patch depot from a number of individual patches:

http://us-support.external.hp.com/cki/bin/doc.pl/sid=07623a8d08420fb128/screen=ckiDisplayDocument?docId=200000059338217

HTH,
Shiju
Life is a promise, fulfill it!
sheevm
Regular Advisor

Re: Installing patches

My main question is

Is there any fast way to get these patches instead of downloading one by one?

Shiju:

What does the HP patch manager do?

How do I get there?

Thanks
be good and do good
James R. Ferguson
Acclaimed Contributor

Re: Installing patches

Hi;

Have a look at the new beta version of the ITRC Patch Database:

http://us-support2.external.hp.com/estaff/bin/doc.pl/screen=estaffDocs/sid=52587aa1114fce84be?Log=SCR%3DHOME_SCREEN&File=welcome/pdbbeta.htm

You can now download multiple patches in a group.

Regards!

...JRF...
Helen French
Honored Contributor

Re: Installing patches

Hi Raji,

Hewlett-Packard's Custom Patch Manager allows you to electronically manage your HP-UX patching needs. The tool guides you through the patch analysis, selection and installation process for a specific system, makes it easy for you to identify and install only the patches that apply to your system, and reduces common patching errors.

See this for more detail:

http://us-support.external.hp.com/common/bin/doc.pl/screen=commonInfo/sid=37aee409164c4866d4/distrib_redir=0+1018032058|*?Service=wps

For CPM, try here:

http://us-support.external.hp.com/wps/bin/doc.pl/sid=4b93f3260e2da40b9c

HTH,
Shiju



Life is a promise, fulfill it!
sheevm
Regular Advisor

Re: Installing patches

I went to the ptach beta version site as you mentioned.

Still you have to pick one by one and add it to the list and then download right?

Which type is better gzip or tar?

How do I uncompress it after ftp to the unix server?

Sorry guys I am asking too many questions. I am in a lot of time pressure.

Thanks
be good and do good
Helen French
Honored Contributor

Re: Installing patches

Hi Raji,

1) I am not sure about the beta site. But if you use the custom patch manager, you can run the collect script on your server, it ill check you system information ( patch level, applications etc) and then you can upload this data to ITRC. HP will give you a custom patch bundle depend on these analysis.

2) tar and gzip, both are good. I think gzip needs less space.
3) To uncompress tar, use:
# tar -xvf /tmp/depot_name.tar

for gzip:

# gunzip fil_name

See man pages for more details.

Good luck ..be cool =))

HTH,
Shiju
Life is a promise, fulfill it!
James R. Ferguson
Acclaimed Contributor

Re: Installing patches

Hi (again):

With regard to the beta site download, pick the patches you want, adding them (and/or their dependencies) to the cart. I'd simply choose a 'tar' format. You will end up downloading a bundle called 'patches.tar'. Use that file as your depot for 'swinstall'.

Regards!

...JRF...
pap
Respected Contributor

Re: Installing patches

Hi Raji,

you are right,
JUst download the patches you require by slecting one by one. HP Will allow you to download a single file containing all the patches in which you are interested. It does not make any difference which format you select for download (tar or zip). Just untar it after downloading and the file will serve as depot for you.
Just install the single product using swinstall and you are all set.

Thanks,
-pap
"Winners don't do different things , they do things differently"
sheevm
Regular Advisor

Re: Installing patches

Thanks to all of you.

Guess what! After all the research they decided not to with the Oracle upgrade. I am not installing the patches.
be good and do good