
com.sun.enterprise.v3.admin.cluster.start-cluster.1 Maven / Gradle / Ivy
start-cluster(1) asadmin Utility Subcommands start-cluster(1)
NAME
start-cluster - starts a cluster
SYNOPSIS
start-cluster [--help]
[--debug={false|true}] [--autohadboverride={true|false}]
[--verbose={false|true}] cluster-name
DESCRIPTION
The start-cluster subcommand starts a cluster by starting all GlassFish
Server instances in the cluster that are not already running. This
subcommand requires the secure shell (SSH) to be configured on the host
where the domain administration server (DAS) is running and on all
hosts where instances in the cluster reside.
Note
+----------------------------------------+
| If all instances reside on |
| the same host as the DAS, |
| SSH is not required. You |
| might require to start a |
| cluster in which instances |
| reside on hosts where |
| SSH is not configured |
| that are remote from the |
| DAS. In this situation, run |
| the start-local-instance(1) |
| subcommand for each instance |
| from the host where the |
| instance resides. |
+----------------------------------------+
You may run this subcommand from any host that can contact the DAS.
This subcommand is supported in remote mode only.
OPTIONS
--help, -?
Displays the help text for the subcommand.
--debug
Specifies whether each instance in the cluster is started with Java Platform
Debugger Architecture (JPDA)
(https://docs.oracle.com/en/java/javase/17/docs/specs/jpda/jpda.html)
debugging enabled.
Possible values are as follows:
true
Each instance is started with JPDA debugging enabled and the
port number for JPDA debugging is displayed.
false
Each instance is started with JPDA debugging disabled (default).
--autohadboverride
Do not specify this option. This option is retained for
compatibility with earlier releases. If you specify this option, a
syntax error does not occur. Instead, the subcommand runs
successfully and displays a warning message that the option is
ignored.
--verbose
Specifies whether additional status information is displayed when
the cluster is started.
Valid values are as follows:
true
Displays the command to start each instance in the cluster and
whether the attempt to start each instance succeeded.
false
Displays no additional status information (default).
OPERANDS
cluster-name
The name of the cluster to start.
EXAMPLES
Example 1, Staring a Cluster
This example starts the cluster ymlcluster. Additional status
information is displayed when the cluster is started.
asadmin> start-cluster --verbose ymlcluster
start-instance yml-i-sr1-usca-02
start-instance yml-i-sr1-usca-01
The command start-instance executed successfully for:
yml-i-sr1-usca-02 yml-i-sr1-usca-01
Command start-cluster executed successfully.
EXIT STATUS
0
command executed successfully
1
error in executing the command
SEE ALSO
create-cluster(1), delete-cluster(1), list-clusters(1), setup-ssh(1),
start-local-instance(1), stop-cluster(1)
asadmin(1M)
Jakarta EE 10 8 Dec 2011 start-cluster(1)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy