Hitachi

JP1 Version 12 JP1/Performance Management User's Guide


11.5.3 Importing definition information

This subsection describes the procedure for importing definition information of PFM - Manager and PFM - Web Console.

Organization of this subsection

(1) Importing the definition information of PFM - Manager

Import the definition information file of PFM - Manager exported by using the jpctool config mgrexport command.

To execute the jpctool config mgrimport command to import the definition information file of PFM - Manager:

  1. Copy the definition information file.

    Copy the definition information file of PFM - Manager exported by using the jpctool config mgrexport command.

  2. Log on to the host on which the import-destination PFM - Manager has been installed.

  3. Execute the jpctool config mgrimport command to import the definition information of PFM - Manager.

    For example, when you import the definition information of PFM - Manager copied in step 1 that is stored in the /tmp/pfmimport directory, execute the command as follows:

    jpctool config mgrimport -d /tmp/pfmimport

    For details about the jpctool config mgrimport command, see the chapter that describes commands in the manual JP1/Performance Management Reference.

(2) Importing the definition information of PFM - Web Console

You must manually import (copy) the definition information of PFM - Web Console. Host names are needed for copying the data. So, you will need to confirm the names of the source and destination hosts beforehand. The following describes how to check the host names.

The following is the procedure for copying the definition information of PFM - Web Console. In this procedure, the storage location of the copied data is assumed to be C:\backup.

  1. Log on to the PFM - Web Console host to which you want to copy the data.

  2. Execute the jpcwstop command to stop the PFM - Web Console services on the host.

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

  3. Delete or save data on the host to which you want to copy the data.

    When you copy the bookmark definition information and process monitoring definition template definition information, you need to empty the following copy-destination directory. Delete or move any existing data.

    • Bookmark definition information

      Directory specified for bookmarkRepository in the initialization file (config.xml) on the copy-destination host.

    • Process monitoring definition template definition information

      Directory specified for processMonitoringTemplatesRepository in the initialization file (config.xml).

    Important
    • If you have never started up PFM - Web Console on the copy-destination host, you need to create the directories.

    • If the above setting values are commented out or blank, the default storage directories will be used as the copy-destinations.

      For details about the default storage directories, see 11.5.2(2) Exporting the definition information of PFM - Web Console.

  4. Copy the bookmark definition information.

    Check the bookmarkRepository value in the initialization file (config.xml) on the copy-destination host and perform the following operation according to the setting value.

    • When the setting value is commented out or blank

      Copy the file as follows: C:\backup\jp1pcwcbackup\bookmarks\host-name-(copy-source) to installation-folder\bookmarks\host-name-(copy-destination).

    • When the setting value exists

      Copy the file as follows: C:\backup\jp1pcwcbackup\bookmarks\host-name-(copy-source) to directory-specified-for-bookmarkRepository\host-name-(copy-destination).

  5. Copy the process monitoring definition template definition information.

    Check the processMonitoringTemplatesRepository value in the initialization file (config.xml) on the copy-destination host and perform the following operation according to the setting value.

    • When the setting value is commented out or blank

      Copy the file as follows: C:\backup\jp1pcwcbackup\processMonitoringTemplates to installation-folder\processMonitoringTemplates.

    • When the setting value exists

      Copy the file as follows: C:\backup\jp1pcwcbackup\processMonitoringTemplates to directory-specified-for-processMonitoringTemplatesRepository.

  6. Execute the jpcwstart command to start the PFM - Web Console services on the host.