Tag Archives: stop

Example WebSphere Jython to stop an Application Server

Stop an application server given a nodeName and serverName: #—————————————————————- # Stop a server #—————————————————————- def stopAppServer ( serverName, nodeName ): #————————————————————– # — is a server by this name already running on the node? #————————————————————– print “—> Checking to … Continue reading

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

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 listener port

The following jython stops a listener port, given a cell and cluster. See also Convert String to List post for wsadminToList function. #—————————————————————- # Stop a Listener port on a server #—————————————————————- def controlListenerPortFunc ( clusterName, lpstate, listPortName ): #Identify … Continue reading

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