multiple servers - conferences and vicidial_conferences?
Posted: Tue Sep 12, 2006 5:31 pm
I am attempting to do load balancing with four servers:
Server 1: DB Server (192.168.1.2)
Server 2: Web Server (192.168.1.5)
Server 3: Asterisk Server (192.168.1.7)
Server 4: Asterisk Server (192.168.1.8)
I followed the LOAD_BALANCING.TXT file, but I noticed that there was no mention of how the conferences and vicidial_conferences tables are setup. In the scratch install you insert records along with the Asterisk server's IP address. Should I doing another set of inserts for the second Asterisk server's IP address?
insert into conferences values('8600011','192.168.1.7','');
insert into conferences values('8600012','192.168.1.7','');
....
insert into conferences values('8600011','192.168.1.8','');
insert into conferences values('8600012','192.168.1.8','');
...
insert into vicidial_conferences values('8600051','192.168.1.7','');
insert into vicidial_conferences values('8600052','192.168.1.7','');
...
insert into vicidial_conferences values('8600051','192.168.1.8','');
insert into vicidial_conferences values('8600052','192.168.1.8','');
...
If so, are there any other tables that need to be modified?
Thank you,
Sean
Server 1: DB Server (192.168.1.2)
Server 2: Web Server (192.168.1.5)
Server 3: Asterisk Server (192.168.1.7)
Server 4: Asterisk Server (192.168.1.8)
I followed the LOAD_BALANCING.TXT file, but I noticed that there was no mention of how the conferences and vicidial_conferences tables are setup. In the scratch install you insert records along with the Asterisk server's IP address. Should I doing another set of inserts for the second Asterisk server's IP address?
insert into conferences values('8600011','192.168.1.7','');
insert into conferences values('8600012','192.168.1.7','');
....
insert into conferences values('8600011','192.168.1.8','');
insert into conferences values('8600012','192.168.1.8','');
...
insert into vicidial_conferences values('8600051','192.168.1.7','');
insert into vicidial_conferences values('8600052','192.168.1.7','');
...
insert into vicidial_conferences values('8600051','192.168.1.8','');
insert into vicidial_conferences values('8600052','192.168.1.8','');
...
If so, are there any other tables that need to be modified?
Thank you,
Sean