Hitachi

JP1 Version 12 for Windows Systems JP1/Performance Management - Agent Option for Platform Description, User's Guide and Reference


3.1.9 Examples of collecting performance data from multiple hosts on which PFM products are not installed

You can use the user-created data collection functionality provided by PFM - Agent for Platform to collect performance data specific to hosts on which PFM products are not installed. You can also monitor the status of multiple hosts at the same time by converting the performance data for the hosts into a single user data file. In this case, a script such as a shell script needs to be prepared because user-created data will be created on each host on which PFM products have not been installed. The following shows an example for collecting performance data from hosts on which PFM products are not installed, and outputting it as PFM - Agent for Platform record information.

Organization of this subsection

(1) Collection data

The following example obtains information using the user-created data created in 3.1.8 Examples of collecting information about used ports.

(2) Prerequisites

The prerequisites for collecting performance data from multiple hosts on which PFM products are not installed are as follows:

(3) Procedures for data collection

The following figure shows the flow of data collection for hosts on which PFM products are not installed.

Figure 3‒3: Flow of data collection for hosts on which PFM products are not installed

[Figure]

The following uses the numbering in the figure to explain processing. To collect performance data from multiple hosts, perform these steps for each host.

To collect data:

  1. Create user-created data for hosts on which PFM products are not installed.

    Execute the script to collect performance data, and generate user-created data. The user-created data generated in 3.1.8 Examples of collecting information about used ports is used here.

  2. Copy files between remote hosts.

    Copy the user-created data created in step 1 to the hosts on which PFM products are installed. Here, user-created data is copied to the F:\nethome\ area shared between hosts, using network drive allocation. The following shows an example of the copy command.

    Example of the copy command:

    copy D:\homework\userdata.tcp F:\nethome\userdata.tcp
    Important

    When collecting user-created data from multiple hosts, make sure that the file names are unique. If file names are duplicated, files might be overwritten during file copying.

  3. Execute the jpcuser command on hosts on which PFM products are installed.

    Execute the jpcuser command on hosts on which PFM products are installed to convert the user-created data copied in step 2 to user data files. The following shows an example in which the user-created data from hosts without PFM from steps 1 and 2 is converted into a single user data file.

    Example jpcuser command:

    "C:\Program Files (x86)\HITACHI\jp1pc\agtt\agent\jpcuser\jpcuser" PI_UPIB
    -file user-created-data-1 -file user-created-data-2 -file user-created-data-3
  4. Collect record data for hosts on which PFM products are installed.

    For hosts on which PFM products are installed, collect the contents of the user data file output in step 3 as record data.