enable-http-lb-server

This subcommand has been retained from Oracle GlassFish’s original integration with external load balancers, but it has no proper integration functionality in Payara Server. Hence, it is not intended to be used in any way.
The documentation in this page may not be accurate.

Enables a previously disabled sever or cluster managed by a load balancer.

Synopsis

asadmin [asadmin-options] enable-http-lb-server [--help]
target

Description

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.

Options

asadmin-options

Options for the asadmin utility. For information about these options, see the asadmin help page.

--help
-?

Displays the help text for the subcommand.

Operands

target

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.

Examples

Example 1 Enabling a Cluster for Load Balancing

This example enables load balancing for a cluster named mycluster.

asadmin> enable-http-lb-server mycluster

Command enable-http-lb-server executed successfully.

Exit Status

0

subcommand executed successfully

1

error in executing the subcommand

See Also