2.5.4 delete-node-ssh
Deletes a node that is enabled for communication over SSH.
Synopsis
asadmin [asadmin-options] delete-node-ssh [--help] node-name
Storage location
Application Server installation directory/javaee/glassfish/bin
Function
The delete-node-ssh subcommand deletes a node that is enabled for communication over secure shell (SSH) from the domain. This subcommand does not require SSH to be configured.
This subcommand can delete only a node that is enabled for communication over SSH.
No server instances must reside on the node that is being deleted. Otherwise, the subcommand fails. Before running this subcommand, delete any instances that reside on the node.
This subcommand is supported in remote mode only.
Precondition
Domain Administration Server (DAS) is running.
Arguments
- --help | -?
-
Displays the help text for the subcommand.
- node-name
-
Specifies the name of the node.
Type: String
The following values can be specified:
-
Name of the node
Default value: N/A
-
Examples
The following example deletes the node eg1, which is enabled for communication over SSH.
asadmin delete-node-ssh eg1
Exit Status
Exit Status |
Explanation |
---|---|
0 |
command executed successfully. |
1 |
error in executing the command. |