Hitachi

Job Management Partner 1 Version 10 Job Management Partner 1/Performance Management - Remote Monitor for Virtual Machine Description, User's Guide and Reference


2.1.4 Setting up PFM - RM for Virtual Machine

This subsection explains the setup for operating PFM - RM for Virtual Machine. The setup procedure depends on the virtual environment to be monitored. The table below lists the setup items required for each virtual environment.

Table 2‒2: Setup items required for each virtual environment

Setup item

VMware

Hyper-V

KVM

(1) Registering PFM - RM for Virtual Machine

Y

Y

Y

(2) Setting PFM - RM for Virtual Machine

Y

N

N

(3) Setting up an instance environment

Y

Y

Y

(4) Setting up monitoring targets

Y

Y

Y

(5) Embedding a certificate

Y

N

N

(6) Network settings

Y

Y

Y

(7) Changing the log file size

Y

Y

Y

(8) Changing the performance data storage destination

Y

Y

Y

(9) Setting up PFM - Manager at the connection destination of PFM - RM for Virtual Machine

Y

Y

Y

(10) Setting the action log output

Y

Y

Y

(11) Setting WMI

N

Y

N

(12) Setting SSH

N

N

Y

Legend:

Y: Setup is required

N: Setup is not required

The icon [Figure], [Figure], [Figure]or [Figure] indicates a setup item required for the indicated virtual environment.

The icon [Figure] indicates either a setup item that may be required depending on the environment that is used, or an optional setup item that is available for changing default settings.

Organization of this subsection

(1) Registering PFM - RM for Virtual Machine [Figure]

To use PFM - Manager and PFM - Web Console to centrally manage PFM - RM for Virtual Machine, you need to register PFM - RM for Virtual Machine in PFM - Manager and PFM - Web Console.

The figure below shows the flow for registering PFM - RM for Virtual Machine.

Figure 2‒5: PFM - RM for Virtual Machine registration flow

[Figure]

Important note
  • Register PFM - RM for Virtual Machine before setting up the instance environment.

  • If you add the same version of PFM - RM for Virtual Machine to a Performance Management system in which PFM - RM for Virtual Machine information is already registered, there is no need to register PFM - RM for Virtual Machine.

  • To install different versions of PFM - RM for Virtual Machine on different hosts, set up the earlier version first, and then set up the later version.

  • If you install PFM - RM for Virtual Machine on the same host as PFM - Manager, the jpcconf agent setup command is automatically executed. When the message KAVE05908-I New agent setup ended successfully is output to the common message log, check the result. If the command was not executed correctly, execute it again. For details about how to execute the command, see the chapter that explains commands in the manual Job Management Partner 1/Performance Management Reference.

  • During the task of registering the PFM - RM for Virtual Machine information, a folder named RM VirtualMachine is created under the Reports and Alarms tabs in PFM - Web Console. If you had already created a folder or file named RM VirtualMachine under the Reports tab on your own, change its name before you proceed with registration.

(a) Copying the PFM - RM for Virtual Machine setup files

Copy the setup files located on the host on which you installed PFM - RM for Virtual Machine to the host on which you installed PFM - Manager and PFM - Web Console.

To copy the setup files:

  1. If PFM - Web Console is running, stop it.

  2. Copy the setup files of PFM - RM for Virtual Machine in the binary mode.

    The table below shows the location where the files are stored and the location to which the files are to be copied.

    Table 2‒3: Setup files to copy

    Copying source

    (PFM - RM for Virtual Machine setup file)

    Copying destination

    PFM program name

    OS

    Destination folder

    installation-folder\setup\jpcagt8w.EXE

    PFM - Manager

    Windows

    PFM-Manager-installation-folder\setup\

    installation-folder\setup\jpcagt8u.Z

    UNIX

    /opt/jp1pc/setup/

    installation-folder\setup\jpcagt8w.EXE

    PFM - Web Console

    Windows

    PFM-Web-Console-installation-folder\setup\

    installation-folder\setup\jpcagt8u.Z

    UNIX

    /opt/jp1pcwebcon/setup/

(b) Using the PFM - Manager host to execute the setup command

Use PFM - Manager host to execute the following command for setting up PFM - RM for Virtual Machine:

jpcconf agent setup -key RMVM (jpcagtsetup agt8)
Important note

If you execute the jpcconf agent setup command when the Performance Management programs and services of the local host on which you are executing the setup command have not stopped completely, an error may occur. In this case, first make sure that the Performance Management programs and services have stopped completely, and then re-execute the jpcconf agent setup command.

After this task has been completed, you can delete the PFM - RM for Virtual Machine setup file located on the PFM - Manager host.

(c) Using the PFM - Web Console host to execute the setup command

Use PFM - Web Console host to execute the following command for setting up PFM - RM for Virtual Machine:

jpcwagtsetup

After this task has been completed, you can delete the PFM - RM for Virtual Machine setup file located on the PFM - Web Console host.

(2) Setting PFM - RM for Virtual Machine [Figure] [Figure]

When you use VMware with Hyper-Threading enabled and monintor the Host Status (PI) record or the VM Status (PI_VI) record, you need setup the PFM - RM for Virtual Machine. The following explains how to perform the setting up PFM - RM for Virtual Machine.

(a) Editing the PFM - RM for Virtual Machine setup file

Edit the following file to change setting up PFM - RM for Virtual Machine:

Installation-folder\agt8\agent\jpcagt8cfg.ini

(b) Contents of the PFM - RM for Virtual Machine setup file

The following explains the format of the PFM - RM for Virtual Machine setup file.

[vmware]
UseHTPhysicalClocks={N | Y}
Description:

[vmware] is the section name.

UseHTPhysicalClocks key is set to disable (N) or enable (Y).

Disable (N) (default value):

Specify N when Hyper-Threading is disabled in all monitored VMware environments (including environments without Hyper-Threading function).

Enable (Y):

Specify Y when a monitored environment has VMware with Hyper-Threading enabled.

The following table shows the correspondence between VMware with Hyper-Threading and the UseHTPhysicalClocks key setting.

Table 2‒4: Correspondence between VMware with Hyper-Threading and the UseHTPhysicalClocks key setting

No.

Hyper-Threading in the VMware environment

Setting UseHTPhysicalClocks key

Disable (N) (default value)

Enable (Y)

1

Disabled

(including environments without Hyper-Threading function)

Displays the data based on the physical processor cores.

Displays the data based on the

physical processor cores. Does

not depend on whether Hyper-Threading is disabled or enabled. #2

2

Enabled

Displays the data based on the logical processor cores. #1

#1

The value of the Used % field in the Host Status (PI) record or the value of the Host Used % field in the VM Status (PI_VI) record depends on the CPU resources used, is about 50 - 70 percent of the maximum.

#2

The value of the Clocks field in Host Status (PI) record is based on the physical processor cores. Therefore, the value of the Used % field in the Host Status (PI) record or the value of the Host Used % field in the VM Status (PI_VI) record depends on the CPU resources used, is 100 percent of the maximum.

Notes:

If the PFM - RM for Virtual Machine setup file does not exist or the file contents are invalid, the system performs same as for the earlier version (for example, UseHTPhysicalClocks=N).

When N is specified for the UseHTPhysicalClocks key and monitoring is of VMware with Hyper-Threading enabled, if you do not set thresholds and conditions that match the monitoring target, the alarm will not be detected correctly. In such a case, set thresholds and conditions that match the monitoring target, or specify UseHTPhysicalClocks=Y.

Example:

If the CPU resources used are high, no alarm is detected.

If you set a warning condition for when the value of the Used field exceeds 80 %, and specify UseHTPhysicalClocks=N and monitor VMware with Hyper-Threading enabled, the value of the Used field will not exceed 80 % and so no alarm is detected.

(3) Setting up an instance environment [Figure]

To set up an instance environment, you specify instance information. To set up multiple instance environments, you repeat the setup procedure.

Specify the instance information of PFM - RM for Virtual Machine. You specify this information from the PFM - RM host.

The table below shows the types of instance information to specify. Before you begin the setup procedure, check the following information.

Table 2‒5: Instance information of PFM - RM for Virtual Machine

Item#1

Explanation

Value that can be set

Default value

VM_Type#2

Specifies the type of virtual environment to be monitored.

Character string not exceeding 8 bytes.

Specify the following value, depending on the monitoring target:

  • For VMware: vmware

  • For Hyper-V: hyperv

  • For KVM: kvm

vmware

Interval

Specifies the collection process execution interval.#3

60 through 3,600 (units: seconds)

300

Std_Category#4

Specifies whether the collection process outputs the basic information (PI, VI, and VM records) to a temporary performance information file.

Either of the following values:

  • Y: Outputs the information.

  • N: Does not output the information.

Y

Cpu_Category#4

Specifies whether the collection process outputs the CPU information (HCI and VCI records) to a temporary performance information file.

Either of the following values:

  • Y: Outputs the information.

  • N: Does not output the information.

Y

Memory_Category#4

Specifies whether the collection process outputs the memory information (HMI and VMI records) to a temporary performance information file.

Either of the following values:

  • Y: Outputs the information.

  • N: Does not output the information.

Y

Disk_Category#4

Specifies whether the collection process outputs the disk information (HPDI, VPDI, HLDI, and VLDI records) to a temporary performance information file.

Either of the following values:

  • Y: Outputs the information.

  • N: Does not output the information.

Y

Network_Category#4

Specifies whether the collection process outputs the network information (HNI and VNI records) to a temporary performance information file.

Either of the following values:

  • Y: Outputs the information.

  • N: Does not output the information.

Y

HostUserID#5#6

Specifies the user ID of the PFM - RM host.

Character string not exceeding 256 bytes. Note that the following character cannot be used:

  • Tab character

(None)

HostPassword#5

Specifies the password for the user ID that was specified in HostUserID. The characters entered for this item are not displayed on the screen. When you enter a value for this item, the system will ask you to re-enter the value.

Character string not exceeding 256 bytes. Note that the following character cannot be used:

  • Tab character

(No password)

HostDomain#5

Specifies the name of the domain that the PFM - RM host belongs to.

This specification is unnecessary if the host belongs to a work group.

Character string not exceeding 256 bytes. Note that the following character cannot be used:

  • Tab character

(None)

SSH_Client

Specifies the absolute path of the SSH client (PuTTY) execution module (plink.exe). You do not need to enclose the path name in double quotation marks (") even if it includes spaces.

Character string not exceeding 256 bytes. Note that the following character cannot be used:

  • Tab character

(None)

Log_Size

Specifies the maximum size of a single file for the collected logs.#7

1-32 (megabytes)

A value of 16 or greater is recommended.

16

UseVcpuMax

Specifies which is to be used as the CPU resource clock frequency: the frequency assigned to the virtual machine or the clock frequency of the physical CPU. To use the frequency assigned to the virtual machine, specify Y.

To use the frequency of the physical CPU, specify N.#8

{Y|N}

Specification of this item is valid only for monitoring targets that use VMware. For other monitoring targets, specification of this item is ignored.

N

#1

To execute the jpcconf target setup command in non-interactive mode, use this item name as the product-specific label in the definition file. For details about executing the command in non-interactive mode, see the chapter on commands in the manual Job Management Partner 1/Management Reference.

#2

Cannot be reset using the jpcconf inst setup command.

#3

Depending on the intervals at which Agent Collector collects information and at which a temporary performance information file is created, the contents of the file might not be updated, causing the same data to be collected. If this problem occurs, review and correct the settings of these intervals. For details about setting these intervals, see 1.3.1 General procedure for performance data collection tasks.

#4

In order to acquire performance data from a temporary performance information file during record collection, collection of the records collected when the Std_Category, Cpu_Category, Memory_Category, Disk_Category, and Network_Category items are enabled takes precedence over other records.

If records collected when any of these items are enabled are unnecessary, disable the relevant items by setting N. Doing so reduces the number of times the monitoring target is accessed. Remember that if you set N for any of the above items, you can no longer collect performance data for the relevant records.

For example, if you set Std_Category to N (disable collection), behavior for PI records is as follows:

  • PI records are not saved in the Store database.

  • A KAVJS5002-I error message is displayed when an attempt is made to display a real-time report on PI records from PFM - Web Console.

  • If an alarm that uses a PI record is bound, the alarm does not function.

For the general procedure for performance data collection tasks, see 1.3.1 General procedure for performance data collection tasks.

#5

When you set a PFM - RM host account, see 2.5.2 For Hyper-V.

If PFM - RM for Virtual Machine is used in a cluster system, set the same user name and password on both the executing and standby nodes so that the PFM - RM host account can access both nodes.

#6

PFM - RM for Virtual Machine uses the user account specified by HostUserID to start the collection process. If the profile for the user account does not exist, acquisition of performance data might fail.

The profile information for a user account is created at the first logon with the user account.

When you add or change a PFM - RM for Virtual Machine instance environment, you might want to create a new user account and specify it for HostUserID. In such a case, the profile for the user account might have not been created yet. To avoid this, immediately after creating a new user account, log on to Windows with that user account.

#7

For collected log data, a maximum of eight files are created per monitoring target. If the hard disk does not have sufficient free space, a collected log output error will occur. For details about the collected log, see 7.3 Log information.

#8

The VM Status (PI_VI) record is the only record that is collected if this item is enabled. For details about the fields of this record, see VM Status (PI_VI) in 5. Records.

To check the CPU resource usage of the physical host itself that runs the virtual machine by using the clock frequency of the physical CPU as the CPU resource clock frequency, specify N. You can specify N if, for example, you want to move or stop a virtual machine without exhausting CPU resources.

To check the CPU resource usage of a virtual machine by using the clock frequency assigned to the virtual machine as the CPU resource clock frequency, specify Y. You can specify Y when there are sufficient CPU resources on the physical host that runs the virtual machine.

Important note

Even if the setting for the connection environment specified in the instance environment is invalid, the instance environment generation command terminates normally. However, when you begin collecting records in that instance environment, no performance data is collected. For the corrective action to take in such a case, see 7.2.5(3) No performance data is collected even when PFM - RM for Virtual Machine is started.

The items that need to be specified during instance environment setup depend on the virtual environment to be monitored. The table below shows the items that need to be specified for each virtual environment.

Table 2‒6: Instance information items to be specified for each virtual environment

Item

Virtual environment

VMware

Hyper-V

KVM

VM_Type

N

Y

Y

Interval

D

D

D

Std_Category

D

D

D

Cpu_Category

D

D

D

Memory_Category

D

D

D

Disk_Category

D

D

D

Network_Category

D

D

D

HostUserID

Y

Y

Y

HostPassword

Y

Y

Y

HostDomain

D

D

D

SSH_Client

N

N

Y

Log_Size

D

D

D

UseVcpuMax

D

N

N

Legend:

Y: Specification is required.

D: Specify only to change the default value.

N: Specification is not necessary.

To create an instance environment, use the jpcconf inst setup command. The procedure for configuring an instance environment is described below. For an instance environment setting example, see 2.6 Examples of setting up an instance environment and monitoring targets.

To configure an instance environment:

  1. Execute the jpcconf inst setup command.

    You can specify any instance name. Make sure that you specify an easy-to-identify PFM - RM for the Virtual Machine instance name for convenience of management. The following shows an example of the command that builds an instance named inst1:

    jpcconf inst setup -key RMVM -inst inst1
     (jpcinssetup agt8 -inst inst1)

    Note that the instance name you specify must consist of only single-byte alphanumeric characters. For details, see the manual Job Management Partner 1/Performance Management Reference.

    For details about the jpcconf inst setup command, see the chapter that explains commands in the manual Job Management Partner 1/Performance Management Reference.

  2. Set up the instance information of PFM - RM for Virtual Machine.

    Enter the items listed in Table 2-5 as instructed by the command. All items are required. If you choose to use the default value that is displayed for an item to input, simply press the Enter key.

Once all of the information has been input, an instance environment is created. To change the instance information that was input during configuration, execute the jpcconf inst setup command again to update the instance environment. For details about how to update an instance environment, see 2.4.2 Updating an instance environment. You can change some of the information that was specified by editing the properties from PFM - Web Console. For details about the information that can be specified, see E.2 Remote Monitor Collector service property list.

The instance environment that is created is described below.

(4) Setting up monitoring targets [Figure]

Set information about the monitoring-target virtual environments for the instance set up in (3) Setting up an instance environment above. You can set a maximum of 50 monitoring-target virtual environments. To set multiple monitoring-target virtual environments for one instance, repeat the procedure described in (3). Note, however, that if there are many monitoring-target virtual environments, performance might be reduced, depending on the performance and environment of the machine. If this is the case, reduce the number of monitoring-target virtual environments. We recommend that you perform sufficient testing before you start working in the production environment.

Note on setting up a monitoring-target host:

Setup of a monitoring target is performed on the PFM - RM for Virtual Machine host.

The table below lists and describes the items that can be specified during setup of a monitoring target. Check the settings of these items before starting operation.

Table 2‒8: Items that can be specified during setup of a PFM - RM for Virtual Machine monitoring target

Item#1

Explanation

Specifiable value

Default

Whether re-updating by the jpcconf target setup command is possible

Target Host

Specifies the host name of a monitoring-target physical server. Make sure that the host name can resolve to an IP address.#2

The specified value is used for collection of performance information and for health checks. For linkage with JP1/IM or NNM, the specified value is also used as the event host name.

A character string that is 32 bytes long and consists of only single-byte alphanumeric characters and hyphens (-) can be specified.

However, a value that begins with a hyphen (-) cannot be specified.

Make sure that you specify a value that is unique within the instance.#3

(None)

Y

VM_Host

Specifies the host name of a monitoring-target physical server.#2 Specify this item if the destination host has already been created with a name that cannot be specified for Target Host.

The specified value is used for collection of performance information. If no value is specified for this item, the value specified by Target Host is used to perform collection of performance information.

Character string not exceeding 256 bytes.

Note that the following character cannot be used:

  • Tab character

(None)

Y

Security

Specifies whether to use SSL for communication with the monitoring-target physical server.

{0|1}#4

0: SSL is not used.

1: SSL is used.

SSL is unavailable with Hyper-V or KVM. If 1 is specified in such a case, the system assumes that 0 is specified.

1

Y

Port

Specifies the port number that is used for communication with the monitoring-target physical server.

0-65535

For VMware:

If 0 is specified, the port number that will be used differs depending on the Security value:

  • Security = 0 (do not use SSL)

    80 (HTTP default port number)

  • Security = 1 (use SSL)

    443 (HTTPS default port number)

For KVM:

If 0 is specified, 22 (SSH default port number) will be assumed.

0

Y

UserID

Specifies the user ID that is used to connect to the monitoring-target physical server.#5, #6

Character string not exceeding 256 bytes.

Note that the following character cannot be used:

  • Tab character

(None)

Y

Password

Specifies the password that is used to connect to the monitoring-target physical server. The character string entered for this item is not displayed. This item requires you to enter a value twice.

If the monitoring target uses VMware and you specify a password that includes special characters, make sure that you specify a sanitized string.

Character string not exceeding 256 bytes.#7

Note that the following character cannot be used:

  • Tab character

(None)

Y

Domain

Specifies the name of the domain that the monitoring-target physical server belongs to.

If the server belongs to a work group, you do not need to specify this item.

If the monitoring target uses VMware or KVM, you do not need to specify this item.

Character string not exceeding 256 bytes.

Note that the following character cannot be used:

  • Tab character

(None)

Y

Private_Key_File

Specifies the absolute path name of the private key file that is used for SSH public key encryption.

Specify the path name of the private key file created by the procedure described in 2.5.3 For KVM.

You do not need to enclose the path name in double quotation marks (") even if it includes spaces.#8

Character string not exceeding 256 bytes.

Note that the following character cannot be used:

  • Tab character

(None)

Y

Legend:

Y: Re-updating is possible.

#1

If the jpcconf target setup command is executed in non-interactive mode, use this item name as the product-specific label in the definition file. For details about executing the command in non-interactive mode, see the chapter on commands in the manual Job Management Partner 1/Performance Management Reference.

#2

The first thing you must do before you can perform collection of performance information and do health checks is to ensure that the PFM - RM host name can resolve to an IP address. To use the JP1/IM linkage facility, the JP1/IM host name must be resolvable to an IP address. To use the OpenView linkage facility, the PFM - Manager and NNM host names must be resolvable to IP addresses.

#3

The string All, which is a reserved word for group agents, cannot be used.

#4

To set Security to 1, use of HTTPS must be permitted for /sdk on the VMware ESX side. To set Security to 0, use of HTTP must be permitted for /sdk on the VMware ESX side. For details about the setting procedure, see the VMware documentation that is appropriate for the version:

  • VMware ESX 4.0

    ESX Configuration Guide

    Change Security Settings for a Web Proxy Service

  • VMware ESX 4.1

    ESX Configuration Guide

    Change Security Settings for a Web Proxy Service

  • VMware ESX 5

    vSphere Security on the vSphere 5 Documentation Center webpage

    Change Security Settings for a Web Proxy Service

#5

If the monitoring-target virtual environment uses VMware, the account you specify must have a Read-only or a higher VMware role. For details about how to specify the role settings, see the VMware documentation.

If the monitoring-target virtual environment uses Hyper-V, for the permission of the account you specify, see 2.5.2 For Hyper-V.

If the monitoring-target virtual environment uses KVM, always log in as superuser. For details about how to specify settings after login and notes, see 2.5.3 For KVM.

#6

If the monitoring-target virtual environment uses KVM, use bash, bsh, or ksh as the login shell for the user you specify.

#7

If the monitoring-target virtual environment uses VMware and any of the symbols listed in the following table are used in the password on the VMware side, replace them with symbol entities when specifying a value for Password.

Symbol

Symbol entity

<

&lt;

>

&gt;

&

&amp;

'

&apos;

"

&quot;

For example, if the string you want to specify for Password is abc<def>xyz, enter abc&lt;def&gt;xyz.

#8

The private key file is accessed every time record collection is performed. Make sure that the private key file at the path you specify can be accessed during record collection.

The items that must be specified during setup of a monitoring target differ depending on the monitoring-target virtual environment. The following table shows the required setting items for each virtual environment.

Table 2‒9: Required setting items for each virtual environment

Item

Virtual environment

VMware

Hyper-V

KVM

Target Host

Y

Y

Y

VM_Host

D

D

D

Security

D

N

N

Port

D

N

D

UserID

Y

Y

Y

Password

Y

Y

N

Domain

N

Y

N

Private_Key_File

N

N

Y

Legend:

Y: Specification is required.

D: Specify only to change the default value.

N: Specification is not necessary.

A monitoring target is set up by using the jpcconf target setup command. To set up a monitoring target:

  1. Execute the jpcconf target setup command.

    For PFM - RM for Virtual Machine, we recommend that you specify the host name of the physical server as the monitoring target name.

    The following shows an example of executing a command when setting the host named targethost1 as the monitoring target of the instance named inst1.

    jpcconf target setup -key RMVM -inst inst1 -target targethost1

    For details about the jpcconf target setup command, see the chapter on commands in the manual Job Management Partner 1/Performance Management Reference.

  2. Set up the PFM - RM for Virtual Machine monitoring target.

    Specify settings of the monitoring target as the command instructs. For details about these settings, see Table 2-8. After specifying a value for a setting item, press the return key to set the value. If you accept the initial value as is, only press the return key.

The following shows an example of specifying settings when the monitoring target is a VMware environment.

Conditions of the monitoring target that you want to set up:
  • Host name of the physical server: targethost1

  • User: user1

  • Password: pass1

  • Domain: domain1

C:\Program Files\Hitachi\jp1pc\tools>jpcconf target setup -key RMVM -inst inst1 -target targethost1
Target Host [] : targethost1 <Enter>
VM_Host [] : <Enter>
Security [1] : <Enter>
Port [0] :<Enter>
UserID:user1 <Enter>
Password :pass1#1<Enter>
Re-enter :pass1#1<Enter>
Domain [] :<Enter>
Private_Key_File [] :<Enter>
KAVE05361-I The monitoring target is now being added. (servicekey#2=RMVM,inst=inst1, target=targethost1)
KAVE05362-I The monitoring target has been added. (servicekey#2=RMVM,inst=inst1, target=targethost1)
#1

You are prompted to enter a password twice. The string entered as the password is not displayed.

#2

If the product name display function of PFM - Manager is disabled, agt8 is displayed for servicekey.

After you have specified all settings, the monitoring-target environment is set up. The following table shows the folders created in the environment.

Table 2‒10: Folders created in the monitoring-target environment

No.

Folder

File name

Description

1

PFM-RM-for-Virtual-Machine-installation-folder#\agt8\agent\instance-name\targets

monitoring-target-name.ini

Monitoring-target settings file

2

monitoring-target-name.ini.model

Model file for the monitoring-target settings file

3

PFM-RM-for-Virtual-Machine-installation-folder#\agt8\agent\instance-name\targets\monitoring-target-name

--

Work folder for the monitoring target

Legend:

--: Not applicable

#

If you use PFM - RM for Virtual Machine on a logical host, replace PFM-RM-for-Virtual-Machine-installation-folder with the environment-folder\jp1pc.

Note that a service ID is added during setup of the monitoring target.

Added service ID:
  • Remote Agent service

    8Aab[monitoring-target-name@host-name] (a: instance-number, b: instance-name)

    For b (instance-name) and monitoring-target-name, specify the corresponding values that are specified in the jpcconf target setup command.

    For example, if the PFM - RM host name is host1, the instance name is inst1, and the monitoring target name is targethost1, the service ID is as follows:

    8A1inst1[targethost1@host1]

For details about service IDs, see the naming conventions in the appendix of the Job Management Partner 1/Performance Management Planning and Configuration Guide.

To change the information about a monitoring target, re-execute the jpcconf target setup command. For details about updating a monitoring target, see 2.4.3 Updating monitoring targets.

Some of the items that are set can be changed by editing the properties of PFM - Web Console. For details about the items that can be changed by editing these properties, see E.3 Remote agent and group agent property list.

(5) Embedding a certificate [Figure] [Figure]

Before you use SSL to communicate with VMware, you must embed a certificate. For details, see 2.5.1 For VMware.

Important note

If no certificate has been embedded when you use SSL to communicate with VMware, the following problems may occur:

  • During performance data collection, it may take quite a while to receive a response from the VMware at the connection destination.

  • Because of the delay in receiving a response from the VMware at the connection destination, performance data collection might not be completed within the prescribed collection interval, resulting in a collection failure.

  • An error occurs when you perform an operation from PFM - Web Console that generates a query to the Remote Monitor Collector service of PFM - RM for Virtual Machine, such as display of service properties.

  • The error KAVL16205-W occurs many times.

(6) Network settings [Figure] [Figure]

This is necessary only when you want to change the settings according to the network configuration in which Performance Management is used.

In the network settings, you can specify the following two items:

(7) Changing the log file size [Figure] [Figure]

The operation status of Performance Management is output to a log file specific to Performance Management. This log file is called the common message log. By default, the common message log uses two files, each with 2,048 kilobytes. This setting is necessary only when you want to change the size of this file.

For details, see the chapter that explains installation and setup in the Job Management Partner 1/Performance Management Planning and Configuration Guide.

(8) Changing the performance data storage destination [Figure] [Figure]

This setting is necessary only when you want to change the folder at the save destination, the backup destination, or the export destination for the database that stores the performance data managed by PFM - RM for Virtual Machine.

By default, performance data is saved in the following locations:

For details, see 2.4.1 Changing the performance data storage destination.

(9) Setting up PFM - Manager at the connection destination of PFM - RM for Virtual Machine [Figure]

On the host on which PFM - RM for Virtual Machine is installed, set up the PFM - Manager that manages the PFM - RM for Virtual Machine. To set up PFM - Manager at the connection destination, use the jpcconf mgrhost define command.

Important note
  • Even when multiple PFM - RMs are installed on the same host, you can specify only one PFM - Manager at the connection destination. You cannot set up a different PFM - Manager for each PFM - RM.

  • When PFM - RM for Virtual Machine and PFM - Manager are installed on the same host, the PFM - Manager of the local host becomes the PFM - Manager at the connection destination. In this case, you cannot change the PFM - Manager at the connection destination to another PFM - Manager.

To set up PFM - Manager at the connection destination:

  1. Stop Performance Management programs and services.

    Before you perform a setup operation, if Performance Management programs and services have been activated on the local host, stop all of them. For details about how to stop services, see the chapter that explains startup and termination of Performance Management in the Job Management Partner 1/Performance Management User's Guide.

    If the Performance Management programs and services are active during the execution of the jpcconf mgrhost define command, a message asking the user whether to stop these programs and services is displayed.

  2. Specify the host name of the PFM - Manager host at the connection destination, and then execute the jpcconf mgrhost define command.

    For example, if the PFM - Manager at the connection destination is on the host host01, specify the following:

    jpcconf mgrhost define -host host01
     (jpcnshostname -s host01)

(10) Setting the action log output [Figure] [Figure]

This setting is necessary if you want to output an action log when you start or stop a PFM service, or when you change the connection status with PFM - Manager. An action log contains history information that is output in conjunction with the alarm function that monitors items such as the system load threshold.

For details about the setting procedure, see I. Outputting Action Log Data.

(11) Set up WMI [Figure]

For details about the WMI settings, see 2.5.2 For Hyper-V.

(12) Specifying the SSH connection settings [Figure]

If the monitoring-target host uses KVM, the host must be connected to an SSH server in order to collect performance data from the host. This subsection describes how to specify the SSH connection settings. Note that the SSH server is authenticated by public key authentication.

To enable connection to an SSH server, the following operations must be performed:

The following figure shows the concept of public key authentication.

Figure 2‒6: Concept of public key authentication

[Figure]

In a cluster system, there are two methods of public key authentication. One method uses the same keys for the executing and standby nodes, and the other method uses different keys for those nodes.

If you choose to use the same keys for both the executing and standby nodes, copy the key files on the executing node to the standby node, overwriting the existing key files on the standby node. The following figure shows public key authentication using the same keys for both nodes.

Figure 2‒7: Public key authentication using the same keys for both the executing and standby nodes

[Figure]

If you choose to use different keys for the executing and standby nodes, register the keys on the monitoring-target host. The following figure shows public key authentication using different keys for the executing and standby nodes.

Figure 2‒8: Public key authentication using different keys for the executing and standby nodes

[Figure]

For details about SSH settings, see 2.5.3 For KVM.