Load balancing 编辑
Load balancing
Session Recording supports load balancing across Session Recording Servers. To use this feature, configure load balancing on Citrix ADC so that Session Recording Servers can achieve load balancing and automatic failover.
An enhancement has been achieved that some load balancing configurations can be synchronized among all Session Recording Servers.
Note:
This feature requires Version 7.16 or later of the Session Recording Server and Session Recording Agent.
Changes to Session Recording in support of load balancing:
- All Session Recording Servers share one folder to store recording files.
- All Session Recording Servers share one Session Recording Database.
- (Recommended) Install only one Session Recording Policy Console and all Session Recording Servers share this Console.
Configure load balancing
To use this feature, perform the following steps on Citrix ADC and on the various Session Recording components:
Configure load balancing (Citrix ADC part)
Configure load balancing servers
Add the Session Recording Servers to the load balancing servers in Citrix ADC.
Configure load balancing services
- Add a load balancing service for each needed protocol on each Session Recording Server.
- (Recommended) Select the relevant protocol monitor to bind each service monitor.
Configure load balancing virtual servers
- Create virtual servers with the same Citrix ADC VIP address based on the needed protocols and bind the virtual servers to the relevant load balancing services.
- Configure persistence on each virtual server.
- (Recommended) Choose LEASTBANDWITH or LEASTPACKETS as the load balancing method rather than the default method (LEASTCONNECTION).
- Create a certificate to make the HTTPS virtual server UP.
Configure load balancing (Session Recording part)
On each server where you installed the Session Recording Server, do the following
- (Recommended) Type the same Session Recording Database name during the Session Recording Server installation.
- If you choose the Administrator Logging feature, Citrix recommends that you type the same Administrator Logging Database name when you install each Session Recording Server.
- After sharing the Read/Write permission of the file storage folder with all Session Recording Server machine accounts, change to use the file storage folder as the shared folder in Session Recording Server Properties. For more information, see Specify where recordings are restored.
- Add a value to the Session Recording Server registry key at HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\SmartAuditor\Server.
Value name: EnableLB
Value data: 1 (DWORD, meaning enable) If you choose the HTTP or the HTTPS protocol for the Session Recording Storage Manager message queue, create a host record for the Citrix ADC VIP address, add redirections in C:\Windows\System32\msmq\Mapping\sample_map, and restart the Message Queuing service.
The redirection is similar to:
<redirections xmlns="msmq-queue-redirections.xml"> <redirection> <from>http://<ADCHost>*/msmq/private$/CitrixSmAudData</from> <to>http://<LocalFqdn>/msmq/private$/CitrixSmAudData</to> </redirection> <redirection> <from>https://<ADCHost>*/msmq/private$/CitrixSmAudData</from> <to>https://<LocalFqdn>/msmq/private$/CitrixSmAudData</to> </redirection> </redirections> <!--NeedCopy-->
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论