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 start a cluster:
Steps for this task
set clusterMgr [$AdminControl completeObjectName cell=mycell,type=ClusterMgr,*]
clusterMgr = AdminControl.completeObjectName('cell=mycell,type=ClusterMgr,*') print clusterMgr
WebSphere:cell=mycell,name=ClusterMgr,mbeanIdentifier=ClusterMgr, type=ClusterMgr,process=dmgr
$AdminControl invoke $clusterMgr retrieveClusters
AdminControl.invoke(clusterMgr, 'retrieveClusters')
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 invoke $cluster start
AdminControl.invoke(cluster, 'start')
Related concepts
AdminControl object for scripted administration
Related tasks
Stopping clusters using scripting
Related reference
Commands for the AdminControl object