Asterisk HA

Any and all non-support discussions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Asterisk HA

Postby rbbumanlag » Mon Nov 28, 2016 7:24 am

Hi Vicidial,

Specification:

ViciBox 6.0.4.(iso) | Asterisk 1.8.32-3-vici | VERSION: 2.12-538a BUILD: 160122-1401 | Cluster Setup | Intel(R) Xeon(R) CPU E5-2680 V3 @ 2.5GHz | 16GB DDR4 RAM | 1TB (SAS) 10kRPM |No Digium/Sangoma Hardware | No Extra Software After Installation | Virtualized on XenServer

Question:

I am now testing corosync + pacemaker on my vicibox installation. Failover is working fine using the virtual ip address on opensuse. If it is safe to create a script to sync sound directories on each HA cluster? Will I have a problem on the reporting on this for they have different logs on the asterisk logfile?
rbbumanlag
 
Posts: 74
Joined: Mon Sep 26, 2016 10:37 am

Re: Asterisk HA

Postby Vince-0 » Mon Nov 28, 2016 7:31 am

Sound files can be synced safely.

Reporting comes from the database, not the log files.
Vince-0
 
Posts: 272
Joined: Fri Mar 02, 2012 4:27 pm
Location: South Africa

Re: Asterisk HA

Postby rbbumanlag » Mon Nov 28, 2016 11:46 pm

Hi Vince-0,

Thanks! I have another problem, I added a server on my vicidial using vicibox installation. the new added asterisk server is in HA. sharing a Virtual IP. My problem is that when it creates a iax2 trunk to my asterisk server for prod, it uses its physical IP and not the virtual IP address. I already edited the bindaddr=Virtualip to the sip.conf but still Iax2 is seeing the physical ip of my 2 asterisk servers in HA.

Thanks!
rbbumanlag
 
Posts: 74
Joined: Mon Sep 26, 2016 10:37 am

Re: Asterisk HA

Postby mflorell » Tue Nov 29, 2016 6:28 am

VICIdial will use whatever IP address you put in the servers table "server_ip" field as the connection for other active servers in the cluster to use.
mflorell
Site Admin
 
Posts: 18335
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 55 guests