Skip Headers
Oracle GlassFish Server Reference Manual
Release 3.1.2

Part Number E24938-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

apply-http-lb-changes

applies load balancer configuration changes to the load balancer

Synopsis

apply-http-lb-changes [--help]
 lb-name

Description

Use the applyhttp-lb-changes subcommand to apply the changes in the load balancer configuration to the physical load balancer. The load balancer must already exist. To create a physical load balancer, use the create-http-lb subcommand.

This subcommand is only applicable to Oracle GlassFish Server. This subcommand is not applicable to GlassFish Server Open Source Edition.

Context

The Load Balancer distributes the workload among multiple Oracle GlassFish Server instances , increasing the overall throughput of the system. The Load Balancer also enables requests to failover from one server instance to another. For HTTP session information to persist, configure HTTP session persistence.

Note:

The Load Balancer Plugin is only available with Oracle GlassFish Server, and is not available with GlassFish Server Open Source Edition. For GlassFish Server Open Source Edition, it is possible to use the mod_jk module to configure load balancing on the Apache HTTP server.

For more information about configuring load balancing with GlassFish Server, refer to the online help in the GlassFish Server Administration Console.

Options

--help
-?

Displays the help text for the subcommand.

Operands

lb-name

The name of the load balancer to which changes are applied. The load balancer must already exist. You can create it with the create-http-lb subcommand.

Examples

Example 1   Using the apply-http-lb-changes subcommand

This example applies configuration changes to a load balancer named mylb.

asadmin> apply-http-lb-changes mylb
Command apply-http-lb-changes executed successfully.

Exit Status

0

subcommand executed successfully

1

error in executing the subcommand

See Also

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

asadmin(1M)