How to Setup Hot Standby (MyPBX Enterprise and U series)

Introduction
Two MyPBX could be optimized for use as a failover system which could provide rapid failover in the event of system failure. Once the active server failure is detected, all the telephony would be switched to the standby server automatically. Thus the downtime was kept to an absolute minimum to ensure the normal operation of all the functions for users.




Note:
1.Redundancy is supported in MyPBX Enterprise, MyPBX U100/U200/U300/U5XX.
2.Two MyPBX should own exactly the same hardware type, firmware version, modules and their positions.
3.All the configurations, database will be sent to the standby server automatically.

How to configure redundancy (Hot standby)

Step1. Verify the basic information of the server

Click ‘systemhost standby’ to get this page, check the hardware and firmware version in advance, all the modules and there posions are listed here. If all are the same between two MyPBX, move to step2.
Note: There are no sockets in MyPBX U300, we can ignore the modules’ information then.

Step2. Configure the IP address and hostname of the primary and secondary servers.




Click ‘ system’LAN settings, configure their IP address and Hostname. When done, reboot MyPBX to take effect.
Note:  
1.Redundandy is working fine for LAN port only. Not working for WAN port.
2.Hostname of two MyPBX should be different, for example PrimaryPBX,SecondaryPBX

Step3. Configure Hot Standby Settings.

Click ‘system’ ‘Hot standby’ to configure that. The primary device is recommend to be configured in advance. When done, reboot these two devices to take effect.

Mode: Primary means the main unit; Secondary means the standby unit;
Secondary/Primary Hostname: If this unit mode is primary, then you need to input the hostname of standby unit; vice versa, if this unit is selected as secondary, then the hostname of primary unit is required. In brief, you need to input each other’s host name in this field.
IP: You need to input each other’s IP address in this field.
Access code: To make an identification number to verify each other. The number must be the same to both units.
Virtual IP address: Fill in a virtual IP address including mask, which always points to the currently activated unit. Customer can register IP phones through this virtual IP address. Please make sure the virtual IP address including mask is the same on both units but different from their former IP address.  
Network Connection Detection:Generally it requires the IP address of the router or gateway that connects both units. MyPBX will connect the other unit through this IP address.  
Down Notification:The way of informing customer that the system breaks down.  
Keep Alive: Every 2 seconds, a package will be sent from one unit to the other, which can test whether they are working properly.
Dead Time: The default setting is 120 seconds. If there’s no response within 120 s after one receiving a package from the other, then the normal working unit will figure the other unit is dead and send an email to report the failure.
Disk Synchronization: It works for synchronizing the data on hard disk only, such as the call recording files and CDR files saved in disk. The configurations in MyPBX will not be influenced by this feature. Two options are available: timing synchronization and real-time synchronization.

Note:
1.Virtual IP address is a shared IP of this solution, which is used as server IP of IP phone.
2.When we choose SMS notification, please configre the SMS settings correctly, enable Email to SMS, make sure POP3 test works fine. 8 numbers(MAX).
3.When Email notification is configured, please make sure the SMTP test works in ‘voicemail settings’ page. 8 email addresses(MAX).

Step4. Test
Create a trunk or an extension in primary device, save it and apply the changes, we can see the same modification added in standby device.

Note: The status of extension and trunks in standby device are not available because it’s sleeping.

Have more questions? Submit a request

2 Comments

  • 0
    Avatar

    Dear Sir/Madam

     

    Thanks for your blog, its really helpful. I did the same thing, as you has shown above. Its really working. I need to ask you about phone configuration. My phone is not registered with the secondary PBX.

    Scenario for my set is shown below....

    Primary PBX                                                                          Secondary PBX

    IP1: 10.100.10.150 mask - 255.255.255.0             IP1: 10.100.10.155/255.255.255.0

    IP2: 192.168.5.150 mask - 255.255.255.0             IP2: 192.168.5.150/255.255.255.0

    Gateway are same : 192.168.5.1

    Hardware same (U100)

    Firmware is same.

    passwords are same.

    extension registered in Primary is 300, after primary shutdown secondary takes replica of primary, but IP phone is not register.

    IP Phone IP is 10.100.10.151/255.255.255.0

    Can you help me out to resolve this issue.

     

    Regards

    SOHAIB AHMED

  • 0
    Avatar

    Hello Sohaib,

    For the issue you described, i would suggest you to check below:

    1, Make sure the IP phone is configured to register to the virtual IP address, which should be 192.168.5.150 according to your description;

    2, Make sure the IP phone can registered successfully with the virtual IP address;

    If IP phone can not registertored correctly, you can check if the regsiter remotely is enabled or not on the Extension page. As the IP phone and PBX's virtual IP address is not in the same network, you need to enable register remotely option on MyPBX's extension page;

    If you have further questions, i would suggest you to read this article

    https://support.yeastar.com/hc/en-us/articles/215884298-How-to-Get-Yeastar-Technical-Support

    and use your prefer way to ask for technical support. 

Please sign in to leave a comment.