views:

348

answers:

2

Hi,

I am to migrate a Websphere machine (including the applications which run on it) to a new machine. They wanted a clean install of the OS and WebSphere, so I did that. I also took a full file backup of all of the applications they had on the old server. The problem is that to re-install them on the new server, the WebSphere dialog asks me for the JAR/EAR/WAR file, which I don't have.

Is there any reasonably easy way to simply extract the backup of the WebSphere application files I have taken from the old maching, and simply configure the new machine to use them? WAR, etc. is a nice feature to have, but to be forced to use it seems silly.

Edit: The existing WebSphere server is still up and running in production.

Edit: The old server is WAS 3.5, which means it doesn't even have an export function, sadly. Also, the directory where it actually runs the content from has a completely different structure (consisting of like a a %/Web and %/Servlet, where % is the context path of the application). In the "Install" section, it doesn't even mention EAR or WAR, only JAR. I am currently thinking that perhaps the best thing to do might be to just copy the directory over to another WAS 3.5 system and then upgrade that system (and hope it converts the folder structure and updated the config as part of the upgrade).

Edit: The closest thing I have found to a solution so far is this link: http://www.javazoom.net/services/newsletter/was4.html (though I am not sure if that tool is available or relevant for WAS 7.x).

This has to be a problem other people have run into before, but I can't find a solution anywhere on the WEB.

Thank you!

A: 

If you still have the old server running, than just export the apps and you have the war/ear files. However, If you don't know the configuration for the apps, you are screwed. However, I am sure IBM has tools that you can use. Some of the paid tools look even nice and user friendly (at least according to their sales demos). I can't tell you what you need, since I don't know what documentation you have for your apps. But as it looks like there is not much there, otherwise you would just install the application the same way they were installed on your old server and use the binaries (war, ear, jar) that are archived somewhere.

Peter Schuetze
Hmm I will have a look at the Export functionality, thanks for that. Ad for the configuration... yeah. The client doesn't seem to have the any sort of EAR/WAR/JAR files. I asked them what they would do if they had a disaster and had to reinstall the server. They said "Well we have a backup image of the machine". If I can't find a way to make the export work, then I am considering making a VMWare image with everything installed and bringing it as-is.
Noah
A: 

Here do they have sample Jacl scripts one can use to export/import appserver's configuration. So that is what you can start with. If your new bow uses the same version of WAS (and the same topology if it is not a standalone box) as the old one, it might be a (relatively) safe process.

Migration between different versions of Websphere might be somewhat more tricky, but I'm sure IBM published at least one redbook on that topic.

david a.
I actually exported the WAS Config as an XML file, but as the old server is 3.5 and the new one is 7.x, I am not so sure that this will be of any use. Again, I am thinking about installing 3.5 instead of 7, getting it working, and then upgrading it to v5 or v7. (Or just taking a VMWare image of the old server).
Noah
Hmm... I have no idea if the XML configs are compatible with earlier versions of Websphere :( You may want to research in redbooks, or the WAS 7 Infocenter
david a.
Per what's here: http://publib.boulder.ibm.com/infocenter/wasinfo/fep/index.jsp?topic=/com.ibm.websphere.migration.nd.iseries.doc/info/iseriesnd/ae/welc6topmigrating.html it seems they WAS 7 does not support migration from earlier versions than 5.1 . 3.5 is actually pretty ancient one.
david a.