[
https://issues.apache.org/jira/browse/TS-2259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13815997#comment-13815997
]
Igor Galić commented on TS-2259:
--------------------------------
This also needs to be documented in the reference configuration for
logs_xml.config
> Introduce failover for logging system
> -------------------------------------
>
> Key: TS-2259
> URL: https://issues.apache.org/jira/browse/TS-2259
> Project: Traffic Server
> Issue Type: New Feature
> Components: Logging
> Reporter: Yunkai Zhang
> Assignee: Yunkai Zhang
> Fix For: 4.1.0
>
> Attachments:
> 0001-TS-2259-Introduce-failover-hosts-for-logging-system.V2.patch,
> 0001-TS-2259-Introduce-failover-hosts-for-logging-system.patch
>
>
> I have submitted a patch which will introduce failover hosts for collation
> host by using '|' delimiter
> to extend <CollationHosts> tags in logs_xml.config.
> Let me give an example:
> {code}
> <CollationHosts = "host1:5000|host2:5000|host3:6000, 209.131.52.129:6000"/>
> {code}
> In the example above, host2/host3 are failover hosts for host1. When host1
> disconnected, log entries will be sent to host2, and then if host2 failed
> again,
> log entries will be sent to host3 until host1 or host2 comes back.
> Let's give another more complex example:
> {code}
> <CollationHosts = "host1|host2|host3, host4|host5">
> {code}
> In this example, there are two host groups: (host1|host2|host3) and
> (host4|host5),
> 1) host2/host3 are failover hosts for host1,
> 2) host5 is failover host for host4.
> All log entries will be both send to these two host groups, but in each
> group, log entries will only be sent to the first connected host.
--
This message was sent by Atlassian JIRA
(v6.1#6144)