list-http-lb-configs

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.

Lists load balancer configurations.

Synopsis

asadmin [asadmin-options] list-http-lb-configs [--help]
[target]

Description

The list-http-lb-configs subcommand lists the load balancer configurations. List them all or list them by the cluster or server instance they reference.

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

Lists the load balancers by target. Valid values are:

  • cluster_name - The name of a target cluster.

  • instance_name - The name of a target server instance.

Examples

Example 1Listing Load Balancer Configurations Without a Target

This example lists all load balancer configurations defined for all Payara Server clusters and instances.

asadmin> list-http-lb-configs

mycluster-http-lb-config
serverinstlb
Command list-http-lb-configs executed successfully.

Example 2 Listing Load Balancer Configurations for a Specific Target

This example lists the load balancer configuration defined for a cluster named mycluster.

asadmin> list-http-lb-configs mycluster

mycluster-http-lb-config
Command list-http-lb-configs executed successfully.

Exit Status

0

subcommand executed successfully

1

error in executing the subcommand

See Also