dse remove-node
Removes a node that is configured for the DSE Multi-Instance host machine.
The user running the command must have permissions for writing to the directories that DSE uses, or use sudo. |
Restriction: DSE Multi-Instance commands are supported only on package installations.
Synopsis
dse remove-node nodeId [--yes]
Syntax conventions
Syntax conventions | Description |
---|---|
UPPERCASE |
Literal keyword. |
Lowercase |
Not literal. |
|
Variable value. Replace with a valid option or user-defined value. |
|
Optional.
Square brackets ( |
|
Group.
Parentheses ( |
|
Or.
A vertical bar ( |
|
Repeatable.
An ellipsis ( |
|
Single quotation ( |
|
Map collection.
Braces ( |
|
Set, list, map, or tuple.
Angle brackets ( |
|
End CQL statement.
A semicolon ( |
|
Separate the command line options from the command arguments with two hyphens ( |
|
Search CQL only: Single quotation marks ( |
|
Search CQL only: Identify the entity and literal value to overwrite the XML element in the schema and solrconfig files. |
nodeId
-
Required. Because the node name is always prepended with
dse-
theremove-node
command works if you specifydse-nodeID
or justnodeID
. --yes
-
Confirms node deletion. Files are deleted and are not recoverable. When not specified, you are prompted to confirm node deletion.
Examples
Remove the node payrollnode
dse remove-node payrollnode
or the equivalent command with the prepended dse-
:
dse remove-node dse-payrollnode
The prompt for node deletion is displayed:
##############################
#
# WARNING
# You're trying to remove node dse-payrollnode
# This means that all configuration files for dse-payrollnode will be deleted
#
##############################
Do you wish to continue?
1) Yes
2) No
#?
Remove the node dse-payrollnode
with explicit confirmation
dse remove-node dse-payrollnode --yes