Hi all,
I'm trying to achieve the following set-up:
1) Cluster of 2 eJabberd Nodes
2) Serving the same domain "my.domain"
3) With HTTP-Bind enabled
4) Proxyied through Apache HTTP Web Server for proxying external connections from port 80 to port 5280 for HTTP-Bind.
4) Using JWChat Client as frontend.
5) Windows 2003 Server OS
I've already successfully set-up the cluster of nodes. Managed to see both nodes up in the web admin.
My question is: how do I configure the Apache Proxy Server. For example:
My first eJabberd server node is IP 192.168.1.20 and my second node is 192.168.1.21.
Is the following configuration correct, assuming I want to use Apache Load-Balancing?
<Proxy balancer://cluster>
BalancerMember
BalancerMember
</Proxy>
ProxyPass /http-bind/ balancer://cluster
I'm confused because although I've set up the cluster, I don't know how to connect to it! Do I need to implement some load-balancing mechanism of my own (e.g. with Apache Load-Balancing above, or using a hardware load-balancing), or is there something in ejabberd that I'm missing here.
Thamks in advance for any advice on this!