David John Walsh
2005-Apr-26 17:05 UTC
[Asterisk-Users] Warm standby boxes - keeping config syncronised?
Ok probably not strictly an asterisk question. I have an asterisk box, which is running some non-critical telephones in our organisation, and if it fails it fails. However comming from a telecoms background I always want to make things recoverable quickly. Since I have little budget, and down time isn't an issue my thoughts are as folllows 2 servers with 2 NIC's each, one nic for managment, one for traffic. 1 NIC on each machine has the same IP address, but only one is plugged into the network at any one time. 2 PRI's that are plugged into the machine that is live to traffic. Apart from the managment NIC having different IP addresses they are configured identically If I make a change to the in-service server, how do I automagically get the other server to take a copy of it? I'm not a linux man by trade, so if you say set up master / slave would you be kind enough to suggest an aplication and how it would be implimented. Thanks for any ideas
Ed Greenberg
2005-Apr-26 17:34 UTC
[Asterisk-Users] Warm standby boxes - keeping config syncronised?
How about using rsync on a cron timer to copy the config directory from the primary to the secondary. You could have them sync every five minutes if you liked. Also, plug the nic into the secondary (with the same IP address) but just don't autostart the interface. If the first box goes down, your monitoring box can connect to the management interface on the second box and bring up the traffic interface (and anything else that needs bringing up, like maybe Asterisk :) </edg> --On Wednesday, April 27, 2005 1:05 AM +0100 David John Walsh <davidjohnwalsh@gmail.com> wrote:> Ok probably not strictly an asterisk question. > > I have an asterisk box, which is running some non-critical telephones > in our organisation, and if it fails it fails. > > However comming from a telecoms background I always want to make > things recoverable quickly. Since I have little budget, and down time > isn't an issue my thoughts are as folllows > > 2 servers with 2 NIC's each, one nic for managment, one for traffic. > 1 NIC on each machine has the same IP address, but only one is plugged > into the network at any one time. > > 2 PRI's that are plugged into the machine that is live to traffic. > > Apart from the managment NIC having different IP addresses they are > configured identically > > If I make a change to the in-service server, how do I automagically > get the other server to take a copy of it? > > I'm not a linux man by trade, so if you say set up master / slave > would you be kind enough to suggest an aplication and how it would be > implimented. > > Thanks for any ideas > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
Rod Bacon
2005-Apr-26 18:22 UTC
[Asterisk-Users] Warm standby boxes - keeping config syncronised?
This sounds like a Job for ARA. You can make your * servers read their config from a central database server.... ----- Original Message ----- From: "David John Walsh" <davidjohnwalsh@gmail.com> To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users@lists.digium.com> Sent: Wednesday, April 27, 2005 10:05 AM Subject: [Asterisk-Users] Warm standby boxes - keeping config syncronised? Ok probably not strictly an asterisk question. I have an asterisk box, which is running some non-critical telephones in our organisation, and if it fails it fails. However comming from a telecoms background I always want to make things recoverable quickly. Since I have little budget, and down time isn't an issue my thoughts are as folllows 2 servers with 2 NIC's each, one nic for managment, one for traffic. 1 NIC on each machine has the same IP address, but only one is plugged into the network at any one time. 2 PRI's that are plugged into the machine that is live to traffic. Apart from the managment NIC having different IP addresses they are configured identically If I make a change to the in-service server, how do I automagically get the other server to take a copy of it? I'm not a linux man by trade, so if you say set up master / slave would you be kind enough to suggest an aplication and how it would be implimented. Thanks for any ideas _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users