Set up Heartbeat on Primary Brekeke SIP Server
Note:
Create SIP Monitoring Heartbeat on primary Brekeke SIP Server
At primary Brekeke SIP Server admintool > [Configuration] > [Heartbeat], create [New Heartbeat]
Monitoring methods: SIP IP Address: 127.0.0.1<:port> //localhost and port (port setting is optional if using default SIP port 5060) Interval: 10000 Response Code: leave it blank
Save the settings
Add Actions to SIP Monitoring Heartbeat
Action 1: Delete virtual IP from primary server PC when failover happens to avoid IP conflict because primary Brekeke SIP server is inactive but network is still alive.
Type: Delete IP Address (Linux/Win) Position: 1 Interface Name: the interface name, e.g. eth0 or Local Area Connection IP Address: VIRTRUAL_IP_ADDRESS, e.g. 172.16.0.10 Subnet mask: subnet mask of virtual IP, e.g. 255.255.0.0 Remote URL: leave it blank
Action 2: Send notification email when primary Brekeke SIP Server is inactive
Type: Send Email Position: 2 To: a real email address From: a real email address Subject: text [Body] SMTP Server: your mail server address POP3 Server: your mail server address User: your mail server logon information Password: your mail server logon information SMTP authentication: on Encrypted Connection(SSL): off/on depend on your mail server type
Save the settings
Create Network Monitoring Heartbeat on primary Brekeke SIP Server
At primary Brekeke SIP Server admintool > [Configuration] > [Heartbeat], create [New Heartbeat]
Monitoring methods: Network IP Address: a network device IP, such as router IP e.g. 172.16.0.1 Timeout: 3000 Interval: 500 Retry: 2
Save the settings
Note: Set large number to [Timeout] and [Retry] fields when it takes time to get response from network device due to slow network, such as using VPN for network connection.
Add Action to Network Monitoring Heartbeat
Action 1: Delete virtual IP from primary server PC to avoid IP confliction in case network connection is resumed after failover happens
Type: Delete IP Address (Linux/Win) Position: 1 Interface Name: the interface name, e.g. eth0 or Local Area Connection IP Address: VIRTRUAL_IP_ADDRESS, e.g. 172.16.0.10 Subnet mask: subnet mask of virtual IP, e.g. 255.255.0.0 Remote URL: leave it blank
Save the settings
Start Heartbeat
At primary Brekeke SIP server admintool >[Configuration] > [Heartbeat] page, click the [start] button for both network and SIP monitoring heartbeat.
If the [Auto Start] check box is checked, the heartbeat will start automatically when Brekeke SIP Server restarts.