Page 1 of 1

Asterisk HA

PostPosted: Mon Nov 28, 2016 7:24 am
by rbbumanlag
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?

Re: Asterisk HA

PostPosted: Mon Nov 28, 2016 7:31 am
by Vince-0
Sound files can be synced safely.

Reporting comes from the database, not the log files.

Re: Asterisk HA

PostPosted: Mon Nov 28, 2016 11:46 pm
by rbbumanlag
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!

Re: Asterisk HA

PostPosted: Tue Nov 29, 2016 6:28 am
by mflorell
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.