Job Management Partner 1/Integrated Management - Manager Command and Definition File Reference

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


jco_stop (UNIX only)

Function

This command is a script for terminating JP1/IM - Manager automatically.

# cd /etc/opt/jp1cons
# cp -p jco_stop.model jco_stop

Once the foregoing procedure has been executed, JP1/IM - Manager terminates automatically when the system terminates. If the IM database service is running, the IM database service is stopped automatically after JP1/IM - Manager has terminated.

If JP1/IM - Manager does not terminate, the command outputs the KAVB8800-E message to standard output.

If the IM database service does not terminate, the command outputs the KAVB8801-E message to standard output.

You must register this command into the cluster software.

Format

jco_stop

Execution permission

Superuser permissions

Storage directory

/etc/opt/jp1cons/

Return values

0 Normal termination
1 More than one argument is specified or the termination request resulted in a timeout

Example 1

JP1/IM - Manager and the IM database service are running:

Input value:
jco_stop

Result:
KAVB3674-I Termination processing of JP1_CONS has started.
KAVB3675-I The stop command terminated normally.
KNAN11185-I Processing to stop the IM database service will now start.
KNAN11028-I Please wait.
KNAN11187-I The IM database service stopped normally.
KNAN11186-I Processing to stop the IM database service ended normally.
KNAN11188-I The status of the IM database service will now be confirmed.
KNAN11183-I The IM database service is stopped.
KNAN11189-I The status of the IM database service was successfully confirmed.

Example 2

JP1/IM - Manager is running and the IM database service is not running:

Input value:
jco_stop

Result:
KAVB3674-I Termination processing of JP1_CONS has started.
KAVB3675-I The stop command terminated normally.
KNAN11188-I The status of the IM database service will now be confirmed.
KNAN11183-I The IM database service is stopped.
KNAN11189-I The status of the IM database service was successfully confirmed.

Example 3

Neither JP1/IM - Manager nor the IM database service is running:

Input value:
jco_stop

Result:
KAVB3674-I Termination processing of JP1_CONS has started.
KAVB3662-I The process management is not running.
KNAN11188-I The status of the IM database service will now be confirmed.
KNAN11183-I The IM database service is stopped.
KNAN11189-I The status of the IM database service was successfully confirmed.

Example 4

JP1/IM - Manager is not running and the IM database service is running:

Input value:
jco_stop

Result:
KAVB3674-I Termination processing of JP1_CONS has started.
KAVB3662-I The process management is not running.
KNAN11185-I Processing to stop the IM database service will now start.
KNAN11028-I Please wait.
KNAN11187-I The IM database service stopped normally.
KNAN11186-I Processing to stop the IM database service ended normally.
KNAN11188-I The status of the IM database service will now be confirmed.
KNAN11183-I The IM database service is stopped.
KNAN11189-I The status of the IM database service was successfully confirmed.

[Contents][Back][Next]


[Trademarks]

All Rights Reserved. Copyright (C) 2009, Hitachi, Ltd.