Hitachi

JP1 Version 12 JP1/Performance Management Planning and Configuration Guide


5.1.4 PFM - Manager setup procedure

[Figure] indicates setup items required according to each environment and optional setup items used to change default settings.

Tip

The start information file (jpccomm.ini) is used to configure the operation of Performance Management.

Organization of this subsection

(1) Setting the LANG environment variable

Set the LANG environment variable.

Before setting the LANG environment variable, verify that the language environment to set is properly installed and configured. If the language is not installed and configured properly, text might be garbled and definition data might be overwritten erroneously. For more information about operating in a mixed environment in which multiple languages are used, see 3.10.4 Notes on environments in which multiple languages coexist.

Note1:

The value of the LANG environment variable set at the time of service startup or command execution determines the language of the common message log. Therefore, the log might contain a mixture of text with different language codes.

Note 2:

If the LC_ALL environment variable has been specified and its value differs from the value of the LANG environment variable, release the LC_ALL environment variable or change its value to the value of the LANG environment variable when you start the services of Performance Management and when you execute commands.

Changing the environment variable is required only on the shell that is used to perform the corresponding operations. There is no need to change the environment variable throughout the entire system. You use the following command to release the LC_ALL environment variable:

unset LC_ALL

The table below lists the values that can be set to the LANG environment variable in Performance Management. If a language not listed in the table (German, French, Spanish, Korean, and Russian) is set, C is used for the value of the LANG environment variable during operation.

Table 5‒3: LANG environment variable values that are available in Performance Management (In AIX)

Language

Encoding

LANG environment variable value

Japanese

EUC

  • ja_JP

Shift_JIS (SJIS)

  • Ja_JP

  • Ja_JP.IBM-932

UTF-8

  • JA_JP

  • JA_JP.UTF-8

English

ASCII

  • C

Chinese (Simplified Chinese)

GB18030

  • Zh_CN

  • Zh_CN.GB18030

UTF-8

  • ZH_CN

  • ZH_CN.UTF-8

Table 5‒4: LANG environment variable values that are available in Performance Management (In HP-UX)

Language

Encoding

LANG environment variable value

Japanese

EUC

  • ja_JP.eucJP

  • Japanese.euc

Shift_JIS (SJIS)

  • ja_JP.SJIS

  • japanese

UTF-8

  • ja_JP.utf8

English

ASCII

  • C

Chinese (Simplified Chinese)

GB18030

  • zh_CN.gb18030

UTF-8

  • zh_CN.utf8

Table 5‒5: LANG environment variable values that are available in Performance Management (In Linux)

Language

Encoding

LANG environment variable value

Japanese

Shift_JIS (SJIS)

  • ja_JP.SJIS#

  • ja_JP.sjis#

UTF-8

  • ja_JP.UTF-8

  • ja_JP.utf8

English

ASCII

  • C

Chinese (Simplified Chinese)

GB18030

  • zh_CN.gb18030

UTF-8

  • zh_CN.UTF-8

  • zh_CN.utf8

#: Available only for SUSE Linux

Table 5‒6: LANG environment variable values that are available in Performance Management (In Solaris)

Language

Encoding

LANG environment variable value

Japanese

EUC

  • ja

  • ja_JP.eucJP#

  • japanese

Shift_JIS (SJIS)

ja_JP.PCK

UTF-8

ja_JP.UTF-8

English

ASCII

C

Chinese (Simplified Chinese)

GB18030

  • zh_CN.GB18030

  • zh_CN.GB18030@pinyin

  • zh_CN.GB18030@radical

  • zh_CN.GB18030@stroke

UTF-8

  • zh_CN.UTF-8

  • zh_CN.UTF-8@pinyin

  • zh_CN.UTF-8@radical

  • zh_CN.UTF-8@stroke

  • zh.UTF-8

#: Available only for Solaris 11 (SPARC)

(2) Registering PFM - Agent or PFM - RM[Figure]

You must register PFM - Agent or PFM - RM in PFM - Manager in order to perform integrated management of PFM - Agent or PFM - RM by using PFM - Manager and PFM - Web Console.

If PFM - Agent or PFM - RM is already registered in PFM - Manager, you do not have to follow the procedure described below. If PFM - Agent or PFM - RM is not registered yet, manually register PFM - Agent or PFM - RM according to the procedure.

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 the setup command, execute the setup command.

Note

The information on the automatically registered PFM - Agent or PFM - RM is displayed in PFM - Web Console at the following timing:

If the version of PFM - Web Console is 09-00 or later:

The information is displayed when you log into PFM - Web Console again after starting the registered PFM - Agent or PFM - RM.

If the version of PFM - Web Console is 08-11 or earlier:

The information is displayed when you restart PFM - Web Console after starting the registered PFM - Agent or PFM - RM.

If you want to register PFM - Agent or PFM - RM before starting the console, execute the jpcconf agent setup command with the -register option specified. For details about the jpcconf agent setup command, see the chapters that describe commands in the manual JP1/Performance Management Reference.

Figure 5‒3: Process flow for PFM - Agent or PFM - RM registration

[Figure]

Note
  • Register PFM - Agent or PFM - RM before setting the instance environment of PFM - Agent or PFM - RM.

  • You do not need to register PFM - Agent or PFM - RM when you add the same version of PFM - Agent or PFM - RM with the same product ID to a Performance Management system in which the PFM - Agent or PFM - RM information has been already registered.

  • If you install a different version of PFM - Agent or PFM - RM with the same product ID on a different host, first set up the older version of PFM - Agent or PFM - RM, and then set up the newer version of PFM - Agent or PFM - RM.

  • If you install PFM - Agent or PFM - RM on the same host that has PFM - Manager installed, the jpcconf agent setup command is executed automatically. In PFM - Agent or PFM - RM, the execution results are logged as KAVE05908-I New agent setup (pfm-agent-service-key) ended successfully. (version=version) to the common message log. Check the results. If the command has not been executed correctly, execute the command again. For details about how to execute the commands, see the chapters that describe commands in the JP1/Performance Management Reference.

Supplemental information:

Note the information that follows about performing manual registration (jpcconf agent setup -key agtX (with the -register option omitted)) on the PFM - Manager host.

Executing jpcconf agent setup -key agtX (with the -register option omitted) when PFM - Manager is a physical environment:

The registered PFM - Agent or PFM - RM information is displayed on PFM - Web Console at the following time:

  • PFM - Web Console version 09-00 or later

    The next time the user log on to PFM - Web Console

  • PFM - Web Console version 08-11 or earlier

    When PFM - Web Console is restarted

Executing jpcconf agent setup -key agtX (with the -register option omitted) on the executing host and the standby host when PFM - Manager is a logical host:

The registered PFM - Agent or PFM - RM information is displayed on PFM - Web Console at the following time:

  • PFM - Web Console version 09-00 or later

    After the registered PFM - Agent or PFM - RM has started or the next time the user executes jpcconf agent setup -key agtX -register on the executing host and the standby host to which the shared disk is connected and logs on to PFM - Web Console

  • PFM - Web Console version 08-11 or earlier

    After the registered PFM - Agent or PFM - RM has started or the next time the user executes jpcconf agent setup -key agtX -register on the executing host and the standby host to which the shared disk is connected and restarts PFM - Web Console

(a) Copying the PFM - Agent or PFM - RM setup file

Copy the setup file on a host that has PFM - Agent or PFM - RM onto a host that has PFM - Manager installed.

To copy the PFM - Agent setup file:

  1. Copy the setup file of PFM - Agent or PFM - RM in binary mode.

    The following table gives the locations where files are stored, and the location where files are to be copied.

    Table 5‒7: Setup files to be copied

    Copy from

    Copy to

    Host

    File

    Host

    File

    PFM - Agent, PFM - RM

    • In UNIX:

      /opt/jp1pc/setup/jpcxxxxu.Z

    PFM - Manager

    /opt/jp1pc/setup/

    Legend:

    xxxx indicates the service key of each PFM - Agent or PFM - RM. For details about service keys, see the appropriate PFM - Agent or PFM - RM manual.

(b) Executing the setup command on the PFM - Manager host

Execute the following command on the PFM - Manager host to set up PFM - Agent or PFM - RM.

jpcconf agent setup -key xxxx

xxxx indicates the service key of each PFM - Agent or PFM - RM.

For example, execute the following command to set up PFM - Agent for Oracle:

jpcconf agent setup -key Oracle

This example executes the jpcconf agent setup command in the interactive mode, but this command can also be executed in the non-interactive mode. For details about the jpcconf agent setup command, see the chapter that describes commands in the manual JP1/Performance Management Reference.

Note:

An error might occur if you execute the jpcconf agent setup command when Performance Management programs and services have not completely stopped on the local host where you want to execute the command. In such cases, make sure that the Performance Management programs and services have completely stopped and then execute the jpcconf agent setup command again.

You can delete the setup file of PFM - Agent or PFM - RM after this procedure has finished.

(3) Specifying settings for the network [Figure]

Settings described in this subsection are required if you change settings according to the network configuration on which Performance Management is used.

You can set the following four items for network settings:

(4) Changing the log file size [Figure]

The operating status of Performance Management is output to a Performance Management-specific log file. This log file is called the common message log. This setting is required when you wish to change this file size.

For details, see 5.4.1 Setting the size of the log file for the common message log.

(5) Specifying settings for the authentication mode [Figure]

These settings are required when you wish to change the authentication mode of Performance Management from PFM authentication mode to JP1 authentication mode.

For details, see the chapter that describes management of user accounts and business groups in the JP1/Performance Management User's Guide.

(6) Setting the access control function based on business groups [Figure]

These settings are required if you want to use business groups to manage the users of Performance Management. Specify in the start information file (jpccomm.ini) whether the access control function based on business groups is to be used.

For details, see the chapter that describes user accounts and business groups in the JP1/Performance Management User's Guide.

(7) Changing the storage locations of event data [Figure]

The settings below are required when you wish to change the storage destination, backup destination, or export destination of the event data managed by PFM - Manager.

By default, event data is stored in the following locations:

Note:

For the default directories when running Performance Management on a logical host, read /opt/jp1pc/ as environment-directory\jp1pc\.

For details about how to change the storage location, see 5.4.2 Changing the storage location of event data.

(8) Specifying settings for action log output [Figure]

These settings are required when you wish to output action log data when an alarm is issued. Action log data is output in cooperation with the alarm function, when an aspect of the system such as the system load exceeds a threshold. For details, see Appendix H. Outputting Action Log Data.

(9) Configuring the health check function [Figure]

These settings are required when you wish to check the operation status of monitoring agents and their hosts. For details about how to specify this setting, see the chapter that describes detecting problems in the JP1/Performance Management User's Guide.

(10) Configuring the PFM service automatic restart function[Figure]

This setting is required if you want PFM services to automatically restart if they terminate abnormally. For details about how to specify this setting, see the chapter that describes detecting problems in Performance Management in the JP1/Performance Management User's Guide.

(11) Configuring the product name display function[Figure]

These settings are required if you want to enable the product name display function when you upgrade from version 08-11 or earlier, or when you perform a new installation. For details about the product name display function, see 3.1.2 Displaying and specifying services (the product name display function). For details about how to specify these settings, see 5.4.9 Configuring the product name display function.

(12) Configuring the auto alarm bind function[Figure]

The setting described here is necessary when you want to change the default setting (enabled or disabled) of the auto alarm bind function. When you install or upgrade to Performance Management version 11-50 or later, the auto alarm bind function is enabled by default. For details about the auto alarm bind function, see the section describing auto alarm bind in the JP1/Performance Management User's Guide.

You can edit the default setting as follows:

Note

If you are using a multiple monitor configuration, edit this setting on both the primary and secondary hosts.

  1. Stop Performance Management programs and services.

    If there are any Performance Management programs and services running, stop all of them by using the jpcspm stop command. If you are using a cluster configuration, first stop the cluster software.

  2. Use a text editor or a similar tool to edit the jpccomm.ini file that defines the operating environment for the PFM - Manager hosts (physical and logical hosts).

    Under the [Common Section] section of the jpccomm.ini file, edit and then save the setting as follows:

    To enable the auto alarm bind function:

    Auto Alarm Bind Mode=1

    To disable the auto alarm bind function:

    Auto Alarm Bind Mode=0

    After editing the above setting, save and then close the jpccomm.ini file.

  3. Start Performance Management programs and services.

    Start Performance Management programs and services by using the jpcspm start command. If you are using a cluster configuration, first start the cluster software.