Hitachi

JP1 Version 12 JP1/Performance Management Reference


jpcspm start

Organization of this page

Format

jpcspm start    -key service-key
               [-lhost logical-host-name]
               [-inst instance-name]

Function

The jpcspm start command starts services of Performance Management programs. It cannot start the services of Performance Management programs at a remote host.

You can use the jpctool service list command to check the status of the Performance Management program services. jpcspm start commands cannot be executed concurrently, nor can one be executed simultaneously with the jpcspm stop command.

When the services to be started include PFM - Manager and the health check function is enabled on the PFM - Manager host on which you execute the command, the health check agent also starts as part of the PFM - Manager service. Note that you cannot specify agt0 as the service key.

Hosts that can execute the command

Execution permission

In Windows:

User with Administrators permissions (executed from the administrator console when Windows UAC functionality is enabled)

In UNIX:

User with root user permissions

Installation directory

In Windows:
installation-folder\tools\
In UNIX:
/opt/jp1pc/tools/

Arguments

-key service-key

Specifies the service key of the service that is to be started. A product name can also be specified when the product name display functionality is enabled. You can also specify the following in service-key:

  • all: The services of all Performance Management programs. If linkage is set with the start and stop of PFM - Web Console, the PFM - Web Console service also starts at the same time.

  • jp1pc: All Performance Management services (excluding the PFM - Web Console service).

  • Manager or mgr: The PFM - Manager services (excluding the Action Handler service).

  • AH or act: The Action Handler service.

  • StatSvr or stat: The Status Server service.

  • WebConsole or wc: The PFM - Web Console service. This can be specified when linkage is set with the start and stop of PFM - Web Console.

For details about the service key of the PFM - Agent or PFM - RM service, see the naming rules described in the appendix of the JP1/Performance Management Planning and Configuration Guide. For details about linkage with the start and stop of PFM - Web Console, see the chapter describing start and stop for Performance Management in the JP1/Performance Management User's Guide.

-lhost logical-host-name

Specifies the host environment in which this command is executed. You use this argument if a logical host has been configured on the machine that is used to execute this command. For logical-host-name, specify a string of 1 to 32 bytes, consisting of alphanumeric characters with no space characters.

If this argument is omitted, the physical host is assumed. Wildcard characters cannot be used.

-inst instance-name

If a specific instance of the service is to be started, specifies the instance name. For instance-name, specify a string of 1 to 32 bytes, consisting of alphanumeric characters. This option is applicable only to a PFM - Agent or PFM - RM that has an instance environment. This option is ignored for any other service, if specified.

Notes

Return values

0

The command terminated normally.

1

An argument specification is invalid.

2

The user does not have execution permission for the command.

4

The specified service is already running, or the command was executed while the Store database was being accessed by the Master Store, Agent Store, or Remote Monitor Store service, or a command.

5

The specified service has not been installed.

10

The command is executing in another session.

100

The Performance Management environment is invalid.

101

The PFM - Manager service is not running.

102

The specified logical host name or instance has not been set up.

103

Start process monitoring timed out.

107

Service start or stop processing is being executed by another process, such as Windows Service Control Manager.

200

A memory shortage occurred.

211

A file or directory cannot be accessed.

212

Index creation failed.

255

An unexpected error occurred.

Usage example 1

This example starts the services of all Performance Management programs:

jpcspm start -key all

Usage example 2

This example starts only the service of an instance named oracleA in the PFM - Agent for Oracle:

jpcspm start -key Oracle -inst oracleA