175/461

## list-http-lb-configs

lists load balancer configurations

Synopsis

    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.

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.

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 GlassFish 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

delete-http-lb-config(1), create-http-lb-config(1)

asadmin(1M)