3.5.1 Procedure for linking to JP1/AJS3
By linking to JP1/AJS3, you will be able to automatically execute the following commands on the JP1/AO server from the JP1/AJS3 server:
-
stoptask command
-
submittask command
Before you begin
If the firewall is enabled on the JP1/AO server, exceptions must be registered in the firewall. Register the following ports, which are used for communication with JP1/AJS3 - Manager, as exceptions in the firewall settings for the JP1/AO server.
-
20241/tcp (jp1ajs2qman)
-
20242/tcp (jp1ajs2qagt)
-
20243/tcp (jp1ajs2qnfy)
To link to JP1/AJS3:
-
Execute the ajsagtadd command for JP1/AJS3 - Manager on the JP1/AJS3 server to register JP1/AO as an execution agent.
In the ajsagtadd command, specify any name for the -a option, and specify the name of the JP1/AO server for the -s option.
-
Define the PC job in the jobnet definition of the JP1/AJS3 server.
In the Define Details - [PC Job] dialog box, specify as follows:
-
For Exec-agent, specify the name you specified for the -a option in step 1.
-
On the Definition page, for File name, specify the name of the file for the stoptask or submittask command.
-
On the Definition page, for Parameters, specify the arguments to be specified for the command.
-
On the Attributes page, for Exec. Service, specify Standard.
-
-
Register the jobnet that contains the PC job you defined in step 2 for execution on the JP1/AJS3 server.
Remarks
-
The maximum number of tasks (including debug tasks) that can be managed on a JP1/AO server can be defined in the property file (config_user.properties). The default value is 5,000. Make sure that the sum of the number of tasks generated by using any of the methods listed below does not exceed the value specified in the property file (config_user.properties). If the number of tasks exceeds the maximum, excess tasks are automatically archived and excess debug tasks are automatically deleted, beginning from the task or debug task with the oldest stop date and time.
-
Tasks generated by executing a service in the Submit Service dialog box
-
Debug tasks generated by debugging
-
Tasks generated by executing the submittask command on the JP1/AO server
-
Tasks generated by executing the submittask command from the JP1/AJS3 server
-
Related topics
-
stoptask and submittask in the manual Job Management Partner 1/Automatic Operation GUI, Command, and API Reference
-
ajsagtadd in the manual Job Management Partner 1/Automatic Job Management System 3 Command Reference
-
Define Details - [PC Job] dialog box in the Job Management Partner 1/Automatic Job Management System 3 Operator's Guide