Page 1 of 1
using existing goauto's db for new installation
Posted:
Mon Jun 13, 2011 7:53 am
by viciflash
im currently having problems with my goauto. i have another server which can be used for dialer. is it safe and straight forward to just point my newly installed goauto to an existing mysql used by another goauto?
is this straight forward change of ip, pointing to old installation?
thanks.
Posted:
Mon Jun 13, 2011 4:22 pm
by knotbeerdan
I have set up 5 goautodial server which all run off of the MySql db on the original server I had set up. All I had to do was add the other servers in goautodial-admin
Admin>servers>add new server.
Then in Admin>System Settings> I changed the Vtiger DB Server IP to the original server I had set up. This also allows for load balancing in between servers (though I am still working on figuring that part out)
I hope this is what you were asking for
Posted:
Mon Jun 13, 2011 6:07 pm
by viciflash
thanks.
but actually im not setting up load balance. im just having trouble with my current server. icon indicators are not working (shows "x" even if the services are running), cron got delete (i dont know how), put back the original cron but didn't work so used the ubuntu cron instead which i haven't compared yet.
i believe the settings are all in the database, correct me if im wrong, that is why i just want to point the new installation to my first dialer's mysql.
/etc/asterisk files will be transferred as well.
thanks.
Posted:
Fri Jun 24, 2011 8:13 am
by viciflash
just want to follow-up on this again. aside from pointing the new vici installation to original database and copying the /etc/ast... files, do i need to do or missed something?
Posted:
Sun Jun 26, 2011 12:44 am
by williamconley
There are two levels of this:
1) JUST using the DB server on the db server (no Vicidial Services, JUST MySQL). Single server operation with "non-local" database.
2) Running Vicidial on the DB server (and possibly allowing for Admin or Agent GUI or even Dialer functions) and/or on other servers sharing the same database.
If you are talking about #1, there are no "files" to be copied to the server. Just the database. Then time sync it to the Dialer and you're off and running. (methodology differs but remember to SYNC not "set" which requires using ntp.conf to sync the servers one to the other or both to the same 3rd server, but NOT to "the net somewhere" or "a pool", one-off only).
If you are talking about #2, look for the multi-server / cluster setup manual(s) which are available.
Posted:
Sun Jun 26, 2011 9:49 am
by viciflash
option 2.
im having problem with my current goauto. lots of weird things happening. so i want to start again from scratch except i'll be leaving the db on the first server. i dont know what settings are stored in the db and settings stored in the /etc/asterisk.
i thought of copying /etc/asterisk and point the vici's db to use the first server.
am i doing it right? if not the best option, what do you suggest?
thanks.
Posted:
Sun Jun 26, 2011 11:05 am
by williamconley
if you are going to run multiple dialers/web gui's you must follow the instructions for clustering servers. the amount of information contained in the multi-server manual is fairly large. not gonna post it all here. (that is kinda why we made the manual). to answer your question more directly, NO just copying the /etc/asterisk folder is not how you cluster a dialer.
but if ALL you are using on one server is the DB (no web, no dialer on that server and only ONE dialer using that database), then you are actually talking about #1 above, not number two.
Posted:
Sun Jun 26, 2011 6:58 pm
by viciflash
im not going to run multiple dialer/cluster setup. i actually want to transfer settings from server 1 to server 2. but instead of doing export/import of db, i will just point server 2 to server 1 so that the new server will use the old database.
i know there are settings stored in database and there are also in the /etc/asterisk.
again, im not after multiple/cluster setup. just want to start new and use the old data.
Posted:
Sun Jun 26, 2011 11:37 pm
by williamconley
i know there are settings stored in database and there are also in the /etc/asterisk
settings in /etc/asterisk are only for Dialers and Web. Nothing related to "db".
Posted:
Mon Jun 27, 2011 12:09 am
by viciflash
ok so if i copy and /etc/asterisk to the new server and point it to old db, will that be enough to start my new server?
im actually already in the process of trying it. just want to verify if i missed or doing the right thing or perhaps someone already tried this before.
Posted:
Mon Mar 19, 2012 6:16 am
by racosta79
Hello guys!
What are the procedures to run multiple dialers (asterisk server +web server) sharing only one database server hardware?
Do I need to have multiple asterisk named database as dialers and just point each new installation to its corresponding database?
What I am trying to do is like being "multi-tenant" just adding hardware for the web and for the asterisk.
Thank you!