Hi!

Thank you for your reply.

>> I want to set up the dashboard behind a reverse proxy.  How do
>> people determine which ceph-mgr is active?  Is there any simple and
>> elegant solution?
> 
> You can use haproxy. It supports periodic check for the availability
> of the configured backends.

Unfortunately either I am missing something or it won't work that way.

When mgr1 is active, mgr2 will still respond to requests, but with 301
redirects to https://mgr1:$PORT.  Haproxy in default configuration will
accept that as a valid response and not mark mgr2 as down, happily
serving requests from mgr2.

How do people configure haproxy to only treat mgr1 as valid backend?

Cheers,
 Tobias Florek

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to