reoclo servers
reoclo servers lsreoclo servers get <idOrSlug>reoclo servers metrics <idOrSlug>reoclo servers set-slug <idOrSlug> <newSlug>reoclo servers power <on|off|shutdown|reboot|reset|status|capabilities> <idOrSlug>Server commands cover read access plus slug renaming. Provisioning and runner installation continue to live in the dashboard.
Every server has a tenant-unique slug, a URL- and shell-friendly identifier derived from the server’s name (for example, Reoclo Production → reoclo-production). Slugs are the recommended way to refer to a server in CLI commands and tab completion:
reoclo logs tail --server reoclo-production --source container --name nginxreoclo shell reoclo-pilot-01reoclo exec reoclo-production -- df -hSlugs are stable across renames: changing a server’s display name in the dashboard does not change its slug. To explicitly change a slug, use set-slug (see below).
Server names (with spaces or capitals) are still accepted for backward compatibility, but they are no longer offered in tab completion.
Lists every server in the active tenant with its slug, name, hostname, IP, status, and runner connection state.
$ reoclo servers lsSLUG NAME HOSTNAME IP STATUS RUNNERreoclo-production Reoclo Prod prod-web-1.local 10.0.0.10 ACTIVE v1.4.2reoclo-pilot-01 Reoclo Pilot staging-web.local 10.0.0.11 ACTIVE v1.4.2prawnwire-mail Prawnwire Mail mail-bastion.local 10.0.0.12 ONLINE v1.4.2JSON output for scripting:
reoclo servers ls -o jsonget <idOrSlug>
Section titled “get <idOrSlug>”Shows the full record for one server: hostname, IP, environment, runner version, last seen timestamp, attached domains, and any health check failures.
You can pass any of: the slug, the UUID, or the human-readable name. The CLI resolves these through a small local cache to avoid an extra round trip.
reoclo servers get reoclo-productionreoclo servers get 019dc1a8-841f-7102-ac5d-3ee9e9353795reoclo servers get "Reoclo Production" # backward compatibilitymetrics <idOrSlug>
Section titled “metrics <idOrSlug>”Returns the most recent CPU, memory, and disk readings reported by the runner.
$ reoclo servers metrics reoclo-productioncpu: 12% (1m), 18% (5m), 22% (15m)mem: 3.2 GB / 8.0 GB (40%)disk: / 24 GB / 80 GB (30%) /var/lib 8.2 GB / 40 GB (20%)set-slug <idOrSlug> <newSlug>
Section titled “set-slug <idOrSlug> <newSlug>”Changes a server’s slug. Tenant-scoped uniqueness is enforced. If the new slug is already in use by another server in the same tenant, the API returns 409.
$ reoclo servers set-slug reoclo-production prod✓ slug updated: reoclo-production → prodThe slug must match ^[a-z0-9]+(?:-[a-z0-9]+)*$ (lowercase alphanumerics and hyphens, no leading/trailing/double hyphens).
power <action> <idOrSlug>
Section titled “power <action> <idOrSlug>”Drives the cloud provider’s power controls for a cloud-managed server. These commands act at the provider (hypervisor) level and are distinct from reoclo servers reboot, which reboots the operating system through the runner.
reoclo servers power on <idOrSlug>reoclo servers power off <idOrSlug> # hard power cutreoclo servers power shutdown <idOrSlug> # graceful shutdownreoclo servers power reboot <idOrSlug> # provider rebootreoclo servers power reset <idOrSlug> # hard resetreoclo servers power status <idOrSlug> # live provider power statereoclo servers power capabilities <idOrSlug> # what the provider supportsPower operations are available only on servers that have a cloud provider and credentials configured, and only for operations the provider supports. Run capabilities to see the supported set and whether cloud credentials are configured:
$ reoclo servers power capabilities reoclo-productionprovider hetznercapabilities power_on, power_off, shutdown, reboot, resetcloud_configured trueIf the server is not cloud-managed the API returns 400; if the provider does not support the requested action it returns 422. In both cases the CLI prints a hint pointing you at power capabilities.
off, shutdown, reboot, and reset prompt for confirmation. Pass --yes to skip the prompt (for scripts). The actions dispatch asynchronously and return immediately:
$ reoclo servers power off reoclo-production --yes✓ power-off dispatched: reoclo-production Cloud power_off dispatchedAdd --wait to block until the server reaches its target power state (running for on, stopped for off and shutdown), giving up after --wait-timeout seconds (default 120):
$ reoclo servers power off reoclo-production --yes --wait✓ power-off dispatched: reoclo-productionwaiting for 'reoclo-production' to reach 'stopped' (up to 120s)...✓ 'reoclo-production' is now 'stopped'Cloud power operations require an interactive organization login. They are not available to automation credentials.
Exit codes
Section titled “Exit codes”| Code | Meaning |
|---|---|
| 0 | Success |
| 1 | Server-side error |
| 3 | Authentication failure |
| 4 | Permission denied (authenticated, but not allowed) |
| 5 | Server not found |
| 7 | Control plane unreachable: DNS, connection refused, or timeout (CLI 0.55.0+; earlier report 1) |
Related
Section titled “Related”reoclo deployments: view deployments running on a serverreoclo logs tail: tail logs from a server