Example: Migrating - Stopping a server group
Stopping a server group involves an operational command. The following examples demonstrate how to stop a server group in WebSphere Application Server V4.0 and V5.0:
- wscp V4.0
ServerGroup stop /ServerGroup:cluster1/- wsadmin V5.0
set clusterMgr [$AdminControl completeObjectName WebSphere:type=ClusterMgr,*] $AdminControl invoke $clusterMgr "retrieveClusters" "" set cl1 [$AdminControl completeObjectName type=Cluster,name=cluster1,*] $AdminControl invoke $cl1 stop