stuartwdouglas / modcluster-example

Example of how to use modcluster load balancer in domain mode
15 stars 16 forks source link

Wildfly 10 not load balancing to other host #5

Open hfluz opened 8 years ago

hfluz commented 8 years ago

I followed this example, but I created the backend3 server in a slave host. The load balancer is not able to balance to the slave host.

I posted about this issue in stackoverflow and wildfly forum, but I had no luck so far.

GregoryOrciuch commented 8 years ago

Hi @hfluz, did you end up in any success ?

Karm commented 8 years ago

@GregoryOrciuch @hfluz Well, Radoslav's point is left without any reaction. In general, these are good checkpoints to go through:

One might switch the load balacner Wildfly into debug mode to see exactly the datagrams being send to the UDP multicast for the workers to see.

Anyway, let's take it to the JBoss forum, if you don't mind. I'll kindly ask you to review the addresses worker nodes bind to and report to the balancer. If your workers report e.g. ajp://127.0.0.1:8009, then obviously, balancer residing on a different machine cannot contact them. Last but not least,

Cheers -K-

hfluz commented 8 years ago

Hi @GregoryOrciuch, I wasn't able to make it work. I want to try again against JBoss EAP 7, but I haven't been having enough time lately. I'll consider @Karm points next time, but I'm 90% sure that I checked them last time I tried.