OpenTP1 Version 7 System Definition

[Contents][Index][Back][Next]

Monitored RM definition

Format

set format

 set rmm_start_command=command-that-starts-monitored-RM
 set rmm_stop_command=command-that-terminates-monitored-RM
 set rmm_abort_command=command-that-terminates-forcibly-monitored-RM
 set rmm_get_pid_command=command-that-collects-monitored-process-ID
[set rmm_command_watch_time=command-monitor-time-of-monitored-RM]
 set rmm_command_uid=command-execution-user-ID
 set rmm_command_gid=command-execution-group-ID
[set rmm_start_watch_time=command-monitor-time-of-starting-
                          monitored-RM] 

Command format

None

Function

The command of the RMM service is defined. For creating a command, see the manual OpenTP1 Operation.

Explanation

set format

rmm_start_command=command-that-starts-monitored-RM~<1-127 byte path name>

Specify the command name to start the monitored resource manager. Specify the command name with the full path name from the root directory.

rmm_stop_command=command-that-terminates-monitored-RM~<1-127 byte path name>

Specify the command name to terminate the monitored resource manager. Specify the command name with the full path name from the root directory.

rmm_abort_command=command-that-terminates-forcibly-monitored-RM~<1-127 byte path name>

Specify the command name to terminate forcibly the monitored resource manager. Specify the command name with the full path name from the root directory.

rmm_get_pid_command=command-that-collects-monitored-process-ID~<1-127 byte path name>

Specify the command name to collect the process ID of the monitored process. Specify the command name with the full path name from the root directory.

rmm_command_watch_time=command-monitor-time-of-monitored-RM ~<unsigned integer> ((0-7200)) <<1800>> (Unit: seconds)

Specify the monitor time of each command for the monitored resource manager. If the command does not terminate although the specified time passed, the RMM service nullifies the command regarding that the command fails.

If a 0 is specified, the monitor time is infinite. To specify this operand, set so that it is within the monitor time specified by the dcstop command.

rmm_command_uid=command-execution-user-ID~<unsigned integer> ((0-59999))

Specify the user ID that executes the command (startup command, terminate command, forcible terminate command or process ID collection command) of the monitored resource manager. In the RMM service, the user ID of each command is specified and executed following this specification.

This user ID is inherited to the command executed in a command or to the child process.

rmm_command_gid=command-execution-group-ID~<unsigned integer> ((0-59999))

Specify the group ID that executes the command (startup command, terminate command, forcible terminate command or process ID collection command) of the monitored resource manager. In the RMM service, the group ID of each command is specified and executed following this specification.

This user ID is inherited to the command executed in a command or to the child process.

rmm_start_watch_time=command-monitor-time-of-starting-monitored-RM ~<unsigned integer> ((0-7200)) <<300>> (Unit: seconds)

Specify the maximum time period during which the RMM service waits for restart of the monitored resource manager. When 0 is specified, the RMM service waits permanently until the monitored resource manager is restarted.

This operand is valid when restarting the monitored resource manager by the automatic restart facility. For details, see the manual OpenTP1 Operation.

Command process

None