org.glassfish.loadbalancer.admin.cli.enable-http-lb-application.1 Maven / Gradle / Ivy
enable-http-lb-application(1) asadmin Utility Subcommands enable-http-lb-application(1)
NAME
enable-http-lb-application - enables a previously-disabled application
managed by a load balancer
SYNOPSIS
enable-http-lb-application [--help] --name application_name target
DESCRIPTION
The enable-http-lb-application subcommand enables load balancing for
applications deployed on a standalone instance or cluster. You can
enable load balancing for an application on all instances in a cluster,
or on a single standalone server instance. By default, load balancing
is enabled for applications.
Note
+----------------------------------------+
| This subcommand is only |
| applicable to Oracle |
| GlassFish Server. This |
| subcommand is not applicable |
| to GlassFish Server Open |
| Source Edition. |
+----------------------------------------+
OPTIONS
--help, -?
Displays the help text for the subcommand.
--name
The name of the application to be enabled.
OPERANDS
target
This operand specifies on which server instance or cluster to
enable the application. Valid values are:
* cluster_name- The name of a target cluster.
* instance_name- The name of a target server instance.
EXAMPLES
Example 1, Enabling Load Balancing for an Application
This example enables an application named webapps-simple to use
load balancing on a cluster named mycluster.
asadmin> enable-http-lb-application --name webapps-simple mycluster
Command enable-http-lb-application executed successfully.
EXIT STATUS
0
subcommand executed successfully
1
error in executing the subcommand
SEE ALSO
disable-http-lb-application(1)
asadmin(1M)
Jakarta EE 10 09 Aug 2017 enable-http-lb-application(1)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy