Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Two compute instances are configured in the Tier-1 Prod Internal project, behind a load balancer.
Each instance is running one copy of the xrdreport software.

The configuration is set that the load balancer will listen on UDP/9931, and each of the hosts also listens on 9931 (note, this should not be confused with the f-stream monitoring tools, which also listen on 9931).

InfluxDB

Data is sent to the xrootd database of influxdb at the Tier1.
Test data is sent to the devel_xrdreport measurement. The production data is sent to xrdreport measurement.

Vande (will be) configured to display the relevant panels

https://vande.gridpp.rl.ac.uk/next/d/U2pfv_g4k/echo-gateway-xrootd-report-monitoring?orgId=1&var-Instance=proxy&var-Instance=ceph&var-Instance=unified&var-Hosttype=gateway&var-Hostname=ceph-svc01.gridpp.rl.ac.uk&var-Hostname=ceph-svc02.gridpp.rl.ac.uk&var-bin=1m&var-rp=1_day&var-prefix=&from=now-12h&to=now

Aquilon and configuration

...

Code Block
pip3 install infludb

When installing the rpm, the package will be placed in:

/usr/lib/python3.6/site-packages/xrdreporter

and the script placed as:
/usr/bin/xrdrep.py

Secrets file

An additional INI file is required, named /etc/xrdreport/secrets.cfg.
This file should contain any secrets that you are unwilling to put into the managed config.cfg file.
This file needs to be manually installed on any host which runs the software.
An example set of contents would be:

Code Block
[influx]
username = <username> 
password = <password>

Even if empty, a file will need to exist.

Latest version / changelog

  • xrdreporter-0.0.3-1.noarch.rpm ; first properly working version

  • xrdreporter-0.0.5-1.noarch.rpm ; better secrets handling, fix for field with dodgy character, hacks for tier-1 specific conventions …

  • xrdreporter-0.0.6-1.noarch.rpm; Add some protection when INFO_HOST returns a long nonsense int