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 or custom event jobs are used.
In operating event jobs and custom event jobs, the agent stores the requesting manager host name to coordinate the event jobs and custom 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
-
Before executing this command, be sure to stop JP1/AJS3.
-
Execute this command after terminating all the event jobs and the custom event jobs that are running on the agent host. To check whether event jobs or custom event jobs are running on the agent host, use the ajsshow command. For details about the ajsshow command, see ajsshow in 3. Commands Used for Normal Operations.
-
This command always needs one of the following options: -a, -d, -r, or -p.
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.
-
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
-
Deleting the manager host name
Delete the manager host name to be changed.
- Command to be executed:
-
jpoagoec -d ManagerHostB
-
Adding the changed manager host name
- Command to be executed:
-
jpoagoec -a ManagerHostC
-
Confirming that the manager host name has been added
- Command to be executed:
-
jpoagoec -p
- Display example:
-
ManagerHostA
ManagerHostC
-
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.