aspose file tools*
The moose likes Websphere and the fly likes migration for was 5.1 to was 6.1 in production env Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "migration for was 5.1 to was 6.1 in production env" Watch "migration for was 5.1 to was 6.1 in production env" New topic
Author

migration for was 5.1 to was 6.1 in production env

Rahuul Dravid
Ranch Hand

Joined: Feb 17, 2009
Posts: 42
HI guys,

I had to prepare a proposal for the migration was 5.1 to was 6.1 in production.
Windows env and all are the base nodes .....no cluster envi.

Can any one let me know.. what the key steps and points that i have to point on and who many hours i have give an estimate.
And how does i know whether the current application running on was 5.1 is compatible with was 6.1 with any issues,
i'm stressing because it is prod and i'm the only one responsible for this whole process.

Do any one who previously did the migration of was 5.1 to was 6.1 share there experince ..plzzzz
Also if any one have any doc/ proposal that you have to submit to the manager for this whole process ...that would be a life saver.

Plzzz any kind of help is appreciable.
Thanks in advance.

Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18662
    
    8

Urgent? PatienceIsAVirtue

Plzzz? UseRealWords

Anyway, about your question. I would recommend doing the migration on your test server. Observe how long that takes and what the problems are that you encounter. This should provide a good guideline for the live migration and also help you design a better migration process.

For example in my case, the migration just plain didn't work so I had to rebuild the configuration from scratch.
Rahuul Dravid
Ranch Hand

Joined: Feb 17, 2009
Posts: 42
Thanks a lot paul for the quick response.
I applozie for short form .. i will make sure not to repeat that

Ok so you suggest me do frist on test server .
Before that i need to submit an proposal for my manager stating my requriment
like many hours i need and what other things i need to perform this migration.

I can say them like . i require a wasv 5.1 update installer and source binary for wasv6.1
I need certain downtime for the migration of servers.
Can i ask then JDK version of application ?
And are there any other key things i need put down in initial proposal for this migration before looking deep into the issues ??

Any info regarding this would be of great help ,
Thanks in Advance!

Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61433
    
  67

I modified the subject. Please adhere to the guidelines in future posts.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Rahuul Dravid
Ranch Hand

Joined: Feb 17, 2009
Posts: 42
I appolozie Bear Bibeault ...i will make sure this won't repeat in future!
Thanks.
Siva Masilamani
Ranch Hand

Joined: Sep 19, 2008
Posts: 385
I recently did migrate from 5.1 to 6.1

First make sure to create all the required resources like JDBC,DataSource,Queue,Topics etc almost mirror the same configuration on 6.1.

Had some problems

1. If your application is using Messaging then you have to make litle change in your code.

Usually when you send message you open the connection then you create session and send the message and close the session but keep the connection open.Then for the next message you create another session from the same connection and repeat the step above.

But in case on 6.1 once the method call whcih sends the message is completed the WAS 6.1 automatically closes the connection and returns it to the connection pool but however it does not close the physical connection.

Please visit this link about this problem
http://www-01.ibm.com/support/docview.wss?rs=171&context=SSFKSJ&dc=DB520&uid=swg21267957&loc=en_US&cs=UTF-8&lang=en&rss=ct171websphere

2. If some of the jsp/struts code tag is not closed properly 5.1 somehow failed to detect them and renders the page but 6.1 will throw error.

It took about 5-6 hours for me to migrate.

Apart from these i did not face any problems

But ofcourse it depends on the application size and available resources.


SCJP 6,SCWCD 5,SCBCD 5

Failure is not an option.
Rahuul Dravid
Ranch Hand

Joined: Feb 17, 2009
Posts: 42
Thanks Siva Masilamani ...that was really helpful .
So how did you went through the migration process did you ... build the entire cell separately or .. run the waspreupgrade/ waspostupgrade scripts on the same
machine.
I though doing separate installation of websphere v6.1 separately and getting the app coded for jdk1.5 from the developer (rebuild). And deploying this mould be smooth process ???
But advice me whether i'm going in the right way ...because they are in prod ...and i don't want to take chances.
they also have portal in prod to be migrated.
So did go through any test server environment ..... tested the new version of wasv6.1 to see how the App is responding to new was v6.1
did any API deprecation issues came up while performing this whole thing .

Thanks in advance !
Siva Masilamani
Ranch Hand

Joined: Sep 19, 2008
Posts: 385
Yes we installed it seperately and created all the resources seperately and then installed the application in 6.1

I did go through testing environment DEV->QA->UAT->PROD.

All the problems that i mentioned were identified in QA itself.So my prod move was very smooth.

I never had any problem apart from those.

You should be all set.

I would advise you to test it inthe testing environment and then move on to PROD and that is my company policy too.

Rahuul Dravid
Ranch Hand

Joined: Feb 17, 2009
Posts: 42
Thanks a lot siva ....ya exactly your right that is who it has to be...but this client is wired he asked to migrate the prod frist.
and then we have to move the QA and Dev ....that is making scared .

It's all the windows env.
How much downtime windows we need to request for migrating the prod env. ( you said 5-6 hrs for total migration right ....how much downtime was needed) ???

I am little confused how to approach ...this .. what i'm thinking is building the test server with 6.1 and as you said. ...configure all the jdbc and datasouces with the databases ...and then deploy the app and see how it is responding so that we can get to know the issues ...and once i'm done with those ....i get the exact idea.

but correct me ..if am missing something.
Siva have you prepared any migration proposal or planning of migration which has to be given to manager prior to start working.
because he asked me to give a proposal for migration ... stating what all the things i require for migration.

Thanks a lot siva ...this help means a lot to me......i really appriciate your concern.
Thanks .
Siva Masilamani
Ranch Hand

Joined: Sep 19, 2008
Posts: 385
Basis steps

1.Stop the application server 5.1 (10-15 min)

2.Start 6.1 and create all the resources and then deploy the applicatoin into 6.1(You may come across any port problems etc) (4-6 hours)

3.Check all the resources are created successfully and the application could start without any problem.(20-30 min)

4.Access the application via App server server URL and verify the application by navigating through some screens (5-10 min)

5.Generate the plug-in file and configure Webserver to point to WAS 6.1 (30 min-1 hours)

6.Recycle both webserver and application server.(10-20 min)

7.Access the application via Webserver server URL (5- 10 min)

You may also have to consider about corporation infrastructure like how the security is provided to application vis a 3rd party tool which may need recycle or need the new address of the server etc.

As i said already ,i did all these steps in our testing environment and tested the application, so i had little idea about the problems that i may face in PROD.

Doing it directly in PROD is risky.

If you have no other option then keep 5.1 running parallely with 6.1 (but you can not use the same port as 5.1)

Configure webserver plugin to point to 6.1 and any other 3 party tool that may get effected.

If something goes wrong configure the webserver plugin again to point to 5.1 and you should be good to go.

I did in Sun Solaris and i hope it should n't matter about OS.But give some buffer time for everything.

I request you to do it during after office hours.

In your case give some 7-10 hours.



Rahuul Dravid
Ranch Hand

Joined: Feb 17, 2009
Posts: 42
Thanks Siva ...it is was perfect info ....very very helpful.

I just joined this company and this is small scale ...and i'm the only websphere admin responsible for this task.....and they are asking me to on prod.
That was the reason why i'm bugging you so ..much ... but still your so patience in answering all my Q's.


siva one question about your point 6

"6.Recycle both webserver and application server.(10-20 min) "

what do you mean by recycle ??...i'm sorry ..but i'm unable to understand that .

and did you upgrade your plugin to.... as i came across some article saying that we have to upgrade the plugin ( mandatory)

So do we have to upgrade the plugin or we can still work with the was v5.1 plugin it self.

At this moment i don't have any idea about the current webserver/plugin being used.

Siva it was a pleasure talking to you ....what would be the best source to contact you ???( like email/phone).

Thanks ...

Siva Masilamani
Ranch Hand

Joined: Sep 19, 2008
Posts: 385
send me an email

Recycle means restart.

Yes.You have to upgrade the plugin.

To create a new plugin login into the WAS 6.1 admin console then in the environment link you have option "update global webserver configuration plug in"

Usually the plugin file can be found here. WAS installation folder/config/cells

This plugin is used to bridge between application server and web server.

usually in corporation J2EE application which requires EJB container etc is deployed in the application server and the url for the application is mapped to web server so that the outside user can access the application.

In our case we are using WAS 6.1 as APP server and IBM-Http as web server.

Configuration files related to web server can be found at web server installation folder/conf and you need to provide some information from the plugin file you just generated.

I do not have much idea about web server configuration ,since we have seperate team for web server i took thier help on it.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: migration for was 5.1 to was 6.1 in production env