Tuesday, November 23, 2010

appliacation

I have 2 cluster members and 3 applications are running on that cluster. I want to stop only one application on one cluster members.But other 2apps are available on both cluster members.

without stopping the cluster member is there any chance to stop the application on cluster member

How to do this



sol:

as u want to stop the application only on one cluster member ?it is not possible through console and it is possible through wsadmin script

wsadmin>appstop=AdminControl.queryNames('type=ApplicationManager,node=urnodename,process=servername',*)
wsadmin>AdminControl.invoke(appstop,'stopApplication','applicationname')

Applications>Enterpriseapplications>application_name

now u place mouse over the '->' it shows it is partial started means the application is stopped on one of the server

do it and let me know if any doubts as i tried it on my system

another important point :this is jython script in our websphere default jacl is enabled to enable jython go to properties directory of every was home and every profiles directory and open wsadmin properties file and configure like this com.ibm.ws.scripting.defaultLang=jython
 
 

No comments:

Post a Comment