4.5.3 Deleting nodes
To delete a node, execute the delete-node-config subcommand of the asadmin utility command.
Prerequisites
-
Installation of Application Server is complete.
-
The domain administration server (DAS) is running.
-
Application Server has been deleted from the host corresponding to the node.
Intended users
-
System engineers
Procedure
To display a list of nodes, run the list-nodes subcommand of the asadmin utility command.
asadmin list-nodes
- Important note
-
To display a list of nodes other than the nodes in the default domain, specify Admin_port in the --port option of the asadmin utility command, and then run the delete-node-config subcommand.
When this command is run, the result is displayed as follows:
node_name CONFIG IP_address_or_host_name node_name CONFIG IP_address_or_host_name The command list-nodes has been executed successfully.
To delete the node, run the delete-node-config subcommand of the asadmin utility command.
asadmin delete-node-config node_name
- Important note
-
-
To delete nodes in any domain other than the default domain, specify Admin_port in the --port option of the asadmin utility command and then run the delete-node-config subcommand.
-
If another process (such as Windows Explorer) is using a file or directory below the node directory of the node to be deleted, deletion of the node might fail. Before deleting the node, confirm that other running programs are not using any files or directories below the node directory.
-
When this command is run, the result is displayed as follows:
The command delete-node-config has been executed successfully.