TargetGroup command group for the AdminTask object using wsadmin scripting

You can use the Jython scripting language to configure target groups with the wsadmin tool.

New feature New feature: Use the commands and parameters in the TargetGroup command group to create and manage target groups. Create target groups to submit jobs from the job manager to one or many targets. Commands in the TargetGroup command group provide function that replaces deprecated commands in the ManagedNodeGroup command group.newfeat

addMemberToTargetGroup

The addMemberToTargetGroup command adds a target to an existing target group.

Target object

None.

Required parameters

-groupName
Specifies the name of the target group of interest. (String, required)
-targetNameList
Specifies a list of target names to add to the target group of interest. (String [ ], required)

Return value

The command does not return output.

Batch mode example usage

Interactive mode example usage

createTargetGroup

The createTargetGroup command creates a new target group.

Target object

None.

Required parameters

-groupName
Specifies the name of the target group of interest. (String, required)

Optional parameters

-description
Specifies a description of the target group. (String, optional)

Return value

The command does not return output.

Batch mode example usage

Interactive mode example usage

deleteMemberFromTargetGroup

The deleteMemberFromTargetGroup command removes a target from a specific target group.

Target object

None.

Required parameters

-groupName
Specifies the name of the target group of interest. (String, required)
-targetNameList
Specifies a list of target Unique Uniform Identifiers (UUID) to delete from the target group of interest. (String [ ], required)

Return value

The command does not return output.

Batch mode example usage

Interactive mode example usage

deleteTargetGroup

The deleteTargetGroup command deletes a target group from your configuration.

Target object

None.

Required parameters

-groupNameList
Specifies a list of target groups to delete. (String [ ], required)

Return value

The command does not return output.

Batch mode example usage

Interactive mode example usage

getTargetGroupMembers

The getTargetGroupMembers command displays the targets that belong to a specific target group.

Target object

None.

Required parameters

-groupName
Specifies the name of the target group of interest. (String, required)

Return value

The command returns a list of target UUIDs that belong to the target group of interest.

Batch mode example usage

Interactive mode example usage

getTargetGroupInfo

The getTargetGroupInfo command displays configuration information for the target group of interest.

Target object

None.

Required parameters

-groupName
Specifies the name of one or more target groups of interest. (String [ ], required)

Return value

The command returns a list of attributes for each target group. Each list of attributes displays the name, size, and description of the target group, and whether all group members have an administrative agent.

Batch mode example usage

Interactive mode example usage

queryTargetGroups

The queryTargetGroups command displays each target group in your configuration that meets specific query criteria.

Target object

None.

Required parameters

-maxReturn
Specifies the maximum size of the target group data to display.

Optional parameters

-query
Specifies the settings for which the command queries the target groups. You can query for size, description, groupName, and jobType. (String, optional)
-validate
Specifies whether to validate the query string. (Boolean, optional)

Return value

The command returns a list of target group names.

Batch mode example usage

Interactive mode example usage

modifyTargetGroupInfo

The modifyTargetGroupInfo command modifies the description for a target group.

Target object

None.

Required parameters

-groupName
Specifies the name of the target group of interest. (String, required)
-description
Specifies a new description for the target group of interest. (String, required)

Return value

The command does not return output.

Batch mode example usage

Interactive mode example usage




Related tasks
Registering nodes with the job manager using commands
Grouping nodes in a flexible management environment using wsadmin scripting
Running administrative jobs using wsadmin scripting
Running administrative jobs across multiple nodes using wsadmin scripting
Scheduling future administrative jobs using wsadmin scripting
Managing administrative jobs using wsadmin scripting
Related reference
ManagedNodeGroup command group for the AdminTask object using wsadmin scripting (deprecated)
AdministrativeJobs command group for the AdminTask object using wsadmin scripting
JobManagerNode command group for the AdminTask object using wsadmin scripting
ManagedNodeAgent command group for the AdminTask object using wsadmin scripting
Reference topic Reference topic    

Terms of Use | Feedback

Last updatedLast updated: Sep 19, 2011 3:08:41 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=matt&product=was-nd-zos&topic=rxml_job_targetgroup
File name: rxml_job_targetgroup.html