Need commands for clustering of app servers thru command prompt
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

HonorGodSoftware EngineerCommented:
What kind of clustering operations do you need?

Given a Deployment Manager, and an unmanaged node, you can use the "addNode" command
script (i.e., either addNode.bat, or to federate the application server.

From wsadmin, the AdminConfig.convertToCluster() and AdminConfig.createClusterMember() methods are probably what you need.

The documentation (including examples) for which are available from:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
You can only convert 1 existing server into a cluster member per cluster.  The follow-on members in that particular clusters are clones of the first member.
Are you creating these clusters and app servers from scract?

If so something along the lines of this will help.  Run these commands in  (depending on you settings you may need to use the -lang jython option)

This creates a cluster called cluster1 and creates 2 ap servers called member1 and member2 across 2 nodes.

AdminTask.createCluster('[-clusterConfig [-clusterName cluster1]]')  

AdminTask.createClusterMember('[-clusterName cluster1 -memberConfig [-memberNode node1 -memberName member1 -memberWeight 2] -firstMember [-templateName default -nodeGroup DefaultNodeGroup -coreGroup DefaultCoreGroup]]')  

AdminTask.createClusterMember('[-clusterName cluster1 -memberConfig [-memberNode node2 -memberName member2 -memberWeight 2]]')  

Oh almost forgot, don't forget to do your

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java App Servers

From novice to tech pro — start learning today.