Hitachi

Hitachi Advanced Database Setup and Operation Guide


10.4.6 Converting character encoding and improving reliability for syslog (Applying the extended syslog function)

By applying the extended syslog function, you can perform the following operations:

Note

The extended syslog function is provided as part of the log environment enhancement option of Hitachi Support 360.

The following describes the operations that you can perform when applying the extended syslog function.

Organization of this subsection

(1) Converting character encoding for syslog (Converting from Shift-JIS to Unicode)

When the character encoding used on the HADB server is Shift-JIS, character encoding for the messages output to syslog is converted from Shift-JIS to Unicode (UTF-8).

Character encoding for the messages output to syslog is unified to Unicode (UTF-8), which has the following advantages:

Note that conversion of character encoding for syslog is enabled only when Shift-JIS is applied to the following environment variables:

▪ Applicable environment variables
  • LANG

  • ADBLANG

For details about environment variables, see 8.4 Setting environment variables.

(2) Improving reliability for syslog (Re-outputting messages)

When outputting a message to syslog fails, the message is output again. Thus, you can prevent loss of messages.

(3) Prerequisite software programs and notes (Applying the extended syslog function)

To apply the extended syslog function, you need to install the following prerequisite software programs before starting the HADB server.

Prerequisite software programs

Important

To use the multi-node function, or to use a cold standby configuration, install the prerequisite software programs on all server machines.

If prerequisite software programs have been installed, KFAA50050-I message is output to the syslog and server message log file when the HADB server starts. KFAA50050-I message indicates that the extended syslog function has been applied.

Note that, if you install the prerequisite software programs while the HADB server is running, the extended syslog function is not applied. If the HADB server is running, install the prerequisite software programs in the following procedure.

Procedure:
  1. Terminate the HADB server normally.

  2. Install the prerequisite software programs.

  3. Start the HADB server.

Also, note that the extended syslog function is not applied when environment variable ADBSYSLOGLV on the server machine on which the HADB server is installed is set to 0. This is because, in this condition, no messages are output to syslog.