Improve company productivity with a Business Account.Sign Up

x
?
Solved

WAS 61 - Adding servers to Cluster

Posted on 2010-11-16
12
Medium Priority
?
1,305 Views
Last Modified: 2013-12-10
Hi,

I am using WAS 6.1 with Fixpack level 33.

I have a cluster with two members. Now I want add a server which is federated earlier and not been part of any cluster.

So, my reqmt is to add the third server to the existing cluster.

But I am unable to do this from GUI console as the UI from the cluster members page's "Add" option is only for adding servers to the cluster by creating them instead of adding an existing server.

Thanks,
Rishi
0
Comment
Question by:RishiBang
  • 5
  • 4
  • 2
11 Comments
 
LVL 41

Accepted Solution

by:
HonorGod earned 1000 total points
ID: 34148615
The challenge is that all cluster members are "identical" as far as the existing resources are concerned.

Why are you interested in converting an existing "federated" application server into a cluster member?

Do applications, and / or resources exist on this Application Server that need to be in the cluster?

Do you want a cluster member having this name?

You probably have to:
- Back up all of the information about your federated application server
- Use the removeNode command to "unfederate" the application server
- use the manageprovfiles command to delete the application server and associated profile
- use either the Admin console to create a new cluster member of the same name as the recently removed application server, or you could use a wsadmin script like the one described here: http://goo.gl/P5Fz
- Deploy any applications that used to be on the removed application server to the cluster, and
- Create any resources (e.g., datasources, EJB's, etc) on the cluster

Does this make sense?
0
 
LVL 12

Assisted Solution

by:Radek Baranowski
Radek Baranowski earned 1000 total points
ID: 34153953
as per console and honorGod comment, you cant add existing server to a cluster, unless it is the first server in the cluster (right after cluster creation)
you can do the following, if the profile you want to have your server clustered on is already federated to the cell when your existing cluster reside - when addind cluster members pick the node of your current standalone server and create a new member there. it's the only way to populate federated nodes with cluster members.

also, I don't know your exact reasons, but you can use your standalone server as a "fake" cluster member - you need to add the server to ServerCluster section of your IHS plugin-cfg.xml but then you will only have traffic routed to this server, with no session replication and so on - didn't check, but guess it should work.
0
 

Author Comment

by:RishiBang
ID: 34154573
Hi HonorGod & baranello,

Thanks for the info provided.

Let me explain my real requirement.

Our client is using Ariba Application for procurement. It is a J2EE app than can be run on WebSphere or Weblogic

Ariba application has an installation wizard which will create a cluster in WAS using wsadmin scripts.

I have installed WAS and then ran the Ariba installation wizard

The wizard allows us to create only two members in a cluster at a time.

Later client asked me to add additional cluster members to the same cluster.

I have reran the wizard and given new names for members (Say server3 & sever 4)

It has created  two servers but placed only one server (Server4) into to the cluster and left the Server3 outside.

I thought it may be a bug with the product's installer and I can manage that from cluster configuration from WAS console by just moving the server left out into the cluster.

But I didn't anticipated that its complex in WAS too.

Thanks,
Rishi



0
Managing Security & Risk at the Speed of Business

Gartner Research VP, Neil McDonald & AlgoSec CTO, Prof. Avishai Wool, discuss the business-driven approach to automated security policy management, its benefits and how to align security policy management with business processes to address today's security challenges.

 
LVL 12

Expert Comment

by:Radek Baranowski
ID: 34154585
ok, but how many nodes have you got at the moment (I Mean, websphere nodes). goto system administration -> nodes
0
 
LVL 41

Expert Comment

by:HonorGod
ID: 34155158
> It has created  two servers but placed only one server (Server4) into to the cluster and left the Server3 outside

  Interesting.

  Since Server4 should be "just like" Server3, which is a cluster member, I bet that the deployment of applications to Server4 would fail because WebSphere won't allow the same application to be deployed to both a cluster and to a non-cluster because the routing logic would not be able to distinguish between these ambiguous application instances.

  I think that your best bet might be to just remove Server4, and create a new cluster member named Server4.  The fact that it is a cluster member would mean that all of the resources (e.g., applications) that currently exist on any/all of the existing cluster members will be replicated / copied to new cluster members.

Does that make sense?

0
 

Author Comment

by:RishiBang
ID: 34207333
Hi baranello,

The Ariba application's cluster I have mentioned is with two servers on a single WAS node.

Nodes are not much interest here. The install wizard asks the node name and rightly creating the configuration.

Honogod, as yo mentioned the application deployment is not manual here and after creating the cluster, the wizard deploys the application automatically.

Since in this case it has already deployed for the app first time when creating the cluster for first time, it is not redeploying it again.

The only concern is with modifying the cluster to add two new servers.

Pls let me know if we can modify the cluster using wsadmin script to add the left out server (server3) to an existing cluster.

Thanks,
Rishi
0
 
LVL 41

Expert Comment

by:HonorGod
ID: 34209024
Using a wsadmin script, you can create new cluster members quite easily.
For example, this article "Scripting from scratch: Creating a Jython administrative script for IBM WebSphere Application Server" describes, in great detail, how to create a script to create new cluster members.

http://goo.gl/P5Fz 
0
 

Author Comment

by:RishiBang
ID: 34222314
Hi HonorGod,

I have raised a problem ticket with Ariba Support and waiting for their response.

I will let you know if any changes I will do on WAS side to rectify this.

Thanks,
Rishi
0
 
LVL 41

Expert Comment

by:HonorGod
ID: 34222536
Sounds good.  Thanks for the status update.
0
 

Author Closing Comment

by:RishiBang
ID: 34331354
Thanks to HonorGod & Barnello for their inputs.
0
 
LVL 41

Expert Comment

by:HonorGod
ID: 34335628
Thanks for the grade & points.

Good luck & have a great day.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

This exercise is about for the following scenario: Dmgr and One node with 2 application server. Each application server contains it owns application. Application server name as follows server1 contains app1 server2 contains app1 Prereq…
Convert websphere application server default chained Certificates from 1024 to 2048 keysize or higher size and also you can change signatureAlgorithm . Please make sure Websphere Application Server fixpack 7.0.0.23 or Above. The following steps a…
Watch the video to know the process of migration of Exchange or Office 365 mailboxes in absence of MS Outlook. It is an eminent tool which can easily migrate Public, Archive user mailboxes from one another Exchange server and Office 365. Kernel Migr…
Go through the video which explain the procedure to export Amazon WorkMail single or multiple mailboxes to Outlook with Kernel Export Amazon WorkMail to PST tool. User can see the simple steps to export. It has salient features like filters (Include…

588 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question