ManagedNodeGroup command group for the AdminTask object using wsadmin scripting

You can use the Jython scripting language to configure managed node groups with the wsadmin tool. Use the commands and parameters in the ManagedNodeGroup command group to create and manage node groups. Create managed node groups to submit jobs from the job manager to one or many managed nodes.

addMemberToManagedNodeGroup

The addMemberToManagedNodeGroup command adds a managed node to an existing managed node group.

Target object

None.

Required parameters

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

Return value

The command does not return output.

Batch mode example usage

Interactive mode example usage

createManagedNodeGroup

The createManagedNodeGroup command creates a new managed node group.

Target object

None.

Required parameters

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

Optional parameters

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

Return value

The command does not return output.

Batch mode example usage

Interactive mode example usage

deleteManagedNodeGroup

The deleteManagedNodeGroup command deletes a managed node group from your configuration.

Target object

None.

Required parameters

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

Return value

The command does not return output.

Batch mode example usage

Interactive mode example usage

deleteMemberFromManagedNodeGroup

The deleteMemberFromManagedNodeGroup command removes a managed node from a specific managed node group.

Target object

None.

Required parameters

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

Return value

The command does not return output.

Batch mode example usage

Interactive mode example usage

getManagedNodeGroupMembers

The getManagedNodeGroupMembers command displays the managed nodes that belong to a specific managed node group.

Target object

None.

Required parameters

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

Return value

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

Batch mode example usage

Interactive mode example usage

getManagedNodeGroupInfo

The getManagedNodeGroupInfo command displays configuration information for the managed node group of interest.

Target object

None.

Required parameters

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

Return value

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

Batch mode example usage

Interactive mode example usage

queryManagedNodeGroups

The queryManagedNodeGroups command displays each managed node group in your configuration that meets specific query criteria.

Target object

None.

Required parameters

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

Optional parameters

-query
Specifies the settings for which the command queries the managed node 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 managed node group names.

Batch mode example usage

Interactive mode example usage

modifyManagedNodeGroupInfo

The modifyManagedNodeGroupInfo command modifies the description for a managed node group.

Target object

None.

Required parameters

-groupName
Specifies the name of the managed node group of interest. (String, required)
-description
Specifies a new description for the managed node 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 wsadmin scripting
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
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 and conditions for information centers | Feedback

Last updatedLast updated: Feb 5, 2014 9:49:51 PM CST
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=compass&product=was-nd-mp&topic=rxml_7jobmannode
File name: rxml_7jobmannode.html