Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-2259

Introduce failover for logging system

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.1.2
    • Logging
    • None

    Description

      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:

      <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.

      Let's give another more complex example:

      <CollationHosts = "host1|host2|host3, host4|host5">
      

      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.

      Attachments

        Issue Links

          Activity

            People

              yunkai Yunkai Zhang
              yunkai Yunkai Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: