To delete a node, use the endeca-cmd delete-node node_hostname command, or the deleteNode operation of the Cluster Web Service.
To verify whether the Endeca Server node is hosting any Dgraph nodes, use the endeca-cmd get-node-health command, or the getNodeHealth request of the Cluster Web Service.
To verify the number of Cluster Coordinator services running in your cluster, use the endeca-cmd get-cluster-health command, or the getClusterHealth request of the Cluster Web Service.
To delete a node in the Endeca Server cluster:
endeca-cmd delete-node my_node
where my_node is the host name of the node you want to delete. The equivalent web service request looks similar to the following example:
<ns1:deleteNode xmlns:ns1="http://www.endeca.com/endeca-server/cluster/1/0"> <ns1:hostname>my_node</ns1:hostname> </ns1:deleteNode>
If the node is not hosting any data domains, it is deleted from the Endeca Server cluster. Additionally, if the node is hosting data domains and the Endeca Server cluster finds other nodes to which the data domains can be migrated, it moves the data domain nodes (Dgraphs) to other Endeca Server nodes and deletes the data domain.
Deleting a node means that the Endeca Server cluster removes this node's information and will no longer route requests to this node, for any data domain.