Registering host computers with job managers

You must register a remote host computer with a job manager to enable the job manager to access applications, command files, and other resources on the host computer.

Before you begin

Create a job manager profile and start the job manager.

About this task

A remote host target is not required to have any WebSphere® Application Server products installed. There are no software requirements for this host beyond its operating system. To register remote hosts, you can use the Targets page of an administrative console or the wsadmin registerHost command.

To register Liberty servers with a job manager, use a procedure for registering a target with a host. You can set variables for Liberty servers in a registerHost command.

Procedure

Results

After the host is registered with the job manager, the console or wsadmin displays the unique ID (UUID) of the host.

Example

You can set variables for Liberty in the host properties when registering a host with the registerHost command. The variables specify the root directories to which to install Liberty resources and specify search paths for finding resources.

  1. Open a command prompt at the bin directory of the job manager profile.
  2. Start the wsadmin tool and use the Jython scripting language.
    wsadmin -lang jython
  3. Run an AdminTask registerHost command that specifies the variable name and value.
    For example, set the WLP_WORKING_DIR variable to use the C:\liberty directory:
    AdminTask.registerHost('-host host_name -hostProps [[username admin][password password]
     [saveSecurity true][WLP_WORKING_DIR C:/liberty]]')

What to do next

Verify that the host is registered with the job manager and that the job manager can list the target resources.


指出主題類型的圖示 作業主題



時間戳記圖示 前次更新: July 9, 2016 11:15
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=tagt_jobmgr_register_host
檔名:tagt_jobmgr_register_host.html