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-key
                         [-f]
                         [-h logical-hostname]

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-key

Specify the service key.

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

-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.

Notes

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 key is invalid

253

Service is not enabled

255

Service Failed to Stop

Example

jpc_service_stop -s all