Query cluster state
The following example queries the state of the cluster:
- Identify the Cluster MBean and assign it to the cluster variable.
This command returns the Cluster MBean.set cluster [$AdminControl completeObjectName cell=cellname,type=Cluster,name=cluster1]Example output:
WebSphere:cell=cellname,name=cluster1,mbeanIdentifier=Cluster,type=Cluster,process=cluster1- Query the cluster state.
This command returns the value of the run-time state attribute.$AdminControl getAttribute $cluster state
IBM is a trademark of the IBM Corporation in the United States, other countries, or both.