Tag Archives: stop cluster

Example WebSphere Jython to stop all clusters in a cell

Stops all clusters, cluster members on all nodes in the cell. See also Convert String to List post for wsadminToList function. #—————————————————————- # Stop ALL clusters on all nodes in the cell #—————————————————————- def stopAllClustersFunc ( ): if (cmp(installInIDE, “true”) … Continue reading

Posted in Code, Jython for WebSphere | Tagged , , , | Leave a comment

Example WebSphere Jython to Stop a cluster

The following code stops a cluster on all nodes in the cell. #—————————————————————- # Stop a cluster on all nodes in the cell #—————————————————————- def stopClusterFunc ( clusterName ): cluster = AdminConfig.getid(“/Cell:”+cellName+”/ServerCluster:”+clusterName+”/” ) if (len(cluster) == 0): print “—> Cluster … Continue reading

Posted in Code, Jython for WebSphere | Tagged , , , | Leave a comment