mattlandis Posted December 1, 2009 Report Share Posted December 1, 2009 I've written a windows VBScript that will make a simple failover solution for Windows. Basically you have 2 servers running pbxnsip with the configuration you want. When the live server goes down the backup server will take on the IP address of the live server. On the failover server you schedule the attached vbscript to run every minute: c:\heartbeat <live_server_ip> <live_server_mask> <live_server_gateway> example: c:\heartbeat 192.168.1.10 255.255.255.0 192.168.1.1 Everytime the script runs and the live server is up a windows event log will be written of success. The instant the live server fails, the failover process will role into action: #1-windows event log of failure will be written #2-IP address change will be done and event log written. Roadmap Features: -copy data from live server to failover on ongoing basis -automatically start the pbxnsip service Current Requirements: -pbxnsip running on a second server with the configuration in place -a pbxnsip license key with MAC address of master and backup server This is beta, sloppy code (hey, i did it in 1.5hr) and not tested very much yet. So test on a test senario and give me feedback. Matt heartbeat.zip Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.