[Asterisk-Users] Asterisk cluster and astdb

Bruce Ferrell bferrell at baywinds.org
Thu Dec 1 07:10:38 MST 2005


Matt Riddell wrote:
> dashy dude wrote:
> 
>>Dear All
>>I am trying to build a high availability cluster of
>>asterisk.
>>I am using RedHat cluster management suit on
>>Enterprise edition AS3
>>
>>Origianally, astdb was located on native hard disk of
>>each server.
>>All my end points are configured for Reinvite=Yes
>>
>>Everrything was working fine and if active server is
>>rebooted, the standby would take over and the ongoing
>>calls will continue without any problem.
>>
>>But this had a problem that the astdb file is not
>>updated with latest end-point information and phones
>>dont get a call untill they re register.
>>
>>To avoid this, I moved the astdb file on the shared
>>storage and created sym links from individual servers.
>>Now, when the active server is rebooted, all the
>>active calls are dropped.
>>
>>Please help me in resolving this.
> 
> 
> Why don't you use Asterisk RealTime?
> 
correct if I'm wrong (frequently) but the call state isn't stored in the 
realtime db is it?

linux-ha uses a form of shared disk called DRBD that might solve this if 
you forced the astdb onto that.  Only one node of the cluster is 
currently allowed to write to astdb on that though.

Just a thought



More information about the asterisk-users mailing list