Hitachi

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


jpc_service_autostart

Organization of this page

Function

This command setups the automatic startup and shutdown of JP1/IM - Agent.

The service of imagent, imagentproxy, imagentaction and the service of add-on program on which the respective service is add are covered.

For Windows, the service's startup type is setup as follows:

-on: Auto

-off: Manual

In a clustered environment, Logical host does not allow setup for auto-start and auto-stop because startup and shutdown are controlled by the cluster software.

Format

jpc_service_autostart {-on | -off}

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

-on

Enable the auto start of add-on program.

-off

Disable the auto start of add-on program.

Notes

Return values

0

Successfully Enable or disable service-auto-start (all succeeded or already Enable or disabled)

10

Invalid argument

11

You do not have Execution permissions.

13

Other commands are executing

255

Failed to activate/deactivate Enable for service auto start

Log output

Example

jpc_service_autostart -on