Redundancy in 3CX

User to User - Answers are provided by the community. 3CX does NOT provide technical support via this forum. Commercial grade support should NOT be expected

Moderators: kevin, 3CX staff

Redundancy in 3CX

Postby jawad » Sun Nov 29, 2009 6:20 am

Dear All,

I want to have a redundant 3CX system, when ever there is a power down or a system crash, i want that redundant system to take over. Can it be done in 3CX that runs on windows OS, if yes.. Kindly share the details.

Early respoce is appreciated.

Thanks in Advance.!!!!
jawad
New User
 
Posts: 4
Joined: Mon Nov 09, 2009 2:27 pm

Re: Redundancy in 3CX

Postby KerryG » Sun Nov 29, 2009 7:18 am

There is nothing built into 3CX to support this. You could have a second system up and running and do automated backups from the primary system and automated restores to the backup system but you would have to change the IP address of the backup system somehow if the primary system went down.
ImageImage
KerryG
3CX Valued Professional
3CX Valued Professional
 
Posts: 1204
Joined: Fri Jun 19, 2009 3:27 pm
Location: Tustin, Ca

Re: Redundancy in 3CX

Postby jawad » Sun Nov 29, 2009 7:38 am

Thanks Kerry!!!! for the information, but can you please tell me how can i have the automated backup and restore programmed is it buit in 3CX or do i need to do something in Windows.!!!

Thanks in advance!!!
jawad
New User
 
Posts: 4
Joined: Mon Nov 09, 2009 2:27 pm

Re: Redundancy in 3CX

Postby LeonidasG » Sun Nov 29, 2009 12:44 pm

You are gonna have to make / run a script for it.

Here's my Working solution for it.
download/file.php?id=1152
And it's Fully Automated.




You can Change the Program Files Path in the script if you are using 64Bit / 32Bit Machines.
You will have to make a Folder Called 3CXBackups in your C:\ Directory first so all the backups will go there.
Leonidas Georgiou 3CX PBX QA Engineer / Test Engineer / 3CX Support

Image
3CX News, Tips and How to's at http://www.3cx.com/blog/
LeonidasG
3CX Support
3CX Support
 
Posts: 1211
Joined: Wed Nov 19, 2008 2:10 pm
Location: Cyprus / Nicosia

Re: Redundancy in 3CX

Postby KerryG » Sun Nov 29, 2009 7:25 pm

Thanks Leonidas, you beat me to it. :)
ImageImage
KerryG
3CX Valued Professional
3CX Valued Professional
 
Posts: 1204
Joined: Fri Jun 19, 2009 3:27 pm
Location: Tustin, Ca

Re: Redundancy in 3CX

Postby LeonidasG » Sun Nov 29, 2009 9:44 pm

KerryG wrote:Thanks Leonidas, you beat me to it. :)


I beat you to what? :P
Do you also have Back Up Script? I'd love to see it if possible :P
Leonidas Georgiou 3CX PBX QA Engineer / Test Engineer / 3CX Support

Image
3CX News, Tips and How to's at http://www.3cx.com/blog/
LeonidasG
3CX Support
3CX Support
 
Posts: 1211
Joined: Wed Nov 19, 2008 2:10 pm
Location: Cyprus / Nicosia

Re: Redundancy in 3CX

Postby KerryG » Mon Nov 30, 2009 5:13 am

I just have some simple instructions for people at http://www.voipstore.com/automatically- ... cx-system/
ImageImage
KerryG
3CX Valued Professional
3CX Valued Professional
 
Posts: 1204
Joined: Fri Jun 19, 2009 3:27 pm
Location: Tustin, Ca

Re: Redundancy in 3CX

Postby LeonidasG » Mon Nov 30, 2009 8:11 am

Ah nice,

The one i posted above is an a bit more complex version of it.
What it does is that it runs every 1,4,8-Hours - 1Day - 1Week. ( You can input this as you like ) without the need to interact with the Machine.
It also puts dates and Times on every Backup so that you know on what date every backup was taken on.

No need to tediously go to the machine and Having to Backup Manually. Just leave it there Running.
Leonidas Georgiou 3CX PBX QA Engineer / Test Engineer / 3CX Support

Image
3CX News, Tips and How to's at http://www.3cx.com/blog/
LeonidasG
3CX Support
3CX Support
 
Posts: 1211
Joined: Wed Nov 19, 2008 2:10 pm
Location: Cyprus / Nicosia

Re: Redundancy in 3CX

Postby LeonidasG » Wed Dec 02, 2009 8:41 am

As i said Mat,

The Script i just posted does just that.
You run it once, you input the Time interval to Backup 3CX and it will Make you a Backup non stop on the time interval you gave it.
You just leave it there running and it does everything for you. No need to even touch the PC again.

As i said you need to create the Folder: c:\3CXBackups ONCE and that's it.
All Backups will be placed there and will be Time / Date Incremented.


Here is the Download Link ( again )
http://www.3cx.com/forums/download/file.php?id=1152
Leonidas Georgiou 3CX PBX QA Engineer / Test Engineer / 3CX Support

Image
3CX News, Tips and How to's at http://www.3cx.com/blog/
LeonidasG
3CX Support
3CX Support
 
Posts: 1211
Joined: Wed Nov 19, 2008 2:10 pm
Location: Cyprus / Nicosia

Re: Redundancy in 3CX

Postby jawad » Wed Dec 02, 2009 11:22 am

Thanks for all your suggesstion, But i have a doubt here, when the system crashes how can i make the other system work or i mean redundant.. do i need to send the backup that takes place to the other system manually or is there something better. i want something like whenever the main system goes down i want the other system to take over.

Thanks in advance.
jawad
New User
 
Posts: 4
Joined: Mon Nov 09, 2009 2:27 pm

Re: Redundancy in 3CX

Postby LeonidasG » Wed Dec 02, 2009 11:59 am

For simple redundancy you can do the following:


Start > Run > services.msc

Select a 3CX Service > Properties > Recovery

First Failure > Restart the Program
Second Failure > Restart the program
Subsequent failures > Restart the program


Your 3CX PhoneSystem wont stop running all of a sudden for no reason unless there's a bug in the system.
And we do not release the PBX with these kind of bugs.

But if you still feel that it could fail, you can just do the above steps i gave you.
Leonidas Georgiou 3CX PBX QA Engineer / Test Engineer / 3CX Support

Image
3CX News, Tips and How to's at http://www.3cx.com/blog/
LeonidasG
3CX Support
3CX Support
 
Posts: 1211
Joined: Wed Nov 19, 2008 2:10 pm
Location: Cyprus / Nicosia

Re: Redundancy in 3CX

Postby LeonidasG » Wed Dec 02, 2009 3:39 pm

Very doable and easy.

How exactly do you want it to behave? Could you explain the Scenario that you want to do in more detail?
I'll get back to you with a new script for Automatic restoring as well.
Leonidas Georgiou 3CX PBX QA Engineer / Test Engineer / 3CX Support

Image
3CX News, Tips and How to's at http://www.3cx.com/blog/
LeonidasG
3CX Support
3CX Support
 
Posts: 1211
Joined: Wed Nov 19, 2008 2:10 pm
Location: Cyprus / Nicosia

Re: Redundancy in 3CX

Postby KerryG » Wed Dec 02, 2009 4:34 pm

Restore is done as follows:

3cxbackup.exe restore <backupname.zip>

So the script running on the primary machine is creating backup files and a script on the backup machine is running restore commands.
ImageImage
KerryG
3CX Valued Professional
3CX Valued Professional
 
Posts: 1204
Joined: Fri Jun 19, 2009 3:27 pm
Location: Tustin, Ca

Re: Redundancy in 3CX

Postby jawad » Thu Dec 03, 2009 5:15 am

Matt,

Truely said!!!!! i'm looking out what you said.

let me know if you come up with solution on this.

Thanks in advance.
jawad
New User
 
Posts: 4
Joined: Mon Nov 09, 2009 2:27 pm

Re: Redundancy in 3CX

Postby Discovery Technology » Thu Dec 17, 2009 11:11 am

We have setup two virtual servers using Vmotion to sync each server with an auto failover using the VM utilities to achieve this scenario, however it would be nice if an automated restore to a second windows system could be done also.
Discovery Technology - Australian 3CX Partner
http://www.discovery.net.au
Discovery Technology
3CX Valued Professional
3CX Valued Professional
 
Posts: 317
Joined: Sat Apr 19, 2008 3:59 am
Location: Sydney, Australia

Next

Return to 3CX Phone System - General (Community-led, no tech support)


Who is online

Users browsing this forum: craigreilly and 1 guest

Announcements: