+

Search Tips   |   Advanced Search

ManagedNodeAgent .using wsadmin scripting

Use the Jython scripting language to configure the job manager with the wsadmin tool. Use the commands and parameters in the ManagedNodeAgent group to configure, query, and manage your job manager configuration for managed nodes.

Use the following commands to configure managed node agents for the job manager:


getRuntimeRegistrationProperties

The getRuntimeRegistrationProperties command displays runtime properties for a managed node and respective job manager.

Target object: None.

Required parameters:

Optional parameters:

If the node is registered with more than one job manager, use either the jobManagerUUID parameter or the host and port parameters to specify the job manager. If the node is registered with one job manager only, we can omit all of these optional parameters.

Return value.

Batch mode example usage

Interactive mode example usage


isPollingJobManager

The isPollingJobManager command determines whether a managed node is polling a job manager.

Target object: None.

Required parameters:

Optional parameters:

Use either the jobManagerUUID parameter or the host and port parameters to specify the job manager. If the system is registered with one job manager only, we can omit all of these optional parameters.

Return value.

The command returns true if polling is enabled or false if polling is not enabled.

Batch mode example usage

Interactive mode example usage


listJobManagers

The listJobManagers command lists each job manager that a specific managed node is registered with.

Target object: None.

Required parameters:

Optional parameters:

Use either the jobManagerUUID parameter or the host and port parameters to specify the job manager. If the system is registered with one job manager only, we can omit all of these optional parameters.

Return value.

The command returns a list of job manager properties, including the UUID and host name for the job manager. Depending on the properties defined during managed node registration, the command also might display the port number, connection type, and user name. The value of the password property is not displayed.

Batch mode example usage

Interactive mode example usage


registerWithJobManager

The registerWithJobManager command registers a managed node or deployment manager with the job manager.

Target object: None.

Required parameters:

Optional parameters:

Return value.

The command returns the configuration ID of the job manager, as the following output displays:

Batch mode example usage

Interactive mode example usage


setRuntimeRegistrationProperties

The setRuntimeRegistrationProperties command sets runtime properties for managed nodes and job managers.

Target object: None.

Optional parameters:

Return value. The command does not return output.

Batch mode example usage

Interactive mode example usage


startPollingJobManager

The startPollingJobManager command instructs a managed node to begin polling the job manager.

Target object: None.

Required parameters:

Optional parameters:

Use either the jobManagerUUID parameter or the host and port parameters to specify the job manager. If the system is registered with one job manager only, we can omit all of these optional parameters.

Return value. The command does not return output.

Batch mode example usage

Interactive mode example usage


stopPollingJobManager

The stopPollingJobManager command instructs a managed node to stop polling the job manager.

Target object: None.

Required parameters:

Optional parameters:

Use either the jobManagerUUID parameter or the host and port parameters to specify the job manager. If the system is registered with one job manager only, we can omit all of these optional parameters.

Return value. The command does not return output.

Batch mode example usage

Interactive mode example usage


unregisterWithJobManager

The unregisterWithJobManager command removes the managed node registration from the job manager configuration.

Target object: None.

Required parameters:

Optional parameters:

Return value.

The command returns the configuration ID of the job manager, as the following output displays:

Batch mode example usage

Interactive mode example usage


  • Administer jobs in a flexible management environment
  • Register nodes with the job manager
  • Group nodes in a flexible management environment
  • Run administrative jobs
  • Run administrative jobs across multiple nodes
  • Schedule future administrative jobs
  • Manage administrative jobs
  • AdministrativeJobs
  • ManagedNodeGroup (deprecated)
  • JobManagerNode