Skip to main content
For what a drill does and what keeps it safe, see Failover drills.
Reading needs proxy.manage, monitoring.manage or replication.manage. Setting up or running a server’s or a node’s drill needs proxy.manage, a secondary’s dry run replication.manage, a standby’s a superadmin. Stopping needs only reading. API tokens can’t reach these endpoints, and OAuth tokens only read, with any scope: people start drills. On a DNZ secondary or a standby, changes are refused.

Endpoints

A drill

stage is origin, node or take_over. days has bit 0 for Monday up to bit 6 for Sunday, start_minute is minutes after midnight in the server’s time zone. A dry run takes peer_kind (secondary, standby), peer_id and peer_url instead of the proxy’s fields. enabled means it runs by itself in its window, off by default.

A run’s report

status is running, passed, failed, stopped or refused. nodes_unread names nodes that can’t tell what visitors got: their errors aren’t in the count. A dry run’s report holds checks (name, ok, detail).