Howto:Use LinuxAP Webdav Server in Redundancy Scenarios

From innovaphone wiki
Jump to navigation Jump to search

Applies To

This information applies to

All innovaphone devices with Linux Application Platform installed with redundancy.


More Information

Problem Details

When we install the Linux AP platform on the innovaphone IPxx10 Gateway, the CF card will be used by the Linux AP, not the gateway itself any more. Therefore, the webdav folder is hosted in the Linux AP and for that reason it's no longer possible to use the loopback IP address (127.0.0.1) when setting the URL on the innovaphone PBX objects for the announcements, voicemail scripts, etc. Instead, it's necessary to use the IP address of the Linux AP to reach the webdav folder.

The Voicemail Object features a backup URL, however the Waiting Queue, Message Waiting, Boolean Objects don't. In a Master-Standby scenario for redundancy where the Linux AP is installed on both Master and Standby Gateway it's necessary to use an URL on the PBX Objects that works in both Gateways. So when the Master fails the Standby e.g. still plays the announcements correctly.

Resolution

The solution suggested in this scenario is to define an additional IP address on both Linux AP's (Master-Standby) Ethernet interface that are identical and then set a static route on the innovaphone Gateway so the PBX is able to reach this IP address and afterwards use this IP address for the webdav URL inside the PBX.

Since both devices now have the same additional IP address configured on the Linux AP, the URL will also work on the Standby Linux AP.


1) Set the Additional IP on the Linux AP using ssh (ex. Putty), do the same procedure in both Linux AP (Master/Standby):

  • Edit the interfaces file -> vi /etc/network/interfaces
  • Add the additional IP eth0:0, you are free to setup the address you wish that doesn't conflict with the existing networks

Linux Webdav Redundancy 1.png


2) Add static route to the ETH2 in the innovaphone Gateway config:

Note: In this example, 172.16.3.149 is the real IP address of the Master Linux AP and 172.16.3.150 is the real IP address of Standby Linux AP. 192.192.192.192 is used as additional IP address on both Linux APs. Instead of 192.192.192.192 you could use any other private network IP address that is not used in your own network.


3) Configure the HTTP Client Credentials for the new Address at innovaphone Gateway:

Linux Webdav Redundancy 2.png