An example creating a cluster member to an existing cluster follows:
Using Jacl:
set cluster [$AdminConfig getid /ServerCluster:myCluster1/]
An example of this output follows:
myCluster1(cells/mycell/cluster/myCluster1:cluster.xml#ServerCluster_1)
Using Jacl:
set node [$AdminConfig getid /Node:mynode/]An example of this output follows:
mynode(cells/mycell/nodes/mynode:node.xml#Node_1)
Using Jacl:
set serverTemplate [$AdminConfig listTemplates Server]
An example of this output follows:
server1(templates/default/nodes/servers/server1:server.xml#Server_1)
The following example creates the new cluster member, passing in the existing cluster configuration ID, existing node configuration ID, and the new member attributes:
Using Jacl:
$AdminConfig createClusterMember $cluster $node {{memberName clusterMember1}}
The following example creates the new cluster member with a template, passing in the existing cluster configuration ID, existing node configuration ID, the new member attributes, and the template ID:
Using Jacl:
$AdminConfig createClusterMember $cluster $node {{memberName clusterMember1}} $serverTemplate
An example of this output follows:
clusterMember1(cells/mycell/clusters/myCluster1:cluster.xml$ClusterMember_2)