+

Search Tips   |   Advanced Search

 

CoreGroupManagement command group for the AdminTask object

 

You can use the Jython or Jacl scripting languages to manage deployed applications. The commands and parameters in the CoreGroupManagement group can be used to create and manage core groups. A core group is a high availability domain that consists of a set of processes in the same cell that can directly establish high availability relationships. A cell must contain at least one core group. The CoreGroupManagement command group for the AdminTask object includes the following commands:

 

createCoreGroup

The createCoreGroup command creates a new core group. The core group that you create contains no members.

Target object None

Parameters and return values

-coreGroupName

The name of the core group that you are creating. (String required)

Examples

Batch mode example usage:

Interactive mode example usage:

 

deleteCoreGroup

The deleteCoreGroup command deletes an existing core group. The core group specified must not contain any members. You cannot delete the default core group.

Target object None

Parameters and return values

-coreGroupName

The name of the existing core group that will be deleted. (String required)

Examples

Batch mode example usage:

Interactive mode example usage:

 

doesCoreGroupExist

The doesCoreGroupExist command returns a boolean value that indicates if the core group specified exists.

Target object None

Parameters and return values

-coreGroupName

The name of the core group. (String, required)

Examples

Batch mode example usage:

Interactive mode example usage:

 

getAllCoreGroupNames

The getAllCoreGroupNames command returns a string that contains the names of all of the existing core groups

Target object None

Parameters and return values

Examples

Batch mode example usage:

Interactive mode example usage:

 

getCoreGroupNameForServer

The getCoreGroupNameForServer command returns the name of the core group in which the server specified is currently a member.

Target object None

Parameters and return values

-nodeName

The name of the node that contains the server. (String, required)

-serverName

The name of the server. (String, required)

Examples

Batch mode example usage:

Interactive mode example usage:

 

getDefaultCoreGroupName

The getDefaultCoreGroupName command returns the name of the default core group.

Target object None

Parameters and return values

Examples

Batch mode example usage:

Interactive mode example usage:

 

moveClusterToCoreGroup

The moveClusterToCoreGroup command moves all of the servers in a cluster specified from a core group to another core group. All of the servers in a cluster must be members of the same core group.

Target object None

Parameters and return values

-source

The name of the core group that contains the cluster to move. The core group must exist prior to running this command. The cluster specified must be a member of this core group. (String, required)

-target

The name of the core group where you want to move the cluster. (String, required)

-clusterName

The name of the cluster to move. (String, required)

Examples

Batch mode example usage:

Interactive mode example usage:

 

moveServerToCoreGroup

The moveServerToCoreGroup command moves a server to a core group specified. When the server is added to the core group specified, it is removed from the core group where it originally resided.

Target object None

Parameters and return values

-source

The name of the core group that contains the server to move. The core group must already exist with the server specified being a member of the core group. (String, required)

-target

The name of the core group where you want to move the server. The core group specified must exist prior to running the command. (String, required)

-nodeName

The name of the node that contains the server to move. (String, required)

-serverName

The name of the server to move. (String, required)

Examples

Batch mode example usage:

Interactive mode example usage:




 

Related tasks


Use the AdminTask object for scripted administration

 

Related Reference


Commands for the AdminTask object

 

Reference topic