2.5.5 list-nodes
Lists all Java EE Server nodes in a domain.
Synopsis
asadmin [asadmin-options] list-nodes [--help] [--long={false|true}]
Storage location
Application Server installation directory/javaee/glassfish/bin
Function
The list-nodes subcommand of asadmin lists all Java EE Server nodes in a domain.
By default, the command displays the following information for each node that is listed:
-
The name of the node.
-
The type of the node, which is one of the following types:
CONFIG
The node does not support remote communication.
SSH
The node supports communication over secure shell (SSH).
-
The name of the host that the node represents.
This subcommand is supported in remote mode only.
Precondition
Domain Administration Server (DAS) is running.
Arguments
- --help | -?
-
Displays the help text for the subcommand.
- --long={false|true} | -l={false|true}
-
Specifies whether the nodes are listed in long format.
Type: Boolean
The following values can be specified:
-
true
The nodes are listed in long format.
-
false
The nodes are listed in short format. This is the default value.
Default value: false
-
Examples
The following example lists Java EE Server nodes in long format.
asadmin list-nodes --long=true
Exit Status
Exit Status |
Explanation |
---|---|
0 |
subcommand executed successfully. |
1 |
error in executing the subcommand. |