Hitachi

JP1 Version 12 JP1/Automatic Job Management System 3 Troubleshooting


2.10 Troubleshooting agent failures that might affect manager processing

When you use submit jobs, you can use emergency commands to restore the system if an agent failure affects manager processing.

Using the emergency commands, you can check the job execution status if a failure occurs on an agent and take appropriate action. Because the emergency commands request job execution control over a communication path that is not used for normal commands, you can execute the commands immediately.

Important

Use the emergency commands only to restore the system if an agent failure affects the processing of the manager. If you use the emergency commands frequently, JP1/AJS3 might not be able to respond to failures.

The following table describes the commands executable as emergency commands. When using a command as an emergency command, add the -em option.

Table 2‒17: Commands that can be used as emergency commands

Purpose

Command

Description

Closing the queue entrance and exit

jpqqueclose

Use this command to close a queue's entrance and exit to prevent additional jobs from being queued, thereby preventing the failure from affecting other areas.

Opening the queue entrance and exit

jpqqueopen

Use this command to open a queue's entrance and exit when linkage with the failed agent becomes available.

Displaying information about a queue

jpqqueshow

Use this command to check the number of jobs in the queue and the number of jobs being executed when you change queue attributes.

Changing the number of jobs in a queue, the maximum value, and the warning value

jpqquealt

Use this command to increase the maximum number of jobs that can be temporarily held in a queue after you change queue attributes so that operation can continue after restoration.

Changing the maximum number of concurrently executable jobs on an agent

jpqagtalt

Use this command to execute priority jobs by using the maximum number of concurrently executable jobs to control alias agents.

Displaying information about an agent

jpqagtshow

Use this command to check the number of jobs being executed on an agent when you change an agent's attribute.

Changing the priority levels when multiple agents are connected

jpqagtlink

Use this command to change the priority levels for distributed startup of agents when a single queue is connected to multiple agents.

Canceling a job

jpqjobcan

Use this command to cancel the execution of a job waiting to be executed, placed on hold, or waiting for the specified time.