The following example starts a cluster:
Using Jacl:
set clusterMgr [$AdminControl completeObjectName cell=mycell,type=ClusterMgr,*]This command returns the ClusterMgr MBean.
Example output:
WebSphere:cell=mycell,name=ClusterMgr,mbeanIdentifier=ClusterMgr,type=ClusterMgr,process=dmgr
Using Jacl:
$AdminControl invoke $clusterMgr retrieveClustersThis command calls the retrieveClusters operation on the ClusterMgr MBean.
Using Jacl:
set cluster [$AdminControl completeObjectName cell=mycell,type=Cluster,name=cluster1,*]This command returns the Cluster MBean.
Example output:
WebSphere:cell=mycell,name=cluster1,mbeanIdentifier=Cluster,type=Cluster,process=cluster1
Using Jacl:
$AdminControl invoke $cluster startThis command invokes the start operation on the Cluster MBean.