bar top left
bar top right
left curve
right curve
Welcome, Guest

Redundancy betwn 2 elastix servers
(1 viewing) (1) Guest
Go to bottom
Post Reply
Post New Topic
Page: 12
TOPIC: Redundancy betwn 2 elastix servers
#85352
Redundancy betwn 2 elastix servers 8 Months, 2 Weeks ago Karma: 0
Hello,

Lets say we have a scenario: have 2 locations 1xx in A and 2xx in B location.

How can I do server redundancy between these two servers in case if one og them goes down?
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
sharmaketan25@yahoo.com
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#85354
Re: Redundancy betwn 2 elastix servers 8 Months, 2 Weeks ago Karma: 4
Some phones will allow you to setup backup servers. There's a lot to consider if you're setting up a backup server remotely. One of the biggest things would be connectivity and how you would re-route things like tftp address and also addresses of configuration resources. You can certainly setup multiple IPs for tftp when handing out DHCP options. To simplify matters just a little bit, but not by much, you should have a site to site VPN between the two locations and have a good internal DNS setup. I suggest diagramming your enviroment to better catch unresolved issues. I'll be happy to explore this with you if you can provide more information.

Andrey
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
akldjian
Senior Boarder
Posts: 219
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Arizona
Andrey
Tried AsteriskNOW - You'd think Digium would have the superior product, but they went for the stuperior product
Tried TrixBox - They got all corporate and forgot about the rest of us
Tried PIAF - Took a golf club to it
Elastix ♥♥♥ LOVING IT ♥♥♥
Reply Quote
 
#85356
Re:Redundancy betwn 2 elastix servers 8 Months, 2 Weeks ago Karma: 0
Thanks for the reply.

I have to configure two estrix servers at two different locations which can mirror image each other and both can be connected through sip trunk to internet.one server will act as a master and another as a slave. when the master one fails, slave becomes the master and all the phones will register with the slave for that point of time. I am new to elastix.

Once again thanks for your reply.
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
sharmaketan25@yahoo.com
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2011/11/09 11:29 By sharmaketan25@yahoo.com.
Reply Quote
 
#89754
Re:Redundancy betwn 2 elastix servers 6 Months, 1 Week ago Karma: 0
I would like to implement same thing between two Elastix boxes located in two different locations (locations linked with VPN tunnel.)

I know that it’s possible by syncing directories that contains configurations between the two boxes, phones have to be configured with two proxy servers and each box has to have similar trunks or connection to PSTN, but I don't have a specific guide to accomplish this with. Being a newbie in Linux world makes it even more challenging.

So far I have found this page where it is explained how to accomplish it, check it out: www.thiscoolsite.com/?p=6

I need redundancy, if someone can help me with some guidelines and instructions, I would highly appreciate that.

Thanks,
Shuja Najmee
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
shuja.najmee
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#89918
Re: Redundancy betwn 2 elastix servers 6 Months, 1 Week ago Karma: 0
I have an issue :

How can i direct my phones which are connected to primary server at one location to the secondary server which is some where else and the phones are at the location where the primary server is located. The connectivity between two sites is through internet.
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
sharmaketan25@yahoo.com
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#90047
Re: Redundancy betwn 2 elastix servers 6 Months, 1 Week ago Karma: 0
sharmaketan25@yahoo.com wrote:
I have an issue :

How can i direct my phones which are connected to primary server at one location to the secondary server which is some where else and the phones are at the location where the primary server is located. The connectivity between two sites is through internet.


The best solution is DBRD+Heartbeat. Unfortunately it is not very practical over slow (ie WAN) connections because it is syncronous.
www.linuxjournal.com/article/9074

I have never been able to find a good solution for doing it over WAN. The closest possibility is MySQL replication which is asyncronous so it can work practically over WAN. Unfortunately there is no way to replicate Master/Master where you can automatically switch a Slave into a Master upon failover which is what this requires to do it right. MySQL replication is a bit complicated to deal with as well.
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
powerpbx
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2011/11/16 15:44 By powerpbx.
Rent a Virtual Asterisk Server
Links hidden for unregistered users. Login or register Here
Reply Quote
 
#90145
Re: Redundancy betwn 2 elastix servers 6 Months ago Karma: 0
I know people out there has been able to accomplish a sync system between to live Asterisk servers using rsync. As long as there is a vpn tunnel to connect the two servers together. Rsync can be sat up to replicate directories.

I am disperate to implement this myself in the next couple of months, I will post my outcome here.

Thanks,
Shuja Najmee
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
shuja.najmee
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#90148
Re: Redundancy betwn 2 elastix servers 6 Months ago Karma: 0
shuja.najmee wrote:
I know people out there has been able to accomplish a sync system between to live Asterisk servers using rsync. As long as there is a vpn tunnel to connect the two servers together. Rsync can be sat up to replicate directories.

I am disperate to implement this myself in the next couple of months, I will post my outcome here.

Thanks,
Shuja Najmee


The problem with rsync is that it doesn't play nice with live MySQL databases resulting in corruption.
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
powerpbx
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Rent a Virtual Asterisk Server
Links hidden for unregistered users. Login or register Here
Reply Quote
 
#90279
Re: Redundancy betwn 2 elastix servers 6 Months ago Karma: 0
How important is SQL for Elastix to function? Does Elastix use SQL at all?

Thanks,
Shuja Najmee
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
shuja.najmee
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#90282
Re: Redundancy betwn 2 elastix servers 6 Months ago Karma: 0
shuja.najmee wrote:
How important is SQL for Elastix to function? Does Elastix use SQL at all?

Thanks,
Shuja Najmee


Not just Elastix (Technically it's FreePBX that uses SQL) but also Sugar and A2Billing and probably some other things Elastix bundles.

So to answer your question, without SQL Elastix does not function. All configurations are stored in SQL and written out to text files every time you apply configuration changes.

If you want to run without SQL you have to run Asterisk without any GUI (ie. without Elastix) and without realtime and manually create text config files.
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
powerpbx
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2011/11/19 13:45 By powerpbx.
Rent a Virtual Asterisk Server
Links hidden for unregistered users. Login or register Here
Reply Quote
 
Go to top
Post Reply
Post New Topic
Page: 12
Moderators: Bob, jgutierrez
Protected by Spam Fighter