Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Reference Manual

## delete-node-agent-config(1)

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | OPERANDS | EXAMPLES | EXIT STATUS | SEE ALSO

#### NAME

delete-node-agent-config– removes a node agent from a domain

#### SYNOPSIS

`delete-node-agent-config` ––user admin_name ––passwordfile filename [––host localhost] [––port port_number] [––secure=false] [––terse=false] [––echo=false] [––interactive=true] nodeagent_name

#### DESCRIPTION

This command removes the specified node agent from the domain, at which point the node agent directory structure can also be removed (using the delete-node-agent command).

Important: The specified node agent must have no server instances running, This means all the agent's instances must be deleted (using delete-instance) before executing this command.

#### OPTIONS

`–u` `––user`

  The authorized domain application server administrative username.

`–w` `––password`

  The `––password` option is deprecated. Use `––passwordfile` instead.

`–– passwordfile`

  The name of the file containing the domain application server password. The passwordfile should contain either of the following entries: AS_ADMIN_PASSWORD=password or AS_ADMIN_MAPPEDPASSWORD=password. If this option is not called directly, you will be prompted for it before the requested action is completed.

`–H` `––host`

  The machine name where the domain application server is running.

`–p` `––port`

  The port number of the domain application server listening for administration requests.

`–s` `––secure`

  If set to true, this command uses SSL/TLS to communicate with the domain application server.

`–t` `––terse`

  Indicates that any output data must be very concise, typically avoiding human-friendly sentences and favoring well-formatted data for consumption by a script. The default is false.

`–e` `––echo`

  Setting this option to true will echo the command line statement on the standard output. The default is false.

`–I` `––interactive`

  If this option is set to true (default), only the required password options are prompted.

#### OPERANDS

nodeagent_name

  The name of the node must be unique on the machine. Typically, the nodeagent_name is the host name of the machine where the node agent will reside.

#### EXAMPLES

##### Example 1 Using delete-node-agent-config

This is a basic example of how the command is used.

    asadmin> delete-node-agent-config --user admin1 --passwordfile filename nodeagent1
    Command delete-node-agent-config executed successfully.

#### EXIT STATUS

0

  command executed successfully

1

  error in executing the command

#### SEE ALSO

create-node-agent-config(1);delete-instance(1)

J2EE SDK 1.4 Last Revised 31 Jan 2005

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | OPERANDS | EXAMPLES | EXIT STATUS | SEE ALSO

- © 2010, Oracle Corporation and/or its affiliates