Infonote |
---|
This information on this page applies only to PBX versions 14.x and lower. For version 15+, please see: Warm Spare Backup Server 15+ |
Table of Contents |
---|
Introduction
This guide will walk you through the process of setting up a warm spare server.
...
You have an existing PBX system that will be your primary server.
You have an identical PBX system that will be your secondary server.
Both servers have identical licensing (users, modules,ect)
Both servers have identical Analog/PRI/BRI hardware (if used).
The two servers can communicate on an IP level with each other on port 22.
Setup
SSH Keys
First we will set up share keys between the two servers so they can communicate across SSH on port 22.
...
If all went well, you should now be logged in to the Primary server.
Creating the Backup Job
Now we will log into the warm spare's administration GUI.
...
Backup Server - Select your primary PBX in the drop-down.
A Restore Here option will appear. Select Yes. This will cause 3 additional settings to appear.
Disable Registered Trunks - Select Yes if SIP trunks are registered with your carrier, or if the two systems will compete for the trunk registration. Otherwise you can leave set to No.
Exclude NAT settings - Select Yes if you want to exclude any machine-specific IP settings. This allows you to have a warm-spare machine with a different IP address.
Exclude BIND address - Select yes if you don't want the Asterisk BIND settings restored to the warm spare.
Storage Servers and Available Servers - If you want to also store a copy of the backup file on this server, drag the Local Storage item from the Available Servers bin on the right to the Storage Servers bin on the left.
Run Automatically - Set this to Daily. This will cause the script to run each day at midnight.
Click the Save button when done.
...
Running the Backup Job Manually
After saving, if not already back on the main page, click Backups in the menu at the right side of the screen. This will take you back to the main page.
...
To run the backup job and test all the settings, click the run button for the backup. The backup job may take a while.
...
Permanently Fail Over to the Backup Server
In the event that you would like to make your backup server become the production server, you would need to perform a few tasks.
Network
You need to update the IP Address of the backup box to be the (current) Primary PBX's IP Address so the phones and trunks know how to register to it.
...