Job Management Partner 1/Automatic Job Management System 3 Administration Guide
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
- (2) In UNIX
To stop a JP1/AJS3 service manually in Windows:
- In the Control Panel window, choose Services. Alternatively, choose Administrative Tools and then Services.
- 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 Console Manager service#2
- JP1/AJS3 Console Agent service#3
- JP1/AJS3 Check Manager service#4
- JP1/AJS3 Check Agent service#5
- JP1/AJS3 Queueless Agent service#6
- JP1/AJS3 Queueless File Transfer service#6
- #1
- Displayed only when mail system linkage has been set up.
- #2
- Displayed only when JP1/AJS3 Console Manager has been set up.
- #3
- Displayed only when JP1/AJS3 Console Agent has been set up.
- #4
- Displayed only when JP1/AJS3 Check Manager has been set up.
- #5
- Displayed only when JP1/AJS3 Check Agent has been set up.
- #6
- Displayed only when the queueless job execution environment has been set up.
- 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 note
- 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 or the JP1/AJS3 Database ClusterService service during operation because these services are controlled by JP1/AJS3.
You can stop the following services as described below:
- JP1/AJS3 service
- JP1/AJS3 Check Manager service
- JP1/AJS3 Check Agent service
- JP1/AJS3 Queueless Agent service
- JP1/AJS3 Queueless File Transfer service
To stop the above services:
- 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- 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 14.7.1 Setting automatic startup and termination of the JP1/AJS3 service in the Job Management Partner 1/Automatic Job Management System 3 Configuration Guide 1.
- 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.
For details about the ajsqlstop, ajsqlftpstop, and ajschkstop commands, see 3. Commands Used for Special Operation in the manual Job Management Partner 1/Automatic Job Management System 3 Command Reference 2 or 2. Commands in the manual Job Management Partner 1/Automatic Job Management System 3 Command Reference 1.
- Supplementary note
- You can stop the JP1/AJS3 Console services by using the following commands:
- JP1/AJS3 Console Manager service
- /etc/opt/jp1ajs2cm/ajscminetd_startstop stop
- JP1/AJS3 Console Agent service
- /etc/opt/jp1ajs2/ajscainetd_startstop stop
Copyright (C) 2009, 2010, Hitachi, Ltd.
Copyright (C) 2009, 2010, Hitachi Solutions, Ltd.