Before you begin
Before starting this task, the wsadmin tool must be running. See the Starting the wsadmin scripting client article for more information.Why and when to perform this task
Perform the following steps to query cluster state:
Steps for this task
set cluster [$AdminControl completeObjectName cell=mycell,type=Cluster,name=cluster1,*
cluster = AdminControl.completeObjectName('cell=mycell,type=Cluster,name=cluster1,*') print cluster
WebSphere:cell=mycell,name=cluster1,mbeanIdentifier=Cluster,type=Cluster,process=cluster1
$AdminControl getAttribute $cluster state
AdminControl.getAttribute(cluster, 'state')
Related concepts
AdminControl object for scripted administration
Related reference
Commands for the AdminControl object