Hitachi

JP1 Version 12 JP1/Performance Management - Remote Monitor for Platform Description, User's Guide and Reference


3.2.4 Setup procedure for the UNIX edition

This subsection describes how to set up PFM - RM for Platform.

[Figure] indicates the following setup items:

Organization of this subsection

(1) Setting the LANG environment variable

You must set the LANG environment variable.

Before you set a LANG environment variable value, check that the applicable language environment has been installed and configured correctly. Invalid installation and configuration of the language environment might result in encoding errors and illegal rewriting of definition data.

The table below shows the LANG environment variable values supported by PFM - RM for Platform. If you specify any language other than those shown in the table (such as German, French, Spanish, Korean, or Russian), the system will assume that the LANG environment variable is set to C.

Table 3‒20: LANG environment variable values supported by PFM - RM for Platform

No.

Language

Character encoding

LANG environment variable value

1

Japanese

Shift_JIS(SJIS)

  • ja_JP.SJIS#

  • ja_JP.sjis#

2

UTF-8 code

  • ja_JP.UTF-8

  • ja_JP.utf8

3

English

ASCII

C

4

Chinese (simplified characters)

GB18030

  • zh_CN.gb18030

5

UTF-8

  • zh_CN.UTF-8

  • zh_CN.utf8

#: These values can be used for only SUSE Linux.

Notes regarding setting of the LANG environment variable

The language for the common message log is determined by the LANG environment variable that is specified during service startup or command execution. Therefore, character strings in multiple language codes, such as both Japanese and English, might be present.

(2) Registering PFM - RM for Platform[Figure]

To achieve central management of PFM - RM for Platform in the Performance Management system, you must register PFM - RM for Platform into PFM - Manager and PFM - Web Console.

If PFM - RM for Platform is already registered in PFM - Manager and PFM - Web Console, you do not have to follow the procedure described below. If PFM - RM for Platform is not registered yet, manually register PFM - RM for Platform according to the procedure.

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

Manually registering PFM - RM for Platform in PFM - Manager

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

  • The PFM - RM for Platform to be installed is of a product version that is not specified in the Release Notes for PFM - Manager.

  • PFM - RM for Platform is installed on a host other than PFM - Manager.

Manually registering PFM - RM for Platform in PFM - Web Console

When the following condition applies, manually register PFM - RM for Platform in PFM - Web Console:

  • The PFM - RM for Platform to be installed is of a product version that is not specified in the Release Notes for PFM - Web Console.

If, however, the Release Notes for PFM - RM for Platform state that it is necessary to execute the setup command, execute the setup command.

The following figure shows the procedure for registering PFM - RM for Platform.

Figure 3‒15: Procedure for registering PFM - RM for Platform (for UNIX)

[Figure]

Notes about registering PFM - RM for Platform
  • Register PFM - RM for Platform before you set up an instance environment.

  • If you install different versions of PFM - RM for Platform on separate hosts, set up old versions before you set up new versions.

  • If you install PFM - RM for Platform on the same host as where PFM - Manager is installed, the jpcconf agent setup command executes automatically.

  • When PFM - RM for Platform is registered, folders named RM Platform are created on the Reports and Alarms pages of PFM - Web Console. If you have already created a folder or file named RM Platform on the Reports page, you must rename it before starting the registration procedure.

The following subsections describe how to register PFM - RM for Platform.

(a) Copying the setup files for PFM - RM for Platform

Copy the setup files from the PFM - RM host to the hosts where PFM - Manager and PFM - Web Console are installed.

To copy the setup files:

  1. Stop PFM - Web Console.

    If PFM - Web Console is running, stop it.

  2. Copy the setup files in binary mode.

    Copy the files from the PFM - RM host to the PFM - Manager and PFM - Web Console hosts.

    The following table lists the source file storage locations and the copy destination locations.

    Table 3‒21: Setup files to be copied (for UNIX))

    No.

    Source (setup files for PFM - RM for Platform)

    Target

    Program name

    OS

    Target folder

    1

    /opt/jp1pc/setup/jpcagt7w.EXE

    PFM - Manager

    Windows

    PFM-Manager-installation-folder\setup

    2

    /opt/jp1pc/setup/jpcagt7u.Z

    UNIX

    /opt/jp1pc/setup/

    3

    /opt/jp1pc/setup/jpcagt7w.EXE

    PFM - Web Console

    Windows

    PFM-Web-Console-installation-folder\setup

    4

    /opt/jp1pc/setup/jpcagt7u.Z

    UNIX

    /opt/jp1pcwebcon/setup/

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

At the PFM - Manager host, execute the setup command for PFM - RM for Platform.

Execute the following command:

jpcconf agent setup -key RMPlatform

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

Notes about executing the command

Before you execute the command, stop all Performance Management programs and services at the local host. An error might occur if the jpcconf agent setup command is executed before all Performance Management programs and services have stopped completely. If an error has occurred, make sure that all Performance Management programs and services have stopped completely, and then re-execute the jpcconf agent setup command.

After you have executed the setup command at the PFM - Manager host, you might delete the setup files for PFM - RM for Platform that were copied to the PFM - Manager.

(c) Executing the setup command at the PFM - Web Console host

At the PFM - Web Console host, execute the setup command for PFM - RM for Platform.

Execute the following command:

jpcwagtsetup

After you have executed the setup command at the PFM - Web Console host, you might delete the setup files for PFM - RM for Platform that were copied to the PFM - Web Console.

(3) Setting up an instance environment

Set up an instance environment for PFM - RM for Platform at the PFM - RM host. To set multiple instance environments, repeat this procedure. In PFM - RM for Platform, you can define a maximum of 50 monitoring targets in a single instance environment.

Notes about setting instance environments

Before you set instance environments, make sure that the procedure described in 3.2.1(5) Environment settings required for collecting performance data (for UNIX) has been completed and the correct environment has been set up.

(a) Instance environment setting items that must be specified depending on what is monitored in the instance

The instance environment setting items that must be specified differ depending on what is monitored in the instance. The following table lists and describes the instance environment setting items that must be specified for each monitoring target in the instance.

Table 3‒22: Instance environment setting items that must be specified for each monitoring target in the instance

Item name

What is monitored in the instance

UNIX environment

Health check monitoring

Interval

D

T

Std_Category

D

T

Disk_Category

D

T

Network_Category

D

T

Ps_Category

D

T

Log_Size

D

D

Legend:

D: Specification is required if the default value is to be changed.

T: There is no need to change the default value.

(b) Instance environment setting items and values

The table below lists and describes the instance environment setting items and values. Check this information before you start operations.

Use the jpcconf inst setup command to set up an instance environment. For details about how to execute the jpcconf inst setup command, see (c) Execution in the interactive mode and (d) Execution in the non-interactive mode.

Table 3‒23: Instance environment setting items and values for PFM - RM for Platform (for UNIX)

No.

Item name#1

Description

Setting

Default

1

Interval

Specifies a collection interval for the collection process.

Specify a value in the range from 60 to 3,600 (seconds).

300

2

Std_Category#2

Specifies whether the collection process is to collect basic information (PI and PI_CPU records).

Specify one of the following values:

  • Y: Collect

  • N: Do not collect

Y

3

Disk_Category#2

Specifies whether the collection process is to collect disk information (PI_PDSK and PI_LDSK records).

Specify one of the following values:

  • Y: Collect

  • N: Do not collect

Y

4

Network_Category#2

Specifies whether the collection process is to collect network information (PI_NET record).

Specify one of the following values:

  • Y: Collect

  • N: Do not collect

Y

5

Ps_Category#2

Specifies whether the collection process is to collect process information (PD_APS, PD_ASVC, PD_APP2, PD_APPC, and PD_APPD records).

Specify one of the following values:

  • Y: Collect

  • N: Do not collect

Y

6

Log_Size

Specifies the maximum size of one agent log file.#3

Specify a value in the range from 1 to 32 (megabytes).

3

#1

When the jpcconf inst setup command is executed in the non-interactive mode, this item name is used as a product-specific label in the definition file. For details about commands in the non-interactive mode, see the chapter that describes commands in the manual JP1/Performance Management Reference.

#2

The settings for Std_Category, Disk_Category, Network_Category, and Ps_Category are given higher priority than the collection settings for the individual records.

For example, if you set Std_Category to N (do not collect), a PI record is handled as follows:

• The PI record information is not recorded in the Store database.

• If an attempt is made to display a real-time report based on PI records, the KAVJS5001-I error message is displayed.

• If an alarm is bound to a PI record, that alarm will not function.

#3

The following formula can be used to estimate the agent log file size:

Agent log (megabytes) = ((a × 24 × 3600) ÷ b × 4) ÷ (4 × 1024)

Legend:

a: Number of days agent logs are stored

b: Interval value of the instance

For agent logs, the maximum number of files collected for each instance is (8 + the number of monitoring targets × 4). If there is not enough free space on the hard disk, agent logs result in an output error. For details about agent logs, see 10.3 Log information to be collected for troubleshooting.

(c) Execution in the interactive mode

  1. Execute the jpcconf inst setup command.

    The command sets an instance environment with an instance name of inst1:

    jpcconf inst setup -key RMPlatform -inst inst1
  2. Set up an instance environment for PFM - RM for Platform.

    Enter each instance environment setting for PFM - RM for Platform according to the command's instructions. For details about each instance environment setting, see Table 3-23 Instance environment settings for PFM - RM for Platform (for UNIX). After you enter each setting, press the Enter key. To use a displayed default value, press the Enter key.

    The following example sets all instance environment settings to the default values:

    /opt/jp1pc/tools>jpcconf inst setup -key RMPlatform -inst inst1
     Interval                 [300]                :<Enter>
     Std_Category             [Y]                  :<Enter>
     Disk_Category            [Y]                  :<Enter>
     Network_Category         [Y]                  :<Enter>
     Ps_Category              [Y]                  :<Enter>
     Log_Size (MB)            [3]                  :<Enter>
    KAVE05080-I The instance environment is now being created. (servicekey#=RMPlatform, inst=inst1)
    KAVE05081-I The instance environment has been created. (servicekey#=RMPlatform, inst=inst1)
    #

    If PFM - Manager's product name display function is disabled, agt7 is displayed for servicekey.

(d) Execution in the non-interactive mode

  1. Execute the jpcconf inst setup command to create a definition file template.

    Execute the command as follows:

    jpcconf inst setup -key RMPlatform -noquery -template definition-file-name

    Sections and labels that correspond to the instance environment settings are output to a definition file. Note that the value for the label of the Instance Definitions section is left blank.

  2. Edit the definition file template created in step 1.

    Edit the template setting values according to the instance environment.

    For details about the product-specific labels to be specified in the definition file, see Table 3-23 Instance environment settings for PFM - RM for Platform (for UNIX).

    Shown below is an example of coding a definition file. Specify values for the labels in the Instance Definitions section according to the instance environment.

    [Common Definitions]
    Definition File Version=0001
     
    [Product Information]
    Product ID=7
     
    [Instance Definitions]
    Interval=300
    Std_Category=Y
    Disk_Category=Y
    Network_Category=Y
    Ps_Category=Y
    Log_Size=3
  3. Execute the jpcconf inst setup command to set up the instance environment for PFM - RM for Platform.

    Shown below is an example of executing a command for setting up an instance environment where inst1 is the instance name. For the -input option, specify the definition file edited in step 2.

    jpcconf inst setup -key RMPlatform -inst inst1 -noquery -input definition-file-name
Note;

If the definition file contains confidential information such as passwords, save the definition file in a secure location, and delete it after you have used it. If you want to transfer the definition file between hosts, we recommend that you use a secure file transfer protocol, such as Secure File Transfer Protocol (SFTP), which is FTP over an SSH tunnel.

When all of the settings have been completed, an instance environment can be built. The following table shows the directory structure of an instance environment.

Table 3‒24: Directory structure of an instance environment (for UNIX)

No.

Storage directory

File name

Description

1

/opt#1/jp1pc/agt7/agent/instance-name

jpcagt.ini

Service startup initialization file of Remote Monitor Collector

2

jpcagt.ini.lck

Lock file for the service startup initialization file of Remote Monitor Collector (for each instance)

3

jpcagt.ini.model#2

Sample of a service startup initialization file of Remote Monitor Collector

4

status.dat

Intermediate file for internal processing

5

tstatuses.dat

Virtual Agent status information#3

6

targetlist.ini

List of monitoring targets

7

grouplist.ini

List of groups

8

GARULES.DAT

Grouping rule description file

9

targets

Storage folder for remote agent

10

groups

Storage folder for group agent

11

log

Storage folder for log files

12

/opt#1/jp1pc/agt7/store/instance-name

*.DB

Performance data file

13

*.IDX

Index files for performance data files

14

*.LCK

Lock files for performance data files

15

jpcsto.ini

Service startup initialization file of Remote Monitor Store

16

jpcsto.ini.model#2

Model file for the service startup initialization file of Remote Monitor Store

17

status.dat

Intermediate file for internal processing

18

*.DAT

Definition file for a data model

19

dump

Export folder

20

backup

Backup folder

21

partial

Partial backup folder

22

import

Import folder

23

log

Storage folder for log files

#1

If you run a logical host, replace opt with environment-directory. An environment directory is a directory on the shared disk that is specified when the logical host is created.

#2

Use these sample files when you want to restore the settings to their initial values from when the instance environment was configured.

#3

Created when the health check function is enabled.

To change an instance environment, re-execute the jpcconf inst setup command, and then update each instance environment setting. For details about updating the instance environment settings, see 3.6.2 Updating an instance environment.

You can change some settings by using PFM - Web Console to edit properties. For details about the information that can be changed by editing properties, see F.2 List of properties of the Remote Monitor Collector service.

In an instance environment, the service IDs are as follows:

Service IDs in an instance environment
  • For the Remote Monitor Collector service

    7Ainstance-number instance-name[host-name]

  • For the Remote Monitor Store service

    7Sinstance-number instance-name[host-name]

  • For the Group Agent service

    7Ainstance-number instance-name[All@host-name]

In PFM - RM for Platform, the instance name specified in the jpcconf inst setup command is displayed.

If the host name of the PFM - RM host is host1 and inst1 is specified as the instance name, the service IDs will be as follows:

  • For the Remote Monitor Collector service

    7A1inst1[host1]

  • For the Remote Monitor Store service

    7S1inst1[host1]

  • For the Group Agent service

    7A1inst1[All@host1]

For details about the service IDs, see the naming rules provided in the appendix in the JP1/Performance Management Planning and Configuration Guide.

You cannot set up an instance environment by using PFM - Web Console's facility for distributing agent-specific properties.

(e) Setting an offset value for starting performance data collection

You can set an offset value (in seconds) for starting performance data collection from monitoring targets on an instance-by-instance basis. By adjusting the offset values set for instances, you can make instances start collecting performance data at different times, thereby reducing the number of monitoring targets from which performance data is collected at a certain point in time.

For details about how to set an offset value, see 8. Definition Files in Service startup initialization file of Remote Monitor Collector (jpcagt.ini).

(4) Setting the monitored host

Set information about the monitored host for the instance that was set up in (3) Setting up an instance environment. You can set a maximum of 50 monitored hosts for a single instance. To set multiple monitored hosts, repeat this procedure. However, if the number of monitored hosts is large, the desired performance might not be achieved depending on the system's performance and environment. In this case, reduce the number of monitored hosts. Carefully validate the performance before starting operation.

For PFM - RM 11-00 or later, you can specify logical hosts as monitored hosts. Note, however, that you can specify logical hosts only when monitoring whether processes or services are running. For other monitoring, we recommend that you specify physical hosts.

Important

If you specify a logical host as a monitored host for any purpose other than monitoring whether processes or services are running, correct values will not be stored for the first performance data when the machine is switched.

Using common account information for monitored hosts

If Y is set for UseCommonAccount in the setting items for the monitored host, common account information# (ssh) that was created beforehand for the monitored host is used.

#

In health check monitoring, the common account information cannot be used.

The following table lists the correspondence between the setting items for the monitored host and those for common account information.

Table 3‒25: Correspondence between the setting items for the monitored host and those for common account information

Setting items for the monitored host

Setting items for common account information (ssh)

Description

User

User

User name

Private_Key_File

Private_Key_File

Private key file name

Note 1:

Common account information must be created on the PFM - RM host beforehand.

Use the jpcconf acc setup command to create common account information. For details about the jpcconf acc setup command, see the chapter that describes commands in the manual JP1/Performance Management Reference.

Note 2:

The settings and precautions required for creating common account information (ssh) are the same as for the corresponding monitoring target setting items. See the corresponding monitoring target setting items in Table 3-27.

Important

To use common account information, you need to unify the account information settings so that you can connect to multiple monitoring targets by using a single set of account information. For this reason, there is a risk of greater negative impact if common account information is leaked. To avoid such a risk, determine whether to use common account information after considering security measures and information management.

Notes about setting the monitored host

(a) Monitoring target setting items that must be specified depending on what is monitored

The monitoring target setting items that must be specified differ depending on what is monitored. The following table lists and describes these monitoring target setting items that must be specified for each monitoring target.

Table 3‒26: Monitoring target setting items that must be specified for each monitoring target

Item name

What is monitored

UNIX environment

Health check monitoring

Target Host

Y

Y

UseCommonAccount

D

T

TargetType

Y

Y

User

Y

N

Private_Key_File

Y

N

Port

D

N

Legend:

Y: Specification is required.

D: Specification is required if the default value is being changed.

T: There is no need to change the default value.

N: Specification is not required.

(b) Monitoring target setting items and values

The table below lists and describes the setting items and values for a monitored host. Check this information before you start operations.

Use the jpcconf target setup command to set up a monitored host.

For details about how to execute the jpcconf target setup command, see (d) Execution in the interactive mode and (e) Execution in the non-interactive mode.

For details about the jpcconf target setup command, see the chapter that describes commands in the manual JP1/Performance Management Reference.

Table 3‒27: Setting items and values for the monitored host in PFM - RM for Platform

No.

Item name#1

Description

Setting

Default

1

Target Host

Specifies the name of the monitored host#2. Specify a host name that can be resolved.#3

The specified monitored host name is used during performance data collection#4 and health checking. If JP1/IM is linked, this name is also used as the event host name.

From 1 to 32 bytes of alphanumeric characters and the hyphen (-) are permitted.

The name cannot begin with a hyphen (-).

The specified value must be unique within the instance.#5

No monitored host name is specified.#6

2

UseCommonAccount

Specifies whether to use common account information.

Specify one of the following values:

  • Y: Use

  • N: Do not use

N

3

TargetType

Specifies the method for connecting to the monitored host.

If the monitored host is running UNIX, the value should be ssh.

For health check monitoring, the value should be icmp.

  • Specify ssh if the monitored host is running UNIX.

  • Specify icmp for health check monitoring.

ssh

4

User#7

Specifies the user used to log on to the monitored host.

PFM - RM for Platform uses this user to log on to the monitored host and collect performance data.

From 1 to 256 bytes of characters are permitted.

The tab character is not permitted.

--

5

Private_Key_File

Specifies the name of the private key file#8 that is used with the SSH public key method.

From 1 to 256 bytes of characters are permitted.

The tab character is not permitted.

/opt/jp1pc/agt7/.ssh/agt7

6

Port

Specifies the port number of the SSH server on the monitored host.

Specify a value in the range from 1 to 65,535.

22

Legend:

--: No default is set.

#1

When the jpcconf target setup command is executed in the non-interactive mode, this item name is used as a product-specific label in the definition file. For details about commands in the non-interactive mode, see the chapter that describes commands in the manual JP1/Performance Management Reference.

#2

For health check monitoring, you can also specify hosts and hardware equipment that support the ICMP protocol (can communicate through ping command).

#3

To collect performance data and perform health checking, the name must be resolvable at least by the PFM - RM host.

If the JP1/IM linkage facility is used, the name must be resolvable by the JP1/IM host.

#4

Health check monitoring does not collect performance data.

#5

All cannot be used because it is a reserved word for group agents.

#6

If the specification is omitted, the host name of the PFM - RM host is assumed.

#7

For the login shell for the user to be specified, specify bash, bsh, or ksh.

This also applies when User in common account information (ssh) is used.

#8

If a connection attempt using the specified private key fails, the private key set by the SSH server (IdentityFile) is used for connection.

This also applies when Private_Key_File in common account information (ssh) is used.

(c) Monitored host setting items that are not displayed

Monitored host setting items are usually displayed by executing a command, but some are not displayed depending on the contents of other setting items or for some other reason. The table below describes conditions that prevent monitored host setting items from being displayed. It also shows the input values that are used in such cases.

Table 3‒28: Conditions that prevent monitored host setting items from being displayed, and input values that are used

Item name

Conditions that prevent monitored host setting items from being displayed, and input values that are used

User

  • These items are not displayed when Y is specified for UseCommonAccount.

    Input value:

    The value in the corresponding common account information is used as the input value. For details about the corresponding common account information, see Table 3-25.

  • This item is not displayed when icmp is specified for TargetType.

Private_Key_File

Port

This item is not displayed when icmp is specified for TargetType.

(d) Execution in the interactive mode

  1. Execute the jpcconf target setup command.

    In PFM - RM for Platform, we recommend that you specify the host name of the monitored host as the name of the monitoring target.

    The following example sets the monitored host targethost1 with instance name inst1 as the monitoring target:

    jpcconf target setup -key RMPlatform -inst inst1 -target targethost1
  2. Set up the monitoring target for PFM - RM for Platform.

    Enter setting items for the monitored host according to the instructions given by the command. For details about the setting items for the monitored host, see Table 3-27. After you input each setting item, press the Enter key to set it. To use a displayed default value, simply press the Enter key.

    The following is an example of the settings when the monitored host is running UNIX:

    Conditions for the PFM - RM host to be set up

    - SSH client program: /usr/bin/ssh

    - Private key: /opt/jp1pc/agt7/.ssh/agt7

    Conditions for the monitored host to be set up

    - Host name: targethost1

    - User: ssh-user

    - Port number of SSH: 22

    /opt/jp1pc/tools>jpcconf target setup -key RMPlatform -inst inst1 -target targethost1
     Target Host              []                     :targethost1<Enter>
     UseCommonAccount         [N]                    :<Enter>
     TargetType               [ssh]                  :<Enter>
     User#1                                          :ssh-user<Enter>
     Private_Key_File#1   [/opt/jp1pc/agt7/.ssh/agt7]:<Enter>
     Port                        [22#2]              :<Enter>
    KAVE05361-I The monitoring target is now being added. (servicekey#3=RMPlatform, inst=inst1, target=targethost1)
    KAVE05362-I The monitoring target has been added. (servicekey#3=RMPlatform, inst=inst1, target=targethost1)
    #1

    This item is not displayed when Y is specified for UseCommonAccount.

    #2

    If the port number used in SSH is not 22, change the value of Port to the port number used in SSH.

    #3

    If PFM - Manager's product name display function is disabled, agt7 is displayed for servicekey.

    The following is an example of the settings for health check monitoring:

    Conditions for the monitored host to be set up

    - Host name: targethost2

    /opt/jp1pc/tools>jpcconf target setup -key RMPlatform -inst inst1 -target targethost2
     Target Host              []                     :targethost2<Enter>
     UseCommonAccount         [N]                    :<Enter>
     TargetType               [ssh]                  :icmp<Enter>
    KAVE05361-I The monitoring target is now being added. (servicekey#=RMPlatform, inst=inst1, target=targethost2)
    KAVE05362-I The monitoring target has been added. (servicekey#=RMPlatform, inst=inst1, target=targethost2)
    #

    If PFM - Manager's product name display function is disabled, agt7 is displayed for servicekey.

(e) Execution in the non-interactive mode

  1. Execute the jpcconf target setup command to create a definition file template.

    jpcconf target setup -key RMPlatform -noquery -template definition-file-name

    Sections and labels that correspond to the monitored host setting items are output to a definition file. Note that the value for the label of the Target Definitions section is left blank.

  2. Edit the definition file template created in step 1.

    Edit the template setting values as required for the monitored host.

    For details about the product-specific labels to be specified in the definition file, see Table 3-27.

    Shown below is an example of the coding of a definition file when the monitored host is running UNIX. Specify values for the labels in the Target Definitions section as required for the monitored host.

    [Common Definitions]
    Definition File Version=0001
     
    [Product Information]
    Product ID=7
     
    [Target Definitions]
    Target Host=targethost1
    UseCommonAccount=
    TargetType=ssh
    User#=user1
    Private_Key_File#=/opt/jp1pc/agt7/.ssh/agt7
    Port=22
    #

    There is no need to specify a value for this item when Y is specified for UseCommonAccount.

    Shown below is an example of the coding of a definition file for health check monitoring. Specify values for the labels in the Target Definitions section as required for the monitored host.

    [Common Definitions]
    Definition File Version=0001
     
    [Product Information]
    Product ID=7
     
    [Target Definitions]
    Target Host=targethost2
    UseCommonAccount=
    TargetType=icmp
    User=
    Private_Key_File=
    Port=
  3. Execute the jpcconf target setup command to set up the monitoring target for PFM - RM for Platform.

    Shown below is an example of executing a command for setting up a monitoring target where inst1 is the instance name and targethost1 is the monitored host. For the -input option, specify the definition file edited in step 2.

    jpcconf target setup -key RMPlatform -inst inst1 -target targethost1 -input definition-file-name -noquery
Note:

If the definition file contains confidential information such as passwords, save the definition file in a secure location, and delete it after you have used it. If you want to transfer the definition file between hosts, we recommend that you use a secure file transfer protocol, such as Secure File Transfer Protocol (SFTP), which is FTP over an SSH tunnel.

When all of the settings have been completed, a monitoring target environment can be built. The following table shows the directory structure of the monitoring target environment.

Table 3‒29: Directory structure of the monitoring target environment

No.

Storage directory

File name

Description

1

/opt#/jp1pc/agt7/agent/instance-name/targets

monitoring-target-name.ini

Monitoring target settings file

2

monitoring-target-name.ini.model

Sample of a monitoring target settings file

3

/opt#/jp1pc/agt7/agent/instance-name/targets/monitoring-target-name

--

Work directory for the monitoring target

Legend:

--: Not applicable

#

If you run a logical host, replace opt with environment-directory.

The following service IDs are added by the monitoring target settings:

Service IDs to be added
  • Remote Agent service

    7Ainstance-number instance-name[monitoring-target-name@host-name]

    The instance name and monitoring target name will be the values specified in the jpcconf target setup command.

    If you specify host1 as the host name of the PFM - RM host, inst1 as the instance name, and targethost1 as the monitoring target name, then the service ID will be as follows:

    7A1inst1[targethost1@host1]

For details about the service IDs, see the naming rules provided in the appendix in the JP1/Performance Management Planning and Configuration Guide.

If you want to change information about the monitoring target, re-execute the jpcconf target setup command and update the information. For details about updating a monitoring target, see 3.6.3 Updating a monitoring target.

You can change some settings by using PFM - Web Console to edit properties. For details about the information that can be changed by editing properties, see F.3 List of properties of remote agents and group agents.

(5) Network settings[Figure]

You must specify network settings only if you need to change the network environment settings based on the network configuration specified where Performance Management is used.

There are two types of network environment settings, as described below. Change network settings as necessary.

(6) Changing the log file size[Figure]

The operation status of Performance Management is output to Performance Management's own log file. This log file is called the common message log. Modify this setting if you want to change the file size.

For details, see the chapter explaining installation and setup in the JP1/Performance Management Planning and Configuration Guide.

(7) Changing performance data storage locations[Figure]

These settings are required in order to change the following settings for the performance data that is managed by PFM - RM for Platform:

Note

If you use a logical host for operation, replace opt with environment-directory.

For details about changing performance data storage locations, see 3.6.1 Changing performance data storage locations.

(8) Setting the connection-target PFM - Manager

You must specify on the PFM - RM host information about the PFM - Manager that manages PFM - RM for Platform. The jpcconf mgrhost define command is used to make this setting.

Notes about setting the connection-target PFM - Manager
  • Only one PFM - Manager can be set as the connection destination even when multiple PFM - RMs are installed on the same host. A different PFM - Manager cannot be specified for each PFM - RM.

  • If PFM - RM for Platform and PFM - Manager are installed on the same host, then the PFM - Manager on the local host is the connection-target PFM - Manager. In this case, you cannot change the connection-target PFM - Manager to any other PFM - Manager. To connect to PFM - Manager on a remote host, install PFM - RM for Platform on a different host than for PFM - Manager.

To set the connection-target PFM - Manager:

  1. Stop the Performance Management programs and services.

    If any Performance Management programs and services are running on the local host, stop all of them before starting the setup procedure. If Performance Management programs and services are running during execution of the jpcconf mgrhost define command, a message is displayed that asks you to terminate them.

    For details about how to stop services, see the chapter that describes starting and stopping Performance Management in the JP1/Performance Management User's Guide.

  2. Execute the jpcconf mgrhost define command with the host name of the connection-target PFM - Manager specified.

    The following shows an example of command execution when the connection-target PFM - Manager is located on the host01 host:

    jpcconf mgrhost define -host host01

    This example shows execution in the interactive mode, but you can also execute the jpcconf mgrhost define command in the non-interactive mode. For details about this command, see the chapter that describes commands in the manual JP1/Performance Management Reference.

(9) Action log output settings[Figure]

These settings are required in order to output action logs at the following times:

An action log contains log information about exceeded threshold values caused by factors such as system overloads; its output is linked with the alarm function. For details about the action log output settings, see J. Outputting Action Log Data.