Page 1 of 1

cluster issue

PostPosted: Mon Aug 11, 2014 6:27 pm
by dragn-fire
hoping someone can steer me where I"m going wrong, Going from a single setup server (goadmin 3.0) to a cluster of 2 servers(goadmin 3.0 1 is db/web and other is asterisk server)here's the setup:

DB server running goadmin 3.0 (vicidial 1.4.39.1-vici) 192.168.2.40
asterisk server running goadmin 3.0 (vicidial 1.4.39.1-vici) 192.168.2.41

Original server 192.168.2.125 I did a mysqldump from, assuming as all 3 are running the same build there shouldn't be any additional configs due to wrong versions of mysql. import etc.. seems to have worked fine.

Here's the issue, if I check the settings in the web gui of vicidial on the db/web server (192.168.2.40) I see all the phones and data imported properly, but if I try and register a phone it fails, if I check the sip-vicidial.conf file it's empty :(

Both servers are setup in the gui in the servers section. I'm a bit confused on which of the 2 servers do I set : Generate Conf Files and Rebuild conf files. to yes on. I have both servers for the telnet host listed as 192.168.2.41.

/etc/astguiclient.conf are the same except on the db server I have vardb_server as localhost vs on asterisk server it's set to 192.168.2.40 (db ip). Also on the db server VARactive_keepalives = 12345678 vs on asterisk server it's 123468.

Any help is much appreciated.

thanks

DF

EDIT NOTE: Figured out the problem, databases (phones / conferences / carriers) where pointing to db server (192.168.2.40) instead of asterisk server (192.168.2.41).