Html |
---|
<div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = 'https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.11'; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script> |
...
- Activate WMS network between the PBXs
- Set failover PBX in WMS -> Users -> PBXs:
- Click Failover column near the PBX you wish to set up failover for
- Failover setup dialog opens
- Select the failover PBX from the list
- Click Ok
- Make all the configuration on the main PBX (devices, Dialplan, call groups etc.)
- Disable devices sync from WMP on Failover PBX: add “disable_sync_portal=1”, “disable_sync_manual=1” to the config file /rw2/etc/pbx/device_sync.conf
- Make replication for Main PBX configuration:
- Access the failover PBX via SSH as root
- Run shell script sync_pbx
- Select 1 (Configure)
Enter IP or PBX domain (available starting from WMS 5.04) of the Main PBX
- Enter the admin password of the Main PBX
- Set failover PBX as secondary DNS server on unsupported devices
...
Note | ||
---|---|---|
| ||
Starting from WMS version 3.88.40477.20 the embedded DNS server is no more available for remote networks by default. If your failover PBX is remote or Cloud, follow the guide /wiki/spaces/DOC/pages/30279583 to disable the DNS restrict "mode". To temporarily enable DNS queries, use /etc/init.d/dns_restrict stop. But in order to always allow DNS queries, it is necessary to make the following change in file /etc/default/dns_restrict: dns_local=0 and then reboot the PBX. |
Note |
---|
Note: For DaySaver, follow instructions in the guide How to configure Failover by DNS for DaySaver. |
...
Run the following command on a Failover PBX to copy user files (which are encrypted) from a Main PBX:
Code Block scp admin@<pbx A>:/etc/user.d/*.lua /etc/user.d/ or scp -P 2222 admin@<pbx A>:/etc/user.d/*.lua /etc/user.d/ - for Cloud
where <PBX A> is a domain name of a Main PBX.
Then you need to set an owner of the copied files by running the command on the Failover PBX:
Code Block chown wms:wms /etc/user.d/*lua
...