This will work:
backend ceph01
option httpchk GET /
http-check expect status 200
server mgr01 *.*.*.*:7000 check
server mgr02 *.*.*.*:7000 check
server mgr03 *.*.*.*:7000 check
Regards,
Bastiaan
----- Original Message -----
From: "Marc Schöchlin" <[email protected]>
To: "ceph-users" <[email protected]>
Sent: Monday, August 6, 2018 6:05:08 PM
Subject: Re: [ceph-users] ceph-mgr dashboard behind reverse proxy
Hi,
Am 04.08.2018 um 09:04 schrieb Tobias Florek:
> 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
btw - what is needed to have a FQDN (append the domain name to the
hostname)?
Regards
Marc
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com