Hitachi

Hitachi Advanced Database Setup and Operation Guide


8.2.3 Tasks that must be performed after installation

After installing the HADB server, perform the following tasks.

Organization of this subsection

(1) Revising the scan target by using antivirus software

If antivirus software is installed on the server machine on which the HADB server is installed, revise the scan target.

If directories and files for use by the HADB server are specified for the scan target of antivirus software, the HADB server might not operate correctly or other problems might occur. Therefore, remove the following directories and files from the scan target of the antivirus software.

▪ Directories and files to be removed from the scan target

(2) Setting IT Report Utility

If IT Report Utility (ITRU) is installed on the machine on which the HADB server is installed, specify settings so as to collect troubleshooting information via ITRU.

Important

The ITRU version supported by the HADB server depends on the OS version of the server machine.

  • If the server machine's OS is Red Hat Enterprise Linux Server 6 (64-bit x86_64)

    The HADB server supports ITRU version 02-00 or later.

  • If the server machine's OS is Red Hat Enterprise Linux Server 7 (64-bit x86_64)

    The HADB server supports ITRU version 03-00 or later.

The following describes the procedure for setting ITRU.

Procedure:

  1. Log on to the server machine as root.

    If you are logged on as the HADB administrator, log off and then log on as root.

  2. Copy the ITRU collection pattern definition file.

    From the CD-ROM file system containing the HADB server installation data, copy the ITRU collection pattern definition file (!8A9_HADB).

    Use the OS command to copy the ITRU collection pattern definition file (!8A9_HADB), and then store the file in the storage directory for ITRU collection pattern definition files (/etc/opt/hitachi/systoru/pattern).

    Command execution example

    cp /media/!8A9_HADB /etc/opt/hitachi/systoru/pattern

    The underlined portion shows the name of the mount directory for the CD-ROM file system. It will vary depending on the environment.

  3. Correct the contents of the ITRU collection pattern definition file.

    Use a text editor to open the copied ITRU collection pattern definition file (!8A9_HADB), and then correct the following locations.

    ▪ Contents of the ITRU collection pattern definition file (before correction)

    FORMAT_VERSION=1.0
     
    PP_NAME="HADB"
    PP_GROUP="HADB"
     
    # HADB
    #
    BLOCK {
      TARGET="config"
      TARGET="failure"
      TOOL_BLOCK {
        TIMEOUT=300
        COMMAND_LINE="XXX/adbsystoru -s XXX -l YYY -o \"%d%\""
        REDIRECT_PATH="%d%/HADB.txt"
      }
      DATA_BLOCK {
        DESCRIPTION="HADB"
        FILE_TYPE="directory"
        PATH_NAME="%d%"
      }
    }

    Correct the preceding information for XXX and YYY.

    ▪ Contents of the ITRU collection pattern definition file (after correction)

       :
    COMMAND_LINE="/HADB/server/adbsystoru -s /HADB/server -l UTF8 -o \"%d%\""
       :
    • Information for XXX

      Specify the absolute path to the server directory. Specify the same information as that specified for the ADBDIR environment variable. In this example, /HADB/server is specified.

    • Information for YYY

      Specify the character encoding to be used by the HADB server. Specify the same information as that specified for the ADBLANG environment variable. In this example, UTF8 is specified.

    For details about the environment variables ADBDIR and ADBLANG, see 8.4 Setting environment variables.

  4. Save the results of editing the ITRU collection pattern definition file.

    Save the information edited in step 3, and then close the ITRU collection pattern definition file (!8A9_HADB).

This completes the setting of the ITRU collection pattern definition file.