Skip to content
TimescaleDB Enterprise
Esc
↑↓navigate↵open⌘Jpreview

Change the DCS network

Changes how the members of a standalone DCS cluster reach the console: through a relay zone, or directly. The members change one at a time, the etcd leader last, each only when every member is healthy and each service of the cluster has a Patroni leader. Each member restarts its mesh agent; etcd does not restart. A member that does not reach the console on the new path goes back to its old path, and the change stops. Run the change again to finish it, or with the old path to go back. The workflow is change_network; the status of the DCS cluster does not change. Rejected with 409 when a service of the DCS cluster is in another network than the target, or a check of preflight-dcs-cluster-network fails.

POST/api/v1/dcs-clusters/{id}/network
Authorization
tse_sessionAPI key · cookierequired
Path parameters
idstringrequired
Request body
requiredapplication/json
console_addressstring

For servers that reach the console directly: the IPv4 address of the console, for servers that cannot resolve the host name of the console by DNS. Not together with relay_zone_id.

relay_zone_idstring

The relay zone through which the servers reach the console. Empty: the servers reach the console directly.

Responses
202

Accepted

workflow_idstringrequired
default

Error

codestring

Stable code of the refusal, when the route has codes

detailsstring[]

Additional detail, e.g. per-field validation failures

errorstringrequired

Human-readable error message

Request
curl -X POST 'https://console.example.com/api/v1/dcs-clusters/string/network' \
  -H 'Cookie: tse_session=YOUR_API_KEY' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "console_address": "string",
  "relay_zone_id": "string"
}'
Response
{
  "workflow_id": "string"
}