Enterprise event logging: logging events to another server

One or more servers can send server events and events from their own clients to another server for logging.

About this task

The sending server receives the enabled events and routes them to a designated event server. This is done by a receiver that IBM® Tivoli® Storage Manager provides. At the event server, an administrator can enable one or more receivers for the events being routed from other servers.Figure 1 shows the relationship of a sending Tivoli Storage Manager server and a Tivoli Storage Manager event server.
Figure 1. Server-to-server event logging
Event Logging Overview

The following scenario is a simple example of how enterprise event logging can work.

The administrator at each sending server does the following:
  1. Defines the server that will be the event server. For details about communication set up, see Setting up communications for enterprise configuration and enterprise event logging.
    define server server_b password=cholla hladdress=9.115.3.45 lladdress=1505  
  2. Identifies the server just defined as the event server:
    define eventserver server_b
  3. Enables the logging of severe, error, and warning server messages from the sending server and severe and error messages from all clients to the event server receiver by issuing the following commands:
    enable events eventserver severe,error,warning 
    enable events eventserver severe,error nodename=* 
  4. Begins event logging by issuing the following command:
    begin eventlogging eventserver  

    The administrator at the event server does the following:

  5. Enables the logging of severe and error messages to a file named events that are sent to it from the sending servers. The administrator defines the file with the following option in the server options file:
    fileexit yes events append
    Then the administrator enables the events by issuing the ENABLE EVENTS command for each sending server. For example, for SERVER_A the administrator would enter:
    enable events file severe,error servername=server_a 
    Note: By default, logging of events from another server is enabled to the event server activity log. However, unlike events originating from a local server, events originating from another server can be disabled for the activity log at an event server.

One or more servers can send events to an event server. An administrator at the event server enables the logging of specific events from specific servers. In the previous example, SERVER_A routes severe, error, and warning messages to SERVER_B. SERVER_B, however, logs only the severe and error messages. If a third server sends events to SERVER_B, logging is enabled only if an ENABLE EVENTS command includes the third server. Furthermore, the SERVER_B determines the receiver to which the events are logged.

Attention: It is important that you do not set up server-to-server event logging in a loop. In such a situation, an event would continue logging indefinitely, tying up network and memory resources. Tivoli Storage Manager will detect such a situation and issue a message. Here are a few configurations to avoid:
  • SERVER_A logs to SERVER_B, and SERVER_B logs to SERVER_A.
  • SERVER_A logs to SERVER_B; SERVER_B logs to SERVER_C; SERVER_C logs to SERVER_A.