You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Yunkai Zhang (JIRA)" <ji...@apache.org> on 2013/10/01 06:57:26 UTC

[jira] [Updated] (TS-2259) Introduce failover for logging system

     [ https://issues.apache.org/jira/browse/TS-2259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yunkai Zhang updated TS-2259:
-----------------------------

    Attachment: 0001-TS-2259-Introduce-failover-hosts-for-logging-system.V2.patch

> 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
>         Attachments: 0001-TS-2259-Introduce-failover-hosts-for-logging-system.patch, 0001-TS-2259-Introduce-failover-hosts-for-logging-system.V2.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)