Hitachi

JP1 Version 12 JP1/SNMP System Observer Description, Operator's Guide and Reference


3.4.5 Notes on Linux

Organization of this subsection

(1) /etc/hosts file definition

When Red Hat Linux is installed, loopback address 127.0.0.1 might be defined for the IP address of a local node (in the following definition example, linux01) in the /etc/hosts file.

[Figure]

If the local SSO node is defined with a loopback address, various problems might occur, such as the collection database becoming unreferenceable, or the monitoring status for processes and services becoming unrecognizable. Therefore, in an environment that uses SSO, do not define 127.0.0.1 for the local node, but the local IP address (in this example, 172.16.49.18) instead. A definition example is shown below.

[Figure]

If the action IP address of SSO is set for the change-my-address: key in the ssoapmon action definition file (ssoapmon.def) and ssocolmng action definition file (ssocolmng.def), the above-described handling is not required.

For details about the respective definition files above, see 6.3.7 ssoapmon action definition file (ssoapmon.def) and 6.3.8 ssocolmng action definition file (ssocolmng.def).

(2) How to set the language environment variable that is used when SSO is automatically started by the OS

SSO can automatically start when the OS starts. The following describes how to set the language environment variable that SSO uses when starting automatically.

(a) If services are started by System V

<OS>

  • Linux 6

  • Oracle Linux 6

  • Cent OS 6

<Setting file>

/etc/rc.d/init.d/sso

<Setup procedure>

  1. Add the following entries immediately after the ./etc/rc.d/init.d/functions line:

    LANG=ja_JP.UTF-8#
    export LANG
    #

    For details about the values that can be specified for the language environment variable, see I. Language Environment.

    The following shows an example of setting the language environment variable:

    :
    # Source function library.
    ./etc/rc.d/init.d/functions
    LANG=ja_JP.UTF-8
    export LANG
    :

(b) If services are started by systemd

<OS>

  • Linux 7

  • SUSE Linux Enterprise Server 12

  • Oracle Linux 7

  • Cent OS 7

<Setting file>

/opt/CM2/SSO/bin/.ssostart

<Setup procedure>

  1. Delete the hash symbol (#) from the following lines:

    # LANG=ja_JP.UTF-8#
    # export LANG
    #

    For details about the values that can be specified for the language environment variable, see I. Language Environment.

    The following shows an example of setting the language environment variable:

    :
    # Set LANG
    LANG=ja_JP.UTF-8
    export LANG
    :