Multiple syslog server support
Transport protocol and server treatment
The transport protocol that you specify, UDP or TCP, determines the way that multiple servers are treated.
UDP
BMC AMI Datastream and CZASEND send all syslog messages to all of the specified addresses.
The order of alternative server specifications is not significant.
TCP
If BMC AMI Datastream or CZASEND receives an IP error when communicating with the primary syslog server, it switches to the first alternative, then the second, and so on. BMC AMI Datastream issues console and CZAPRINT messages notifying you that a switch occurred.
The order of alternative server specifications is significant. The first alternative server is alternate 1, the second is alternate 2, and so on. BMC AMI Datastream tries them in that order and validates the connection to each server address on startup. If a connection fails, BMC AMI Datastream tries to connect with the next alternative server in line. All switches between server connections are documented in CZAZOSLG.
If you refresh the parameter file containing your server definitions, BMC AMI Datastream first tries to connect to the server with which it had its last connection, based on the server address and not the server number.
BMC AMI Datastream maintains cumulative statistics for each server address, even if it changes number after you refresh the parameter file.
You can use the CONCURRent parameter in the SERVER statement to connect to both primary and alternative servers at the same time. This is useful if you want to duplicate data across your system. If a connection is inactive, it does not receive any messages produced during its outage window.
For more information, see SERVER-statement.
TCP/IP error recovery
When a syslog protocol TCP/IP error occurs, BMC AMI Datastream cannot determine how many messages were not delivered except for the message it just tried to send (that is usually also not delivered).
BMC AMI Datastream supports the SERVER statement parameter REXMIT(n), where n defaults to 2 and can have any value from 1 through 20 (where 20 is an arbitrary reasonableness check). If BMC AMI Datastream encounters a TCP/IP session failure and starts a new session with an alternative server IP address, it retransmits the same number of preceding messages.