Oracle GlassFish Server 3.1 Section 1: asadmin Utility Subcommands
create-connector-connection-pool(1)
create-connector-security-map(1)
create-connector-work-security-map(1)
create-jdbc-connection-pool(1)
create-message-security-provider(1)
create-resource-adapter-config(1)
delete-connector-connection-pool(1)
delete-connector-security-map(1)
delete-connector-work-security-map(1)
delete-jdbc-connection-pool(1)
delete-message-security-provider(1)
delete-resource-adapter-config(1)
disable-http-lb-application(1)
disable-secure-admin-internal-user(1)
disable-secure-admin-principal(1)
enable-secure-admin-internal-user(1)
enable-secure-admin-principal(1)
list-connector-connection-pools(1)
list-connector-security-maps(1)
list-connector-work-security-maps(1)
list-message-security-providers(1)
list-resource-adapter-configs(1)
list-secure-admin-internal-users(1)
list-secure-admin-principals(1)
list-supported-cipher-suites(1)
unfreeze-transaction-service(1)
update-admin-server-coordinates(1)
update-admin-server-local-coordinates(1)
update-connector-security-map(1)
update-connector-work-security-map(1)
Oracle GlassFish Server 3.1 Section 1M: Utility Commands
Oracle GlassFish Server 3.1 Section 5ASC: GlassFish Server Concepts
- lists existing clusters in a domain
list-clusters [--help] [target]
The list-clusters subcommand lists existing clusters in a domain. The list can be filtered by cluster, instance, node, or configuration. For each cluster that is listed, the subcommand indicates whether the cluster is running.
This subcommand is supported in remote mode only.
Displays the help text for the subcommand.
Filters the list of clusters by specifying the target for which the clusters are to be listed. Valid values are as follows:
Lists all clusters in the domain (default).
Lists only the specified cluster.
Lists the cluster of which the specified instance is a member.
Lists the clusters that contain an instance that resides on the specified node. For example, if instance pmdi1 in cluster pmdc and instance ymli1 in cluster ymlc reside on node n1, pmdc and ymlc are listed.
Lists all clusters that contain instances whose configuration is defined by the named configuration.
Example 1 Listing All Clusters in a Domain
This example lists all clusters in the current domain.
asadmin> list-clusters pmdclust not running ymlclust not running Command list-clusters executed successfully.
Example 2 Displaying the Status of a Cluster
This example displays status of the cluster ymlclust, which is not running.
asadmin> list-clusters ymlclust ymlclust not running Command list-clusters executed successfully.
Example 3 Listing All Clusters That Are Associated With a Node
This example lists the clusters that contain an instance that resides on the node sj02.
asadmin> list-clusters sj02 ymlclust not running Command list-clusters executed successfully.
command executed successfully
error in executing the command
create-cluster(1), delete-cluster(1), start-cluster(1), stop-cluster(1)