Hitachi

JP1 Version 12 JP1/Performance Management Reference


jpcconf agent setup

Organization of this page

Format

Format 1

jpcconf agent setup      -key service-key
                        [-noquery]

Format 2

jpcconf agent setup      -key service-key
                        [-register]

Format 3

jpcconf agent setup      -key service-key
                        [-unregister]

Function

The jpcconf agent setup command adds a new instance of PFM - Agent or PFM - RM to Performance Management systems. Information about the PFM - Agent or PFM - RM instance is registered in PFM - Manager and PFM - Base.

If PFM - Agent or PFM - RM is already registered in PFM - Manager, you do not have to execute this command. If PFM - Agent or PFM - RM is not registered yet, execute this command to manually register PFM - Agent or PFM - RM.

You can determine whether manual registration of PFM - Agent or PFM - RM is necessary by referring to the conditions described below.

When all of the following conditions apply, manually register PFM - Agent or PFM - RM in PFM - Manager:

If, however, the Release Notes for PFM - Agent or PFM - RM state that it is necessary to execute this command, execute this command.

To have new information about instances of PFM - Agent or PFM - RM registered with PFM - Manager displayed in the PFM - Web Console, start the newly registered PFM - Agent or PFM - RM instance. The information is applied upon login to PFM - Web Console.

Execute this command in the following case:

Format 1

When registering PFM - Agent or PFM - RM in PFM - Manager

Format 2

When registering information about an instance of PFM - Agent or PFM - RM with PFM - Manager without starting the instance, and displaying it in PFM - Web Console

Format 3

When hiding product information in the alarms tree and reports tree of PFM - Web Console

If logical host settings have been set up for PFM - Manager, information about the new PFM - Agent or PFM - RM instance is registered for the set logical host and physical host.

Hosts that can execute the command

Format 1
  • PFM - Manager

  • PFM - Agent

  • PFM - RM

Format 2 and Format 3

PFM - Manager

Execution permission

In Windows:

User with Administrators permissions (executed from the administrator console if 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 for the new instance of PFM - Agent or PFM - RM for which additional setup is to be executed. A product name can also be specified when the product name display functionality is enabled.

Assume that you set up a product not described in Appendix Registration information for the JP1/PFM - Agent in JP1/PFM - Manager in the Release Notes for PFM - Manager on the PFM - Manager installed in the host on which you want to execute the jpcconf agent setup command. In such cases, specify a service key instead of the product name of the product.

  • Format 1

    The service key that can be specified here can only be from an instance of PFM - Agent or PFM - RM for which a setup file has been copied to the following directory:

    • In Windows: installation-folder\setup\

    • In UNIX: /opt/jp1pc/setup/

    For details about setup files, see the chapter describing installation and setup in the relevant PFM - Agent or PFM - RM manuals.

    If all is specified in service-key, the setup is executed for all setup files that have been copied to this folder.

  • Format 2

    Unlike Format 1, there is no need to copy a setup file. all cannot be specified for the service key.

-register

Displays the instance of PFM - Agent or PFM - RM specified by the service key, in the PFM - Web Console. If PFM - Manager is running on a cluster system, this can only be executed on the executing node.

-noquery

If this option is specified, the command does not output any query messages that interrupt command execution, making it unnecessary for the user to respond. Specify this option if you want the command to run in non-interactive mode.

Note, however, that if there are Performance Management services that are running, command execution is interrupted with a KAVE05143-E message. If this message is output, stop all Performance Management services that are running on the local host, and then re-execute the command.

-unregister

Hides the instance of PFM - Agent or PFM - RM specified by the service key, in the PFM - Web Console. If PFM - Manager is running on a cluster system, this can only be executed on the executing node. When there are remaining services, they are updated when you restart PFM - Manager and then log in to PFM - Web Console.

Notes

Cautions regarding execution using Format 1

Cautions regarding execution using Format 2 and Format 3

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

Services have not been stopped on the local host.

10

The command is executing in another session.

11

The user canceled the processing (by entering N at the prompt).

100

The Performance Management environment is invalid.

101

Acquisition of a port number failed.

200

A memory shortage occurred.

210

A disk space shortage occurred.

211

A file or directory cannot be accessed.

222

A communication error occurred (IP address could not be acquired).

230

Execution of an internal command failed.

255

An unexpected error occurred.

Usage example 1

This example sets up an instance of PFM - Agent for Oracle released after PFM - Manager.

jpcconf agent setup -key Oracle

Usage example 2

This example displays the information about a newly added instance of PFM - Agent for Oracle in PFM - Web Console before it starts.

jpcconf agent setup -key Oracle -register

Usage example 3

This example hides information regarding PFM - Agent for Oracle on PFM - Web Console.

jpcconf agent setup -key Oracle -unregister