Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
In a cluster, each machine runs all the scripts (except one, which only runs on the master). The master tells each machine what to do, and when to do it. have you set up the cluster properly? (there are specific instructions which MUST be followed to set up a vicidial cluster)roundqube wrote:What do you mean by "THAT script"? In this particular AST_conf_update.pl, it is not running properly because it is referencing the wrong IP since I have my actual server running Vicidial IP in the /etc/astguiclient.conf file.
See my confusion based on what you are saying and what the code shows?
$stmtA = "SELECT telnet_host,telnet_port,ASTmgrUSERNAME,ASTmgrSECRET,ASTmgrUSERNAMEupdate,ASTmgrUSERNAMElisten,ASTmgrUSERNAMEsend,max_vicidial_trunks,answer_transfer_agent,local_gmt,ext_context FROM servers where server_ip = '$server_ip';";
williamconley wrote:you have to go through the cluster setup unless the MySQL is the only piece you move to another box.
how will an asterisk channel variable be available to a script running on the Apache server?
roundqube wrote:Well in our environment, all we wanted to do was run multiple Vicidial's within one server and so that is what all the 4 VM's do for us. We want to keep Asterisk on the hardware especially since timing is critical. Running one vicidial per hardware server was a huge limitation for us so we separated our the Vicidial's into their own contained VM's that all access Asterisk and MySQL on the host machine. Makes more use of the hardware...
Users browsing this forum: No registered users and 90 guests