POST Deployment Join
Joins a newly installed Operations for Logs server to an existing cluster. When
setting up a cluster with multiple servers, call the
POST /api/v2/deployment/new
API on the first server. Then call this
API on the other servers to get them to join the cluster.
The configuration can take several minutes to complete. Use the
POST /api/v2/deployment/waitUntilStarted
API to track the status of
join deployment.
{
"masterFQDN": "li-01.example.com"
}
Successfully submitted a request to join the cluster.
{
"masterAddress": "10.0.0.123",
"masterUiPort": 80,
"workerAddress": "10.0.0.124",
"workerPort": 16520,
"workerToken": "0ae94cb9-550a-4c01-85b9-3b7095e92321"
}
The request failed because the request body either did not contain valid JSON, or did not match the required JSON format.
{
"errorMessage": "Invalid request body.",
"errorCode": "JSON_FORMAT_ERROR",
"errorDetails": {
"reason": "..."
}
}
A message describing the error.
A code representing the type of error.
Dynamic error details, where the field name can vary depending on the request field and error code.
An error occurred when processing request
{
"errorMessage": "Error joining deployment",
"errorCode": "DEPLOYMENT_ERROR",
"errorDetails": {
"reason": "...",
"errorCode": "..."
}
}
A message describing the error.
A code representing the type of error.
Dynamic error details, where the field name can vary depending on the request field and error code.
This interface is not available after the Operations for Logs server has been configured.
{
"errorMessage": "This call isn't allowed after the Operations for Logs server is bootstrapped"
}
A message describing the error.
A code representing the type of error.
Dynamic error details, where the field name can vary depending on the request field and error code.
SSL connection failed. Primary node certificate is not trusted. Use \“acceptCert\“:true in request to automatically accept not trusted certificate.
{
"errorMessage": "Error certificate",
"errorCode": "SSL_CERTIFICATE_ERROR",
"errorDetails": {
"reason": "...",
"errorCode": "..."
}
}
A message describing the error.
A code representing the type of error.
Dynamic error details, where the field name can vary depending on the request field and error code.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/api/v2/deployment/join