1.3.5 Setting up JP1/AJS3 - Manager
To execute jobs on an agent host, you must register an execution agent in JP1/AJS3 - Manager so that JP1/AJS3 - Manager can request the execution agent to execute the jobs.
Prerequisites
-
Log in to the manager host as an OS user with Administrator permissions.
-
Map a JP1 user having JP1_JPQ_Admin permission to an OS user who logs in to the manager host.
-
If the name of the OS user who logs in to the manager host and the JP1 user name mapped to that OS user are different, set the JP1 user name for the environment variable JP1_USERNAME.
Procedure
-
Start the command prompt.
-
Execute the ajsagtadd command.
The ajsagtadd command adds an execution agent. The following shows an example of executing the command:
C:\>ajsagtadd -a AGT01 -c 00:00-00:00=5
The following describes the arguments and information to be specified.
- -a execution-agent-name
-
Specify the name of an execution agent you want to add.
- -c time-time=maximum-number-of-concurrently-executable-jobs
-
Specify a time period and the maximum number of concurrently executable jobs to be applied to the time period. The above example specifies that a maximum of five jobs can be concurrently executed on the agent host from 0:00 to 0:00 on the following day.
-
Execute the ajsagtshow command.
The ajsagtshow command outputs execution agent information. The following shows an example of executing the command:
C:\>ajsagtshow -a AGT01
The following describes the arguments and information to be specified.
- -a execution-agent-name
-
Outputs information about the specified execution agent.
When the ajsagtshow command is executed, the following information is displayed:
KNAC1101-I The output of the agent manager information started. HOSTNAME:MAN01 AGENT STATUS HOST CON-EXE QUE JOB EVENT DESCRIPTION --------- ------ --------- ------- ---- ---- ----- ----------- AGT01 Ef AGT01 5 0 0 0 KNAC1102-I The output of the agent manager information ended.
Result
The execution agent is added to JP1/AJS3 - Manager.
Postrequisites
Configure the agent host.
Related topics