Sun Microsystems Logo
Products and Services
 
Support and Training
 
 

A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  
 
User Commandsdelete-node-agent(1)


NAME

 delete-node-agent - deletes the node agent and its associated directory structure

SYNOPSIS

 delete-node-agent [terse=false] [echo=false] [interactive=true] [agentdir nodeagent_path] nodeagent_name

DESCRIPTION

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, delete-node-agent-config must be executed to remove the named node agent from domain-xml.

OPTIONS

tterse

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.

eecho

Setting to true will echo the command line statement on to the standard output. Default is false.

IInteractive

If set to true (default), only the required options are prompted.

agentdir

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, the node agent is deleted from the default install_dir/nodeagents directory.

OPERANDS

nodeagent_name

This is the name of the node agent to be deleted.

EXAMPLES

Example 1. Using delete-node-agent

This is a basic example of how to use this command.

% asadmin>delete-node-agent nodeagent1
Node Agent nodeagent1 deleted.

Where: % is the command prompt, and 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 domian.xml. Use the following comand to complete the removal process:

% asadmin>delete-node-agent-config --user admin1 --passwordfile filename nodeagent1

EXIT STATUS

0

command executed successfully

1

error in executing the command

SEE ALSO

create-node-agent(1), list-node-agents(1), start-node-agent(1), stop-node-agent(1)


J2EE SDK 1.4Go To TopLast Changed 31 Jan 2005