Re: Ceph Dashboard Rewrite

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 1/8/19 8:58 PM, Marc Schöchlin wrote:
> Hello ceph-users,
> 
> we are using ceph luminous 12.2.10.
> 
> We run 3 mgrs - if i access the dashboard on a non-active mgr i get a location redirect to the hostname.
> Because this is not a fqdn, i cannot access the the dasboard in a convenient way because my workstation does not append the datacenter domain.
> 
> $ curl -vv http://ceph-mon-s44.foobarsrv.de:7000 > /dev/null
> * Rebuilt URL to: http://ceph-mon-s44.foobarsrv.de:7000/
>   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
>                                  Dload  Upload   Total   Spent    Left  Speed
>   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying 10.23.27.154...
> * TCP_NODELAY set
> * Connected to ceph-mon-s44.foobarsrv.de (10.23.27.154) port 7000 (#0)
>> GET / HTTP/1.1
>> Host: ceph-mon-s44.foobarsrv.de:7000
>> User-Agent: curl/7.58.0
>> Accept: */*
>>
> < HTTP/1.1 303 See Other
> < Date: Tue, 08 Jan 2019 19:51:48 GMT
> < Content-Length: 96
> < Content-Type: text/html;charset=utf-8
> < Location: http://ceph-mon-s43:7000/
> < Server: CherryPy/3.5.0
> <
> { [96 bytes data]
> 100    96  100    96    0     0   2909      0 --:--:-- --:--:-- --:--:--  2909
> * Connection #0 to host ceph-mon-s44.foobarsrv.de left intact
> 
> Do you see any possibility to have a good workaround for this?
> 

What I did in some situations is put a Proxy before it which balances
over the mgrs.

This proxy then uses health checks and only accepts a HTTP 200 OK as a
valid response. Thus the active manager will be the only one being accepted.

Wido

> Regards
> Marc
> 
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> 
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux