[asterisk-ha-clustering] New HA setup

Michiel van Baak michiel at vanbaak.info
Mon Nov 2 22:40:31 CST 2009


On 11:14, Tue 03 Nov 09, Chris Mylonas wrote:
> Hi Fred,
> 
> 
> I suggest running a few Amazon AWS servers for a few hours at 8.5c per hour
> per server and do some testing.  It's the Master Master thing you want on
> the HA servers with the DBs.
> 
> MySQL slaves can only have 1 master.
> You can get around this by using mysql_multi on the same host to run several
> slaves (mysql servers on different PIDs & ports  i.e. 3307,3308,3309 etc.)

But Mysql's replication can do Master <-> Master by default.
We have that running with 4 nodes. It does not matter on what box you
alter a record/table/database, the change is replicated to all others.

> 
> On Tue, Nov 3, 2009 at 8:49 AM, Frederic Jean <makafre at gmail.com> wrote:
> 
> >
> > Hello all, I just joined the mailing list.
> >
> > I need to setup a HA * solution with 2 ultramonkey servers, 5 * servers and
> > a realtime mysql data repository.
> > It's my first time at doing such a setup after several years playing with
> > Asterisk, so this is what I figured out
> > up to now;
> >
> > - One master database is setup on its own server and all writing (inserts
> > and updates) operations are done through it.
> > - Each Asterisk server would need a local slave mysql database for all read
> > statements.
> > - Database replication would occur for each * slave on a regular interval.
> > - Setup of a DUNDi lookup server (as in JR Richardson's "Using DUNDi with a
> > cluster of Asterisk servers" paper).
> >
> > I really want to make sure that there is no SPOF in the solution.
> >
> > I am however not feeling confident about this database distribution, is
> > that the way to go? How to add a hot/cold standby mysql server?
> > Does this solution make sense? any suggestions or tips before going
> > further?
> >
> > Best regards,
> > Fred
> >
> >
> > _______________________________________________
> > --Bandwidth and Colocation Provided by http://www.api-digital.com--
> >
> > asterisk-ha-clustering mailing list
> > To UNSUBSCRIBE or update options visit:
> >   http://lists.digium.com/mailman/listinfo/asterisk-ha-clustering
> >
> 
> 
> 
> -- 
> ======================
> 
> Chris Mylonas
> 
> Web Systems Administrator
> Omnium Research Group
> College Of Fine Arts
> University of NSW
> www.omnium.net.au
> 
> Communications, Internetworking, Software Design & Prototyping
> Consultant
> www.mrvoip.com.au
> 
> Open Source Software Projects
> Founder
> www.opencsta.org
> www.nursepaging.com
> 
> ======================

> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
> 
> asterisk-ha-clustering mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-ha-clustering

-- 

Michiel van Baak
michiel at vanbaak.eu
http://michiel.vanbaak.eu
GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x71C946BD

"Why is it drug addicts and computer aficionados are both called users?"




More information about the asterisk-ha-clustering mailing list