Previous Topic: Configure z/VM Agents

Next Topic: Configure Linux Agents

Configure the Linux Syslog Daemon

You configure the Linux syslog daemon to establish communication with the z/OS region. The syslog daemon has various implementations. The following procedures show you how to configure rsyslog and syslog-ng.

To configure rsyslog for CA Mainframe Connector

  1. Add the following statements in the /etc/rsyslog.conf file for the Linux system:
    $WorkDirectory /var/spool/rsyslog # where to place spool files
    $ActionQueueFileName fwdRule1     # unique name prefix for spool files
    $ActionQueueMaxDiskSpace 1g       # 1gb space limit (use as much as possible)
    $ActionQueueSaveOnShutdown on     # save messages to disk on shutdown
    $ActionQueueType LinkedList       # run asynchronously
    $ActionResumeRetryCount -1        # infinite retries if host is down
    *.* @@[host_name]:601
    

    host_name specifies the name or IP address of the z/OS system on which the z/OS region is running.

    Note: You can change the port number, but the corresponding SLPORT value in the SiLNXPRM parameter member for the z/OS region must match.

  2. Enter the following command:
    /etc/init.d/rsyslog restart
    

    rsyslog is restarted with the new configuration.

To configure syslog-ng for CA Mainframe Connector

  1. Add the following statements in the /etc/syslog-ng.conf file for the Linux system:
    destination loghost { tcp("host_name" port(601)); };
    log { source(src); destination(loghost); };
    

    host_name specifies the name or IP address of the z/OS system on which the z/OS region is running. If you are using Internet Protocol Version 6 (IPv6), use the tcp6() driver instead of the tcp() driver.

    Note: You can change the port number, but the corresponding SLPORT value in the SiLNXPRM parameter member for the z/OS region must match.

  2. Enter the following command:
    /etc/init.d/syslog restart
    

    syslog-ng is restarted with the new configuration.