Operating System - HP-UX
1752790 Members
6083 Online
108789 Solutions
New Discussion юеВ

Re: upgrading java from jdk1.4.2.11 to 1.4.2.22 on production Env

 
SOLVED
Go to solution
subodhbagade
Regular Advisor

upgrading java from jdk1.4.2.11 to 1.4.2.22 on production Env

All Experts,

I am handling the hp-ux server of version 11.23 and sap application running on it and need your suggestion on the following up gradation scenario--

(1) Actually we are planning to upgrade the java from current version JDK 1.4.2.11 to JDK 1.4.2.22 so I have downloaded the sdk14_14222_pa.depot тАж.

Also I have gone through the1.4.2.22 release notes

http://docs.hp.com/en/SDKRTE142RN/sdk_rnotes_1.4.2.22.html#PA-RISC_requirements....

I am not sure so I wanted to confirm the following points before implementing it on production server.

(2) To upgrade java should I uninstall the current version first? And then install the latest one ?

(3) instead of /tmp can I use any source file like

Swinstall -s /any source dir /sdk14_14222_pa.depot

(Is this Extension of file ok or do we need any other format while installation)


(4) What will be the pre and post requisite steps should I follow apart from taking full backup?

(5) After installation, do we need to add or set any path variable like /opt/java1.4/bin ...and how to add this ....is it like ENV variableтАж.. not sure .....

(6) Do I need to restart the server after upgrading the java?


Your help will be appreciated sincerely to complete this task on production environment.

Thank you kindly. Have you all great time.

Regards,
Subodh.







7 REPLIES 7
SoorajCleris
Honored Contributor

Re: upgrading java from jdk1.4.2.11 to 1.4.2.22 on production Env

Hi

May I know which is the OS version and which hardware?

3. You may use any path where the depot file is present.

The name doesnt matter. It should be an installable depot

4.Pre requesity is regarding hp-ux , I would suggest to take latest ignite backup and backing up the kernal.

Other prerequesite (like kernel parameter) should be done as per the application doc.

5. Adding path is normal , you may export it ( I dont knw if specifically the path should be adde for jdk)
6. I can't see any where it is mentioned to reboot after the installation in the given release notes.

Regards,
Sooraj


"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
Tim Nelson
Honored Contributor

Re: upgrading java from jdk1.4.2.11 to 1.4.2.22 on production Env

You have the correct methods.

I would suggest that if you have not tested your application with this minor update that you make sure you have a copy of 1.4.2.11 just in case you decide to revert back to the old version.

It is great to have an ignite image but recovering a whole system for something as trivial as a java update may not be prudent.

subodhbagade
Regular Advisor

Re: upgrading java from jdk1.4.2.11 to 1.4.2.22 on production Env

HI,

Thanks for quick reply , details of server are :--

(1)

OS of server-- B.11.23 U 9000/800

processes/address type PA-RISC 64-bit mode

model 9000/800/L2000-44


(2)As per the Release notes ....

". If you have a previous installation of 1.4, please uninstall it using swremove and move any personal files from your existing /opt/java1.4 directory before you begin the new installation. "

Does it mean if version is older i.e jdk 1.2 or 1.3 or 1.1 in that case only we have uninstall first and the install 1.4.2.22 or uninstallation of 1.4.2.11 is require first before going to 1.4.2.22 .


Thank you Kindly.

Regards,
Subodh.













Tim Nelson
Honored Contributor

Re: upgrading java from jdk1.4.2.11 to 1.4.2.22 on production Env

Simply swremove the earlier 1.4 version.. You can keep the older 1.2 and 1.3 versions if you would like.

subodhbagade
Regular Advisor

Re: upgrading java from jdk1.4.2.11 to 1.4.2.22 on production Env

Hi,

Thanks for your ongoing support always.

As Tim suggested,

Does it mean i should uninstall the current one i.e 1.4.2.11 and then install the 1.4.2.22 ? or is it fine with just upgrade the 1.4.2.22 without uninstalling current ?

As per the sap note, before upgrading to 1.4.2.22 there are recommended patches are given like

PHCO_35524
PHCO_35997
PHCO_36454
PHKL_36244
PHKL_36318
PHKL_36319
PHKL_36320
PHKL_36321
PHKL_36667
PHKL_36668
PHKL_36669
PHNE_36257
PHSS_36342

Eg

(1) PHNE_36257

When I am searching for this patch in itrc patch database for 11.23 it shows me recommended and most recent one


In this case which should select from recommended or from most recent one ├в ┬жeach column having the different posted date ├в ┬ж├в ┬ж

Should we check the latest date from recommended one or from most recent one ? or


Do we have to select the all recommended one ?

All of the patches having dependancy so after dowloading ( recommended or most recent ? ) with their dependacy i have to run the create depot script of each one but how i can club all in one depot using swcopy so that i can install all of them at time .

Is there any single bundle or depot having the latest Jdk1.4.2.22 along with their recommended patches together ?


Thanks in advance and have a gr8 time !

Regards,
Subodh





Pete Randall
Outstanding Contributor
Solution

Re: upgrading java from jdk1.4.2.11 to 1.4.2.22 on production Env

Download all the required patches and dependencies (pick the recommended patches) into one location, /tmp for example. Then use these simple scripts to collect them into one depot for installation:

cd /tmp
for i in PH*
do
sh $i
done




mkdir /my_patch_depot
for i in PH*.depot
do
swcopy -s ${PWD{/$i \* @ /my_patch_depot
done


Then you can swinstall from /my_patch_depot.


Pete

Pete
James R. Ferguson
Acclaimed Contributor

Re: upgrading java from jdk1.4.2.11 to 1.4.2.22 on production Env

Hi:

Using the Patch Database on the ITRC site, select the recommended versions of the patches you need. Collect them in the Patch Database "cart". Patch dependencies will automatically be added to the list you select. Don't worrry if you already have these patches on your server; they will not be reinstalled unless you specifically trigger that (and you don't normally do that).

When you are done selecting patches, choose the vehicle you want to use for their transport. I like to use 'gzip'. Once the file is on your server, you will find it contains a '/create_depot_hp-ux_11*' script. Run this script (it has help if you pass '-h' as its runtime switch).

This will copy the individual patches into a depot that will allow you to run 'swinstall' against.

You will find that this guide answers the questions you may have:

http://www.docs.hp.com/en/5992-6582/5992-6582.pdf

Regards!

...JRF...