Hitachi

JP1 Version 12 JP1/Automatic Job Management System 3 Administration Guide


6.1.2 Stopping JP1/AJS3 services manually

This subsection describes how to stop JP1/AJS3 services manually.

Before you stop the JP1/AJS3 services, make sure that no jobs or jobnets are being executed.

Organization of this subsection

(1) In Windows

To stop a JP1/AJS3 service manually in Windows:

  1. In the Control Panel window, choose Services. Alternatively, choose Administrative Tools and then Services.

  2. Select the JP1/AJS3 service you want to stop.

    Select the required service from the following list of service names:

    • JP1/AJS3 service

    • JP1/AJS3 Mail service#1

    • JP1/AJS3 Check Manager service#2

    • JP1/AJS3 Check Agent service#3

    • JP1/AJS3 Queueless Agent service#4

    • JP1/AJS3 Queueless File Transfer service#4

    • JP1/AJS3 Autonomous Agent service#5

    • JP1/AJS3 Autonomous Agent Messenger service#6

    • JP1/AJS3 Web Application Server service

    • JP1/AJS3 HTTP Server service

    #1

    Displayed only when mail system linkage has been set up.

    #2

    Displayed only when JP1/AJS3 Check Manager has been set up.

    #3

    Displayed only when JP1/AJS3 Check Agent has been set up.

    #4

    Displayed only when the queueless job execution environment has been set up.

    #5

    Displayed only when the function of the request destination of the flexible job has been set up.

    #6

    Displayed only when the function of the request source or request destination of the flexible job has been set up.

  3. Click the Stop button.

    The JP1/AJS3 service you selected stops.

    You can also stop the service by executing the net stop service-name command.

Supplementary notes
  • When you stop the JP1/AJS3 Queueless Agent service by choosing Services in Windows Control Panel or by executing the net stop command, the service stops immediately without waiting for running queueless jobs to terminate. As a result, the status of queueless jobs that were running on the agent host might change to Unknown end status on the manager host.

    Use information such as job execution results to check the end status of the queueless jobs whose status has changed to Unknown end status.

    If you want to stop the JP1/AJS3 Queueless Agent service after the running queueless jobs have terminated, stop the JP1/AJS3 service, and then execute the ajsqlstop command with the -j option specified.

  • You do not need to perform any operations for the JP1/AJS3 Database service during operation because these services are controlled by JP1/AJS3. If the embedded database uses a method from a version earlier than 10-00, the JP1/AJS3 Database ClusterService service is also started. However, in ordinary operation, you do not need to use this service.

(2) In UNIX

You can stop the following services as described below:

#

The JP1/AJS3 - Web Console service cannot be stopped by performing the procedure below. To stop the service, use the jajs_web_stop command. For details about the jajs_web_stop command, see jajs_web_stop (Linux only) in 3. Commands Used for Normal Operations in the manual JP1/Automatic Job Management System 3 Command Reference.

To stop the above services:

  1. Copy the /etc/opt/jp1ajs2/jajs_stop script to any file.

    Execute the following command to copy the script without changing the file permissions:

    cp -p /etc/opt/jp1ajs2/jajs_stop any-file-name
  2. Use an editor such as vi to open the copy of the script, and then delete the comment symbols on the comment lines.

    For details about how to delete comment symbols, see 15.9.1 Setting automatic startup and termination of the JP1/AJS3 service in the JP1/Automatic Job Management System 3 Configuration Guide.

  3. Execute the script to stop the JP1/AJS3 service.

You can also use the ajsqlstop command to stop the queueless agent service, and use the ajsqlftpstop command to stop the queueless file transfer service. In addition, you can also use the ajschkstop command to stop the JP1/AJS3 Check Manager service or JP1/AJS3 Check Agent service. You can also use the ajsatstop command to stop the JP1/AJS3 Autonomous Agent service, and the ajsatmstop command to stop the JP1/AJS3 Autonomous Agent Messenger service.

For details about the ajsqlstop, ajsqlftpstop, ajschkstop, ajsatstop, and ajsatmstop commands, see 4. Commands Used for Special Operation in the manual JP1/Automatic Job Management System 3 Command Reference or 3. Commands Used for Normal Operations in the manual JP1/Automatic Job Management System 3 Command Reference.