Posted on 2008-11-14
Last Modified: 2013-12-11
Need commands for clustering of app servers thru command prompt
Question by:saichandra
    LVL 41

    Accepted Solution

    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:
    LVL 1

    Assisted Solution

    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.

    Expert Comment

    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


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    Suggested Solutions

    This article is about some of the basic and important steps to be used to improve the performance in web-sphere commerce application development. 1) Always leverage the Dyna-caching facility provided by the product 2) Remove the unwanted code …
    There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    737 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

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now