【发布时间】:2016-11-13 15:58:28
【问题描述】:
我用 2 个 dgraph 的 Apache 负载平衡配置了 endeca 集群。两个 dgraph 都在不同的机器上运行...用于负载平衡的 Apache 端口 5555...我有两个应用程序服务器...我收到了 endeca 响应仅来自一个 dgraph 无法从另一个 dgraph 获得响应并且它没有提供任何记录.... 5555 端口必须在哪台机器上运行???它应该同时运行 dgraph 机器或 web 服务器机器????你们能不能让我得到两个 dgraph 的回复……我需要尽快完成它……
提前致谢,
谢谢...
DgraphA1 - running in machine A
DgraphB1 - running in machine B (ITL Host)
App server1 pointing to DgraphA1 and Appserver2 pointing to DgraphB1.
Below things are configured in apache for endeca load balancing.I configured the listen port 5555 in Machine A apache..
For App servers, apache are configured in Machine A httpd.conf file.
NameVirtualHost *:5555
<VirtualHost *:5555>
ServerName MachineA
ProxyPass / balancer://dgraphs/
ProxyPassReverse / balancer://dgraphs/
<Proxy balancer://dgraphs>
BalancerMember http://MachineA:15000 loadfactor=1 retry=0
BalancerMember http://MachineB:15000 loadfactor=1 retry=0
</Proxy>
</VirtualHost>
<Location /balancer-manager>
SetHandler balancer-manager
</Location>
【问题讨论】:
-
您可以将您的 Apache 配置添加到帖子中吗?
-
@radimpe 谢谢你添加了 apache 配置
标签: endeca