java.net: Wiki

The Source for Java Technology Collaboration


 <<O>>  Difference Topic MobicentsHADemo (7 - 06 Dec 2007 - Main.ivelin)
Line: 1 to 1
 
META TOPICPARENT name="MobicentsTODO"

Call Fail Over Example:

Added:
>
>
NOTE: THIS DOCUMENT IS OUT OF DATE. IT APPLIES TO VERSIONS OF MOBICENTS PRIOR TO 1.0.GA. AS OF MOBICENTS 1.2 THERE IS A NEW HA DOCUMENT - http://groups.google.com/group/mobicents-public/web/mobicents-sip-balancer?hl=en


 NOTE: There is an early access prototype of registrar failover. To try it see the ongoing discussion thread. It shows how once registered SIP clients can still call each other after a server failure.

This document outlines a scenario which demonstrates the High Availability of Mobicents.


 <<O>>  Difference Topic MobicentsHADemo (6 - 10 Sep 2005 - Main.ivelin)
Line: 1 to 1
 
META TOPICPARENT name="MobicentsTODO"

Call Fail Over Example:

Changed:
<
<
There is working prototype of failover. To try it see the ongoing discussion thread.
>
>
NOTE: There is an early access prototype of registrar failover. To try it see the ongoing discussion thread. It shows how once registered SIP clients can still call each other after a server failure.
 This document outlines a scenario which demonstrates the High Availability of Mobicents.

 <<O>>  Difference Topic MobicentsHADemo (5 - 09 Sep 2005 - Main.ivelin)
Line: 1 to 1
 
META TOPICPARENT name="MobicentsTODO"
Changed:
<
<

Resilent Call Billing Service:

DRAFT
>
>

Call Fail Over Example:

There is working prototype of failover. To try it see the ongoing discussion thread.

 This document outlines a scenario which demonstrates the High Availability of Mobicents.

 <<O>>  Difference Topic MobicentsHADemo (4 - 19 Aug 2005 - Main.ivelin)
Line: 1 to 1
 
META TOPICPARENT name="MobicentsTODO"

Resilent Call Billing Service:

DRAFT
Changed:
<
<
This document outlines a scenario which demonstrates the High Availability features of Mobicents.
>
>
This document outlines a scenario which demonstrates the High Availability of Mobicents.
 
Line: 49 to 48
 hademo3
Added:
>
>

Related Reading

The University of Columbia published a good paper on High Availability, Failover and Load Sharing: Download in PDF Format

 -- Main.ivelin - 03 Jul 2005

 <<O>>  Difference Topic MobicentsHADemo (3 - 13 Aug 2005 - Main.mranga)
Line: 1 to 1
 
META TOPICPARENT name="MobicentsTODO"

Resilent Call Billing Service:

DRAFT
Line: 28 to 28
 
  • An extended demo would show two load balancers in front of the SLEE servers. One active and one in stand by mode, ready for IP takeover in case the active balancer fails. See Figure 3.
  • Other future improvements of the load balancer will include mapping of Call ID to Server ID. This will achieve sticky SLEE session by convergence name.
Added:
>
>

How to start the proxy with the front end HA Forwarder

The front end HA proxy is really a limited stateless proxy server. It maintains a registration table of active proxy servers which register with it. The first live proxy server on the list is the current "hot" proxy server and others are replicas. To start the load balancer

  • Start Mobicents and install the SIP Resource Adapter
  • Start the Forwarder using ant runforwarder
  • Install the proxy server ant sip-proxy-deploy

You will notice that the front end load balancer registers a proxy server in its list of live proxy servers. The port that the proxy server uses is not important. Messages are sent to the HA Forwarder and not directly to the proxy server.

 

Figure 1

hademo1


 <<O>>  Difference Topic MobicentsHADemo (2 - 03 Jul 2005 - Main.ivelin)
Line: 1 to 1
 
META TOPICPARENT name="MobicentsTODO"
Deleted:
<
<
 

Resilent Call Billing Service:

Added:
>
>
DRAFT

This document outlines a scenario which demonstrates the High Availability features of Mobicents.

 
Changed:
<
<
  1. ) Two instances of Mobicents running on different VMs and shared cluster
  2. ) Two SIP clients register with Server1
  3. ) Client A calls client B
  4. ) Client B answers
  5. ) Server1 crashes
  6. ) Server2 takes over transparently to both clients
  7. ) Client A hangs up to end the call
  8. ) The management interface of Server2 should be able to present the totall bill for the call.
>
>

Use Case

  1. Two instances of Mobicents running on different VMs and shared cluster
  2. Two SIP clients register with Server1
  3. Client A calls client B
  4. Client B answers. See Figure 1.
  5. Server1 crashes
  6. Server2 takes over transparently to both clients. See Figure 2.
  7. Call continues uninterrupted
  8. Client A hangs up to end the call
  9. The management interface of Server2 should be able to present the totall bill for the call.
 Notes:
  • To make the demo easy to test on one box, we will allow both servers to run on the same laptop but different VMs.
  • There will be a simple front end load balancer, which sends heart beats to both servers and forwards requests only to active ones.
  • For the demo it will suffice to have a UDP port forwarding listening on 5060 and routing requests to servers (host : port) specified in a property file.
  • Initially the load balancer will always forward to Server1 while its alive and will switch to Server2 when Server1 is down.
Changed:
<
<
  • An extended demo would show two load balancers in front of the SLEE servers. One active and one in stand by mode, ready for IP takeover in case the active balancer fails.
>
>
  • An extended demo would show two load balancers in front of the SLEE servers. One active and one in stand by mode, ready for IP takeover in case the active balancer fails. See Figure 3.
 
  • Other future improvements of the load balancer will include mapping of Call ID to Server ID. This will achieve sticky SLEE session by convergence name.
Added:
>
>

Figure 1

hademo1

Figure 2

hademo2

Figure 3

hademo3

 -- Main.ivelin - 03 Jul 2005

 <<O>>  Difference Topic MobicentsHADemo (1 - 03 Jul 2005 - Main.ivelin)
Line: 1 to 1
Added:
>
>
META TOPICPARENT name="MobicentsTODO"

Resilent Call Billing Service:

  1. ) Two instances of Mobicents running on different VMs and shared cluster
  2. ) Two SIP clients register with Server1
  3. ) Client A calls client B
  4. ) Client B answers
  5. ) Server1 crashes
  6. ) Server2 takes over transparently to both clients
  7. ) Client A hangs up to end the call
  8. ) The management interface of Server2 should be able to present the totall bill for the call.

Notes:

  • To make the demo easy to test on one box, we will allow both servers to run on the same laptop but different VMs.
  • There will be a simple front end load balancer, which sends heart beats to both servers and forwards requests only to active ones.
  • For the demo it will suffice to have a UDP port forwarding listening on 5060 and routing requests to servers (host : port) specified in a property file.
  • Initially the load balancer will always forward to Server1 while its alive and will switch to Server2 when Server1 is down.
  • An extended demo would show two load balancers in front of the SLEE servers. One active and one in stand by mode, ready for IP takeover in case the active balancer fails.
  • Other future improvements of the load balancer will include mapping of Call ID to Server ID. This will achieve sticky SLEE session by convergence name.

-- Main.ivelin - 03 Jul 2005


Topic MobicentsHADemo . { View | Diffs r7 < r6 < r5 < r4 | More }
 XML java.net RSS