| type=page |
| status=published |
| title=enable-http-lb-application |
| next=enable-http-lb-server.html |
| prev=enable.html |
| ~~~~~~ |
| |
| = enable-http-lb-application |
| |
| [[enable-http-lb-application-1]][[GSRFM00126]][[enable-http-lb-application]] |
| |
| == enable-http-lb-application |
| |
| Enables a previously-disabled application managed by a load balancer |
| |
| [[sthref1103]] |
| |
| === Synopsis |
| |
| [source] |
| ---- |
| asadmin [asadmin-options] enable-http-lb-application [--help] |
| --name application_name target |
| ---- |
| |
| [[sthref1104]] |
| |
| === Description |
| |
| The `enable-http-lb-application` subcommand enables load balancing for |
| applications deployed on a standalone instance or cluster. You can |
| enable load balancing for an application on all instances in a cluster, |
| or on a single standalone server instance. By default, load balancing is |
| enabled for applications. |
| |
| [NOTE] |
| ==== |
| This subcommand is only applicable to {productName}. This |
| subcommand is not applicable to {productName}. |
| ==== |
| |
| [[sthref1105]] |
| |
| === Options |
| |
| asadmin-options:: |
| Options for the `asadmin` utility. For information about these |
| options, see the link:asadmin.html#asadmin-1m[`asadmin`(1M)] help page. |
| `--help`:: |
| `-?`:: |
| Displays the help text for the subcommand. |
| `--name`:: |
| The name of the application to be enabled. |
| |
| [[sthref1106]] |
| |
| === Operands |
| |
| target:: |
| This operand specifies on which server instance or cluster to enable |
| the application. Valid values are: |
| + |
| * cluster_name- The name of a target cluster. |
| * instance_name- The name of a target server instance. |
| |
| [[sthref1107]] |
| |
| === Examples |
| |
| [[GSRFM601]][[sthref1108]] |
| |
| ==== Example 1 Enabling Load Balancing for an Application |
| |
| This example enables an application named `webapps-simple` to use load |
| balancing on a cluster named `mycluster`. |
| |
| [source] |
| ---- |
| asadmin> enable-http-lb-application --name webapps-simple mycluster |
| |
| Command enable-http-lb-application executed successfully. |
| ---- |
| |
| [[sthref1109]] |
| |
| === Exit Status |
| |
| 0:: |
| subcommand executed successfully |
| 1:: |
| error in executing the subcommand |
| |
| [[sthref1110]] |
| |
| === See Also |
| |
| link:asadmin.html#asadmin-1m[`asadmin`(1M)] |
| |
| link:disable-http-lb-application.html#disable-http-lb-application-1[`disable-http-lb-application`(1)] |
| |
| |