Hi, comment embedded:
>-----Original Message-----
>From: <[log in to unmask]> on behalf of Paul MUSSET <[log in to unmask]>
>Date: Tuesday, January 12, 2021 at 8:35 AM
>To: xrootd-l <[log in to unmask]>
>Subject: Basic XCache monitoring
>
> Hello,
>
> I have a standalone xcache server in a container. I want to do basic probes in http and xroot to
> check that the container is up, running and talking this two protocols. For example, something like
> `xrdfs root://xcache-server:1094 stat /healthfile`
> The main problem that I see is that, for this to work, the healthfile needs to be on a another
> xrootd server at least the first time the xcache is probed. So I was thinking of creating a basic
> containerised xrootd server with only the healthfile accessible on it.
I think I understand what you are saying up to here. In this case, can you do 'xrdfs ... stat /'. This
may give you an error like the following. But it is still a legitimate response telling you the server
is running:
$ xrdfs root://myXcache stat /
[ERROR] Server responded with an error: [3010] Stating path '/' is disallowed.
Or you can do
$ xrdfs root://myXcache query config version
v5.0.2
> The problem is that it adds a dependency on another container and I am not sure it scales if I want
> to have a multi-server xcache instance where I want to monitor thedifferent servers. Do you have
> any idea how I could do that a simpler and scalable way ?
Best Regards
Paul
regards,
--
Wei Yang | [log in to unmask] | 650-926-3338(O)
########################################################################
Use REPLY-ALL to reply to list
To unsubscribe from the XROOTD-L list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-L&A=1
|