In WebSphere Application Server V5.x, ServerClusters have replaced V4.0 ServerGroups. The members of a cluster are servers with identical application configurations. The following examples demonstrate how to create a server group in WebSphere Application Server V4.0 and V5.x. They assume that an application server named as1 already exists and is used as the first clone in a server group:
ServerGroup create /ServerGroup:sg1/ -baseInstance /Node:mynode/ApplicationServer:as1/ -serverGroupAttrs {{EJBServerAttributes {{SelectionPolicy roundrobin}}}}
Using Jacl:
set serverid [$AdminConfig getid /Node:mynode/Server:as1/] $AdminConfig convertToCluster $serverid MyCluster