You can use scripting to create clusters without cluster members.
About this task
Perform the following steps to create a cluster without a cluster
member:
Procedure
- There are two ways to perform this task. Choose one of the following:
- Using the AdminTask object:
Using Jacl:
$AdminTask createCluster {-interactive}
Using Jython:
AdminTask.createCluster (['-interactive'])
- Using the AdminConfig object:
- Identify the cell configuration ID and set it to the s1 variable:
Using Jacl:
set s1 [$AdminConfig getid /Cell:mycell/]
Using Jython:
s1 = AdminConfig.getid('/Cell:mycell/')
- Create a new cluster without a cluster member:
Using Jacl:
$AdminConfig create ServerCluster $s1 {{name ClusterName}}
Using Jython:
print AdminConfig.create('ServerCluster', s1, '[[name ClusterName]]')
- Save the configuration changes. See the Saving configuration changes with the wsadmin tool
article for more information.
- In a network deployment environment only, synchronize the node.
See the Synchronizing nodes with the wsadmin tool
article
for more information.