1 Reply Latest reply on May 25, 2017 1:25 PM by Paul Ferraro

    Wildfly 10 Domain Mode and Loadbalncer with undertow

    Vishnu Ghule Newbie

      Hi,

       

      I have followed Developer Interview (#DI 11) - Stuart Douglas (@stuartwdouglas) about WildFly9 and Undertow - YouTube  Stuart Douglas Video and was able to set up wildfly as a load balancer using undertow and mod cluster

       

      But this works well when all the backend servers on same host (IP).

       

      I am trying something like

       

      Host 1 - load balancer which says Undertow starts mod_cluster proxy advertisements on /224.0.0.251:23364 with frequency 10000 ms

       

      Host 2 - backend1 which says [org.jboss.modcluster] (ServerService Thread Pool -- 58) MODCLUSTER000032: Listening to proxy advertisements on /224.0.0.251:23364

       

      Host 3 - backend2 which says [org.jboss.modcluster] (ServerService Thread Pool -- 58) MODCLUSTER000032: Listening to proxy advertisements on /224.0.0.251:23364

       

       

      This setting works well when all of them are on same host . Please guide me if its possible to user undertow modcluster as loadbalancer when all of the servers on different hosts