1 Reply Latest reply on May 27, 2008 12:36 PM by brian.stansberry

    jboss high availability

    damianco

      Hi All

      This is more of question about clustering that an issue. At present we have several seperate jboss clusters setup(1 Primary, 3 Secondary) with apache 2.2.4 and mod_jk. All is working well but we want to eliminate the point of failure with our one apache webserver and provide high availability for all clusters by creating a couple of apache webservers connecting with mod_jk to our jboss clusters. Is it possible to use mod_jk to connect to multiple domains in jboss? As in have several workers for each domain?

      thanks
      d.

        • 1. Re: jboss high availability
          brian.stansberry

          Yes, mod_jk can function as a load balancer; see http://wiki.jboss.org/wiki/en/UsingMod_jk1.2WithJBoss

          You can use more than one apache/mod_jk box, with each sending requests to the jboss servers. Only downside to this is when a mod_jk instance makes its load balancing decisions it only knows about the request it has forwarded to jboss; doesn't know about requests sent by the other mod_jk instances. So it's calculation could be a bit off. Probably not a big deal in most cases. Obvious upside is as you said: apache/mo_jk is no longer a single point of failure.