+

Search Tips   |   Advanced Search

Intelligent Management: dynamic cluster administrative tasks

Use the dynamic cluster commands to view or edit the dynamic clusters, without using the administrative console.

Use the following commands to create dynamic clusters, add or remove servers from clusters, list dynamic clusters, or modify dynamic clusters.

After using any of these commands that changes the configuration, be sure to use the AdminConfig.save() command to save the changes.


createDynamicCluster

Create a new dynamic cluster.

Required parameters

Optional parameters

Return value.

The command returns javax.management.ObjectName value of the dynamic cluster that we created.

Batch mode example usage

Interactive mode example usage


createPHPDynamicCluster

Create a new PHP dynamic cluster.

Required parameters

Optional parameters

Return value.

The command returns javax.management.ObjectName value of the dynamic cluster that we created.

Batch mode example usage

Interactive mode example usage


createDynamicClusterFromStaticCluster

Create a new dynamic cluster from an existing static cluster.

Optional parameters

Return value.

The command returns the javax.management.ObjectName value of the dynamic cluster that we created.

Batch mode example usage

Interactive mode example usage


createDynamicClusterFromForeignServers

Create a new dynamic cluster of assisted life-cycle servers. Create representations of these servers with an administrative task or in the administrative console before creating a dynamic cluster.

Deprecated feature: Assisted and Complete Lifecycle servers have been deprecated in WAS v9.0. Migrate WebSphere Liberty servers to a Liberty Collective configuration. There is no recommended migration action for other server types.depfeat

Required parameters

Optional parameters

Return value.

The command returns the javax.management.ObjectName identification of the server type that you updated.

Batch mode example usage

Interactive mode example usage


createODRDynamicCluster

Create on demand router dynamic clusters.

Target object:

Name of the dynamic cluster.

Required parameters:

membershipPolicy: Membership policy.

Optional parameters:

Batch mode example usage

Interactive mode example usage


addForeignServersToDynamicCluster

Add foreign servers to an existing dynamic cluster.

Required parameters

Return value.

The command returns the javax.management.ObjectName identification of the server type that you updated.

Batch mode example usage

Interactive mode example usage


removeForeignServersFromDynamicCluster

Remove foreign servers from the dynamic cluster

Required parameters

Return value.

The command returns the javax.management.ObjectName identification of the server type that you updated.

Batch mode example usage

Interactive mode example usage


deleteDynamicCluster

Delete a dynamic cluster from the configuration.

Return value.

The command returns the javax.management.ObjectName identification of the dynamic cluster that you deleted.

Batch mode example usage

Interactive mode example usage


getDynamicClusterMembers

Display the members of the specified dynamic cluster and node name. If the node name is not specified, then all of the members of the dynamic cluster are displayed.

Optional parameters

Return value.

The command returns a list of ClusterMember objects.

Batch mode example usage

Interactive mode example usage


getDynamicClusterOperationalMode

Display the operational mode of the dynamic cluster.

Return value.

The command returns the value of operationalMode. String.

Batch mode example usage

Interactive mode example usage


getDynamicClusterMembershipPolicy

Display the dynamic cluster membership policy.

Return value.

The command returns the value of membershipPolicy. String.

Batch mode example usage

Interactive mode example usage


getDynamicClusterServerType

Display the dynamic cluster server type.

Return value.

The command returns the value of serverType. String.

Batch mode example usage

Interactive mode example usage


getDynamicClusterMinInstances

Display the minimum number of cluster instances for the specified dynamic cluster.

Return value.

The command returns the value of minInstances. Integer.

Batch mode example usage

Interactive mode example usage


getDynamicClusterMaxInstances

Display the maximum number of cluster instances for the specified dynamic cluster.

Return value.

The command returns the value of maxInstances. Integer.

Batch mode example usage

Interactive mode example usage


getDynamicClusterVerticalInstances

Display the number of dynamic cluster vertical stacking of instances on the node.

Return value.

The command returns the value of numVerticalInstances. Integer.

Batch mode example usage

Interactive mode example usage


getDynamicClusterIsolationProperties

Display the dynamic cluster isolation properties.

Return value.

The command returns the value of isolationGroup and strictIsolationEnabled. String.

Batch mode example usage

Interactive mode example usage


listDynamicClusters

Display all the dynamic clusters in the cell.

Return value.

The command returns each of the dynamic cluster names. String.

Batch mode example usage

Interactive mode example usage


listDynamicClusterIsolationGroups

Display all the dynamic cluster isolation groups in the cell.

Return value.

The command returns a list of the dynamic cluster isolation groups. String.

Batch mode example usage

Interactive mode example usage


listDynamicClusterIsolationGroupMembers

Display the dynamic cluster isolation group members for the specified isolation group.

Return value.

The command returns a list of the dynamic cluster isolation group members. String.

Batch mode example usage

Interactive mode example usage


modifyDynamicClusterIsolationProperties

Modify dynamic cluster isolation properties.

Optional parameters

Return value.

The return value is void.

Batch mode example usage

Interactive mode example usage


setDynamicClusterOperationalMode

Set the operational mode for the dynamic cluster.

Required parameters

Return value.

The return value is void.

Batch mode example usage

Interactive mode example usage


setDynamicClusterMembershipPolicy

Set the membership policy for the dynamic cluster.

Required parameters:

-membershipPolicy

Membership policy subexpression. (String, required)

Return value.

The return value is void.

Batch mode example usage

Interactive mode example usage


setDynamicClusterMinInstances

Set the minimum number of cluster instances for the dynamic cluster.

Required parameters:

-minInstances

Minimum number of cluster instances. (Integer, required)

Return value.

The return value is void.

Batch mode example usage

Interactive mode example usage


setDynamicClusterMaxInstances

Set the maximum number of cluster instances for the dynamic cluster.

Required parameters:

-maxInstances

Minimum number of cluster instances. (Integer, required)

Return value.

The return value is void.

Batch mode example usage

Interactive mode example usage


setDynamicClusterVerticalInstances

Set the number of dynamic cluster vertical stacking instances on the node.

Required parameters:

-numVerticalInstances

Number of vertical stacking of instances on a node.(Integer, required)

Return value.

The return value is void.

Batch mode example usage

Interactive mode example usage


testDynamicClusterMembershipPolicy

Test the dynamic cluster membership policy to see which nodes are returned.

Required parameters:

-membershipPolicy

Membership policy subexpression. (String, required)

Return value.

The command returns a String [] list of node names.

Batch mode example usage

Interactive mode example usage


createNonWASDynamicCluster

Create a new dynamic cluster of complete life-cycle management servers.

Required parameters

Optional parameters

Return value.

The command returns the javax.management.ObjectName value of the dynamic cluster that we created.

Batch mode example usage

Interactive mode example usage


Edit the dynamic cluster server template

Identify the dynamic cluster server template and assign the template to the serverid variable.

Batch mode example usage

Use the serverid variable to modify, create, or delete configuration objects in the dynamic cluster server template.

  • Commands for the AdminTask object
  • Create dynamic clusters
  • Configure vertical stacking
  • Commands for the AdminConfig object
  • Intelligent Management: dynamic cluster custom properties