Hitachi

JP1 Version 13 JP1/Integrated Management 3 - Manager Command, Definition File and API Reference


jpc_service_stop

Organization of this page

Function

This command stops JP1/IM - Agent service.

Format

jpc_service_stop -s service-name
                         [-f]
                         [-h logical-host-name]

Execution permission

In Windows: Administrator permissions (if the Windows UAC feature is enabled, the command is executed from the administrator console)

In Linux: Superuser permissions

Storage directory

In Windows:

Agent-path\tools\

In Linuix:

/opt/jp1ima/tools/

Arguments

-s service-name

Specify Service name.

If "all" is specified, all JP1/IM-Agent services are started.

Logical host's Service name is jpc_add-on-directory-name#_logical-hostname, but specify -on option is jpc_add-on-directory-name#.

-f

This option forcibly stops the service. Specifies when you want to stop forcibly working service process during cluster operation.

-h logical-hostname

Specifies logical host name when operating on a cluster system.

#

For the value specified in the add-on-directory-name, see A.4 (5) About the Add-On Directory in JP1/Integrated Management 3 - Manager Overview and System Design Guide.

Notes

If the string that you specify in the argument contains spaces or special characters, you must enclose them in " " and escape them. In addition, the following characters cannot be used:

Return values

0

Service stopped successfully (all successful or already stopped)

10

Invalid argument

11

You do not have execution permissions.

13

Other commands are executing

251

Service name is invalid

255

Service Failed to Stop

Example

jpc_service_stop -s all