Hitachi

JP1 Version 12 JP1/Base User's Guide


10.1.10 Setting up an event server in a system that uses DNS services

You might encounter a number of issues if you use an event server with the default settings in a system that has multiple domains. This subsection describes how to set up the event servers in a system that uses DNS services, based on the following example. Note that the following example assumes that the DNS returns the FQDN name as the local host name.

The following figure shows a system that contains two domains, d1.hitachi.co.jp and d2.hitachi.co.jp.

Figure 10‒1: Example system containing two domains

[Figure]

In this example, a JP1 event indicating insufficient disk space occurs in the hostX.d1.hitachi.co.jp domain. A JP1 event is forwarded to host3.d2.hitachi.co.jp and displayed in JP1/IM - View on host4. The registered host name appears as hostX. Since hostX also exists in domain d2.hitachi.co.jp in the above figure, the system administrator cannot tell whether the JP1 event occurred at hostX.d1.hitachi.co.jp or at hostX.d2.hitachi.co.jp. JP1/IM - View has a window for monitoring from which programs it receives JP1 events. However, if the host running JP1/IM - View belongs to domain d2.hitachi.co.jp, it interprets hostX to be hostX.d2.hitachi.co.jp and displays the wrong information.

To avoid this kind of problem in systems with multiple domains, configure an event server with a name in Fully Qualified Domain Name format (a FQDN-format event server).

Notes

When you use an FQDN-format event server, the JP1/SES compatibility function or collection and distribution of event service definition information described in J. Linking with Products That Use JP1/SES Events might not be possible. Keep this in mind when using the JP1/SES compatibility function or collecting and distributing event service definition information.

The following describes the procedure for setting up an FQDN-format event server. The procedure differs in Windows and UNIX. The procedures for Windows and UNIX are described below.

Organization of this subsection

(1) Setting up an FQDN-format event server (Windows)

The specified event server here is assumed to be hostX.d1.hitachi.co.jp.

  1. Register the FQDN-format event server as a service by using the jevregsvc command.

    The jevregsvc command has the following format:

    jevregsvc -r hostX.d1.hitachi.co.jp
    Note

    If you have installed JP1/IM - Manager or JP1/AJS, there will be dependencies with the default services. When you configure an FQDN-format event server in Windows, remove any dependencies the default event service has with JP1/IM - Manager and JP1/AJS.

  2. Open the event server index file (index) in an editor, and change the event server name in the server parameter from the default * to @ or hostX.d1.hitachi.co.jp.

    If you change the parameter to @, you can use the JP1/SES compatibility function or collect and distribute event service definition information. If you change the parameter to hostX.d1.hitachi.co.jp, you can no longer use the JP1/SES compatibility function nor collect and distribute event service definition information. Choose whichever setting suits your system.

  3. Open the start sequence definition file (JP1SVPRM.DAT) in an editor, and edit the file so that the FQDN-format event server starts instead of the default event server.

    The entry in the edited start sequence definition (JP1SVPRM.DAT) file (only the part pertaining to the event server) is as follows:

    [Figure]

(2) Setting up an FQDN-format event server (UNIX)

The specified event server here is assumed to be hostX.d1.hitachi.co.jp.

  1. Open the event server index file (index) in an editor, and change the event server name in the server parameter from the default * to @ or hostX.d1.hitachi.co.jp.

    If you change the parameter to @, you can use the JP1/SES compatibility function or collect and distribute event service definition information. If you change the parameter to hostX.d1.hitachi.co.jp, you can no longer use the JP1/SES compatibility function nor collect and distribute event service definition information. Choose whichever setting suits your system. The entry in the event server index file (index) when the event server name is changed to @ is as follows:

    [Figure]

  2. Open the jbs_start and jbs_stop scripts in an editor, and edit the scripts to start and stop the FQDN-format event server instead of the default event server.

    The entries in the edited scripts (only the part pertaining to the event server) are as follows:

    Entry in the jbs_start script:

    [Figure]

    Entry in the jbs_stop script:

    [Figure]