Hitachi

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


2.4.1 Changing the storage location of performance data

Performance data collected by PFM - Agent for Oracle is managed in the Store database of the Remote Monitor Store service of PFM - Agent for Oracle. The following explains how to change the storage location for performance data.

Organization of this subsection

(1) Using the jpcconf db define command to change settings

The Store database uses the following folders to manage the collected performance data. These folders can be changed by using the jpcconf db define command.

Use the jpcconf db define command with -move option if you want to copy the performance data to the new storage location of the Store database.

For details about the jpcconf db define command, see the manual JP1/Performance Management Reference.

#

This folder can be set only when the Store version is 2.0.

The following table describes the options of the jpcconf db define command, including the values that can be specified.

Table 2‒12: Options of the command that changes the performance data storage location

Description

Label name

Specifiable values (Store 1.0)

Specifiable values (Store 2.0)

Default value#

Save destination folder

sd

1 to 127 bytes absolute path name

1 to 214 bytes absolute path name

installation-folder\agto\store\instance-name

Backup destination folder

bd

1 to 127 bytes absolute path name

1 to 211 bytes absolute path name

installation-folder\agto\store\instance-name\backup

Partial backup destination folder

pbd

--

1 to 214 bytes absolute path name

installation-folder\agto\store\instance-name\partial

Maximum backup generation number

bs

1 to 9

1 to 9

5

Export destination folder

dd

1 to 127 bytes absolute path name

1 to 127 bytes absolute path name

installation-folder\agto\store\instance-name\dump

Import destination folder

id

--

1 to 222 bytes absolute path name

installation-folder\agto\store\instance-name\import

Legend:

--: This item cannot be set.

#

For the default save destination for logical host operation, replace installation-folder with environment-folder\jp1pc.

(2) Editing the jpcsto.ini file to change settings (for Store version 1.0 only)

If the Store version is 1.0, you can directly edit the jpcsto.ini file to change the settings of the above items.

(a) Setting items in jpcsto.ini

The following table lists the label names for which information can be edited in the jpcsto.ini file, and other information such as the values that can be specified.

Table 2‒13: Performance-data storage location settings (under [Data Section] in jpcsto.ini)

Description

Label name

Specifiable values (Store 1.0) #1

Default value#2

Save destination folder

Store Dir#3

1 to 127 bytes absolute path name

installation-folder\agto\store\instance-name

Backup destination folder

Backup Dir#3

1 to 127 bytes absolute path name

installation-folder\agto\store\instance-name\backup

Maximum backup generation number

Backup Save

1 to 9

5

Export destination folder

Dump Dir#3

1 to 127 bytes absolute path name

installation-folder\agto\store\instance-name\dump

#1
  • The folder name must be an absolute path name or a relative path name from the default Store database folder (installation-folder\agto\store).

  • Characters that can be specified are alphanumeric characters, symbols, and spaces, excluding the characters listed below:

    ; , * ? ' " < > |

  • If the specified value is invalid, the Agent Store service cannot start.

#2

For the default save destination for logical host operation, replace installation-folder with environment-folder\jp1pc.

#3

You cannot specify the same folders for Store Dir, Backup Dir, and Dump Dir.

(b) Before editing the jpcsto.ini file

  • When changing the Store database folder, make sure that the folder after the change has already been created.

  • When the Store database folder is changed, performance data collected before the change can no longer be used. If the performance data collected before the change is needed, carry the data over as follows:

    1. Use the jpctool db backup command to back up the performance data stored in the Store database.

    2. Change the Store database folder as described in (c) Editing the jpcsto.ini file.

    3. Use the jpctool db restore command to restore the backed up data into the new folder.

(c) Editing the jpcsto.ini file

To edit the jpcsto.ini file:

  1. Stop the PFM - Agent service.

    If PFM - Agent programs and services are active on the local host, stop them all.

  2. Use a text editor, for example, to open the jpcsto.ini file.

  3. Change the storage destination folder for performance data, for example.

    Modify the shaded areas below as needed.

    [Figure]

    Notes:

    • Do not insert a space at the beginning of the line or before or after the equal sign (=).

    • (.) in each label value indicates the default storage destination folder (installation-folder\agto\store\instance-name) for the Store database of the Agent Store service. To change the storage destination, specify a relative path from the storage destination folder, or specify an absolute path.

    • The jpcsto.ini file also describes definition information in addition to the database storage destination folder. Therefore, do not change the values other than those in the [Data Section] section. If you change the values other than those in the [Data Section] section, Performance Management might not operate normally.

  4. Save and close the jpcsto.ini file.

  5. Start the Performance Management programs and services.

Note:

When you use this procedure to change the Store database folder, the performance data files are not deleted from the previous folder. If these files are no longer necessary, delete only the following files:

  • All files with the .DB extension

  • All files with the .IDX extension