list-http-lb-configs

list-http-lb-configs

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.

This subcommand is only applicable to Eclipse GlassFish. This subcommand is not applicable to Eclipse GlassFish.

Options

asadmin-options

Options for the asadmin utility. For information about these options, see the asadmin(1M) 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 1   Listing Load Balancer Configurations Without a Target

This example lists all load balancer configurations defined for all Eclipse GlassFish 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