Hitachi

JP1 Version 12 JP1/Automatic Operation Service Template Reference


4.6.16 Stop JP1/AJS(UNIX)

Function

This component stops JP1/AJS on the execution target server in UNIX.

The server's prerequisites for this component are described below.

- Execution target server

Target server for executing this component

The script in this component executes the following command:

- jajs_spmd_stop

[-h "value of the logical host name (JP1.logicalHostName property)"]

[-n "value of the process name(n) option (JP1AJS.processNameOption property)"]

[-F "value of the scheduler service name(F) option (JP1AJS.schedulerServiceNameOption property)"]

[-id "value of the embedded database setup ID(id) option (JP1AJS.embeddedDatabaseSetupIDOption property)"]

["value of the termination mode option (JP1AJS.terminationModeOption property)"]

For details on the jajs_spmd_stop command of JP1/AJS, see the description for the command in the JP1/AJS manuals.

Use situation

Use this component when you restart JP1/AJS after modifying JP1/AJS settings to make the modification take effect.

Note that this component finishes asynchronously without waiting until JP1/AJS starts completely, but you can use the "Obtain Status of JP1/AJS" component after executing this component to wait until JP1/AJS starts.

Prerequisites

For the latest support information about [Required product in the System]/[Required products on the execution target server]/[Prerequisite product OS running in the execution target server], see the release notes.

[Required product in the System]

(1)JP1/Automatic Operation 11-00 or later

[Required products on the execution target server]

(1)Job Management Partner 1/AJS 09-00 or later, or

JP1/AJS 11-00 or later

[Prerequisite product OS running in the execution target server]

(1) Red Hat Enterprise Linux Server 6 (32-bit x86), Red Hat Enterprise Linux Server 6 (64-bit x86_64)

(2) Red Hat Enterprise Linux Server 7 (64-bit x86_64)

(3) Red Hat Enterprise Linux Server 8 (64-bit x86_64)

[Usage conditions for required products on the execution target server]

(1) JP1/AJS is running.

(2) If the execution target server's JP1/AJS has a cluster configuration, specify in the plugin.destinationHost property the name of the physical host on which JP1/AJS's logical host is running, and specify in the JP1.logicalHostName property JP1/AJS's logical host name.

Cautions

(1) For the properties of this plug-in, do not specify a string that includes a double quotation mark (") or single quotation mark (').

(2) For other notes on the command, see the JP1/AJS manual.

Execution privilege

root permission

Version

02.02.00

Plug-in tags

Control JP1,AJS,Linux

Plug-in name displayed in the task log

jp1ajsStop

Return code

0: Normal

21: Error (invalid environment) Command cannot be found (error detected in the plug-in script)

27: Error (check task logs for the nature of error)

Property list

The following table lists the properties:

Property key

Property name

Description

Default value

I/O type

Required

plugin.destinationHost

Host name of the execution target server

Specify the host name or IP address of the server on which this plugin will be executed. IPv6 addresses are not supported.

--

Input

R

JP1.logicalHostName

Logical host name for the execution target server

Specify the JP1 logical host name of the execution target server.

--

Input

O

JP1AJS.processNameOption

process name(n) option

If you want to set the [Process name(n)] option for the command to be executed, specify jajs_schd/jajs_agtd/jajs_dbmd. If this is omitted, the [Process name(n)] option is not set.

--

Input

O

JP1AJS.schedulerServiceNameOption

scheduler service name(F) option

If you want to set the [Scheduler service name(F)] option for the command to be executed, specify the scheduler service name. If this is omitted, the [Scheduler service name(F)] option is not set.

--

Input

O

JP1AJS.embeddedDatabaseSetupIDOption

embedded database setup ID(id) option

If you want to set the [Embedded DB setup identifier(id)] option for the command to be executed, specify the embedded DB setup identifier. If this is omitted, the [Embedded DB setup identifier(id)] option is not set.

--

Input

O

JP1AJS.terminationModeOption

termination mode option

If you want to set the [Termination mode] option for the command to be executed, specify -job/-kill. If this is omitted, the [Termination mode] option is not set.

--

Input

O

common.returnValue

Return value for the plugin

The return value of this plugin stored.

--

Output

O