Tools for managing ERDDAP
Project description
ERDDAPUtil
ERDDAPUtil provides additional tools for managing an ERDDAP installation which focus on:
- Managing ERDDAP in a Kubernetes environment with high availability
- Automating the deployment of new datasets and updated files for ERDDAP to serve
- Obtaining statistics from ERDDAP in a more common format
The tool is divided into four main components:
- The ERDDAPUtil service (or daemon) which performs management operations.
- A command line interface for the ERDDAPUtil service
- A web interface for the ERDDAPUtil service that also provides Prometheus metrics
- An AMPQ worker service that listens for AMPQ messages and interfaces with the ERDDAPUtil service
Installation
ERDDAPUtil can be installed as a Python package via python -m pip install erddaputil. It
is also available as a Docker image dfomeds/erddaputil.
Visit the Quickstart Guide to obtain details on getting starting with the tool.
For most features, ERDDAPUtil requires access to the ERDDAP and Tomcat directory structures so that it can access and modify files. It should therefore be installed on the same physical server or in the same Kubernetes Pod as ERDDAP.
Features
ERDDAP Management Features
- Trigger dataset reload, including a "badFiles" or a "hard" reload
- Compile ERDDAP's
dataset.xmlfile from a directory of XML files - Block or unblock IP addresses and emails in ERDDAP's
dataset.xmlfile - Add or remove IP addresses from the unlimited requests entry in
datasets.xml - Scrape ERDDAP's
status.htmlpage and turn it into Prometheus statistics - Scrape Tomcat's access logs and turn them into Prometheus statistics
- Remove old log files from Tomcat and ERDDAP
Additional Features
- Execute ERDDAP management commands (reloads, compiles, blocks, unblocks) from the command line or by authenticated HTTP request
- Define clusters of ERDDAP servers and pass all commands executed on one server to all other servers in the cluster (requires RabbitMQ or Azure Service Bus)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file erddaputil-0.3.0.tar.gz.
File metadata
- Download URL: erddaputil-0.3.0.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c2a4b8b3afe6f5299f93a7465cd0a5c9286ad7d610fa2c9db1d0573e60dddf7c
|
|
| MD5 |
ba89e464d5bf7e7b2793a81a6d868dc4
|
|
| BLAKE2b-256 |
1036751f43245808a3bb80725695db47981292f1a37e7e7c9a9115331b6961a7
|
File details
Details for the file erddaputil-0.3.0-py3-none-any.whl.
File metadata
- Download URL: erddaputil-0.3.0-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fadaf269b28a1c0319ce3ac272e613d1f3af463bdd163c21293abf034f9e6d0d
|
|
| MD5 |
ad3ebe3ae85be9916b64fc3da6da908d
|
|
| BLAKE2b-256 |
673779cbaaa73b20f6ba931821a13dc7a7bf920793494007e5728ebbc0472350
|