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:


createDynamicCluster

The createDynamicCluster command creates a new dynamic cluster.

Required parameters

Optional parameters

Return value

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

Batch mode example

Interactive mode


createPHPDynamicCluster

The createPHPDynamicCluster command creates a new PHP dynamic cluster.

Required parameters

Optional parameters

Return value

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

Batch mode example

Interactive mode


createDynamicClusterFromStaticCluster

The createDynamicClusterFromStaticCluster command creates 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 created.

Batch mode example

Interactive mode


createDynamicClusterFromForeignServers

The createDynamicClusterFromForeignServers command creates 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.

Required parameters

Optional parameters

Return value

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

Batch mode example

Interactive mode


createODRDynamicCluster

Use the createODRDynamicCluster command to create on demand router dynamic clusters.

Target object:

Name of the dynamic cluster.

Required parameters

membershipPolicy: Membership policy.

Optional parameters

Batch mode example

Interactive mode


addForeignServersToDynamicCluster

The addForeignServersToDynamicCluster command adds 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

Interactive mode


removeForeignServersFromDynamicCluster

The removeForeignServersFromDynamicCluster command removes 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

Interactive mode


deleteDynamicCluster

The deleteDynamicCluster deletes 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

Interactive mode


getDynamicClusterMembers

The getDynamicClusterMembers command displays 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

Interactive mode


getDynamicClusterOperationalMode

The getDynamicClusterOperationalMode command displays the operational mode of the dynamic cluster.

Return value

The command returns the value of operationalMode. String.

Batch mode example

Interactive mode


getDynamicClusterMembershipPolicy

The getDynamicClusterMembershipPolicy command displays the dynamic cluster membership policy.

Return value

The command returns the value of membershipPolicy. String.

Batch mode example

Interactive mode


getDynamicClusterServerType

The getDynamicClusterServerType command displays the dynamic cluster server type.

Return value

The command returns the value of serverType. String.

Batch mode example

Interactive mode


getDynamicClusterMinInstances

The getDynamicClusterMinInstances command displays the minimum number of cluster instances for the specified dynamic cluster.

Return value

The command returns the value of minInstances. Integer.

Batch mode example

Interactive mode


getDynamicClusterMaxInstances

The getDynamicClusterMaxInstances command displays the maximum number of cluster instances for the specified dynamic cluster.

Return value

The command returns the value of maxInstances. Integer.

Batch mode example

Interactive mode


getDynamicClusterVerticalInstances

The getDynamicClusterVerticalInstances command displays 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

Interactive mode


getDynamicClusterIsolationProperties

The getDynamicClusterVerticalInstances command displays the dynamic cluster isolation properties.

Return value

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

Batch mode example

Interactive mode


listDynamicClusters

The listDynamicClusters command displays all the dynamic clusters in the cell.

Return value

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

Batch mode example

Interactive mode


listDynamicClusterIsolationGroups

The listDynamicClusterIsolationGroups command displays 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

Interactive mode


listDynamicClusterIsolationGroupMembers

The listDynamicClusterIsolationGroupMembers command displays 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

Interactive mode


modifyDynamicClusterIsolationProperties

The modifyDynamicClusterIsolationProperties command modifies dynamic cluster isolation properties.

Optional parameters

Return value

The return value is void.

Batch mode example

Interactive mode


setDynamicClusterOperationalMode

The setDynamicClusterOperationalMode command sets the operational mode for the dynamic cluster.

Required parameters

Return value

The return value is void.

Batch mode example

Interactive mode


setDynamicClusterMembershipPolicy

The setDynamicClusterMembershipPolicy command sets 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

Interactive mode


setDynamicClusterMinInstances

The setDynamicClusterMinInstances command sets 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

Interactive mode


setDynamicClusterMaxInstances

The setDynamicClusterMaxInstances command sets 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

Interactive mode


setDynamicClusterVerticalInstances

The setDynamicClusterVerticalInstances command sets 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

Interactive mode


testDynamicClusterMembershipPolicy

The testDynamicClusterMembershipPolicy command tests 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

Interactive mode


createNonWASDynamicCluster

The createNonWASDynamicCluster command creates 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 created.

Batch mode example

Interactive mode


Edit the dynamic cluster server template

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

Batch mode example

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


Related tasks

  • Commands (AdminTask)
  • Create dynamic clusters
  • Configure vertical stacking

  • Commands for the AdminConfig object


    Related information:

  • Intelligent Management: dynamic cluster custom properties