2.5.3 delete-node-config
Deletes a node that is not enabled for remote communication.
Synopsis
asadmin [asadmin-options] delete-node-config [--help] node-name
Storage location
Application Server installation directory/javaee/glassfish/bin
Function
The delete-node-config subcommand deletes a node that is not enabled for remote communication from the domain.
This subcommand does not require the secure shell (SSH) to be configured.
This subcommand can delete only a node that is not enabled for remote communication. 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.
The node must not be enabled for communication over SSH. Otherwise, an error occurs.
Type: String
The following values can be specified:
-
Name of the node
Default value: N/A
-
Examples
The following example deletes the node sj03, which is not enabled for remote communication.
asadmin delete-node-config sj03
Exit Status
Exit Status |
Explanation |
---|---|
0 |
command executed successfully. |
1 |
error in executing the command. |