You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/10/01 07:00:14 UTC
[jira] [Commented] (TS-2259) Introduce failover for logging system
[ https://issues.apache.org/jira/browse/TS-2259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13782636#comment-13782636 ]
ASF subversion and git services commented on TS-2259:
-----------------------------------------------------
Commit 54883f2ff62a5b09d238b54ffb4279ea9f45e796 in branch refs/heads/master from [~yunkai]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=54883f2 ]
TS-2259: Introduce failover hosts for logging system
This patch introduce failover hosts for collation host by using '|' delimiter
to extend <CollationHosts> tags in logs_xml.config.
Let me give an example:
<CollationHosts = "host1:5000|host2:5000|host3:6000, 209.131.52.129:6000"/>
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.
Signed-off-by: Yunkai Zhang <qi...@taobao.com>
> 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.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)