Discussion:
Failover Scenario in Trafficserver
Vasanth Mathivanan
2018-10-09 05:17:36 UTC
Permalink
Hi All ,

How to switch failover traffic server to another traffic server, example we have two traffic server both points to domain (points to two ips using round robin) I had been access only one traffic server in client side if fails the first traffic server to switch another traffic server(i.e. second traffic server ) , Could you please explain how to configure this type of scenario ?



_Vasanth

Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
Patrick O'Brien
2018-10-09 14:25:26 UTC
Permalink
We have this configured on the client side, e.g if the client connection to
trafficserver001 fails the client will attempt a connection to
trafficserver002.

-patrick

On Mon, Oct 8, 2018 at 10:17 PM Vasanth Mathivanan <
Post by Vasanth Mathivanan
Hi All ,
How to switch failover traffic server to another traffic server, example
we have two traffic server both points to domain (points to two ips using
round robin) I had been access only one traffic server in client side if
fails the first traffic server to switch another traffic server(i.e.
second traffic server ) , Could you please explain how to configure this
type of scenario ?
_Vasanth
Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
Windows 10
Vasanth Mathivanan
2018-10-10 04:26:15 UTC
Permalink
Yes , exactly how it will make on client side without traffic controller ?

could you please explain ?

_Vasanth

Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10

From: Patrick O'Brien<mailto:***@tetrisblocks.net>
Sent: Tuesday, October 9, 2018 7:55 PM
To: ***@trafficserver.apache.org<mailto:***@trafficserver.apache.org>
Subject: Re: Failover Scenario in Trafficserver

We have this configured on the client side, e.g if the client connection to trafficserver001 fails the client will attempt a connection to trafficserver002.

-patrick

On Mon, Oct 8, 2018 at 10:17 PM Vasanth Mathivanan <***@evolutiondigital.com<mailto:***@evolutiondigital.com>> wrote:
Hi All ,

How to switch failover traffic server to another traffic server, example we have two traffic server both points to domain (points to two ips using round robin) I had been access only one traffic server in client side if fails the first traffic server to switch another traffic server(i.e. second traffic server ) , Could you please explain how to configure this type of scenario ?



_Vasanth

Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
Fieck, Brennan
2018-10-10 13:19:37 UTC
Permalink
I believe what he's saying is that this behaviour is up to the client. The client will try to connect to one traffic server, and if it fails then the client just needs to know the URL/IP of the secondary server and try that - without any direction from Traffic Server.
It makes sense, because in a failure scenario you can't rely on the Traffic Server to be working properly, so the safest thing to do is handle it yourself if possible.

________________________________
From: Vasanth Mathivanan <***@evolutiondigital.com>
Sent: Tuesday, October 9, 2018 10:26 PM
To: ***@trafficserver.apache.org
Subject: [EXTERNAL] RE: Failover Scenario in Trafficserver

Yes , exactly how it will make on client side without traffic controller ?

could you please explain ?

_Vasanth

Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10

From: Patrick O'Brien<mailto:***@tetrisblocks.net>
Sent: Tuesday, October 9, 2018 7:55 PM
To: ***@trafficserver.apache.org<mailto:***@trafficserver.apache.org>
Subject: Re: Failover Scenario in Trafficserver

We have this configured on the client side, e.g if the client connection to trafficserver001 fails the client will attempt a connection to trafficserver002.

-patrick

On Mon, Oct 8, 2018 at 10:17 PM Vasanth Mathivanan <***@evolutiondigital.com<mailto:***@evolutiondigital.com>> wrote:
Hi All ,

How to switch failover traffic server to another traffic server, example we have two traffic server both points to domain (points to two ips using round robin) I had been access only one traffic server in client side if fails the first traffic server to switch another traffic server(i.e. second traffic server ) , Could you please explain how to configure this type of scenario ?



_Vasanth

Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
Susan Hinrichs
2018-10-10 13:43:48 UTC
Permalink
Another option is to place several Traffic Server boxes behind a VIP, i.e.
a router or load balancer that owns a common IP and distributes connections
to whichever Traffic Server box is alive. A router capable of basic ECMP
routing can mostly do this. Or a dedicated state-aware load balancer can
detect that a Traffic Server box has gone done and send new connections to
other servers.
Post by Fieck, Brennan
I believe what he's saying is that this behaviour is up to the client. The
client will try to connect to one traffic server, and if it fails then the
client just needs to know the URL/IP of the secondary server and try that -
without any direction from Traffic Server.
It makes sense, because in a failure scenario you can't rely on the
Traffic Server to be working properly, so the safest thing to do is handle
it yourself if possible.
------------------------------
*Sent:* Tuesday, October 9, 2018 10:26 PM
*Subject:* [EXTERNAL] RE: Failover Scenario in Trafficserver
Yes , exactly how it will make on client side without traffic controller ?
could you please explain ?
_Vasanth
Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
Windows 10
*Sent: *Tuesday, October 9, 2018 7:55 PM
*Subject: *Re: Failover Scenario in Trafficserver
We have this configured on the client side, e.g if the client connection
to trafficserver001 fails the client will attempt a connection to
trafficserver002.
-patrick
On Mon, Oct 8, 2018 at 10:17 PM Vasanth Mathivanan <
Post by Vasanth Mathivanan
Hi All ,
How to switch failover traffic server to another traffic server, example
we have two traffic server both points to domain (points to two ips using
round robin) I had been access only one traffic server in client side if
fails the first traffic server to switch another traffic server(i.e.
second traffic server ) , Could you please explain how to configure this
type of scenario ?
_Vasanth
Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
Windows 10
Fieck, Brennan
2018-10-10 14:56:35 UTC
Permalink
You could use Traffic Control to do that ;)

________________________________
From: Susan Hinrichs <***@apache.org>
Sent: Wednesday, October 10, 2018 7:43 AM
To: ***@trafficserver.apache.org
Subject: [EXTERNAL] Re: Failover Scenario in Trafficserver

Another option is to place several Traffic Server boxes behind a VIP, i.e. a router or load balancer that owns a common IP and distributes connections to whichever Traffic Server box is alive. A router capable of basic ECMP routing can mostly do this. Or a dedicated state-aware load balancer can detect that a Traffic Server box has gone done and send new connections to other servers.

On Wed, Oct 10, 2018 at 8:19 AM Fieck, Brennan <***@comcast.com<mailto:***@comcast.com>> wrote:

I believe what he's saying is that this behaviour is up to the client. The client will try to connect to one traffic server, and if it fails then the client just needs to know the URL/IP of the secondary server and try that - without any direction from Traffic Server.
It makes sense, because in a failure scenario you can't rely on the Traffic Server to be working properly, so the safest thing to do is handle it yourself if possible.

________________________________
From: Vasanth Mathivanan <***@evolutiondigital.com<mailto:***@evolutiondigital.com>>
Sent: Tuesday, October 9, 2018 10:26 PM
To: ***@trafficserver.apache.org<mailto:***@trafficserver.apache.org>
Subject: [EXTERNAL] RE: Failover Scenario in Trafficserver

Yes , exactly how it will make on client side without traffic controller ?

could you please explain ?

_Vasanth

Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10

From: Patrick O'Brien<mailto:***@tetrisblocks.net>
Sent: Tuesday, October 9, 2018 7:55 PM
To: ***@trafficserver.apache.org<mailto:***@trafficserver.apache.org>
Subject: Re: Failover Scenario in Trafficserver

We have this configured on the client side, e.g if the client connection to trafficserver001 fails the client will attempt a connection to trafficserver002.

-patrick

On Mon, Oct 8, 2018 at 10:17 PM Vasanth Mathivanan <***@evolutiondigital.com<mailto:***@evolutiondigital.com>> wrote:
Hi All ,

How to switch failover traffic server to another traffic server, example we have two traffic server both points to domain (points to two ips using round robin) I had been access only one traffic server in client side if fails the first traffic server to switch another traffic server(i.e. second traffic server ) , Could you please explain how to configure this type of scenario ?



_Vasanth

Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
Vasanth Mathivanan
2018-10-10 15:30:18 UTC
Permalink
if we use the domain to points at two traffic server ips while it makes every request round robin algorithm , so load goes to both end . our scenario is first server and second server are alive to all requests goes to first server if marked down first one then need every requests goes to second server . Any possible using only traffic server without load balancer , router and TC ?

_ Vasanth
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10

From: Fieck, Brennan<mailto:***@comcast.com>
Sent: Wednesday, October 10, 2018 8:26 PM
To: ***@trafficserver.apache.org<mailto:***@trafficserver.apache.org>
Subject: Re: [EXTERNAL] Re: Failover Scenario in Trafficserver


You could use Traffic Control to do that ;)

________________________________
From: Susan Hinrichs <***@apache.org>
Sent: Wednesday, October 10, 2018 7:43 AM
To: ***@trafficserver.apache.org
Subject: [EXTERNAL] Re: Failover Scenario in Trafficserver

Another option is to place several Traffic Server boxes behind a VIP, i.e. a router or load balancer that owns a common IP and distributes connections to whichever Traffic Server box is alive. A router capable of basic ECMP routing can mostly do this. Or a dedicated state-aware load balancer can detect that a Traffic Server box has gone done and send new connections to other servers.

On Wed, Oct 10, 2018 at 8:19 AM Fieck, Brennan <***@comcast.com<mailto:***@comcast.com>> wrote:

I believe what he's saying is that this behaviour is up to the client. The client will try to connect to one traffic server, and if it fails then the client just needs to know the URL/IP of the secondary server and try that - without any direction from Traffic Server.
It makes sense, because in a failure scenario you can't rely on the Traffic Server to be working properly, so the safest thing to do is handle it yourself if possible.

________________________________
From: Vasanth Mathivanan <***@evolutiondigital.com<mailto:***@evolutiondigital.com>>
Sent: Tuesday, October 9, 2018 10:26 PM
To: ***@trafficserver.apache.org<mailto:***@trafficserver.apache.org>
Subject: [EXTERNAL] RE: Failover Scenario in Trafficserver

Yes , exactly how it will make on client side without traffic controller ?

could you please explain ?

_Vasanth

Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10

From: Patrick O'Brien<mailto:***@tetrisblocks.net>
Sent: Tuesday, October 9, 2018 7:55 PM
To: ***@trafficserver.apache.org<mailto:***@trafficserver.apache.org>
Subject: Re: Failover Scenario in Trafficserver

We have this configured on the client side, e.g if the client connection to trafficserver001 fails the client will attempt a connection to trafficserver002.

-patrick

On Mon, Oct 8, 2018 at 10:17 PM Vasanth Mathivanan <***@evolutiondigital.com<mailto:***@evolutiondigital.com>> wrote:
Hi All ,

How to switch failover traffic server to another traffic server, example we have two traffic server both points to domain (points to two ips using round robin) I had been access only one traffic server in client side if fails the first traffic server to switch another traffic server(i.e. second traffic server ) , Could you please explain how to configure this type of scenario ?



_Vasanth

Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
Fieck, Brennan
2018-10-10 15:34:41 UTC
Permalink
If you mean "Is this possible within the scope of Trafficserver's configuration" then the answer is "not really". Best I can think of is sitting another cache in front of those two as parents and using it to do the failover. But that doesn't make sense because it still brings you back to a single Trafficserver point of failure.

If you mean "Is this possible at all" sure it's possible, but what you're talking about is a Content Delivery System that routes users to caches based on the health of the cache servers. So whatever you build would be re-inventing Traffic Control.

________________________________
From: Vasanth Mathivanan <***@evolutiondigital.com>
Sent: Wednesday, October 10, 2018 9:30 AM
To: ***@trafficserver.apache.org
Subject: RE: [EXTERNAL] Re: Failover Scenario in Trafficserver



if we use the domain to points at two traffic server ips while it makes every request round robin algorithm , so load goes to both end . our scenario is first server and second server are alive to all requests goes to first server if marked down first one then need every requests goes to second server . Any possible using only traffic server without load balancer , router and TC ?

_ Vasanth
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10

From: Fieck, Brennan<mailto:***@comcast.com>
Sent: Wednesday, October 10, 2018 8:26 PM
To: ***@trafficserver.apache.org<mailto:***@trafficserver.apache.org>
Subject: Re: [EXTERNAL] Re: Failover Scenario in Trafficserver


You could use Traffic Control to do that ;)

________________________________
From: Susan Hinrichs <***@apache.org>
Sent: Wednesday, October 10, 2018 7:43 AM
To: ***@trafficserver.apache.org
Subject: [EXTERNAL] Re: Failover Scenario in Trafficserver

Another option is to place several Traffic Server boxes behind a VIP, i.e. a router or load balancer that owns a common IP and distributes connections to whichever Traffic Server box is alive. A router capable of basic ECMP routing can mostly do this. Or a dedicated state-aware load balancer can detect that a Traffic Server box has gone done and send new connections to other servers.

On Wed, Oct 10, 2018 at 8:19 AM Fieck, Brennan <***@comcast.com<mailto:***@comcast.com>> wrote:

I believe what he's saying is that this behaviour is up to the client. The client will try to connect to one traffic server, and if it fails then the client just needs to know the URL/IP of the secondary server and try that - without any direction from Traffic Server.
It makes sense, because in a failure scenario you can't rely on the Traffic Server to be working properly, so the safest thing to do is handle it yourself if possible.

________________________________
From: Vasanth Mathivanan <***@evolutiondigital.com<mailto:***@evolutiondigital.com>>
Sent: Tuesday, October 9, 2018 10:26 PM
To: ***@trafficserver.apache.org<mailto:***@trafficserver.apache.org>
Subject: [EXTERNAL] RE: Failover Scenario in Trafficserver

Yes , exactly how it will make on client side without traffic controller ?

could you please explain ?

_Vasanth

Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10

From: Patrick O'Brien<mailto:***@tetrisblocks.net>
Sent: Tuesday, October 9, 2018 7:55 PM
To: ***@trafficserver.apache.org<mailto:***@trafficserver.apache.org>
Subject: Re: Failover Scenario in Trafficserver

We have this configured on the client side, e.g if the client connection to trafficserver001 fails the client will attempt a connection to trafficserver002.

-patrick

On Mon, Oct 8, 2018 at 10:17 PM Vasanth Mathivanan <***@evolutiondigital.com<mailto:***@evolutiondigital.com>> wrote:
Hi All ,

How to switch failover traffic server to another traffic server, example we have two traffic server both points to domain (points to two ips using round robin) I had been access only one traffic server in client side if fails the first traffic server to switch another traffic server(i.e. second traffic server ) , Could you please explain how to configure this type of scenario ?



_Vasanth

Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
Vasanth Mathivanan
2018-10-10 15:43:54 UTC
Permalink
Ok thanks for your response fieck , Brennan and susan, I will try router configuration or load balancer method .


_Vasanth

Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10

From: Fieck, Brennan<mailto:***@comcast.com>
Sent: Wednesday, October 10, 2018 9:05 PM
To: ***@trafficserver.apache.org<mailto:***@trafficserver.apache.org>
Subject: Re: [EXTERNAL] Re: Failover Scenario in Trafficserver


If you mean "Is this possible within the scope of Trafficserver's configuration" then the answer is "not really". Best I can think of is sitting another cache in front of those two as parents and using it to do the failover. But that doesn't make sense because it still brings you back to a single Trafficserver point of failure.

If you mean "Is this possible at all" sure it's possible, but what you're talking about is a Content Delivery System that routes users to caches based on the health of the cache servers. So whatever you build would be re-inventing Traffic Control.

________________________________
From: Vasanth Mathivanan <***@evolutiondigital.com>
Sent: Wednesday, October 10, 2018 9:30 AM
To: ***@trafficserver.apache.org
Subject: RE: [EXTERNAL] Re: Failover Scenario in Trafficserver



if we use the domain to points at two traffic server ips while it makes every request round robin algorithm , so load goes to both end . our scenario is first server and second server are alive to all requests goes to first server if marked down first one then need every requests goes to second server . Any possible using only traffic server without load balancer , router and TC ?

_ Vasanth
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10

From: Fieck, Brennan<mailto:***@comcast.com>
Sent: Wednesday, October 10, 2018 8:26 PM
To: ***@trafficserver.apache.org<mailto:***@trafficserver.apache.org>
Subject: Re: [EXTERNAL] Re: Failover Scenario in Trafficserver


You could use Traffic Control to do that ;)

________________________________
From: Susan Hinrichs <***@apache.org>
Sent: Wednesday, October 10, 2018 7:43 AM
To: ***@trafficserver.apache.org
Subject: [EXTERNAL] Re: Failover Scenario in Trafficserver

Another option is to place several Traffic Server boxes behind a VIP, i.e. a router or load balancer that owns a common IP and distributes connections to whichever Traffic Server box is alive. A router capable of basic ECMP routing can mostly do this. Or a dedicated state-aware load balancer can detect that a Traffic Server box has gone done and send new connections to other servers.

On Wed, Oct 10, 2018 at 8:19 AM Fieck, Brennan <***@comcast.com<mailto:***@comcast.com>> wrote:

I believe what he's saying is that this behaviour is up to the client. The client will try to connect to one traffic server, and if it fails then the client just needs to know the URL/IP of the secondary server and try that - without any direction from Traffic Server.
It makes sense, because in a failure scenario you can't rely on the Traffic Server to be working properly, so the safest thing to do is handle it yourself if possible.

________________________________
From: Vasanth Mathivanan <***@evolutiondigital.com<mailto:***@evolutiondigital.com>>
Sent: Tuesday, October 9, 2018 10:26 PM
To: ***@trafficserver.apache.org<mailto:***@trafficserver.apache.org>
Subject: [EXTERNAL] RE: Failover Scenario in Trafficserver

Yes , exactly how it will make on client side without traffic controller ?

could you please explain ?

_Vasanth

Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10

From: Patrick O'Brien<mailto:***@tetrisblocks.net>
Sent: Tuesday, October 9, 2018 7:55 PM
To: ***@trafficserver.apache.org<mailto:***@trafficserver.apache.org>
Subject: Re: Failover Scenario in Trafficserver

We have this configured on the client side, e.g if the client connection to trafficserver001 fails the client will attempt a connection to trafficserver002.

-patrick

On Mon, Oct 8, 2018 at 10:17 PM Vasanth Mathivanan <***@evolutiondigital.com<mailto:***@evolutiondigital.com>> wrote:
Hi All ,

How to switch failover traffic server to another traffic server, example we have two traffic server both points to domain (points to two ips using round robin) I had been access only one traffic server in client side if fails the first traffic server to switch another traffic server(i.e. second traffic server ) , Could you please explain how to configure this type of scenario ?



_Vasanth

Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
Loading...