using existing goauto's db for new installation

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

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

using existing goauto's db for new installation

Postby viciflash » Mon Jun 13, 2011 7:53 am

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.
GoAutoDial 2.0CE - standard install
Asterisk: 1.4.27.1-1
Vicidial: 2.2.1-237
Build: 100510-2015
Telephony cards: none
viciflash
 
Posts: 148
Joined: Sat Feb 19, 2011 3:23 am

Postby knotbeerdan » Mon Jun 13, 2011 4:22 pm

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
GoAutoDial 2.1CE - standard install | Asterisk: 1.4.27.1-1 | Vicidial: 2.4-309a | Build: 110430-1642| Telephony cards: none
knotbeerdan
 
Posts: 40
Joined: Thu May 05, 2011 4:31 pm
Location: Phoenix, AZ

Postby viciflash » Mon Jun 13, 2011 6:07 pm

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.
GoAutoDial 2.0CE - standard install
Asterisk: 1.4.27.1-1
Vicidial: 2.2.1-237
Build: 100510-2015
Telephony cards: none
viciflash
 
Posts: 148
Joined: Sat Feb 19, 2011 3:23 am

Postby viciflash » Fri Jun 24, 2011 8:13 am

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?
GoAutoDial 2.0CE - standard install
Asterisk: 1.4.27.1-1
Vicidial: 2.2.1-237
Build: 100510-2015
Telephony cards: none
viciflash
 
Posts: 148
Joined: Sat Feb 19, 2011 3:23 am

Postby williamconley » Sun Jun 26, 2011 12:44 am

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.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby viciflash » Sun Jun 26, 2011 9:49 am

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.
GoAutoDial 2.0CE - standard install
Asterisk: 1.4.27.1-1
Vicidial: 2.2.1-237
Build: 100510-2015
Telephony cards: none
viciflash
 
Posts: 148
Joined: Sat Feb 19, 2011 3:23 am

Postby williamconley » Sun Jun 26, 2011 11:05 am

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.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby viciflash » Sun Jun 26, 2011 6:58 pm

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.
GoAutoDial 2.0CE - standard install
Asterisk: 1.4.27.1-1
Vicidial: 2.2.1-237
Build: 100510-2015
Telephony cards: none
viciflash
 
Posts: 148
Joined: Sat Feb 19, 2011 3:23 am

Postby williamconley » Sun Jun 26, 2011 11:37 pm

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".
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby viciflash » Mon Jun 27, 2011 12:09 am

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.
GoAutoDial 2.0CE - standard install
Asterisk: 1.4.27.1-1
Vicidial: 2.2.1-237
Build: 100510-2015
Telephony cards: none
viciflash
 
Posts: 148
Joined: Sat Feb 19, 2011 3:23 am

Postby racosta79 » Mon Mar 19, 2012 6:16 am

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!
racosta79
 
Posts: 28
Joined: Fri Nov 19, 2010 7:27 pm


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 38 guests