Re: [asterisk-users] Asterisk Redundancy
Michelle Dupuis mdup...@ocg.ca writes: Check out HAAST (High Availability ASTerisk) at [1]www.generationd.com (also on the voip wiki) You get the cluster/heartbeat replication without needing to add openSER or full HAlinux. A simpler approach - easier to config and manage How do you handle replicating voice mails? /Benny -- _ -- 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
Re: [asterisk-users] Asterisk Redundancy
HAAST runs a sync script a regular intervals (time to sync data prior to a failover check etc) HAAST includes a sample script which syncs voicemail (and config, etc) files using rsync from master to slave. After a master/slave reversal the process automatically reverses. MD From: asterisk-users-boun...@lists.digium.com [asterisk-users-boun...@lists.digium.com] On Behalf Of Benny Amorsen [benny+use...@amorsen.dk] Sent: Monday, September 27, 2010 10:35 AM To: Asterisk Users List Subject: Re: [asterisk-users] Asterisk Redundancy Michelle Dupuis mdup...@ocg.ca writes: Check out HAAST (High Availability ASTerisk) at [1]www.generationd.com (also on the voip wiki) You get the cluster/heartbeat replication without needing to add openSER or full HAlinux. A simpler approach - easier to config and manage How do you handle replicating voice mails? /Benny -- _ -- 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
Re: [asterisk-users] Asterisk Redundancy
On 9/27/10 8:57 PM, Michelle Dupuis wrote: HAAST runs a sync script a regular intervals (time to sync data prior to a failover check etc) HAAST includes a sample script which syncs voicemail (and config, etc) files using rsync from master to slave. After a master/slave reversal the process automatically reverses. MD What about ODBC/IMAP voicemail storage? Works great with MySQL MasterMaster replication for me. Vahan -- _ -- 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
Re: [asterisk-users] Asterisk Redundancy
That's exactly what we recommend for DB/realtime installs. HAAST's focus is the failover, promotion, assignment of IP, etc. but links to standard tools for file/db sync. In line with the philosophy of try to not be everything to everybody... From: asterisk-users-boun...@lists.digium.com [asterisk-users-boun...@lists.digium.com] On Behalf Of Vahan Yerkanian [va...@arminco.com] Sent: Monday, September 27, 2010 1:02 PM To: Asterisk Users List Subject: Re: [asterisk-users] Asterisk Redundancy On 9/27/10 8:57 PM, Michelle Dupuis wrote: HAAST runs a sync script a regular intervals (time to sync data prior to a failover check etc) HAAST includes a sample script which syncs voicemail (and config, etc) files using rsync from master to slave. After a master/slave reversal the process automatically reverses. MD What about ODBC/IMAP voicemail storage? Works great with MySQL MasterMaster replication for me. Vahan -- _ -- 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
Re: [asterisk-users] Asterisk Redundancy
On Sep 27, 2010, at 1:29 PM, Michelle Dupuis wrote: That's exactly what we recommend for DB/realtime installs. HAAST's focus is the failover, promotion, assignment of IP, etc. but links to standard tools for file/db sync. In line with the philosophy of try to not be everything to everybody... From: asterisk-users-boun...@lists.digium.com [asterisk-users-boun...@lists.digium.com] On Behalf Of Vahan Yerkanian [va...@arminco.com] Sent: Monday, September 27, 2010 1:02 PM To: Asterisk Users List Subject: Re: [asterisk-users] Asterisk Redundancy On 9/27/10 8:57 PM, Michelle Dupuis wrote: HAAST runs a sync script a regular intervals (time to sync data prior to a failover check etc) HAAST includes a sample script which syncs voicemail (and config, etc) files using rsync from master to slave. After a master/slave reversal the process automatically reverses. MD What about ODBC/IMAP voicemail storage? Works great with MySQL MasterMaster replication for me. Vahan Thousand ways of scaling the redundancy mountain here... Big questions are if this is geographic redundancy, how many nodes, etc. For simple 2 box redundancy on a lan, I choose DBRB with HeartBeat... ---fred http://qxork.com -- _ -- 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
Re: [asterisk-users] Asterisk Redundancy
Has any of you tested Vyatta Load balancing and fail over solution with Asterisk? It uses heartbeat and works like magic with regular traffic but didn't have the time nor chance to test it with VoIP traffic.. but I think it's the same way. Anyone? -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Benny Amorsen Sent: Monday, September 27, 2010 5:36 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Asterisk Redundancy Michelle Dupuis mdup...@ocg.ca writes: Check out HAAST (High Availability ASTerisk) at [1]www.generationd.com (also on the voip wiki) You get the cluster/heartbeat replication without needing to add openSER or full HAlinux. A simpler approach - easier to config and manage How do you handle replicating voice mails? /Benny -- _ -- 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
Re: [asterisk-users] Asterisk Redundancy
How do you handle replicating voice mails? I do that by putting the voicemails into MYSQL and replicating that. -- _ -- 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
Re: [asterisk-users] Asterisk Redundancy
Check out HAAST (High Availability ASTerisk) at [1]www.generationd.com Bit out of my pricing. It must be possible to do it using downloadable open-source. Dan -- _ -- 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
[asterisk-users] Asterisk Redundancy
Hello, Are there any guides to setting up high-availability asterisk platforms? Maybe using Opensips. I found this diagram, but i cant find any guides on how to go about setting it up. http://yfrog.com/5unetworkexampleg Thanks Dan -- _ -- 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
Re: [asterisk-users] Asterisk Redundancy
Check out HAAST (High Availability ASTerisk) at www.generationd.comhttp://www.generationd.com (also on the voip wiki) You get the cluster/heartbeat replication without needing to add openSER or full HAlinux. A simpler approach - easier to config and manage MD From: asterisk-users-boun...@lists.digium.com [asterisk-users-boun...@lists.digium.com] On Behalf Of Dan Journo [...@keshercommunications.com] Sent: Sunday, September 26, 2010 11:04 AM To: Asterisk Users List Subject: [asterisk-users] Asterisk Redundancy Hello, Are there any guides to setting up high-availability asterisk platforms? Maybe using Opensips. I found this diagram, but i cant find any guides on how to go about setting it up. http://yfrog.com/5unetworkexampleg Thanks Dan -- _ -- 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
Re: [asterisk-users] Asterisk Redundancy
Hello List, I need a weed to load balance some asterisk boxes that have pstn connectivity via E1. The problem is that i will not use sip phones but instead call files for auto dialing. Is is possible to load balance when call are generated from call files? Thank you so much. On Sun, Sep 26, 2010 at 10:31 AM, Michelle Dupuis mdup...@ocg.ca wrote: Check out HAAST (High Availability ASTerisk) at www.generationd.com (also on the voip wiki) You get the cluster/heartbeat replication without needing to add openSER or full HAlinux. A simpler approach - easier to config and manage MD -- *From:* asterisk-users-boun...@lists.digium.com [ asterisk-users-boun...@lists.digium.com] On Behalf Of Dan Journo [ d...@keshercommunications.com] *Sent:* Sunday, September 26, 2010 11:04 AM *To:* Asterisk Users List *Subject:* [asterisk-users] Asterisk Redundancy Hello, Are there any guides to setting up high-availability asterisk platforms? Maybe using Opensips. I found this diagram, but i cant find any guides on how to go about setting it up. http://yfrog.com/5unetworkexampleg Thanks Dan -- _ -- 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 -- *Adolphe CHER-AIME Network / VoIP Engineer CCNA, CCNA VOICE, Global VSAT Forum Certified (509) 3449-4280* -- _ -- 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
Re: [asterisk-users] Asterisk Redundancy
Hi, Sorry, I replied to the wrong email. Heres the question If I set up two servers for load balancing and redundancy, how do I program the dial plan for internal calls? Bearing in mind that some internal users will be registered to server A, and some registered to server B? Many thanks Dan -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Steve Totaro Sent: 14 February 2010 16:56 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Asterisk Redundancy On Sun, Feb 14, 2010 at 11:42 AM, Dan Journo d...@keshercommunications.com wrote: Hello, My host just had a faulty power supply and therefore, my Asterisk server was down for 7 hours. It was a Sunday so no one was making calls, however if it happened during the week, I'd have problems. I was trying to find a whitepaper or advice on how to set up two Asterisk servers to provide some redundancy. I've been googling asterisk redundancy but all I've found is questions, and no real answers. I've seen OpenSer mentioned but how does that help if extensions are dialling each other and they are registered on different servers? Or should I simply set up a standby server and switch to it if there are any problems? My platform is purely IP/SIP based. No ISDN/Analog connections. Does anyone have some advice or links on redundancy? Many thanks Dan Get a Host that has redundant power supplies. Was it the power supply in the server or a phase? Even an HP DL360 has redundant power supplies, you just yank out the bad one and put a new one in, no downtime. If it is power in the building, then maybe you should move your system to a better Host that has different phases and plug your server into both, via dual power supply, like the DL360. All of my servers at Equinix are plugged into two different Power Sources. You can also use HA Linux (Heartbeat) in case a box dies. Thanks, Steve T -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- 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
Re: [asterisk-users] Asterisk Redundancy
Just do something like Dial(SIP/asteriskbox1asteriskbox2/{$EXTEN}) On Sun, Mar 7, 2010 at 1:46 PM, Dan Journo d...@keshercommunications.comwrote: Hi, Sorry, I replied to the wrong email. Heres the question If I set up two servers for load balancing and redundancy, how do I program the dial plan for internal calls? Bearing in mind that some internal users will be registered to server A, and some registered to server B? Many thanks Dan -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto: asterisk-users-boun...@lists.digium.com] On Behalf Of Steve Totaro Sent: 14 February 2010 16:56 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Asterisk Redundancy On Sun, Feb 14, 2010 at 11:42 AM, Dan Journo d...@keshercommunications.com wrote: Hello, My host just had a faulty power supply and therefore, my Asterisk server was down for 7 hours. It was a Sunday so no one was making calls, however if it happened during the week, I'd have problems. I was trying to find a whitepaper or advice on how to set up two Asterisk servers to provide some redundancy. I've been googling asterisk redundancy but all I've found is questions, and no real answers. I've seen OpenSer mentioned but how does that help if extensions are dialling each other and they are registered on different servers? Or should I simply set up a standby server and switch to it if there are any problems? My platform is purely IP/SIP based. No ISDN/Analog connections. Does anyone have some advice or links on redundancy? Many thanks Dan Get a Host that has redundant power supplies. Was it the power supply in the server or a phase? Even an HP DL360 has redundant power supplies, you just yank out the bad one and put a new one in, no downtime. If it is power in the building, then maybe you should move your system to a better Host that has different phases and plug your server into both, via dual power supply, like the DL360. All of my servers at Equinix are plugged into two different Power Sources. You can also use HA Linux (Heartbeat) in case a box dies. Thanks, Steve T -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- 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 -- _ -- 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
Re: [asterisk-users] Asterisk Redundancy
Thanks, I didn't know you could do that. I thought I had to do Dial(SIP/astbox1/${EXTEN}SIP/astbox2/${EXTEN}) Dan Thank you for contacting Kesher Communications Ltd. IT Maintenance Clients can now receive a faster response by using our Live Chat and Support Service: Click Herehttp://support.keshercommunications.com/visitor/index.php?_m=livesupport_a=emailchatdepartmentid=2 This email and any files transmitted with it are confidential and intended solely for the recipient(s). If you are not the named addressee you should not disseminate, copy or alter this email. Under no circumstances may this email be distributed without written permission from the sender. Warning: Although the Company has taken reasonable precautions to ensure no viruses are present in this email, the company cannot accept responsibility for any loss or damage arising from the use of this email or attachments. All prices exclude VAT unless otherwise stated. No responsibility is taken for any recommendations made by a sender or by Kesher Communications Ltd. Recipient(s) takes responsibility for any actions taken as a result of advice and recommendations given by Kesher Communications Ltd. From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Steve Totaro Sent: 07 March 2010 19:15 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Asterisk Redundancy Just do something like Dial(SIP/asteriskbox1asteriskbox2/{$EXTEN}) On Sun, Mar 7, 2010 at 1:46 PM, Dan Journo d...@keshercommunications.commailto:d...@keshercommunications.com wrote: Hi, Sorry, I replied to the wrong email. Heres the question If I set up two servers for load balancing and redundancy, how do I program the dial plan for internal calls? Bearing in mind that some internal users will be registered to server A, and some registered to server B? Many thanks Dan -Original Message- From: asterisk-users-boun...@lists.digium.commailto:asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.commailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Steve Totaro Sent: 14 February 2010 16:56 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Asterisk Redundancy On Sun, Feb 14, 2010 at 11:42 AM, Dan Journo d...@keshercommunications.commailto:d...@keshercommunications.com wrote: Hello, My host just had a faulty power supply and therefore, my Asterisk server was down for 7 hours. It was a Sunday so no one was making calls, however if it happened during the week, I'd have problems. I was trying to find a whitepaper or advice on how to set up two Asterisk servers to provide some redundancy. I've been googling asterisk redundancy but all I've found is questions, and no real answers. I've seen OpenSer mentioned but how does that help if extensions are dialling each other and they are registered on different servers? Or should I simply set up a standby server and switch to it if there are any problems? My platform is purely IP/SIP based. No ISDN/Analog connections. Does anyone have some advice or links on redundancy? Many thanks Dan Get a Host that has redundant power supplies. Was it the power supply in the server or a phase? Even an HP DL360 has redundant power supplies, you just yank out the bad one and put a new one in, no downtime. If it is power in the building, then maybe you should move your system to a better Host that has different phases and plug your server into both, via dual power supply, like the DL360. All of my servers at Equinix are plugged into two different Power Sources. You can also use HA Linux (Heartbeat) in case a box dies. Thanks, Steve T -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- 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 -- _ -- 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
Re: [asterisk-users] Asterisk Redundancy
Actually you might. not sure but you get the idea. On Sun, Mar 7, 2010 at 2:39 PM, Dan Journo d...@keshercommunications.comwrote: Thanks, I didn’t know you could do that. I thought I had to do Dial(SIP/astbox1/${EXTEN}SIP/astbox2/${EXTEN}) Dan -- *Thank you for contacting Kesher Communications Ltd.* *IT Maintenance Clients can now receive a faster response by using our Live Chat and Support Service: *Click Herehttp://support.keshercommunications.com/visitor/index.php?_m=livesupport_a=emailchatdepartmentid=2 ** This email and any files transmitted with it are confidential and intended solely for the recipient(s). If you are not the named addressee you should not disseminate, copy or alter this email. Under no circumstances may this email be distributed without written permission from the sender. Warning: Although the Company has taken reasonable precautions to ensure no viruses are present in this email, the company cannot accept responsibility for any loss or damage arising from the use of this email or attachments. All prices exclude VAT unless otherwise stated. No responsibility is taken for any recommendations made by a sender or by Kesher Communications Ltd. Recipient(s) takes responsibility for any actions taken as a result of advice and recommendations given by Kesher Communications Ltd. *From:* asterisk-users-boun...@lists.digium.com [mailto: asterisk-users-boun...@lists.digium.com] *On Behalf Of *Steve Totaro *Sent:* 07 March 2010 19:15 *To:* Asterisk Users Mailing List - Non-Commercial Discussion *Subject:* Re: [asterisk-users] Asterisk Redundancy Just do something like Dial(SIP/asteriskbox1asteriskbox2/{$EXTEN}) On Sun, Mar 7, 2010 at 1:46 PM, Dan Journo d...@keshercommunications.com wrote: Hi, Sorry, I replied to the wrong email. Heres the question If I set up two servers for load balancing and redundancy, how do I program the dial plan for internal calls? Bearing in mind that some internal users will be registered to server A, and some registered to server B? Many thanks Dan -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto: asterisk-users-boun...@lists.digium.com] On Behalf Of Steve Totaro Sent: 14 February 2010 16:56 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Asterisk Redundancy On Sun, Feb 14, 2010 at 11:42 AM, Dan Journo d...@keshercommunications.com wrote: Hello, My host just had a faulty power supply and therefore, my Asterisk server was down for 7 hours. It was a Sunday so no one was making calls, however if it happened during the week, I'd have problems. I was trying to find a whitepaper or advice on how to set up two Asterisk servers to provide some redundancy. I've been googling asterisk redundancy but all I've found is questions, and no real answers. I've seen OpenSer mentioned but how does that help if extensions are dialling each other and they are registered on different servers? Or should I simply set up a standby server and switch to it if there are any problems? My platform is purely IP/SIP based. No ISDN/Analog connections. Does anyone have some advice or links on redundancy? Many thanks Dan Get a Host that has redundant power supplies. Was it the power supply in the server or a phase? Even an HP DL360 has redundant power supplies, you just yank out the bad one and put a new one in, no downtime. If it is power in the building, then maybe you should move your system to a better Host that has different phases and plug your server into both, via dual power supply, like the DL360. All of my servers at Equinix are plugged into two different Power Sources. You can also use HA Linux (Heartbeat) in case a box dies. Thanks, Steve T -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- 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 -- _ -- 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
[asterisk-users] Asterisk Redundancy
Hello, My host just had a faulty power supply and therefore, my Asterisk server was down for 7 hours. It was a Sunday so no one was making calls, however if it happened during the week, I'd have problems. I was trying to find a whitepaper or advice on how to set up two Asterisk servers to provide some redundancy. I've been googling asterisk redundancy but all I've found is questions, and no real answers. I've seen OpenSer mentioned but how does that help if extensions are dialling each other and they are registered on different servers? Or should I simply set up a standby server and switch to it if there are any problems? My platform is purely IP/SIP based. No ISDN/Analog connections. Does anyone have some advice or links on redundancy? Many thanks Dan -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Asterisk Redundancy
I’ve been googling “asterisk redundancy” but all I’ve found is questions, and no real answers. Is this any help Dan? http://www.voip-info.org/wiki/view/Asterisk+High+Availability+Solutions Chris -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Asterisk Redundancy
On Sun, Feb 14, 2010 at 11:42 AM, Dan Journo d...@keshercommunications.com wrote: Hello, My host just had a faulty power supply and therefore, my Asterisk server was down for 7 hours. It was a Sunday so no one was making calls, however if it happened during the week, I’d have problems. I was trying to find a whitepaper or advice on how to set up two Asterisk servers to provide some redundancy. I’ve been googling “asterisk redundancy” but all I’ve found is questions, and no real answers. I’ve seen OpenSer mentioned but how does that help if extensions are dialling each other and they are registered on different servers? Or should I simply set up a standby server and switch to it if there are any problems? My platform is purely IP/SIP based. No ISDN/Analog connections. Does anyone have some advice or links on redundancy? Many thanks Dan Get a Host that has redundant power supplies. Was it the power supply in the server or a phase? Even an HP DL360 has redundant power supplies, you just yank out the bad one and put a new one in, no downtime. If it is power in the building, then maybe you should move your system to a better Host that has different phases and plug your server into both, via dual power supply, like the DL360. All of my servers at Equinix are plugged into two different Power Sources. You can also use HA Linux (Heartbeat) in case a box dies. Thanks, Steve T -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Asterisk Redundancy
I agree that better hardware is needed. I'm looking into buying my own servers and getting a rack in a data centre. I'll impliment a redundancy solution at the same time. Thanks for the links. Dan Journo Kesher Communications Ltd -Original Message- From: Steve Totaro stot...@asteriskhelpdesk.com Sent: 14 February 2010 16:56 To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Subject: Re: [asterisk-users] Asterisk Redundancy On Sun, Feb 14, 2010 at 11:42 AM, Dan Journo d...@keshercommunications.com wrote: Hello, My host just had a faulty power supply and therefore, my Asterisk server was down for 7 hours. It was a Sunday so no one was making calls, however if it happened during the week, I’d have problems. I was trying to find a whitepaper or advice on how to set up two Asterisk servers to provide some redundancy. I’ve been googling “asterisk redundancy” but all I’ve found is questions, and no real answers. I’ve seen OpenSer mentioned but how does that help if extensions are dialling each other and they are registered on different servers? Or should I simply set up a standby server and switch to it if there are any problems? My platform is purely IP/SIP based. No ISDN/Analog connections. Does anyone have some advice or links on redundancy? Many thanks Dan Get a Host that has redundant power supplies. Was it the power supply in the server or a phase? Even an HP DL360 has redundant power supplies, you just yank out the bad one and put a new one in, no downtime. If it is power in the building, then maybe you should move your system to a better Host that has different phases and plug your server into both, via dual power supply, like the DL360. All of my servers at Equinix are plugged into two different Power Sources. You can also use HA Linux (Heartbeat) in case a box dies. Thanks, Steve T -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- 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 -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Asterisk Redundancy
Adrian Marsh wrote: interested in how people are clustering Asterisk, if that's possible, or how you might be achieving a redundant solution. I've a single Asterisk server driving the company. Its well backed-up, and I've a cloned machine that (in theory) with a DNS change could take over operations. However I'd like to achieve something more automated if possible. The Carrier Class project, which is based on Asterisk and OpenSER, looks promising: http://www.carrierclass.net/ ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Asterisk Redundancy
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 What we do is the following: Our CPE (Customer premises equipment) registers via IAX with all of our servers at the same time (with qualify turned on for the links). All of the servers first try to reach numbers via local IAX links. If this fails they do a DUNDi lookup to the other servers to check if they are able to terminate the call. With regards to PSTN connectivity each server has a collection of methods to terminate the call with ISDN failover. Every minute each of the VoIP links are checked and their results stored in the routing table. Routes that are not accessible are temporarily removed till their responses improve. A destination is the selected based on: 1) Availability 2) Weight 3) Price The choice is made in the above order. Some providers are not very good at terminating some destinations even though the connection to them might be fine. We use this to decide on the weight. Better quality termination gets a higher weight. We then take the destinations with the highest weight (100 if the route is fine). If there are multiple destinations with the same price in this group, we chose the cheaper one. In all of the CPE the calls failover to the other servers if they are unavailable (the qualify setting does this). So, as long as there are no calls on a particular box, you can just stop Asterisk and do whatever you like. Each server updates all other server's MySQL database for credit when they are available. If not, a replication conflict email is sent so that I can manually tally any problem credits. If I thought about this properly I could probably make this automatic. - -- Kind Regards, Matt Riddell Director ___ http://www.venturevoip.com (Great new VoIP end to end solution) http://www.venturevoip.com/news.php (Daily Asterisk News - html) http://feeds.venturevoip.com/AsteriskNews (Daily Asterisk News - rss) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHAc0KDQNt8rg0Kp4RAn5xAJ41jLnhml3HRXj7O86ZJVPZNd2j7ACgjWXm ERH/Gj4r6j06c0LOC0/8VPQ= =QzBV -END PGP SIGNATURE- ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Asterisk Redundancy
On 21:47, Fri 28 Sep 07, Doug wrote: At 20:53 9/28/2007, Tzafrir Cohen wrote: On Fri, Sep 28, 2007 at 01:28:18PM -0500, Doug wrote: How do you do that when your single network connection is gone? Any suggestions on dual-wan routers? We can't get this stupid Twin-Wan to work: http://www.xincom.com/twinwan.php A PC? OS? App? ;^) We use OpenBSD with carp+pfsync for this. There are some good tutorials on the interweb on how to do this. -- Michiel van Baak [EMAIL PROTECTED] http://michiel.vanbaak.eu GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x71C946BD Why is it drug addicts and computer afficionados are both called users? ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Asterisk Redundancy
At 04:57 9/29/2007, Michiel van Baak, wrote: On 21:47, Fri 28 Sep 07, Doug wrote: At 20:53 9/28/2007, Tzafrir Cohen wrote: On Fri, Sep 28, 2007 at 01:28:18PM -0500, Doug wrote: How do you do that when your single network connection is gone? Any suggestions on dual-wan routers? We can't get this stupid Twin-Wan to work: http://www.xincom.com/twinwan.php A PC? OS? App? ;^) We use OpenBSD with carp+pfsync for this. There are some good tutorials on the interweb on how to do this. Which tube do I go through to get to the InterWeb? -- Michiel van Baak [EMAIL PROTECTED] http://michiel.vanbaak.eu GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x71C946BD Why is it drug addicts and computer afficionados are both called users? ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Asterisk Redundancy
On 16:34, Sat 29 Sep 07, Doug wrote: At 04:57 9/29/2007, Michiel van Baak, wrote: On 21:47, Fri 28 Sep 07, Doug wrote: At 20:53 9/28/2007, Tzafrir Cohen wrote: On Fri, Sep 28, 2007 at 01:28:18PM -0500, Doug wrote: How do you do that when your single network connection is gone? Any suggestions on dual-wan routers? We can't get this stupid Twin-Wan to work: http://www.xincom.com/twinwan.php A PC? OS? App? ;^) We use OpenBSD with carp+pfsync for this. There are some good tutorials on the interweb on how to do this. Which tube do I go through to get to the InterWeb? You can use my doc to setup redundant firewalling: http://michiel.vanbaak.info/page/soekrisobsdcarp.htm Read the PF faq for information on how to loadbalance 2 internet connections: http://www.openbsd.org/faq/pf/pools.html -- Michiel van Baak [EMAIL PROTECTED] http://michiel.vanbaak.eu GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x71C946BD Why is it drug addicts and computer afficionados are both called users? ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Asterisk Redundancy
Douglas Garstang wrote: Also be sure that you have a very redundant network configuration. Too often I see people spend a great deal of time and money to get redundant servers when their switches, firewalls, routers, etc are not even capable of handling a failed network element. You can achieve this at the application level. How do you do that when your single network connection is gone? When considering redundancy it is essential that you have no single point of failure. Depending on how far you want to go, this means right from your dual-box asterisk setup to dual diesel-generators and two multi-homed datacenters. /Per Jessen, Zürich -- http://www.spamchek.com/ - your spam is our business. ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Asterisk Redundancy
At 08:01 9/28/2007, Per Jessen wrote: Douglas Garstang wrote: Also be sure that you have a very redundant network configuration. Too often I see people spend a great deal of time and money to get redundant servers when their switches, firewalls, routers, etc are not even capable of handling a failed network element. You can achieve this at the application level. How do you do that when your single network connection is gone? Any suggestions on dual-wan routers? We can't get this stupid Twin-Wan to work: http://www.xincom.com/twinwan.php When considering redundancy it is essential that you have no single point of failure. Depending on how far you want to go, this means right from your dual-box asterisk setup to dual diesel-generators and two multi-homed datacenters. /Per Jessen, Zürich -- http://www.spamchek.com/ - your spam is our business. ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Asterisk Redundancy
On Fri, Sep 28, 2007 at 01:28:18PM -0500, Doug wrote: How do you do that when your single network connection is gone? Any suggestions on dual-wan routers? We can't get this stupid Twin-Wan to work: http://www.xincom.com/twinwan.php A PC? -- Tzafrir Cohen icq#16849755 jabber:[EMAIL PROTECTED] +972-50-7952406 mailto:[EMAIL PROTECTED] http://www.xorcom.com iax:[EMAIL PROTECTED]/tzafrir ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Asterisk Redundancy
At 20:53 9/28/2007, Tzafrir Cohen wrote: On Fri, Sep 28, 2007 at 01:28:18PM -0500, Doug wrote: How do you do that when your single network connection is gone? Any suggestions on dual-wan routers? We can't get this stupid Twin-Wan to work: http://www.xincom.com/twinwan.php A PC? OS? App? ;^) -- Tzafrir Cohen icq#16849755 jabber:[EMAIL PROTECTED] +972-50-7952406 mailto:[EMAIL PROTECTED] http://www.xorcom.com iax:[EMAIL PROTECTED]/tzafrir ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Asterisk Redundancy
- Original Message From: SIP [EMAIL PROTECTED] To: Asterisk Users Mailing List - Non-Commercial Discussion [EMAIL PROTECTED] Sent: Wednesday, September 26, 2007 4:31:08 AM Subject: Re: [asterisk-users] Asterisk Redundancy Per Jessen wrote: Atis Lezdins wrote: This seems nice way of sharing settings, however it wouldn't take over calls in progress. For us, currently the greatest problem is that whenever Asterisk crashes, calls are lost, and that means - lost money. Are there any ideas? Perhaps investigate/diagnose the craches? Software instability is not solved with a high-availability solution. IMHO. /Per Jessen, Zürich No. It's not. But there still exists the possibility even in a relatively stable situation that the software could crash or that hardware could fail. It's best, when planning a highly-available solution, to plan for the unforeseen and not assume you can avoid all mishaps. Let's assume, for the sake of argument, that the software will NEVER fail. Hardware still might, and that would still mean a lost call unless there's a way to switch running calls over to a new server seamlessly. Are there such ways? IP calls are especially troublesome in that regard. Don't set your goals too high. I've worked for a few companies with Asterisk now and just having an architecture that can recover within a few seconds and process new calls almost seamlessly is a workable goal. Having an architecture that can seamlessly fail over and keep calls up is kinda like the whole grail of redundancy with Asterisk. Hint... you might be able to do it with SIP reinvites... Doug. Yahoo! oneSearch: Finally, mobile search that gives answers, not web links. http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Asterisk Redundancy
- Original Message From: Scott Moseman [EMAIL PROTECTED] To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Sent: Wednesday, September 26, 2007 6:07:06 AM Subject: Re: [asterisk-users] Asterisk Redundancy On 9/26/07, SIP [EMAIL PROTECTED] wrote: No. It's not. But there still exists the possibility even in a relatively stable situation that the software could crash or that hardware could fail. It's best, when planning a highly-available solution, to plan for the unforeseen and not assume you can avoid all mishaps. Let's assume, for the sake of argument, that the software will NEVER fail. Hardware still might, and that would still mean a lost call unless there's a way to switch running calls over to a new server seamlessly. Also be sure that you have a very redundant network configuration. Too often I see people spend a great deal of time and money to get redundant servers when their switches, firewalls, routers, etc are not even capable of handling a failed network element. You can achieve this at the application level. Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games. http://sims.yahoo.com/ ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Asterisk Redundancy
Atis Lezdins wrote: This seems nice way of sharing settings, however it wouldn't take over calls in progress. For us, currently the greatest problem is that whenever Asterisk crashes, calls are lost, and that means - lost money. Are there any ideas? Perhaps investigate/diagnose the craches? Software instability is not solved with a high-availability solution. IMHO. /Per Jessen, Zürich -- http://www.spamchek.com/ - your spam is our business. ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Asterisk Redundancy
Per Jessen wrote: Atis Lezdins wrote: This seems nice way of sharing settings, however it wouldn't take over calls in progress. For us, currently the greatest problem is that whenever Asterisk crashes, calls are lost, and that means - lost money. Are there any ideas? Perhaps investigate/diagnose the craches? Software instability is not solved with a high-availability solution. IMHO. /Per Jessen, Zürich No. It's not. But there still exists the possibility even in a relatively stable situation that the software could crash or that hardware could fail. It's best, when planning a highly-available solution, to plan for the unforeseen and not assume you can avoid all mishaps. Let's assume, for the sake of argument, that the software will NEVER fail. Hardware still might, and that would still mean a lost call unless there's a way to switch running calls over to a new server seamlessly. Are there such ways? IP calls are especially troublesome in that regard. N. ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Asterisk Redundancy
On 9/26/07, SIP [EMAIL PROTECTED] wrote: No. It's not. But there still exists the possibility even in a relatively stable situation that the software could crash or that hardware could fail. It's best, when planning a highly-available solution, to plan for the unforeseen and not assume you can avoid all mishaps. Let's assume, for the sake of argument, that the software will NEVER fail. Hardware still might, and that would still mean a lost call unless there's a way to switch running calls over to a new server seamlessly. Also be sure that you have a very redundant network configuration. Too often I see people spend a great deal of time and money to get redundant servers when their switches, firewalls, routers, etc are not even capable of handling a failed network element. Thanks, Scott ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Asterisk Redundancy
Hi All, I'm interested in how people are clustering Asterisk, if that's possible, or how you might be achieving a redundant solution. I've a single Asterisk server driving the company. Its well backed-up, and I've a cloned machine that (in theory) with a DNS change could take over operations. However I'd like to achieve something more automated if possible. I know that some of my VoIP trunk providers cluster IAX connections, but I'm not sure how they would do that. Any ideas? Adrian Marsh ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Asterisk Redundancy
Adrian Marsh wrote: I'm interested in how people are clustering Asterisk, if that's possible, or how you might be achieving a redundant solution. I've a single Asterisk server driving the company. Its well backed-up, and I've a cloned machine that (in theory) with a DNS change could take over operations. However I'd like to achieve something more automated if possible. I haven't looked into it in any detail, but how about the standard Linux HA solution with a heartbeat monitor, a shared file-system and IP take-over? /Per Jessen, Zürich -- http://www.spamchek.com/ - your spam is our business. ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Asterisk Redundancy
On Tue, 2007-09-25 at 15:59 +0200, Per Jessen wrote: I haven't looked into it in any detail, but how about the standard Linux HA solution with a heartbeat monitor, a shared file-system and IP take-over? It's been my experience that this usually works fairly well for stateless protocols like HTTP, but doesn't do so well on stateful protocols like SIP and IAX, and in general is a much more difficult problem to solve. Most people tend to use some combination of SIP proxies (such as SER and OpenSER), DUNDi, shared storage, redundant databases with replication, T1/E1 failover boxes, and horizontal scaling to make Asterisk more highly-available. Of course, I haven't really gone into much detail here, but hopefully it helps answer your question. (It's also my personal experience that people who know how to build such solutions are making enough money off of selling their solution that they aren't real eager to give away all their secrets.) In reality though, you say the word cluster and it means five different things to five different people. To really be able to answer the original poster's question, we'd really have to know a lot more about his architecture and his potential points of failure. -- Jared Smith Community Relations Manager Digium, Inc. ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Asterisk Redundancy
Sure, Heres a basic overview: - All IP (no local E1/T1 connections). - 2Mb Fiber internet pipe backed up by a DSL backup. - Single Asterisk server (with a backup clone on standby). Config currently backed up to SVN and copied off by tarball by webmin to a separate network. - Both IAX and SIP connectivity to 2 providers, with A*k Dial command driven failover for outbound calls (PSTN inbound limited to one provider). - All UPS backed. That's about the current config. This is an office/company config, not a reseller. Main points of failure: Fiber/DSL Box (easy to swap out). Same for the Fiber/DSL lines themselves. The main A*k box itself. I've covered all the redundancy I can (within budget) of the connectivity, and I'm wondering what I can do with A*k itself. I'm guessing that SIP proxies might be overkill (as I'd then need redundancy within those too), so maybe it's a case of looking at Linux-HA. Adrian Marsh -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jared Smith Sent: 25 September 2007 15:28 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Asterisk Redundancy On Tue, 2007-09-25 at 15:59 +0200, Per Jessen wrote: I haven't looked into it in any detail, but how about the standard Linux HA solution with a heartbeat monitor, a shared file-system and IP take-over? It's been my experience that this usually works fairly well for stateless protocols like HTTP, but doesn't do so well on stateful protocols like SIP and IAX, and in general is a much more difficult problem to solve. Most people tend to use some combination of SIP proxies (such as SER and OpenSER), DUNDi, shared storage, redundant databases with replication, T1/E1 failover boxes, and horizontal scaling to make Asterisk more highly-available. Of course, I haven't really gone into much detail here, but hopefully it helps answer your question. (It's also my personal experience that people who know how to build such solutions are making enough money off of selling their solution that they aren't real eager to give away all their secrets.) In reality though, you say the word cluster and it means five different things to five different people. To really be able to answer the original poster's question, we'd really have to know a lot more about his architecture and his potential points of failure. -- Jared Smith Community Relations Manager Digium, Inc. ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Asterisk Redundancy
Adrian Marsh wrote: I'm interested in how people are clustering Asterisk, if that's possible, or how you might be achieving a redundant solution. I've a single Asterisk server driving the company. Its well backed-up, and I've a cloned machine that (in theory) with a DNS change could take over operations. However I'd like to achieve something more automated if possible. Maybe my post at http://lists.digium.com/pipermail/asterisk-users/2007-August/195339.html could provide you with some answers. I don't want to quote my text as not to spam the list (although it's all GPL). There's a nice countdown at http://www.amooma.de/gemeinschaft/ but we're all quite busy at the moment (that page still needs to be translated). Regards, Philipp Kempgen -- amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de Let's use IT to solve problems and not to create new ones. Asterisk? - http://www.das-asterisk-buch.de My pick of the month: rfc 2822 3.6.5 Geschäftsführer: Stefan Wintermeyer Handelsregister: Neuwied B 14998 ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Asterisk Redundancy
Adrian Marsh wrote: so maybe it's a case of looking at Linux-HA. If I remember this correctly a normal ping is all Linux HA can do. It does not check whether Asterisk or other services are alive and respond to queries. Regards, Philipp Kempgen -- amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de Let's use IT to solve problems and not to create new ones. Asterisk? - http://www.das-asterisk-buch.de My pick of the month: rfc 2822 3.6.5 Geschäftsführer: Stefan Wintermeyer Handelsregister: Neuwied B 14998 ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Asterisk Redundancy
On Tue, 2007-09-25 at 18:01 +0200, Philipp Kempgen wrote: Adrian Marsh wrote: so maybe it's a case of looking at Linux-HA. If I remember this correctly a normal ping is all Linux HA can do. It does not check whether Asterisk or other services are alive and respond to queries. Have you looked at: http://www.voip-info.org/wiki-Asterisk+monitoring My personal favourite would be nagios (not that I have used the SIP plugin, but do use nagios for other services) Kind Regards, Dave Walker signature.asc Description: This is a digitally signed message part ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Asterisk Redundancy
Dave Walker wrote: On Tue, 2007-09-25 at 18:01 +0200, Philipp Kempgen wrote: Adrian Marsh wrote: so maybe it's a case of looking at Linux-HA. If I remember this correctly a normal ping is all Linux HA can do. It does not check whether Asterisk or other services are alive and respond to queries. Have you looked at: http://www.voip-info.org/wiki-Asterisk+monitoring My personal favourite would be nagios (not that I have used the SIP plugin, but do use nagios for other services) Exactly. If this was about monitoring I'd suggest to have a look at Nagios. But it's quite easy to write your own script which checks if Asterisk responds to SIP packets (or whatever) and takes over the IP address of your main server once Asterisk fails to reply. Regards, Philipp Kempgen -- amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de Let's use IT to solve problems and not to create new ones. Asterisk? - http://www.das-asterisk-buch.de My pick of the month: rfc 2822 3.6.5 Geschäftsführer: Stefan Wintermeyer Handelsregister: Neuwied B 14998 ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Asterisk Redundancy
It's nice to see Asterisk redundancy being discussed. A year and half ago, when I posed the question of Asterisk redundancy, I was looked at like I was from outer space. - Original Message From: Jared Smith [EMAIL PROTECTED] To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Sent: Tuesday, September 25, 2007 7:27:37 AM Subject: Re: [asterisk-users] Asterisk Redundancy On Tue, 2007-09-25 at 15:59 +0200, Per Jessen wrote: I haven't looked into it in any detail, but how about the standard Linux HA solution with a heartbeat monitor, a shared file-system and IP take-over? It's been my experience that this usually works fairly well for stateless protocols like HTTP, but doesn't do so well on stateful protocols like SIP and IAX, and in general is a much more difficult problem to solve. Most people tend to use some combination of SIP proxies (such as SER and OpenSER), DUNDi, shared storage, redundant databases with replication, T1/E1 failover boxes, and horizontal scaling to make Asterisk more highly-available. Of course, I haven't really gone into much detail here, but hopefully it helps answer your question. (It's also my personal experience that people who know how to build such solutions are making enough money off of selling their solution that they aren't real eager to give away all their secrets.) In reality though, you say the word cluster and it means five different things to five different people. To really be able to answer the original poster's question, we'd really have to know a lot more about his architecture and his potential points of failure. -- Jared Smith Community Relations Manager Digium, Inc. ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users Check out the hottest 2008 models today at Yahoo! Autos. http://autos.yahoo.com/new_cars.html___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Asterisk Redundancy
Nagios that's not redundancy. - Original Message From: Dave Walker [EMAIL PROTECTED] To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Sent: Tuesday, September 25, 2007 9:09:46 AM Subject: Re: [asterisk-users] Asterisk Redundancy On Tue, 2007-09-25 at 18:01 +0200, Philipp Kempgen wrote: Adrian Marsh wrote: so maybe it's a case of looking at Linux-HA. If I remember this correctly a normal ping is all Linux HA can do. It does not check whether Asterisk or other services are alive and respond to queries. Have you looked at: http://www.voip-info.org/wiki-Asterisk+monitoring My personal favourite would be nagios (not that I have used the SIP plugin, but do use nagios for other services) Kind Regards, Dave Walker Tonight's top picks. What will you watch tonight? Preview the hottest shows on Yahoo! TV. http://tv.yahoo.com/ ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Asterisk Redundancy
On Tue, 2007-09-25 at 12:10 -0500, Douglas Garstang wrote: Nagios that's not redundancy. And a brick isn't a house. Clearly you know what Nagios is; and it's support for event-handlers. If you had taken a moment to think, then you would know Nagios can form part of a redundancy system. signature.asc Description: This is a digitally signed message part ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Asterisk Redundancy
Philipp Kempgen wrote: Adrian Marsh wrote: so maybe it's a case of looking at Linux-HA. If I remember this correctly a normal ping is all Linux HA can do. It does not check whether Asterisk or other services are alive and respond to queries. I think the basic Linux-HA setup works with ping, but there's plenty of applications (mysql, apache, mailservers) that have their own plugins to monitor application level availability. /Per Jessen, Zürich -- http://www.spamchek.com/ - your spam is our business. ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Asterisk Redundancy
Philipp Kempgen wrote: I don't want to quote my text as not to spam the list (although it's all GPL). There's a nice countdown at http://www.amooma.de/gemeinschaft/ Very nice. I'll have to come back and take a closer look sometime. /Per Jessen, Zürich -- http://www.spamchek.com/ - your spam is our business. ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Asterisk Redundancy
On 9/25/07, Philipp Kempgen [EMAIL PROTECTED] wrote: Adrian Marsh wrote: I'm interested in how people are clustering Asterisk, if that's possible, or how you might be achieving a redundant solution. I've a single Asterisk server driving the company. Its well backed-up, and I've a cloned machine that (in theory) with a DNS change could take over operations. However I'd like to achieve something more automated if possible. Maybe my post at http://lists.digium.com/pipermail/asterisk-users/2007-August/195339.html could provide you with some answers. Hi, This seems nice way of sharing settings, however it wouldn't take over calls in progress. For us, currently the greatest problem is that whenever Asterisk crashes, calls are lost, and that means - lost money. Are there any ideas? Regards, Atis -- Atis Lezdins VoIP Developer, IQ Labs Inc. [EMAIL PROTECTED] Skype: atis.lezdins Cell Phone: +371 28806004 Work phone: +1 800 7502835 ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Asterisk Redundancy
- Original Message From: Atis Lezdins [EMAIL PROTECTED] To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Sent: Tuesday, September 25, 2007 2:11:10 PM Subject: Re: [asterisk-users] Asterisk Redundancy On 9/25/07, Philipp Kempgen [EMAIL PROTECTED] wrote: Adrian Marsh wrote: I'm interested in how people are clustering Asterisk, if that's possible, or how you might be achieving a redundant solution. I've a single Asterisk server driving the company. Its well backed-up, and I've a cloned machine that (in theory) with a DNS change could take over operations. However I'd like to achieve something more automated if possible.. Maybe my post at http://lists.digium.com/pipermail/asterisk-users/2007-August/195339.html could provide you with some answers. Hi, This seems nice way of sharing settings, however it wouldn't take over calls in progress. For us, currently the greatest problem is that whenever Asterisk crashes, calls are lost, and that means - lost money. Are there any ideas? You might want to take Asterisk out of the media path then. If it crashes, calls will stay up, although your CDR's will be screwed. If screwed CDR's still means lost money... your still screwed! Doug. Pinpoint customers who are looking for what you sell. http://searchmarketing.yahoo.com/___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Asterisk Redundancy
[snip] http://lists.digium.com/pipermail/asterisk-users/2007-August/195339.html could provide you with some answers. Hi, This seems nice way of sharing settings, however it wouldn't take over calls in progress. For us, currently the greatest problem is that whenever Asterisk crashes, calls are lost, and that means - lost money. Are there any ideas? You might want to take Asterisk out of the media path then. If it crashes, calls will stay up, although your CDR's will be screwed. If screwed CDR's still means lost money... your still screwed! Nop, i can't stay out of media path, as there are essential features depending on it - hell, that's why i need asterisk - transfers, chanspy, monitoring.. Of course in case of crash - monitoring and CDR can be lost - that would be minor problem comparing to lost calls. I'm thinking about some mechanism how asterisk could communicate with second asterisk and report all state operations made with SIP. So if asterisk fails, redundancy asterisk performs IP takeover and continues. Unfortunately my SIP knowledge is nearly minimal (as are my C skills), and i don't have any ideas how to implement this. A simplest method could be something like SIP proxy, that sends calls to asterisk, but if asterisk stops responding, it plays some message and tries to send call to redundancy server - however then problem can occur with redundancy server. And this would have some major drawbacks - calls wouldn't be matched to corresponding agents in queue. Hmm, thinking a bit more about topic - maybe redundancy mechanism would have enough to keep state of channels, bridges, and corresponding dialplan location (assuming that config is identical). Too much of duplicating everything would mean that second asterisk could have the same crash. Regards, Atis -- Atis Lezdins VoIP Developer, IQ Labs Inc. [EMAIL PROTECTED] Skype: atis.lezdins Cell Phone: +371 28806004 Work phone: +1 800 7502835 ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Asterisk Redundancy
A little off topic, but SipX has built in redudancy. if it is so important to you, you should have a look. On 9/25/07, Atis Lezdins [EMAIL PROTECTED] wrote: [snip] http://lists.digium.com/pipermail/asterisk-users/2007-August/195339.html could provide you with some answers. Hi, This seems nice way of sharing settings, however it wouldn't take over calls in progress. For us, currently the greatest problem is that whenever Asterisk crashes, calls are lost, and that means - lost money. Are there any ideas? You might want to take Asterisk out of the media path then. If it crashes, calls will stay up, although your CDR's will be screwed. If screwed CDR's still means lost money... your still screwed! Nop, i can't stay out of media path, as there are essential features depending on it - hell, that's why i need asterisk - transfers, chanspy, monitoring.. Of course in case of crash - monitoring and CDR can be lost - that would be minor problem comparing to lost calls. I'm thinking about some mechanism how asterisk could communicate with second asterisk and report all state operations made with SIP. So if asterisk fails, redundancy asterisk performs IP takeover and continues. Unfortunately my SIP knowledge is nearly minimal (as are my C skills), and i don't have any ideas how to implement this. A simplest method could be something like SIP proxy, that sends calls to asterisk, but if asterisk stops responding, it plays some message and tries to send call to redundancy server - however then problem can occur with redundancy server. And this would have some major drawbacks - calls wouldn't be matched to corresponding agents in queue. Hmm, thinking a bit more about topic - maybe redundancy mechanism would have enough to keep state of channels, bridges, and corresponding dialplan location (assuming that config is identical). Too much of duplicating everything would mean that second asterisk could have the same crash. Regards, Atis -- Atis Lezdins VoIP Developer, IQ Labs Inc. [EMAIL PROTECTED] Skype: atis.lezdins Cell Phone: +371 28806004 Work phone: +1 800 7502835 ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- Guilherme Loch Góes MSN:[EMAIL PROTECTED] (48) 99115299 ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] Asterisk redundancy
I will tell you straight up that NFS mounted volumes will cause asterisk to croak if it needs access to something that's not mounted. The first time the NFS share disappears for a moment, you're going to be restarting services and losing time on the asterisk machines that need the mounts. It would be better to drop the files on all the systems so you don't have to worry about that. Agreed, just having the servers mount the NFS for MWI makes asterisk fall to its knees. Was thinking of using distributed file system. Anyone ever give CODA a try (or any of the other distributed file systems) ? But definetly parts of the internal asterisk DB needs to be shared between the servers. Ben ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Asterisk redundancy
On 4/17/06, Joseph Rothstein [EMAIL PROTECTED] wrote: Is anyone using a PRI to Ethernet bridge, or any other kind of E1 GW thatwould allow failover to an alternate Asterisk box without manually switchingthe cable? This one is a litteexpensive( http://www.mapleleaf-technologies.com/webstore/ethernetbridges.php), but seems like it would do the trick. But I would have to run TDMoEbetween the Asterisk boxes and the bridge. Not a big deal probably, but I have no experience with TDMoEI'm using the PRI to Ethernet bridge from Cisco. It's call a 2800 router with a T1 card. Of course, if my router dies, I'm SOL. I could have two routers and balance calls across them. Of course, any active calls to the dead router would be lost, but it's pretty cheap, all considering it uses SIP. ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] Asterisk redundancy
I'd like to start a discussion about Asterisk redundancy. I know this has been covered in the past, but would like to get an idea of what people are doing for a production system that must be up all the time. Assuming a single E1 out. Here are some of my ideas. HA Linux between the two asterisk boxes. But I am not sure how the Asterisk DB would handle a fail over. What happens to the SIP registrations? Can the Asterisk DB be offloaded to MYSQL for example? The local DB is importatn because this is a call center with agents logged in to multiple queues. Config could either be realtime or duplicated manually. What about recorded message, has anyone had any problems with an NFS volume providing recorded messages such as periodic messages in queues? This solution would require a manual swap of the E1 cable inthe event of failure. Is anyone using a PRI to Ethernet bridge, or any other kind of E1 GW that would allow failover to an alternate Asterisk box without manually switching the cable? This one is a litte expensive(http://www.mapleleaf-technologies.com/webstore/ethernetbridges.php ), but seems like it would do the trick. But I would have to run TDMoE between the Asterisk boxes and the bridge. Not a big deal probably, but I have no experience with TDMoE. I would appreciate any comments regarding redundancy, and how people are solving these problems. Regards to all, Joe ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Asterisk redundancy
As a matter of curiosity, does anyone know what the E1/T1 interface in this (redfone) box is ? Could the box be an embedded linux device with a PCI slot, running linux and therefore zaptel, and therefore the PCI card could be a Digium or sangoma card ... Any clues ? Does anyone have such a box they could dismantle ;) Julian. Joseph Rothstein wrote: I'd like to start a discussion about Asterisk redundancy. I know this has been covered in the past, but would like to get an idea of what people are doing for a production system that must be up all the time. Assuming a single E1 out. Here are some of my ideas. HA Linux between the two asterisk boxes. But I am not sure how the Asterisk DB would handle a fail over. What happens to the SIP registrations? Can the Asterisk DB be offloaded to MYSQL for example? The local DB is importatn because this is a call center with agents logged in to multiple queues. Config could either be realtime or duplicated manually. What about recorded message, has anyone had any problems with an NFS volume providing recorded messages such as periodic messages in queues? This solution would require a manual swap of the E1 cable inthe event of failure. Is anyone using a PRI to Ethernet bridge, or any other kind of E1 GW that would allow failover to an alternate Asterisk box without manually switching the cable? This one is a litte expensive(http://www.mapleleaf-technologies.com/webstore/ethernetbridges.php ), but seems like it would do the trick. But I would have to run TDMoE between the Asterisk boxes and the bridge. Not a big deal probably, but I have no experience with TDMoE. I would appreciate any comments regarding redundancy, and how people are solving these problems. Regards to all, Joe ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Asterisk redundancy
On 17 Apr 2006, at 12:58, Joseph Rothstein wrote: I'd like to start a discussion about Asterisk redundancy. I know this has been covered in the past, but would like to get an idea of what people are doing for a production system that must be up all the time. Assuming a single E1 out. Here are some of my ideas. HA Linux between the two asterisk boxes. But I am not sure how the Asterisk DB would handle a fail over. What happens to the SIP registrations? Can the Asterisk DB be offloaded to MYSQL for example? The local DB is importatn because this is a call center with agents logged in to multiple queues. Config could either be realtime or duplicated manually. What about recorded message, has anyone had any problems with an NFS volume providing recorded messages such as periodic messages in queues? This solution would require a manual swap of the E1 cable inthe event of failure. Is anyone using a PRI to Ethernet bridge, or any other kind of E1 GW that would allow failover to an alternate Asterisk box without manually switching the cable? This one is a litte expensive(http://www.mapleleaf-technologies.com/webstore/ ethernetbridges.php ), but seems like it would do the trick. But I would have to run TDMoE between the Asterisk boxes and the bridge. Not a big deal probably, but I have no experience with TDMoE. I would appreciate any comments regarding redundancy, and how people are solving these problems. Regards to all, Joe I strongly advise you to get the economics clear before you proceed. Get an estimate of the business costs of (say) 1hour's downtime every 3 years. Once you have done that you have a budget to work to. If you don't and you just follow the No downtime ever! rule two things will happen: 1) you will spend a boatload of money, probably far more than needed. 2) You will fail. 100% uptime doesn't happen - ever - folks get close, but every step costs exponentially more, and gets exponentially more complex - so much harder to maintain - so more fragile. Also don't forget to talk to your telco and hear what they can do for you. You may find that they can detect a PRI failure and move calls to a fallback number (mobiles, analog, answerphone, voicemail,voip provider). I _very_ much doubt you can find a solution where you can have the box at your end of the PRI fail (be it an asterisk or a switching box) and still keep the current calls. Keep us posted on what you find, it is an important topic and my views (keep it simple) aren't typical :-) Tim. Tim Panton [EMAIL PROTECTED] ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Asterisk redundancy
I'd like to start a discussion about Asterisk redundancy. I know this has been covered in the past, but would like to get an idea of what people are doing for a production system that must be up all the time. I'm going to pipe in on this one. Asterisk redundancy is a huge discussion on this list at LEAST once a month, so you would think we would have all the details all hammered out and on the wiki and say Hey, we had that discussion last week... what we came up with is on the wiki now. HA Linux between the two asterisk boxes. But I am not sure how the Asterisk DB would handle a fail over. What happens to the SIP registrations? Can the Asterisk DB be offloaded to MYSQL for example? The local DB is importatn because this is a call center with agents logged in to multiple queues. Config could either be realtime or duplicated manually. What about recorded message, has anyone had any problems with an NFS volume providing recorded messages such as periodic messages in queues? This solution would require a manual swap of the E1 cable inthe event of failure. Not sure how the agents would work out, you may need a server that handles the queueing setup. We've got 5 servers here (one voicemail, two call servers, and two gateways). The way it's configured, any DB information is replicated through a series of dialplan magic and scripts, so I'm not sure what it would require to replicate agent information. I will tell you straight up that NFS mounted volumes will cause asterisk to croak if it needs access to something that's not mounted. The first time the NFS share disappears for a moment, you're going to be restarting services and losing time on the asterisk machines that need the mounts. It would be better to drop the files on all the systems so you don't have to worry about that. Is anyone using a PRI to Ethernet bridge, or any other kind of E1 GW that would allow failover to an alternate Asterisk box without manually switching the cable? This one is a litte expensive(http://www.mapleleaf-technologies.com/webstore/ethernetbridges.php ), but seems like it would do the trick. But I would have to run TDMoE between the Asterisk boxes and the bridge. Not a big deal probably, but I have no experience with TDMoE. My experience of TDMoE is limited, all of our servers talk sip when a call is moved from one box to another. We have double T1 lines per gateway server, so if one goes down, we move to half capacity. Any calls in progress on the one gateway die, but everything else automatically moves to using only the other gateway. I would appreciate any comments regarding redundancy, and how people are solving these problems. Regards to all, Joe -- Aaron Daniel Computer Systems Technician Sam Houston State University [EMAIL PROTECTED] (936) 294-4198 ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Asterisk redundancy
2006/4/17, Tim Panton [EMAIL PROTECTED]: 2) You will fail. 100% uptime doesn't happen - ever - folks get close, but every step costs exponentially more, and gets exponentially morecomplex - so much harder to maintain - so more fragile.To back Tim's reply, what happens if your E1 failover switch dies ? Chances are you would still need to manually switch the cable.Cheers ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] asterisk redundancy
Hello all, i have configured asterisk server with two servers, (ultramonky load balancer). 2 PSTN lines are comming to each server. if one server fails, other can take over IP calls. its working fine.But if a customer calling to a hunting line. if one sever fails PSTN calls cant be detected by the failed server. so is there any telecommunication mehthod to over come this situation. Sorry my knowledge is nill on PSTN side. can they detect after 2 rings the system is busy and forwading to another line..?? (but asterisk end it will not respond to any pstn signals). please help to solve this matter Tharanga ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] Asterisk Redundancy
Hi, i have two [EMAIL PROTECTED] 2.2 server. i want if one of my asterisk server down. other is taken control of my first server and call goes through. Is it possible in asterisk. Usman ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users