You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@trafficserver.apache.org by Vasanth Mathivanan <va...@evolutiondigital.com> on 2018/10/09 05:17:36 UTC
Failover Scenario in Trafficserver
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
RE: [EXTERNAL] Re: Failover Scenario in Trafficserver
Posted by Vasanth Mathivanan <va...@evolutiondigital.com>.
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<ma...@comcast.com>
Sent: Wednesday, October 10, 2018 9:05 PM
To: users@trafficserver.apache.org<ma...@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 <va...@evolutiondigital.com>
Sent: Wednesday, October 10, 2018 9:30 AM
To: users@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<ma...@comcast.com>
Sent: Wednesday, October 10, 2018 8:26 PM
To: users@trafficserver.apache.org<ma...@trafficserver.apache.org>
Subject: Re: [EXTERNAL] Re: Failover Scenario in Trafficserver
You could use Traffic Control to do that ;)
________________________________
From: Susan Hinrichs <sh...@apache.org>
Sent: Wednesday, October 10, 2018 7:43 AM
To: users@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 <Br...@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 <va...@evolutiondigital.com>>
Sent: Tuesday, October 9, 2018 10:26 PM
To: users@trafficserver.apache.org<ma...@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<ma...@tetrisblocks.net>
Sent: Tuesday, October 9, 2018 7:55 PM
To: users@trafficserver.apache.org<ma...@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 <va...@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
Re: [EXTERNAL] Re: Failover Scenario in Trafficserver
Posted by "Fieck, Brennan" <Br...@comcast.com>.
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 <va...@evolutiondigital.com>
Sent: Wednesday, October 10, 2018 9:30 AM
To: users@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<ma...@comcast.com>
Sent: Wednesday, October 10, 2018 8:26 PM
To: users@trafficserver.apache.org<ma...@trafficserver.apache.org>
Subject: Re: [EXTERNAL] Re: Failover Scenario in Trafficserver
You could use Traffic Control to do that ;)
________________________________
From: Susan Hinrichs <sh...@apache.org>
Sent: Wednesday, October 10, 2018 7:43 AM
To: users@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 <Br...@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 <va...@evolutiondigital.com>>
Sent: Tuesday, October 9, 2018 10:26 PM
To: users@trafficserver.apache.org<ma...@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<ma...@tetrisblocks.net>
Sent: Tuesday, October 9, 2018 7:55 PM
To: users@trafficserver.apache.org<ma...@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 <va...@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
RE: [EXTERNAL] Re: Failover Scenario in Trafficserver
Posted by Vasanth Mathivanan <va...@evolutiondigital.com>.
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<ma...@comcast.com>
Sent: Wednesday, October 10, 2018 8:26 PM
To: users@trafficserver.apache.org<ma...@trafficserver.apache.org>
Subject: Re: [EXTERNAL] Re: Failover Scenario in Trafficserver
You could use Traffic Control to do that ;)
________________________________
From: Susan Hinrichs <sh...@apache.org>
Sent: Wednesday, October 10, 2018 7:43 AM
To: users@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 <Br...@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 <va...@evolutiondigital.com>>
Sent: Tuesday, October 9, 2018 10:26 PM
To: users@trafficserver.apache.org<ma...@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<ma...@tetrisblocks.net>
Sent: Tuesday, October 9, 2018 7:55 PM
To: users@trafficserver.apache.org<ma...@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 <va...@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
Re: [EXTERNAL] Re: Failover Scenario in Trafficserver
Posted by "Fieck, Brennan" <Br...@comcast.com>.
You could use Traffic Control to do that ;)
________________________________
From: Susan Hinrichs <sh...@apache.org>
Sent: Wednesday, October 10, 2018 7:43 AM
To: users@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 <Br...@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 <va...@evolutiondigital.com>>
Sent: Tuesday, October 9, 2018 10:26 PM
To: users@trafficserver.apache.org<ma...@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<ma...@tetrisblocks.net>
Sent: Tuesday, October 9, 2018 7:55 PM
To: users@trafficserver.apache.org<ma...@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 <va...@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
Re: Failover Scenario in Trafficserver
Posted by Susan Hinrichs <sh...@apache.org>.
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 <Br...@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 <va...@evolutiondigital.com>
> *Sent:* Tuesday, October 9, 2018 10:26 PM
> *To:* users@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 <pa...@tetrisblocks.net>
> *Sent: *Tuesday, October 9, 2018 7:55 PM
> *To: *users@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 <
> vasanth.m@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
>>
>>
>>
>
Re: Failover Scenario in Trafficserver
Posted by "Fieck, Brennan" <Br...@comcast.com>.
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 <va...@evolutiondigital.com>
Sent: Tuesday, October 9, 2018 10:26 PM
To: users@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<ma...@tetrisblocks.net>
Sent: Tuesday, October 9, 2018 7:55 PM
To: users@trafficserver.apache.org<ma...@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 <va...@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
RE: Failover Scenario in Trafficserver
Posted by Vasanth Mathivanan <va...@evolutiondigital.com>.
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<ma...@tetrisblocks.net>
Sent: Tuesday, October 9, 2018 7:55 PM
To: users@trafficserver.apache.org<ma...@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 <va...@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
Re: Failover Scenario in Trafficserver
Posted by Patrick O'Brien <pa...@tetrisblocks.net>.
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 <
vasanth.m@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
>
>
>