delete-node-agent [--terse=false] [--echo=false] [--interactive=true] [--agentdir nodeagent_path] nodeagent_name
This command is available only in domains that are configured to support clusters, such as domains that are created with the cluster profile.
Use the delete-node-agent command to delete the named node agent and its directory structure. The node agent must be stopped and have no associated server instances. After successful execution of the command, run delete-node-agent-config to remove the named node agent from domain.xml.
Indicates that any output data must be very concise, typically avoiding human-friendly sentences and favoring well-formatted data for consumption by a script. Default is false.
Setting to true will echo the command line statement on to the standard output. Default is false.
If set to true (default), only the required options are prompted.
Like a Domain Administration Server (DAS), each node agent resides in a top level directory named agentdir/nodeagent_name. If specified, the path must be accessible in the filesystem. If not specified, defaults toinstall_dir/nodeagents directory.
asadmin> delete-node-agent nodeagent1 Node Agent nodeagent1 deleted.
Where: nodeagent1, residing in the default install_dir/nodeagents directory, is deleted together with its directory structure. Please note that at this point nodeagent1 references still exist in domain.xml. Use the delete-node-agent-config command to complete the removal process.