WebSphere Application Server & Liberty

 View Only
  • 1.  Jython Script

    Posted Sat February 11, 2012 05:39 PM
    Hi,

    I am using the below script to ripplestart All JVM's in cluster.

    ----------------
    clusterMgr = AdminControl.completeObjectName('cell=Cell Name,type=ClusterMgr,*')   
    print clusterMgr

    AdminControl.invoke(clusterMgr, 'retrieveClusters')

    cluster = AdminControl.completeObjectName('cell=Cell Name,type=Cluster,name=Cluster Name,*')
    print cluster

    AdminControl.invoke(cluster, 'rippleStart')
    -----------------------

    ENVIRONMENT:

    5 nodes each having 14 JVM's in single cluster
    WAS 6.1

    I am Having 2 questions

    1)The script picks up the cluster member in random and if there is 
    an issue with anyone of the cluster member then it will stuck to that 
    member until that particular jvm is up .Its a single point failure and 
    its difficult to rectify which jvm is that.

    2)The script is going to ripplestart 70 JVM's.Is there any chance 
    to get Timeout issue.If so How to resolve?



    Thanks
    Ravi