Query cluster state using scripting
### Identify the Cluster MBean and assign it to the cluster variable.
set cluster [$AdminControl completeObjectName cell=mycell,type=Cluster,name=cluster1,*### Query the cluster state.
$AdminControl getAttribute $cluster statecluster = AdminControl.completeObjectName('cell=mycell,type=Cluster,name=cluster1,*')
print clusterAdminControl.getAttribute(cluster, 'state')
See Also
Commands for the AdminControl object