node remove
Removes one or more server nodes from the system. Permissions required:
fc
or a
.
After issuing the node
remove
command, wait several minutes to ensure that the node
has been properly and completely removed.
Syntax
- CLI
-
maprcli node remove [ -filter "<filter>" ] [ -hostids <host IDs> ] [ -nodes <node names> ] [ -service <fileserver or nfsserver> ] [ -zkconnect <ZooKeeper Connect String> ]
- REST
-
http[s]://<host>:<port>/rest/node/remove?<parameters>
Parameters
Parameter |
Description |
---|---|
filter |
A filter specifying nodes on which to start or stop services. See Filters for more information. |
hostids |
A list of host IDs, separated by spaces. |
nodes |
A list of node names, separated by spaces. |
service | Service to be removed. Either fileserver or nfsserver. |
zkconnect |
ZooKeeper Connect String. Example:
'host:port,host:port,host:port,...'. To obtain zookeeper connection
strings, use the |
Examples
- CLI
- maprcli node remove -nodes 10.10.82.22
- REST
- https://10.10.82.23:8443/rest/node/remove?nodes=10.10.82.22