Oracle GlassFish Server Reference Manual Release 3.1.2 Part Number E24938-01 |
|
|
View PDF |
enables a previously disabled sever or cluster managed by a load balancer
enable-http-lb-server [--help] target
The enable-http-lb-server
subcommand enables a standalone server instance or cluster for load balancing. By default, load balancing is enabled for instances and clusters.
Note:
This subcommand is only applicable to Oracle GlassFish Server. This subcommand is not applicable to GlassFish Server Open Source Edition.
--help
-?
Displays the help text for the subcommand.
This operand specifies which server instances and clusters to enable. Valid values are:
cluster_name- The name of a target cluster.
instance_name- The name of a target server instance.
This example enables load balancing for a cluster named mycluster
.
asadmin> enable-http-lb-server mycluster
Command enable-http-lb-server executed successfully.
subcommand executed successfully
error in executing the subcommand