Hi All; I would like to have two Asterisk machines to have redundancy between them, so if first machine failed then we can depend on the second machine. Because of this, I would like to know (if someone can advise me): 1) If I did modification on the configuration, how this will be applied to the other machine? 2) I am going to use E1s, so what is the method to be able to let the calls go for other Asterisk machine if first one is down (due to maintenance or upgrade)? Is there a switch or something can help in this? Thanks for the help in advance. Regards Bilal
hi using database as realtime functions solves your first problem, for second try by using dns best On Mon, Feb 28, 2011 at 1:54 PM, bilal ghayyad <bilmar_gh at yahoo.com> wrote:> Hi All; > > I would like to have two Asterisk machines to have redundancy between them, > so if first machine failed then we can depend on the second machine. > > Because of this, I would like to know (if someone can advise me): > > 1) If I did modification on the configuration, how this will be applied to > the other machine? > > 2) I am going to use E1s, so what is the method to be able to let the calls > go for other Asterisk machine if first one is down (due to maintenance or > upgrade)? Is there a switch or something can help in this? > > Thanks for the help in advance. > Regards > Bilal > > > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110228/7dfd15a6/attachment.htm>
Database: but this require to use Asterisk version that support Database, correct? Which Asterisk version does this? ? About DNS, please note I am talking about E1 connected to the server, so I was mean, in case first Asterisk down, then to send E1 calls to second Asterisk. I am not talking about IP Trunk. Any help? ? Regards Bilal --- On Mon, 2/28/11, Pezhman Lali <lopl at lopl.net> wrote: From: Pezhman Lali <lopl at lopl.net> Subject: Re: [asterisk-users] Two Asterisk machines for redundancy To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users at lists.digium.com> Cc: "bilal ghayyad" <bilmar_gh at yahoo.com> Date: Monday, February 28, 2011, 5:35 AM hi using database as realtime functions solves your first problem, for second try by using dns best? On Mon, Feb 28, 2011 at 1:54 PM, bilal ghayyad <bilmar_gh at yahoo.com> wrote: Hi All; I would like to have two Asterisk machines to have redundancy between them, so if first machine failed then we can depend on the second machine. Because of this, I would like to know (if someone can advise me): 1) If I did modification on the configuration, how this will be applied to the other machine? 2) I am going to use E1s, so what is the method to be able to let the calls go for other Asterisk machine if first one is down (due to maintenance or upgrade)? Is there a switch or something can help in this? Thanks for the help in advance. Regards Bilal -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: ? ? ? ? ? ? ? http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: ? http://lists.digium.com/mailman/listinfo/asterisk-users -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110228/1ebe5233/attachment.htm>
On Mon, Feb 28, 2011 at 02:24:23AM -0800, bilal ghayyad wrote:> 1) If I did modification on the configuration, how this will be > applied to the other machine?My solution was to create a rsync script to copy the configuration of the primary server to the standby (every 15m).> 2) I am going to use E1s, so what is the method to be able to let the > calls go for other Asterisk machine if first one is down (due to > maintenance or upgrade)? Is there a switch or something can help in > this?Yes, there are E1 switches. I use this one: http://www.oriontelecom.com/pro_switch/e1_switch/e1_failover_switch.html I disabled the automatic failover detection though, a script that is run when the standby becomes active switches the circuits from A to B or the otherway around. An other way is to use an external E1 to SIP gateway. Cons are that they are more expensive then Digium hardware and you still need more than 1 if you want to avoid this being a single point of failure. But they can be more flexible in some setups (multiple active asterisk machines connecting simulataniously) -- Daniel Tryba
Peter den Hartog
2011-Feb-28 13:30 UTC
[asterisk-users] Two Asterisk machines for redundancy
Rsync to sync /etc/asterisk and use keepalived/heartbeat for a failover Asterisk IP. Make sure to read this -> http://www.voip-info.org/wiki/view/Asterisk+High+Availability+Solutions <http://www.voip-info.org/wiki/view/Asterisk+High+Availability+Solutions>For "From IP rewrite" On Mon, Feb 28, 2011 at 1:59 PM, Daniel Tryba <daniel at tryba.nl> wrote:> On Mon, Feb 28, 2011 at 02:24:23AM -0800, bilal ghayyad wrote: > > 1) If I did modification on the configuration, how this will be > > applied to the other machine? > > My solution was to create a rsync script to copy the configuration of > the primary server to the standby (every 15m). > > > 2) I am going to use E1s, so what is the method to be able to let the > > calls go for other Asterisk machine if first one is down (due to > > maintenance or upgrade)? Is there a switch or something can help in > > this? > > Yes, there are E1 switches. I use this one: > http://www.oriontelecom.com/pro_switch/e1_switch/e1_failover_switch.html > I disabled the automatic failover detection though, a script that is run > when the standby becomes active switches the circuits from A to B or the > otherway around. > > An other way is to use an external E1 to SIP gateway. Cons are that they > are more expensive then Digium hardware and you still need more than 1 > if you want to avoid this being a single point of failure. But they can > be more flexible in some setups (multiple active asterisk machines > connecting simulataniously) > > -- > > Daniel Tryba > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110228/a2b27128/attachment.htm>
using realtime functions has been added since 1.2.x, about E1, I thought you are using external voip gateway like cisco,... if you are using e1 as dahdi driver you have not redundancy option(as I think) On Mon, Feb 28, 2011 at 4:21 PM, bilal ghayyad <bilmar_gh at yahoo.com> wrote:> Database: but this require to use Asterisk version that support Database, > correct? Which Asterisk version does this? > > About DNS, please note I am talking about E1 connected to the server, so I > was mean, in case first Asterisk down, then to send E1 calls to second > Asterisk. I am not talking about IP Trunk. Any help? > > Regards > Bilal > > --- On *Mon, 2/28/11, Pezhman Lali <lopl at lopl.net>* wrote: > > > From: Pezhman Lali <lopl at lopl.net> > Subject: Re: [asterisk-users] Two Asterisk machines for redundancy > To: "Asterisk Users Mailing List - Non-Commercial Discussion" < > asterisk-users at lists.digium.com> > Cc: "bilal ghayyad" <bilmar_gh at yahoo.com> > Date: Monday, February 28, 2011, 5:35 AM > > > hi > using database as realtime functions solves your first problem, > for second try by using dns > best > > On Mon, Feb 28, 2011 at 1:54 PM, bilal ghayyad <bilmar_gh at yahoo.com<http://us.mc1620.mail.yahoo.com/mc/compose?to=bilmar_gh at yahoo.com> > > wrote: > > Hi All; > > I would like to have two Asterisk machines to have redundancy between them, > so if first machine failed then we can depend on the second machine. > > Because of this, I would like to know (if someone can advise me): > > 1) If I did modification on the configuration, how this will be applied to > the other machine? > > 2) I am going to use E1s, so what is the method to be able to let the calls > go for other Asterisk machine if first one is down (due to maintenance or > upgrade)? Is there a switch or something can help in this? > > Thanks for the help in advance. > Regards > Bilal > > > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110301/99b6bcee/attachment.htm>
You might want to look at a product called "astribank" made by Xorcom, which does a pretty good job of giving redundancy on E1. In their redundant asterisk setups, they use drbd to mirror configuration and data between asterisk hosts. Aaron From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Pezhman Lali Sent: 28 February 2011 20:39 To: bilal ghayyad Cc: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Two Asterisk machines for redundancy using realtime functions has been added since 1.2.x, about E1, I thought you are using external voip gateway like cisco,... if you are using e1 as dahdi driver you have not redundancy option(as I think) On Mon, Feb 28, 2011 at 4:21 PM, bilal ghayyad <bilmar_gh at yahoo.com<mailto:bilmar_gh at yahoo.com>> wrote: Database: but this require to use Asterisk version that support Database, correct? Which Asterisk version does this? About DNS, please note I am talking about E1 connected to the server, so I was mean, in case first Asterisk down, then to send E1 calls to second Asterisk. I am not talking about IP Trunk. Any help? Regards Bilal --- On Mon, 2/28/11, Pezhman Lali <lopl at lopl.net<mailto:lopl at lopl.net>> wrote: From: Pezhman Lali <lopl at lopl.net<mailto:lopl at lopl.net>> Subject: Re: [asterisk-users] Two Asterisk machines for redundancy To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users at lists.digium.com<mailto:asterisk-users at lists.digium.com>> Cc: "bilal ghayyad" <bilmar_gh at yahoo.com<mailto:bilmar_gh at yahoo.com>> Date: Monday, February 28, 2011, 5:35 AM hi using database as realtime functions solves your first problem, for second try by using dns best On Mon, Feb 28, 2011 at 1:54 PM, bilal ghayyad <bilmar_gh at yahoo.com<http://us.mc1620.mail.yahoo.com/mc/compose?to=bilmar_gh at yahoo.com>> wrote: Hi All; I would like to have two Asterisk machines to have redundancy between them, so if first machine failed then we can depend on the second machine. Because of this, I would like to know (if someone can advise me): 1) If I did modification on the configuration, how this will be applied to the other machine? 2) I am going to use E1s, so what is the method to be able to let the calls go for other Asterisk machine if first one is down (due to maintenance or upgrade)? Is there a switch or something can help in this? Thanks for the help in advance. Regards Bilal -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com<http://www.api-digital.com/> -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110228/4c477a6f/attachment.htm>
Nicolás Aldo Martínez
2011-Feb-28 21:01 UTC
[asterisk-users] Two Asterisk machines for redundancy
Google for the DRBD and Heartbeat solution. you can justget DRBD take care of replicating the information and Heartbeat to monitoring the primary Asterisk. On Mon, Feb 28, 2011 at 5:47 PM, Aaron Roberts <aroberts at domicilium.com>wrote:> You might want to look at a product called ?astribank? made by Xorcom, > which does a pretty good job of giving redundancy on E1. In their redundant > asterisk setups, they use drbd to mirror configuration and data between > asterisk hosts. > > > > Aaron > > > > *From:* asterisk-users-bounces at lists.digium.com [mailto: > asterisk-users-bounces at lists.digium.com] *On Behalf Of *Pezhman Lali > *Sent:* 28 February 2011 20:39 > *To:* bilal ghayyad > *Cc:* Asterisk Users Mailing List - Non-Commercial Discussion > *Subject:* Re: [asterisk-users] Two Asterisk machines for redundancy > > > > using realtime functions has been added since 1.2.x, > > about E1, I thought you are using external voip gateway like cisco,... if > you are using e1 as dahdi driver you have not redundancy option(as I think) > > > > On Mon, Feb 28, 2011 at 4:21 PM, bilal ghayyad <bilmar_gh at yahoo.com> > wrote: > > Database: but this require to use Asterisk version that support Database, > correct? Which Asterisk version does this? > > > > About DNS, please note I am talking about E1 connected to the server, so I > was mean, in case first Asterisk down, then to send E1 calls to second > Asterisk. I am not talking about IP Trunk. Any help? > > > > Regards > > Bilal > > --- On *Mon, 2/28/11, Pezhman Lali <lopl at lopl.net>* wrote: > > > From: Pezhman Lali <lopl at lopl.net> > Subject: Re: [asterisk-users] Two Asterisk machines for redundancy > To: "Asterisk Users Mailing List - Non-Commercial Discussion" < > asterisk-users at lists.digium.com> > Cc: "bilal ghayyad" <bilmar_gh at yahoo.com> > Date: Monday, February 28, 2011, 5:35 AM > > > > hi > > using database as realtime functions solves your first problem, > > for second try by using dns > > best > > On Mon, Feb 28, 2011 at 1:54 PM, bilal ghayyad <bilmar_gh at yahoo.com<http://us.mc1620.mail.yahoo.com/mc/compose?to=bilmar_gh at yahoo.com>> > wrote: > > Hi All; > > I would like to have two Asterisk machines to have redundancy between them, > so if first machine failed then we can depend on the second machine. > > Because of this, I would like to know (if someone can advise me): > > 1) If I did modification on the configuration, how this will be applied to > the other machine? > > 2) I am going to use E1s, so what is the method to be able to let the calls > go for other Asterisk machine if first one is down (due to maintenance or > upgrade)? Is there a switch or something can help in this? > > Thanks for the help in advance. > Regards > Bilal > > > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110228/983c15e8/attachment.htm>