- applies load balancer configuration changes to the load balancer
apply-http-lb-changes [--help] lb-name
Use the apply-http-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.
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.
Displays the help text for the subcommand.
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.
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.
subcommand executed successfully
error in executing the subcommand