Skip to main content

how to test fault torelant ability

7 replies [Last post]
nijie8
Offline
Joined: 2005-06-09

i am fresh man in j2ee indeed.so can't understand clustering very well.

if i want to test fault torelant ability of mobicents,how can i do so? Is there anyone very clear about it?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
ivelin
Offline
Joined: 2003-07-13

This Wiki page descibes what we are working on to enable fault tolerance for Mobicents.
http://wiki.java.net/bin/view/Communications/MobicentsHADemo

Ivelin

nijie8
Offline
Joined: 2005-06-09

it seems good,but we need a good loadbalancer to do so

ivelin
Offline
Joined: 2003-07-13

Yes, we need a load balancing service. It is a good independent bit to take on. Interested?

It can be as simple as a JBoss MBean Service, that can be configured to bind to an UDP or TCP port and forward traffic. It should balance load between members of the JBoss cluster partition it is a part of.

Ivelin

deruelle_jean
Offline
Joined: 2003-06-24

Isn't there already some load balancing service existing in Jboss that one can change to add UDP and TCP protocols to it or just to have a look at what it might look like ?

Jean

ivelin
Offline
Joined: 2003-07-13

There is one for Java enabled clients. It won't be appropriate for SIP clients, but its design can be useful to know. It is described in the clustering book and the following article:
http://www.ieeetcsc.org/content/tfcc-5-2-labourey.shtml

A closer anology to the SIP load balancer is the HTTP load balancer mod_jk for Apache httpd.
http://www.jboss.org/wiki/Wiki.jsp?page=UsingMod_jk1.2WithJBoss

Both of the above are more sophisticated and complicated than what is required initially from our SIP load balancer for the HA demo.

Ivelin

mranga
Offline
Joined: 2003-06-06

> There is one for Java enabled clients. It won't be
> appropriate for SIP clients, but its design can be
> useful to know. It is described in the clustering
> book and the following article:
> http://www.ieeetcsc.org/content/tfcc-5-2-labourey.shtm
> l
>
> A closer anology to the SIP load balancer is the HTTP
> load balancer mod_jk for Apache httpd.

A Sip "load balancer" (actually not a load balancer but simply a failover front end) is checked in. Its not just a forwarder - it is a stateless proxy. Take a look and comment if you wish. Its located at

thirdparty/oc-sip-examples/src/util

It works with the proxy. Try it out if you wish - send over your questions and maybe we can do a wiki page on it ( or extend the wiki page that you started)

Ranga

> http://www.jboss.org/wiki/Wiki.jsp?page=UsingMod_jk1.2
> WithJBoss
>
> Both of the above are more sophisticated and
> complicated than what is required initially from our
> SIP load balancer for the HA demo.

>
> Ivelin

nijie8
Offline
Joined: 2005-06-09

it's too simple.