Hitachi

JP1 Version 12 JP1/Automatic Job Management System 3 Command Reference


jpoagoec

Organization of this page

Format

jpoagoec
     {-a manager-host-name|-d manager-host-name|-r|-p}
     [-h host-name]

Description

Changes the requesting manager host name stored by the event action agent process according to the change in the manager host name if event jobs are used.

In operating event jobs, the agent stores the requesting manager host name to coordinate the event jobs through communication between the agent and manager. Therefore, a change in the manager host name requires you to change the requesting manager host name engaged in monitoring JP1/AJS3 event reception that is stored by the agent host or manager host having executed the command. (Using the jpoagoec command, display and check the manager host names that have been stored. Delete any unnecessary host names and add any necessary ones.)

Execution privileges

In Windows: Administrators privilege

In UNIX: Superuser privilege

Arguments

-a manager-host-name

Specify the manager host name to be added.

You can specify a character string of 1 to 255 bytes.

-d manager-host-name

Specify the manager host name to be deleted.

You can specify a character string of 1 to 255 bytes.

-r

Deletes all manager host names.

-p

Outputs the list of the stored manager host names to the standard output file.

-h host-name

Specify the logical host name for JP1/AJS3 - Manager or JP1/AJS3 - Agent which is responsible for maintenance (adding, deleting, and displaying manager host names).

You can specify a character string of 1 to 196 bytes.

By default, the system assumes operation using the physical host.

Notes

Return values

0

Normal end

Values other than 0

Abnormal end

Example

This example changes the manager host name from ManagerHostB to ManagerHostC. The following flow shows how the change is made.

  1. Confirming the manager host name

    Confirm the manager host name that the event action agent feature has stored.

    Command to be executed:

    jpoagoec -p

    Display example:

    ManagerHostA

    ManagerHostB

  2. Deleting the manager host name

    Delete the manager host name to be changed.

    Command to be executed:

    jpoagoec -d ManagerHostB

  3. Adding the changed manager host name

    Command to be executed:

    jpoagoec -a ManagerHostC

  4. Confirming that the manager host name has been added

    Command to be executed:

    jpoagoec -p

    Display example:

    ManagerHostA

    ManagerHostC

  5. Cold-starting the agent host

    For Windows

    From Control Panel, in Administrative Tools, select Service.

    From the Service window displayed, select the JP1/AJS3 service name to be started and execute the following: Operation - Properties.

    From the General page in the service-name Property dialog box displayed, specify -cold as the start mode in Start Parameters.

    After this, click Start.

    For UNIX

    Execute the jajs_spmd -cold command.