Load balancing 编辑
To configure load balancing, you must first create services. Then, you create virtual servers and bind the services to the virtual servers. By default, the Citrix ADC appliance binds a monitor to each service. After binding the services, verify your configuration by making sure that all of the settings are correct.
Note: After you deploy the configuration, you can display statistics that show how the entities in the configuration are performing. Use the statistical utility or the stat lb vserver <vserverName> command.
Optionally, you can assign weights to a service. The load balancing method then uses the assigned weight to select a service. For getting started, however, you can limit optional tasks to configuring some basic persistence settings, for sessions that must maintain a connection to a particular server, and some basic configuration-protection settings.
The following flow chart illustrates the sequence of the configuration tasks.
Figure 1. Sequence of Tasks to Configure Load Balancing
Enable load balancing
Before configuring load balancing, make sure that the load balancing feature is enabled.
To enable load balancing by using the CLI
At the command prompt, type the following commands to enable load balancing and verify that it is enabled:
- enable feature lb
show feature
Example
``` pre codeblock
enable feature lb Done show feature
Feature Acronym Status ------- ------- ------ 1) Web Logging WL OFF 2) Surge Protection SP OFF 3) Load Balancing LB ON . . . 9) SSL Offloading SSL ON . . . Done <!--NeedCopy--> ```
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论