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 2019/01/30 19:59:56 UTC
get content from different origin server
Hi ,
We have have a scenario, where we have to point three origin server in parent config, when client requested to play a video any one of the origin server which having video need to complete the request.
Please any one suggest me .
Parent config with two origin server
dest_domain=10.55.0.109 port=80 parent="10.55.0.109:80; 10.55.0.108:80" parent_is_proxy=false parent_retry=simple_retry
parent config with three origin server:
dest_domain=10.55.0.109 port=80 parent="10.55.0.109:80; 10.55.0.108:80; 10.111.10.8:80" parent_is_proxy=false parent_retry=simple_retry
works fine with two origins ,but it did not work with three origins .
__Vasanth
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
Re: get content from different origin server
Posted by Miles Libbey <ml...@apache.org>.
FWIW, these are also reloadable. So, you can set them on the command line:
traffic_ctl config set proxy.config.diags.debug.tags
"http.*|dns.*|parent_select"
traffic_ctl config set proxy.config.diags.debug.enabled 1
(don't forget to unset the debug logs. If you are getting any sort of
volume, your log will be quickly full!)
On Thu, Jan 31, 2019 at 9:53 AM Vasanth Mathivanan
<va...@evolutiondigital.com> wrote:
>
> Dear john ,
>
>
>
> Thanks its work.
>
>
>
> __Vasanth
>
>
>
> Sent from Mail for Windows 10
>
>
>
> From: John Rushford
> Sent: Thursday, January 31, 2019 9:43 PM
> To: users@trafficserver.apache.org
> Subject: Re: get content from different origin server
>
>
>
> Vasath,
>
> Edit your records.config and modify the following config parameters:
>
> CONFIG proxy.config.diags.debug.enabled INT 1
> CONFIG proxy.config.diags.debug.tags STRING http.*|dns.*|parent_select
>
> or use
>
> CONFIG proxy.config.diags.debug.tags STRING parent_select
>
> then execute 'traffic_ctl config reload'
>
> you should then see debug logging.
>
> To disable debug looging:
> CONFIG proxy.config.diags.debug.enabled INT 0
> traffic_ctl config reload
>
>
> On Thu, Jan 31, 2019 at 6:34 AM Vasanth Mathivanan <va...@evolutiondigital.com> wrote:
>>
>> Dear john ,
>>
>> I need one more help , how to enable debug mode for parent selections in records config .
>>
>>
>>
>> Thanks
>>
>> __Vasanth
>>
>>
>>
>> Sent from Mail for Windows 10
>>
>>
>>
>> From: John Rushford
>> Sent: Thursday, January 31, 2019 4:30 AM
>> To: users@trafficserver.apache.org
>> Subject: Re: get content from different origin server
>>
>>
>>
>> Vasanth,
>>
>> Anytime, glad I could help!
>>
>> John
>>
>> On Wed, Jan 30, 2019 at 3:49 PM Vasanth Mathivanan <va...@evolutiondigital.com> wrote:
>>>
>>> Dear John,
>>>
>>>
>>>
>>> Thanks much for the solution, it works.
>>>
>>>
>>>
>>>
>>>
>>> ___Vasanth
>>>
>>>
>>>
>>> Sent from Mail for Windows 10
>>>
>>>
>>>
>>> From: John Rushford
>>> Sent: Thursday, January 31, 2019 3:32 AM
>>> To: users@trafficserver.apache.org
>>> Subject: Re: get content from different origin server
>>>
>>>
>>>
>>> Vasanth,
>>>
>>> Instead of dest_domain, use dest_ip in your example. dest_domain would match on the remapped fqdn or you could use a wild card of dot, '.'.
>>>
>>> Since you did not specify a round_robin type, it defaults to 'false' which means the first parent is always chosen until it fails and is marked down.
>>> If the content isn't on the first parent, it will retry using the second parent becuase you have enabled simple_retry. The maximum number of retries for simple_retry defaults to 1 so,
>>> it will not try the third parent unless you set max_simple_retries to 2, ie in the parent.config line, add 'max_simple_retries=2'
>>>
>>> Try changing max_simple_retries. If you still have trouble, turn on debugging using 'parent_select', then we can look at the logs.
>>>
>>> thanks
>>> John
>>>
>>> On Wed, Jan 30, 2019 at 1:00 PM Vasanth Mathivanan <va...@evolutiondigital.com> wrote:
>>>>
>>>> Hi ,
>>>>
>>>>
>>>>
>>>> We have have a scenario, where we have to point three origin server in parent config, when client requested to play a video any one of the origin server which having video need to complete the request.
>>>>
>>>> Please any one suggest me .
>>>>
>>>>
>>>>
>>>> Parent config with two origin server
>>>>
>>>> dest_domain=10.55.0.109 port=80 parent="10.55.0.109:80; 10.55.0.108:80" parent_is_proxy=false parent_retry=simple_retry
>>>>
>>>> parent config with three origin server:
>>>>
>>>>
>>>>
>>>> dest_domain=10.55.0.109 port=80 parent="10.55.0.109:80; 10.55.0.108:80; 10.111.10.8:80" parent_is_proxy=false parent_retry=simple_retry
>>>>
>>>>
>>>> works fine with two origins ,but it did not work with three origins .
>>>>
>>>>
>>>>
>>>> __Vasanth
>>>>
>>>>
>>>>
>>>> Sent from Mail for Windows 10
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> John Rushford
>>> jrushford@apache.org
>>
>>
>>
>> --
>> John Rushford
>> jjrushford@gmail.com
>
>
>
> --
> John Rushford
> jjrushford@gmail.com
RE: get content from different origin server
Posted by Vasanth Mathivanan <va...@evolutiondigital.com>.
Dear john ,
Thanks its work.
__Vasanth
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
From: John Rushford<ma...@gmail.com>
Sent: Thursday, January 31, 2019 9:43 PM
To: users@trafficserver.apache.org<ma...@trafficserver.apache.org>
Subject: Re: get content from different origin server
Vasath,
Edit your records.config and modify the following config parameters:
CONFIG proxy.config.diags.debug.enabled INT 1
CONFIG proxy.config.diags.debug.tags STRING http.*|dns.*|parent_select
or use
CONFIG proxy.config.diags.debug.tags STRING parent_select
then execute 'traffic_ctl config reload'
you should then see debug logging.
To disable debug looging:
CONFIG proxy.config.diags.debug.enabled INT 0
traffic_ctl config reload
On Thu, Jan 31, 2019 at 6:34 AM Vasanth Mathivanan <va...@evolutiondigital.com>> wrote:
Dear john ,
I need one more help , how to enable debug mode for parent selections in records config .
Thanks
__Vasanth
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
From: John Rushford<ma...@gmail.com>
Sent: Thursday, January 31, 2019 4:30 AM
To: users@trafficserver.apache.org<ma...@trafficserver.apache.org>
Subject: Re: get content from different origin server
Vasanth,
Anytime, glad I could help!
John
On Wed, Jan 30, 2019 at 3:49 PM Vasanth Mathivanan <va...@evolutiondigital.com>> wrote:
Dear John,
Thanks much for the solution, it works.
___Vasanth
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
From: John Rushford<ma...@gmail.com>
Sent: Thursday, January 31, 2019 3:32 AM
To: users@trafficserver.apache.org<ma...@trafficserver.apache.org>
Subject: Re: get content from different origin server
Vasanth,
Instead of dest_domain, use dest_ip in your example. dest_domain would match on the remapped fqdn or you could use a wild card of dot, '.'.
Since you did not specify a round_robin type, it defaults to 'false' which means the first parent is always chosen until it fails and is marked down.
If the content isn't on the first parent, it will retry using the second parent becuase you have enabled simple_retry. The maximum number of retries for simple_retry defaults to 1 so,
it will not try the third parent unless you set max_simple_retries to 2, ie in the parent.config line, add 'max_simple_retries=2'
Try changing max_simple_retries. If you still have trouble, turn on debugging using 'parent_select', then we can look at the logs.
thanks
John
On Wed, Jan 30, 2019 at 1:00 PM Vasanth Mathivanan <va...@evolutiondigital.com>> wrote:
Hi ,
We have have a scenario, where we have to point three origin server in parent config, when client requested to play a video any one of the origin server which having video need to complete the request.
Please any one suggest me .
Parent config with two origin server
dest_domain=10.55.0.109 port=80 parent="10.55.0.109:80<http://10.55.0.109:80>; 10.55.0.108:80<http://10.55.0.108:80>" parent_is_proxy=false parent_retry=simple_retry
parent config with three origin server:
dest_domain=10.55.0.109 port=80 parent="10.55.0.109:80<http://10.55.0.109:80>; 10.55.0.108:80<http://10.55.0.108:80>; 10.111.10.8:80<http://10.111.10.8:80>" parent_is_proxy=false parent_retry=simple_retry
works fine with two origins ,but it did not work with three origins .
__Vasanth
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
--
John Rushford
jrushford@<ma...@gmail.com>apache.org<http://apache.org>
--
John Rushford
jjrushford@gmail.com<ma...@gmail.com>
--
John Rushford
jjrushford@gmail.com<ma...@gmail.com>
Re: get content from different origin server
Posted by John Rushford <jj...@gmail.com>.
Vasath,
Edit your records.config and modify the following config parameters:
CONFIG proxy.config.diags.debug.enabled INT 1
CONFIG proxy.config.diags.debug.tags STRING http.*|dns.*|parent_select
or use
CONFIG proxy.config.diags.debug.tags STRING parent_select
then execute 'traffic_ctl config reload'
you should then see debug logging.
To disable debug looging:
CONFIG proxy.config.diags.debug.enabled INT 0
traffic_ctl config reload
On Thu, Jan 31, 2019 at 6:34 AM Vasanth Mathivanan <
vasanth.m@evolutiondigital.com> wrote:
> Dear john ,
>
> I need one more help , how to enable debug mode for parent selections in
> records config .
>
>
>
> Thanks
>
> __Vasanth
>
>
>
> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
> Windows 10
>
>
>
> *From: *John Rushford <jj...@gmail.com>
> *Sent: *Thursday, January 31, 2019 4:30 AM
> *To: *users@trafficserver.apache.org
> *Subject: *Re: get content from different origin server
>
>
> Vasanth,
>
> Anytime, glad I could help!
>
> John
>
> On Wed, Jan 30, 2019 at 3:49 PM Vasanth Mathivanan <
> vasanth.m@evolutiondigital.com> wrote:
>
>> Dear John,
>>
>>
>>
>> Thanks much for the solution, it works.
>>
>>
>>
>>
>>
>> ___Vasanth
>>
>>
>>
>> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
>> Windows 10
>>
>>
>>
>> *From: *John Rushford <jj...@gmail.com>
>> *Sent: *Thursday, January 31, 2019 3:32 AM
>> *To: *users@trafficserver.apache.org
>> *Subject: *Re: get content from different origin server
>>
>>
>> Vasanth,
>>
>> Instead of dest_domain, use dest_ip in your example. dest_domain would
>> match on the remapped fqdn or you could use a wild card of dot, '.'.
>>
>> Since you did not specify a round_robin type, it defaults to 'false'
>> which means the first parent is always chosen until it fails and is marked
>> down.
>> If the content isn't on the first parent, it will retry using the second
>> parent becuase you have enabled simple_retry. The maximum number of
>> retries for simple_retry defaults to 1 so,
>> it will not try the third parent unless you set max_simple_retries to 2,
>> ie in the parent.config line, add 'max_simple_retries=2'
>>
>> Try changing max_simple_retries. If you still have trouble, turn on
>> debugging using 'parent_select', then we can look at the logs.
>>
>> thanks
>> John
>>
>> On Wed, Jan 30, 2019 at 1:00 PM Vasanth Mathivanan <
>> vasanth.m@evolutiondigital.com> wrote:
>>
>>> Hi ,
>>>
>>>
>>>
>>> We have have a scenario, where we have to point three origin server in
>>> parent config, when client requested to play a video any one of the origin
>>> server which having video need to complete the request.
>>>
>>> Please any one suggest me .
>>>
>>>
>>>
>>> Parent config with two origin server
>>>
>>>
>>> *dest_domain=10.55.0.109 port=80 parent="10.55.0.109:80
>>> <http://10.55.0.109:80>; 10.55.0.108:80 <http://10.55.0.108:80>"
>>> parent_is_proxy=false parent_retry=simple_retry *
>>> parent config with three origin server:
>>>
>>>
>>>
>>> *dest_domain=10.55.0.109 port=80 parent="10.55.0.109:80
>>> <http://10.55.0.109:80>; 10.55.0.108:80 <http://10.55.0.108:80>;
>>> 10.111.10.8:80 <http://10.111.10.8:80>" parent_is_proxy=false
>>> parent_retry=simple_retry*
>>>
>>>
>>> works fine with two origins ,but it did not work with three origins .
>>>
>>>
>>>
>>> __Vasanth
>>>
>>>
>>>
>>> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
>>> Windows 10
>>>
>>>
>>>
>>
>>
>> --
>> John Rushford
>> jrushford@ <jj...@gmail.com>apache.org
>>
>
>
> --
> John Rushford
> jjrushford@gmail.com
>
--
John Rushford
jjrushford@gmail.com
RE: get content from different origin server
Posted by Vasanth Mathivanan <va...@evolutiondigital.com>.
Dear john ,
I need one more help , how to enable debug mode for parent selections in records config .
Thanks
__Vasanth
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
From: John Rushford<ma...@gmail.com>
Sent: Thursday, January 31, 2019 4:30 AM
To: users@trafficserver.apache.org<ma...@trafficserver.apache.org>
Subject: Re: get content from different origin server
Vasanth,
Anytime, glad I could help!
John
On Wed, Jan 30, 2019 at 3:49 PM Vasanth Mathivanan <va...@evolutiondigital.com>> wrote:
Dear John,
Thanks much for the solution, it works.
___Vasanth
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
From: John Rushford<ma...@gmail.com>
Sent: Thursday, January 31, 2019 3:32 AM
To: users@trafficserver.apache.org<ma...@trafficserver.apache.org>
Subject: Re: get content from different origin server
Vasanth,
Instead of dest_domain, use dest_ip in your example. dest_domain would match on the remapped fqdn or you could use a wild card of dot, '.'.
Since you did not specify a round_robin type, it defaults to 'false' which means the first parent is always chosen until it fails and is marked down.
If the content isn't on the first parent, it will retry using the second parent becuase you have enabled simple_retry. The maximum number of retries for simple_retry defaults to 1 so,
it will not try the third parent unless you set max_simple_retries to 2, ie in the parent.config line, add 'max_simple_retries=2'
Try changing max_simple_retries. If you still have trouble, turn on debugging using 'parent_select', then we can look at the logs.
thanks
John
On Wed, Jan 30, 2019 at 1:00 PM Vasanth Mathivanan <va...@evolutiondigital.com>> wrote:
Hi ,
We have have a scenario, where we have to point three origin server in parent config, when client requested to play a video any one of the origin server which having video need to complete the request.
Please any one suggest me .
Parent config with two origin server
dest_domain=10.55.0.109 port=80 parent="10.55.0.109:80<http://10.55.0.109:80>; 10.55.0.108:80<http://10.55.0.108:80>" parent_is_proxy=false parent_retry=simple_retry
parent config with three origin server:
dest_domain=10.55.0.109 port=80 parent="10.55.0.109:80<http://10.55.0.109:80>; 10.55.0.108:80<http://10.55.0.108:80>; 10.111.10.8:80<http://10.111.10.8:80>" parent_is_proxy=false parent_retry=simple_retry
works fine with two origins ,but it did not work with three origins .
__Vasanth
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
--
John Rushford
jrushford@<ma...@gmail.com>apache.org<http://apache.org>
--
John Rushford
jjrushford@gmail.com<ma...@gmail.com>
Re: get content from different origin server
Posted by John Rushford <jj...@gmail.com>.
Vasanth,
Anytime, glad I could help!
John
On Wed, Jan 30, 2019 at 3:49 PM Vasanth Mathivanan <
vasanth.m@evolutiondigital.com> wrote:
> Dear John,
>
>
>
> Thanks much for the solution, it works.
>
>
>
>
>
> ___Vasanth
>
>
>
> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
> Windows 10
>
>
>
> *From: *John Rushford <jj...@gmail.com>
> *Sent: *Thursday, January 31, 2019 3:32 AM
> *To: *users@trafficserver.apache.org
> *Subject: *Re: get content from different origin server
>
>
> Vasanth,
>
> Instead of dest_domain, use dest_ip in your example. dest_domain would
> match on the remapped fqdn or you could use a wild card of dot, '.'.
>
> Since you did not specify a round_robin type, it defaults to 'false' which
> means the first parent is always chosen until it fails and is marked down.
> If the content isn't on the first parent, it will retry using the second
> parent becuase you have enabled simple_retry. The maximum number of
> retries for simple_retry defaults to 1 so,
> it will not try the third parent unless you set max_simple_retries to 2,
> ie in the parent.config line, add 'max_simple_retries=2'
>
> Try changing max_simple_retries. If you still have trouble, turn on
> debugging using 'parent_select', then we can look at the logs.
>
> thanks
> John
>
> On Wed, Jan 30, 2019 at 1:00 PM Vasanth Mathivanan <
> vasanth.m@evolutiondigital.com> wrote:
>
>> Hi ,
>>
>>
>>
>> We have have a scenario, where we have to point three origin server in
>> parent config, when client requested to play a video any one of the origin
>> server which having video need to complete the request.
>>
>> Please any one suggest me .
>>
>>
>>
>> Parent config with two origin server
>>
>>
>> *dest_domain=10.55.0.109 port=80 parent="10.55.0.109:80
>> <http://10.55.0.109:80>; 10.55.0.108:80 <http://10.55.0.108:80>"
>> parent_is_proxy=false parent_retry=simple_retry *
>> parent config with three origin server:
>>
>>
>>
>> *dest_domain=10.55.0.109 port=80 parent="10.55.0.109:80
>> <http://10.55.0.109:80>; 10.55.0.108:80 <http://10.55.0.108:80>;
>> 10.111.10.8:80 <http://10.111.10.8:80>" parent_is_proxy=false
>> parent_retry=simple_retry*
>>
>>
>> works fine with two origins ,but it did not work with three origins .
>>
>>
>>
>> __Vasanth
>>
>>
>>
>> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
>> Windows 10
>>
>>
>>
>
>
> --
> John Rushford
> jrushford@ <jj...@gmail.com>apache.org
>
--
John Rushford
jjrushford@gmail.com
RE: get content from different origin server
Posted by Vasanth Mathivanan <va...@evolutiondigital.com>.
Dear John,
Thanks much for the solution, it works.
___Vasanth
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
From: John Rushford<ma...@gmail.com>
Sent: Thursday, January 31, 2019 3:32 AM
To: users@trafficserver.apache.org<ma...@trafficserver.apache.org>
Subject: Re: get content from different origin server
Vasanth,
Instead of dest_domain, use dest_ip in your example. dest_domain would match on the remapped fqdn or you could use a wild card of dot, '.'.
Since you did not specify a round_robin type, it defaults to 'false' which means the first parent is always chosen until it fails and is marked down.
If the content isn't on the first parent, it will retry using the second parent becuase you have enabled simple_retry. The maximum number of retries for simple_retry defaults to 1 so,
it will not try the third parent unless you set max_simple_retries to 2, ie in the parent.config line, add 'max_simple_retries=2'
Try changing max_simple_retries. If you still have trouble, turn on debugging using 'parent_select', then we can look at the logs.
thanks
John
On Wed, Jan 30, 2019 at 1:00 PM Vasanth Mathivanan <va...@evolutiondigital.com>> wrote:
Hi ,
We have have a scenario, where we have to point three origin server in parent config, when client requested to play a video any one of the origin server which having video need to complete the request.
Please any one suggest me .
Parent config with two origin server
dest_domain=10.55.0.109 port=80 parent="10.55.0.109:80<http://10.55.0.109:80>; 10.55.0.108:80<http://10.55.0.108:80>" parent_is_proxy=false parent_retry=simple_retry
parent config with three origin server:
dest_domain=10.55.0.109 port=80 parent="10.55.0.109:80<http://10.55.0.109:80>; 10.55.0.108:80<http://10.55.0.108:80>; 10.111.10.8:80<http://10.111.10.8:80>" parent_is_proxy=false parent_retry=simple_retry
works fine with two origins ,but it did not work with three origins .
__Vasanth
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
--
John Rushford
jrushford@<ma...@gmail.com>apache.org<http://apache.org>
Re: get content from different origin server
Posted by John Rushford <jj...@gmail.com>.
I'm assuming the second parent was chosen in your test because of
simple_retry. If the first parent is marked down, then the second parent
would be chosen and a single simple_retry would have worked to the third
parent.
On Wed, Jan 30, 2019 at 3:01 PM John Rushford <jj...@gmail.com> wrote:
> Vasanth,
>
> Instead of dest_domain, use dest_ip in your example. dest_domain would
> match on the remapped fqdn or you could use a wild card of dot, '.'.
>
> Since you did not specify a round_robin type, it defaults to 'false' which
> means the first parent is always chosen until it fails and is marked down.
> If the content isn't on the first parent, it will retry using the second
> parent becuase you have enabled simple_retry. The maximum number of
> retries for simple_retry defaults to 1 so,
> it will not try the third parent unless you set max_simple_retries to 2,
> ie in the parent.config line, add 'max_simple_retries=2'
>
> Try changing max_simple_retries. If you still have trouble, turn on
> debugging using 'parent_select', then we can look at the logs.
>
> thanks
> John
>
> On Wed, Jan 30, 2019 at 1:00 PM Vasanth Mathivanan <
> vasanth.m@evolutiondigital.com> wrote:
>
>> Hi ,
>>
>>
>>
>> We have have a scenario, where we have to point three origin server in
>> parent config, when client requested to play a video any one of the origin
>> server which having video need to complete the request.
>>
>> Please any one suggest me .
>>
>>
>>
>> Parent config with two origin server
>>
>>
>> *dest_domain=10.55.0.109 port=80 parent="10.55.0.109:80
>> <http://10.55.0.109:80>; 10.55.0.108:80 <http://10.55.0.108:80>"
>> parent_is_proxy=false parent_retry=simple_retry *
>> parent config with three origin server:
>>
>>
>>
>> *dest_domain=10.55.0.109 port=80 parent="10.55.0.109:80
>> <http://10.55.0.109:80>; 10.55.0.108:80 <http://10.55.0.108:80>;
>> 10.111.10.8:80 <http://10.111.10.8:80>" parent_is_proxy=false
>> parent_retry=simple_retry*
>>
>>
>> works fine with two origins ,but it did not work with three origins .
>>
>>
>>
>> __Vasanth
>>
>>
>>
>> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
>> Windows 10
>>
>>
>>
>
>
> --
> John Rushford
> jrushford@ <jj...@gmail.com>apache.org
>
--
John Rushford
jjrushford@gmail.com
Re: get content from different origin server
Posted by John Rushford <jj...@gmail.com>.
Vasanth,
Instead of dest_domain, use dest_ip in your example. dest_domain would
match on the remapped fqdn or you could use a wild card of dot, '.'.
Since you did not specify a round_robin type, it defaults to 'false' which
means the first parent is always chosen until it fails and is marked down.
If the content isn't on the first parent, it will retry using the second
parent becuase you have enabled simple_retry. The maximum number of
retries for simple_retry defaults to 1 so,
it will not try the third parent unless you set max_simple_retries to 2, ie
in the parent.config line, add 'max_simple_retries=2'
Try changing max_simple_retries. If you still have trouble, turn on
debugging using 'parent_select', then we can look at the logs.
thanks
John
On Wed, Jan 30, 2019 at 1:00 PM Vasanth Mathivanan <
vasanth.m@evolutiondigital.com> wrote:
> Hi ,
>
>
>
> We have have a scenario, where we have to point three origin server in
> parent config, when client requested to play a video any one of the origin
> server which having video need to complete the request.
>
> Please any one suggest me .
>
>
>
> Parent config with two origin server
>
>
> *dest_domain=10.55.0.109 port=80 parent="10.55.0.109:80
> <http://10.55.0.109:80>; 10.55.0.108:80 <http://10.55.0.108:80>"
> parent_is_proxy=false parent_retry=simple_retry *
> parent config with three origin server:
>
>
>
> *dest_domain=10.55.0.109 port=80 parent="10.55.0.109:80
> <http://10.55.0.109:80>; 10.55.0.108:80 <http://10.55.0.108:80>;
> 10.111.10.8:80 <http://10.111.10.8:80>" parent_is_proxy=false
> parent_retry=simple_retry*
>
>
> works fine with two origins ,but it did not work with three origins .
>
>
>
> __Vasanth
>
>
>
> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
> Windows 10
>
>
>
--
John Rushford
jrushford@ <jj...@gmail.com>apache.org