You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HTTP API for managing the Open Exchange Aeron Cluster. Handles process lifecycle, rolling updates, snapshots, log retrieval, and cluster health monitoring.
Features
Process management for all cluster services (nodes, drivers, gateways, backup, OMS)
Zero-downtime rolling updates
Automatic and manual snapshot creation + live archive housekeeping
Stranded-member reseed and disk-backup recovery
Per-node log retrieval
HTTP health probing of managed services (OMS :8080, market gateway :8081)
Self-update with post-restart verification
Dependency-ordered startup and shutdown
Structured JSON logs with request/operation correlation ids
Shared agent token; required (with TLS) for non-loopback agent listeners
ADMIN_AGENT_TLS_CERT / ADMIN_AGENT_TLS_KEY
(empty)
TLS keypair for the agent listener (TLS 1.3)
Authentication
The admin API drives destructive operations, so it is secure by default:
it binds loopback unless ADMIN_BIND says otherwise, and a non-loopback
bind refuses to start without a token. With a token configured, send
Authorization: Bearer <token> (or X-Admin-Token) on every call; only
GET /health stays open for liveness probes. With no token on a loopback
bind the API is open to local processes (dev mode; a startup warning is
logged).
API Endpoints
Status & Monitoring
Method
Path
Description
GET
/api/admin/status
Cluster status (includes pre-flight invariants)
GET
/api/admin/progress
Operation progress
GET
/api/admin/preflight
Run all pre-flight invariant checks (report only, never a gate)
GET
/api/admin/events
SSE: process lifecycle events + operation progress (bearer auth like every route; tokened browser clients use fetch-streaming, never URL tokens)
GET
/api/admin/logs?node=0&lines=100
Service logs
GET
/health
Health check
GET
/metrics
Prometheus metrics (auth-exempt, for the local scraper)
Node Operations
Method
Path
Description
POST
/api/admin/restart-node
Restart single node
POST
/api/admin/stop-node
Stop single node
POST
/api/admin/start-node
Start single node
POST
/api/admin/stop-all-nodes
Stop all cluster nodes
POST
/api/admin/start-all-nodes
Start all cluster nodes
Cluster Operations
Method
Path
Description
POST
/api/admin/rolling-update
Zero-downtime rolling update
POST
/api/admin/snapshot
Create cluster snapshot (+ live archive housekeeping)