+

Search Tips   |   Advanced Search

TargetGroup using wsadmin.sh

We can use the Jython scripting language to configure target groups with the wsadmin tool. Use the commands in the TargetGroup command group to 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.

Use the following commands to create and configure target groups:


addMemberToTargetGroup

Add a target to an existing target group.

Target object: None.

Required parameters:

Return value. The command does not return output.

Batch mode example usage

Interactive mode example usage


createTargetGroup

Creates a new target group.

Target object

None.

Required parameters:

Optional parameters:

Return value. The command does not return output.

Batch mode example usage

Interactive mode example usage


deleteMemberFromTargetGroup

Remove a target from a specific target group.

Target object: None.

Required parameters:

Return value. The command does not return output.

Batch mode example usage

Interactive mode example usage


deleteTargetGroup

Delete a target group from the configuration.

Target object: None.

Required parameters:

Return value. The command does not return output.

Batch mode example usage

Interactive mode example usage


getTargetGroupMembers

Display the targets that belong to a specific target group.

Target object: None.

Required parameters:

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

Display configuration information for the target group of interest.

Target object: None.

Required parameters:

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

Display each target group in the configuration that meets specific query criteria.

Target object: None.

Required parameters:

Optional parameters:

Return value.

The command returns a list of target group names.

Batch mode example usage

Interactive mode example usage


modifyTargetGroupInfo

Modify the description for a target group.

Target object: None.

Required parameters:

Return value. The command does not return output.

Batch mode example usage

Interactive mode example usage


  • Registering nodes with the job manager using commands
  • Grouping nodes
  • Running administrative jobs
  • Running administrative jobs across multiple nodes
  • Scheduling future administrative jobs
  • Manage administrative jobs
  • ManagedNodeGroup using wsadmin.sh (deprecated)
  • AdministrativeJobs .
  • JobManagerNode .
  • ManagedNodeAgent .