Project

General

Profile

time sync issues accross VM servers

Added by richard guevarra over 9 years ago

I know that GOautodial doesnt really support VM installation but I have seen people here successfully implement a virtualized cluster of GOautodial using Poundteams instruction.

my system is running on a virtual box on a mac air with i5, 4gb mem, 125gb SSD
VM1, apache/dialer
VM2, apache/dialer
VM3, sql server(apache is still running to verify settings)

my problem is the time synch on dashboard.

what i have done:
edited /etc/php.ini and added the time zone.
configured VM1 and VM2 to sync time via NTP on VM3
configured centos time zone to be the same time zone on 3 VM's
configured GOautodial on VM's to use same timezones all looks OK.
edited crontab to sync time with VM3 on boot up.

I have seen people saying that dahdi is required. dahdi dummy driver is in place.. will this be enough? this is just a test environment..

what else do i need to do to remove the time sync error? or is this just a bug because if I look at VM3 which is the MySQL server everything is synchronized.


Replies (7)

RE: time sync issues accross VM servers - Added by richard guevarra over 9 years ago

additional issue.

is it normal that I can only add phones thru the VM3 GOautodial GUI?

RE: time sync issues accross VM servers - Added by Demian Biscocho over 9 years ago

GOautodial runs fairly well on VM installations.

You don't need to edit any PHP settings for the date or time zone settings. Just make sure all the servers have the same timezone. Check this document on how to do that: http://unix.stackexchange.com/questions/18373/command-line-tool-to-set-time-zone. Also make sure that all the VMs/servers synchronize to a time server.

Dahdi (or Dahdi dummy driver) is required for the dialer/meetme VM/server.

Can you post the output of "screen -ls" from your dialer VMs?

RE: time sync issues accross VM servers - Added by richard guevarra over 9 years ago

Thank you for the reply. I just followed poundteam's install instruction and some forums regarding NTP sync issues. its good to know i dont need to sync locally..

Please check attachment for the output of screen -ls.

how about the issue where I can only add phones using mysql GOautodial GUI. and I cant add carrier too. it seems .conf are not being updated when I use dialer VM.

add phone using dialer VM--> no update on dialer VM's /etc/asterisk/sip-vicidial.conf
add phone using DB VM --> update on dialer VM's /etc/asterisk/sip-vicidial.com

add carrier on dialer VM--> no update on dialer VM's /etc/asterisk/sip-vicidial.conf
add carrier DB VM--> no update on dialer VM's /etc/asterisk/sip-vicidial.conf but update is found on DB VM's /etc/asterisk/sip-vicidial.conf

please also check my astguiclient.conf

RE: time sync issues accross VM servers - Added by Demian Biscocho over 9 years ago

Where is your web server located? You only need to use a central web server (unless you have 1 hundred+ seats) to configure everything.

RE: time sync issues accross VM servers - Added by richard guevarra over 9 years ago

we are currently trying to implement this on pure VM. all servers are on my laptop..

plan is:

1 mysql server plus slave(future proof?)
web/asterisk server for 100 agents
if we need to add more agents we will add another VM.
web/asterisk server should handle administration of adding phones, carrier, leads,campaigns etc etc.
reports will be handled by mysql server but web/asterisk server should be able to get the data.
this are possible with GOautodial right?

i have edited /etc/goautodial.conf and changed the localhost to IP of mysql server. this fixed my previous problem with time sync, adding phones via web/asterisk server. I can add phones, carriers now. but i have lost capability to see campaigns, reports, list and scripts. it is giving me a "Unable to connect to your database server using the provided settings." i might need to make some changes again.. I wonder why other people who have tried a clusteres GOautodial have not experienced this issues.. it is a fresh install of a GOautodial 3.3 iso.

Anyway, GOautodial still rocks in my book. more power Sir Demian.

RE: time sync issues accross VM servers - Added by Demian Biscocho over 9 years ago

Did you upgrade your GOadmin to the latest GIThub version? Can you post your goautodial.conf file here?

RE: time sync issues accross VM servers - Added by richard guevarra over 9 years ago

Issue was resolved. wrong configuration on goautodial.conf thanks!

    (1-7/7)
    Go to top