Network Deployment (Distributed operating systems), v8.0 > Set up the application serving environment > Administer nodes and resources > Administer nodes remotely using the job manager > Register targets with job managers
Register dmgrs with job managers
Before a job manager can administer federated nodes of a dmgr and their resources, register the dmgr with the job manager. Registering a dmgr with a job manager also enables you to run job manager jobs from a dmgr console.
Ensure that the dmgr version number must not be higher than the version number of any job manager with which you are registering the dmgr.
To register dmgrs, you can use the dmgr console or the wsadmin registerWithJobManager command.
Procedure
- Use the dmgr admin console to register dmgrs.
- Click System administration > Deployment manager > Job managers > Register with Job Manager.
- On the Register with Job Manager page, specify the dmgr node name, optionally specify other parameters such as the job manager user name and password, and click OK.
For Port, specify the job manager admin console port number. If security is not enabled, specify the unsecure job manager admin console port; the default is 9960. If no port number is specified, the default secure port number 9943 is used.
- Use the wsadmin registerWithJobManager command to register dmgrs. The command is in the ManagedNodeAgent command group.
- Open a command window on the bin directory of the dmgr profile.
- Run the wsadmin command to start wsadmin.sh and, optionally, use the Jython language.
wsadmin -lang jython- Run the registerWithJobManager command to make the dmgr a managed target node of the job manager.
AdminTask.registerWithJobManager('[-host jobmgr_host -port jobmgr_console_port -managedNodeName deployment_manager_node_name]')jobmgr_host is the host name of the job manager. The default value is localhost.
jobmgr_console_port specifies the job manager admin console port number. If security is not enabled, specify the unsecure job manager admin console port; the default is 9960. If no port number is specified, the default secure port number 9943 is used.
deployment_manager_node_name is the host name of the dmgr, for example, CellManager01.
Alternatively, you can run the registerWithJobManager command in interactive mode:
AdminTask.registerWithJobManager('-interactive')If the command is successful, wsadmin displays the unique ID (UUID) of the job manager. For example:'JobMgr01-JOB_MANAGER-74cdda0c-68f6-4970-a959-6f6800b9f22d'For more information, see the topic on registering targets with the job manager using scripting.
What to do next
Verify that the dmgr target is registered with the job manager and that its federated nodes are listed among target resources.
Register targets with job managers
Set up a job manager environment
Start and stop the job manager
Register nodes with the job manager using commands
Related
JobManagerNode command group using wsadmin.sh