Network Deployment (Distributed operating systems), v8.0 > Reference > Commands (wsadmin scripting)


ManagedNodeGroup command group using wsadmin scripting (deprecated)

We can use Jython to configure managed node groups with wsadmin.sh. 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.

Deprecated feature: The ManagedNodeGroup commands have been deprecated in WAS Version 8.0. Use commands in the TargetGroup command group, instead of commands in the ManagedNodeGroup command group. TargetGroup commands provide function that replaces ManagedNodeGroup commands. TargetGroup commands use Target instead of ManagedNode in the command names. For example, the addMemberToManagedNodeGroup command in the ManagedNodeGroup command group is deprecated and replaced with the addMemberToTargetGroup command in the TargetGroup command group.depfeat

The following commands are in the ManagedNodeGroup command group:



addMemberToManagedNodeGroup (deprecated)

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

Target object None


Required parameters

-groupName

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 example...



createManagedNodeGroup (deprecated)

The createManagedNodeGroup command creates a new managed node group.

Target object None


Required parameters

-groupName

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 example...



deleteManagedNodeGroup (deprecated)

The deleteManagedNodeGroup command deletes a managed node group from the 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 example...



deleteMemberFromManagedNodeGroup (deprecated)

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

Target object None


Required parameters

-groupName

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 example...



getManagedNodeGroupMembers (deprecated)

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

Target object None


Required parameters

-groupName

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 example...


Interactive example...



getManagedNodeGroupInfo (deprecated)

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

Target object None


Required parameters

-groupName

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 example...


Interactive example...



queryManagedNodeGroups (deprecated)

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

Target object None


Required parameters

-maxReturn

Maximum size of the node group data to display.


Optional parameters

-query

Settings for which the command queries the managed node groups. We can query for size, description, groupName, and jobType. (String, optional)

-validate

Whether to validate the query string. (Boolean, optional)


Return value

The command returns a list of managed node group names.


Batch example...


Interactive example...



modifyManagedNodeGroupInfo (deprecated)

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

Target object None


Required parameters

-groupName

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 example...


Register nodes with the job manager using commands
Group nodes in a flexible management environment using wsadmin.sh
Run administrative jobs using wsadmin.sh
Run administrative jobs across multiple nodes using wsadmin.sh
Schedule future administrative jobs using wsadmin.sh
Manage administrative jobs using wsadmin.sh


Related


AdministrativeJobs command group using wsadmin.sh
JobManagerNode command group using wsadmin.sh
ManagedNodeAgent command group using wsadmin.sh
TargetGroup command group using wsadmin.sh

+

Search Tips   |   Advanced Search