Wednesday:
- Java EE webApp
- JDK: 1.6,
- AS: Websphere 7 Application Server,
- OS: redhatzLinux
I am not a websphere administrator, and I am asked to develop a method or script to solve the problem below:
I have a cluster with three NodeA NodeB and NodeC nodes. My application runs on these clusters. I want to deploy my application on these nodes, so I don’t need to immediately display them all. These days, deployment is as follows: we arrive at night to stop all servers at once from the console. Then we install the application on the main node, which is located on the same computer as the deployment manager, and then we synchronize and bring all the servers back one by one.
What they ask me to do is that we update the application or install a new ear file without reducing everything, as this leads to a simple application. Is there any way to achieve this. WAS 7 is a very mature product, I am sure that there must be a way to do this.
I looked at the documentation / tutorial in which we can do something like “Update” when we select the application (from Apllications> enterprisesphere web applications) and select the update, and then select the “Replace full application” radio button and the “local file” radio button "system" and point to the new ear file. But in this case, the dock says that it will also destroy all servers during the upgrade. Its the same as before. There is no deployment on the Internet.
I am a Java programmer, so I thought about what tools I need to solve.
Tell me if this could be the problem :
1) We destroy NODEA 2) We remove NODEA from the cluster (by clicking the delete node button or using removeNode.sh) 3) Set the new ear to NODEA (can we do this in the same admin console or through the shell script or jython or maybe as a standalone server) 3) Then we start it back, and then add it to the cluster. Now we have NODEA with a new application, and node B and NODEC with old versions of applications.
Then we reduce NODEB to remove NODEB from the cluster, install the application on NODEB, run it again Add it back to the cluster
Now we have two nodes with the new application and NODEC with the old
we will try the same process for NODEC.
Will it work. Has anyone tried this. what problems can you imagine what could happen.
I will be grateful for any feedback from here. I am sure there is an experienced ppl on this forum. I don’t think this is a rare problem, I believe that this is what any organization with high availability requirements wants.
Thanks for any help in advance. Syed ...