This content has been machine translated dynamically.
Dieser Inhalt ist eine maschinelle Übersetzung, die dynamisch erstellt wurde. (Haftungsausschluss)
Cet article a été traduit automatiquement de manière dynamique. (Clause de non responsabilité)
Este artículo lo ha traducido una máquina de forma dinámica. (Aviso legal)
此内容已动态机器翻译。 放弃
このコンテンツは動的に機械翻訳されています。免責事項
This content has been machine translated dynamically.
This content has been machine translated dynamically.
This content has been machine translated dynamically.
This article has been machine translated.
Dieser Artikel wurde maschinell übersetzt. (Haftungsausschluss)
Ce article a été traduit automatiquement. (Clause de non responsabilité)
Este artículo ha sido traducido automáticamente. (Aviso legal)
この記事は機械翻訳されています.免責事項
이 기사는 기계 번역되었습니다.
Este artigo foi traduzido automaticamente.
这篇文章已经过机器翻译.放弃
Translation failed!
负载平衡 SYSLOG 服务器
Citrix ADC 设备将其 SYSLOG 事件和消息发送到所有已配置的外部日志服务器。这会导致存储冗余消息,并使系统管理员难以进行监视。为了解决此问题,Citrix ADC 设备提供负载平衡算法,这些算法可以在外部日志服务器之间对 SYSLOG 消息进行负载平衡,从而实现更好的维护和性能。支持的负载平衡算法包括 RoundRobin、LeastBandwidth、CustomLoad、LeastConnection、LeastPackets 和 AuditlogHash。
使用命令行界面对 SYSLOG 服务器进行负载平衡
在命令提示窗口中,键入:
-
添加服务并将服务类型指定为系统日志 TCP 或系统日志 GUDP。
add service <name>(<IP> | <serverName>) <serviceType (SYSLOGTCP | SYSLOGUDP)> <port>
-
添加负载平衡虚拟服务器,将服务类型指定为 SYSLOGTCP 或 SYSLOGUDP,并将负载平衡方法指定为 AUDITLOGHASH。
add lb vserver <name> <serviceType (SYSLOGTCP | SYSLOGUDP)> [-lbMethod <AUDITLOGHASH>]
-
将服务必应到负载平衡虚拟服务器。
Bind lb vserver <name> <serviceName>
-
添加 SYSLOG 操作并指定具有 SYSLOGUDP 或 SYSLOGDP 作为服务类型的负载平衡服务器名称。
add syslogaction <name> <serverIP> [-lbVserverName <string>] [-logLevel <logLevel>]
-
通过指定规则和操作添加 SYSLOG 策略。
add syslogpolicy <name> <rule> <action>
-
将 SYSLOG 策略绑定到全局系统,以便该策略生效。
bind system global <policyName>
使用 GUI 对 SYSLOG 服务器进行负载平衡
-
添加服务并将服务类型指定为系统日志 TCP 或系统日志 GUDP。
导航到流量管理>服务,单击添加,然后选择SYLOGTCP或SYLOGUDP作为协议。
-
添加负载平衡虚拟服务器,将服务类型指定为 SYSLOGTCP 或 SYSLOGTCP,并将负载平衡方法指定为 AUDITLOGHASH。
导航到流量管理 > 虚拟服务器,单击添加并选择 SYSLOGTCP 或 SYSLOGUDP 作为协议。
-
服务必应到负载平衡虚拟服务器到服务。
将服务必应到负载平衡虚拟服务器。
导航到流量管理 > 虚拟服务器,选择一个虚拟服务器,然后在负载平衡方法中选择 AUDITLOGHASH。
-
添加 SYSLOG 操作并指定具有 SYSLOGUDP 或 SYSLOGDP 作为服务类型的负载平衡服务器名称。
导航到系统>审核,单击服务器,然后通过在“服务器”中选择LB 虚拟服务器选项添加服务器。
-
通过指定规则和操作添加 SYSLOG 策略。
导航到系统>系统日志,单击策 略”并添加 SY日志策略。
-
将 SYSLOG 策略绑定到全局系统,以便该策略生效。
导航到系统”>“系统日志,选择一个 SYLOG 策略,然后单击操作”,然后单击全局绑定并将策略绑定到系统全局。
示例:
以下配置使用 AUDITLOGHASH 作为负载平衡方法指定外部日志服务器之间 SYSLOG 消息的负载平衡。AUDITLOGHASH 方法负载根据来自审核代理的输入哈希值平衡流量。代理是在 Citrix ADC 设备中生成审核日志的模块。例如,如果代理 LSN 希望根据客户端 IP 地址对审核日志进行负载平衡,LSN 模块将基于 clientIP 生成哈希值并将哈希值传递给审核日志模块。Auditlog 模块将具有相同哈希值的审核日志消息发送到外部系统日志服务器。
Citrix ADC 设备生成 SYSLOG 事件和消息,这些事件和消息在服务 service1、service2 和 service 3 之间进行负载平衡。
add service service1 192.0.2.10 SYSLOGUDP 514
add service service2 192.0.2.11 SYSLOGUDP 514
add service service3 192.0.2.11 SYSLOGUDP 514
add lb vserver lbvserver1 SYSLOGUDP -lbMethod AUDITLOGHASH
bind lb vserver lbvserver1 service1
bind lb vserver lbvserver1 service2
bind lb vserver lbvserver1 service3
add syslogaction sysaction1 -lbVserverName lbvserver1 -logLevel All
add syslogpolicy syspol1 ns_true sysaction1
bind system global syspol1
局限性:
- Citrix ADC 设备不支持外部负载平衡虚拟服务器负载平衡日志服务器之间的 SYSLOG 消息。
分享:
分享:
本文中包含的内容
This Preview product documentation is Citrix Confidential.
You agree to hold this documentation confidential pursuant to the terms of your Citrix Beta/Tech Preview Agreement.
The development, release and timing of any features or functionality described in the Preview documentation remains at our sole discretion and are subject to change without notice or consultation.
The documentation is for informational purposes only and is not a commitment, promise or legal obligation to deliver any material, code or functionality and should not be relied upon in making Citrix product purchase decisions.
If you do not agree, select Do Not Agree to exit.