add_node

POST http://localhost:9925

Method for registering a node for HarperDB Clustering. Each node must be aware of all other nodes. This is a HarperDB Enterprise version only feature

See this article for more info

  • operation (required) - must always be 'addnode'
  • name (required) - The NODENAME of the remote node. Must match exactly.
  • port (required) - The CLUSTERING_PORT for the remote node. Not to be confused with HTTP/S PORTS.
  • host (required) - The URI for the remote node.

Request Body

{"operation"=>"add_node", "name"=>"node2", "port"=>"9925", "host"=>"192.168.1.2"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring