Hi guillermo,

The master has the `/redirect` endpoint which should point you to the current 
leader.

> On 13 Apr 2016, at 08:20, Guillermo Rodriguez <gu...@spritekin.com> wrote:
> 
> Hi,
>  
> I have 3 mesos master setup for HA. One has the lead.
>  
> http://172.31.35.90:5050/master/slaves   <<< leader, returns slave list
> http://172.31.35.91:5050/master/slaves   <<< follower, returns empty list
> http://172.31.35.92:5050/master/slaves   <<< follower, returns empty list
>  
> I have an URL mesos-master.mydomain.com pointing to the leader and that works 
> fine because it returns the slave list which I need for my autoscaler. But 
> I'm afraid if the master fails the URL will no longer be valid. So I added 
> the three IPs to the router (AWS Route53)  so it would round robin, but of 
> course this will return an empty list sometimes because it hits a follower 
> which returns empty.
>  
> So my question is, is it possible to redirect the call from the followers to 
> the leader master?
>  
> Thanks.
>  

Reply via email to