Try to use db_virtual to create a failover between several real DB connections.

Regards,
Bogdan

Anton Zagorskiy wrote:
I'm trying to make HA cluster with balancing.
I have 2 servers with openSIPS with load_balanicng and mysql with
replication. While both servers are working second openSIPS connects to mysql-master at
the first server. When the first server fails then second should uses itself
mysql database. So I need to change db_url parameter through all modules.






WBR, Anton Zagorskiy
VoIP Developer, Oyster Telecom
Phone.: +7 812 601-0666
Fax: +7 812 601-0593
a.zagors...@oyster-telecom.ru
www.oyster-telecom.ru



-----Original Message-----
From: users-boun...@lists.opensips.org [mailto:users-
boun...@lists.opensips.org] On Behalf Of Bogdan-Andrei Iancu
Sent: Wednesday, November 10, 2010 1:16 PM
To: OpenSIPS users mailling list
Subject: Re: [OpenSIPS-Users] modparam?

Hi Anton,

no, you cannot....what module are looking at ?

Regards,
Bogdan

Anton Zagorskiy wrote:
Hello.

Can I change module's parameter in the route block? I want to change
db_url
parameter.






WBR, Anton Zagorskiy
VoIP Developer, Oyster Telecom
Phone.: +7 812 601-0666
Fax: +7 812 601-0593
a.zagors...@oyster-telecom.ru
www.oyster-telecom.ru




_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


--
Bogdan-Andrei Iancu
OpenSIPS Bootcamp
15 - 19 November 2010, Edison, New Jersey, USA
www.voice-system.ro


_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



--
Bogdan-Andrei Iancu
OpenSIPS Bootcamp
15 - 19 November 2010, Edison, New Jersey, USA
www.voice-system.ro


_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to