node PUT
This page is part of MariaDB's Documentation.
The parent of this page is: CMAPI for MariaDB Enterprise ColumnStore
Topics on this page:
Overview
Adds a ColumnStore node
See CMAPI for detail on REST API endpoint, required headers, and other available actions.
DETAILS
Upon successful node
PUT call CMAPI configures MariaDB Enterprise ColumnStore to add the new node and a dbroot for that node.
Call made via HTTPS PUT
, with authentication via shared secret using the x-api-key
header.
JSON data required for this call:
Key | Value |
---|---|
| Maximum time in seconds to wait for completion of |
| IP address of the node to add |
EXAMPLES
Executing cURL Manually
CMAPI calls can be made from the command-line using cURL.
Replace the CMAPI_
$ curl -k -s -X PUT https://mcs1:8640/cmapi/0.4.0/cluster/node \
--header 'Content-Type:application/json' \
--header 'x-api-key:<CMAPI_API_KEY>' \
--data '{"timeout": 20, "node": "192.0.2.2"}' \
| jq .
In this example, jq
produces human-readable output from the returned JSON response:
{
"timestamp": "2020-10-28 00:42:42.796050",
"node_id": "192.0.2.2"
}