ScopTEL Automatic Failover

Enable Automatic Failover (Heartbeat) with ScopTEL IP PBX

How to Enable Automatic Failover ?

This article illustrates how to implementing VERY simple active/passive IP failover using ScopTEL IP PBX.

The Automatic Failover (heartbeat) module allows two (2) servers to share an high availability IP address.

Each server has its own normal IP address used to administer the server. There is then a 3nd  Floating IP address that SIP/IAX2 clients and SIP Gateways/Trunks connect to. This normally runs on the primary server as an IP alias for the WAN (eth0:0) Interface.

The backup (slave) server then monitors the health of the primary server, and if it crashes the backup (slave) takes over the service IP address. The backup monitors the primary through the LAN network and optionally through a null modem cable connected between the serial ports on each server.

 

For the purposes of this article we will have two (2) servers, and three (3) IP addresses, for this setup we have two (2) internal/LAN IP’s and one (1) Public/WAN IP address.

The IP/Hostnames/DNS we will be using are as follows:

  • pbx.dr.scopserv.com: 205.237.45.129 (WAN) (Floating IP, not a physical server/node)
  • pbx01.dr.scopserv.com 192.168.120.101 (LAN) (Server/Node 1)
  • pbx02.dr.scopserv.com 192.168.120.102 (LAN) (Server/Node 2)

 

To configure Heartbeat on ScopTEL PBX is pretty easy. Do the steps below on both servers :

  • Log into ScopTEL PBX GUI as administrator
  • Go on Configuration -> Server -> High Availability module.
  • Click on Edit and check the Enable Automatic Failover (Heartbeat) option.
  • Set Floating IP Address used by SIP/IAX2 clients and/or Gateways/Trunks.
  • Define the IP Address and Hostname for both servers.

You also have others options to manage the Failover (Heartbeat) service. By sample, if you want to use a null model cable instead of Network  broadcast, you can change the Interface Mode to Serial Port.

 

Server -> High Availability -> Heartbeat

 

That’s it!!! Fire up both servers/nodes, pull the plug on your primary node (server 1), and check backup server (server 2) to see that it has taken over your High Availability services and Floating IP Address.

    • Related Articles

    • Enable Instant Messaging (XMPP) Service on ScopTEL PBX

      We will look at how to setup an Instant Messaging server on ScopTEL PBX using a free and open source XMPP based IM server. Openfire is a real time collaboration (RTC) server dual-licensed under the Open Source GPL and commercially. It uses the only ...
    • Configure High Availability Telephony server

      The ScopTEL IP PBX supports different methods for High Availability and replication of MySQL databases; this article will explain the easiest way to configure two (2) servers in a failover (active/passive) scenario. We will show how to replicate the ...
    • How to implement Skill Based Routing (ACD) on ScopTEL PBX

      Skills Based Routing Definition The following is the Wikipedia definition for Skills Based Routing: “Skills based routing (SBR) is a call assignment strategy used in call centers to assign incoming calls to the most suitable agent, rather than simply ...
    • How to establish a SIP trunk between ScopTEL IP PBX and Microsoft Lync

      We will see in this article how to configure a Scopserv system so it can communicate with Microsoft Lync/OCS Two steps are required in order to use an external link, and two other steps are optional: Creation of a VoIP Account Creation of an incoming ...
    • ScopServ Developer Kit for Linux (PHP classes)

      ScopServ released today the first version of its ScopDEV (SDK) for Linux (PHP classes). This PHP class API has been eagerly awaited by the community and follows the Windows API released about 6 months ago. It comes with some 50 samples and will ...