Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Introduction

This guide will walk you through the process of setting up a warm spare server.

APPLICATION NOTE

You will need 2 PBX servers of the same model with identical hardware including analog and digital cards.

Each server must have it's own set of licences for any commercial modules used.

This article assumes the following

  • You have an existing a PBX system will be your primary server.

  • You have an identical PBX system equally licensed that will act as the warm spare.
  • 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

Setting up share keys between the two servers so they can communicate across SSH on port 22.

Begin by creating a user and an SSH key on our warm standby server so that it can log in to the primary production server and transfer backups to itself.

Login to your backup server with an SSH client such as PuTTy, SecureCRT, or other SSH client.

At the prompt type:  sudo -u asterisk ssh-keygen

APPLICATION NOTE

You will be asked 3 questions, simply press "Enter" to accept the defaults.

Now we will copy the key to the primary server so that the backup server can SSH to the primary server without needing a password. Issue the command. 

At the prompt type: sudo -u asterisk ssh-copy-id -i /var/lib/asterisk/.ssh/id_rsa.pub root@PrimaryServerIP And enter the password when prompted. 

APPLICATION NOTE

Make sure you replace the PrimaryServerIP with the IP Address of your primary PBX

If this command completes without error we are ready to test:

At the prompt type: ssh -i /home/asterisk//.ssh/id_rsa.pub root@PrimaryServerIP

If all went well you should now be logged in to the Primary server.

Creating Backup Job

Now we will log into the warm spare PBXact's administration GUI.

  • From your browser go to http://IPADDRESS and then click on PBX Administration.
  • In the pop up enter your username and password, then click continue.

APPLICATION NOTE

Replace IPADDRESS with the actual IP address of your warm spare. This assumes you are on standard port 80. If you are using a different port or https please adjust accordingly.

Once Logged:

  • Click Admin
  • In the drop down click Backup & Restore 

You should now see the following:

 

  • No labels