You may want to consider something like UCARP with a cold standby. Of course you can use the REAL IP of the backup for a warm standby.
if both instances of opensips are using the SAME IP, it'll cause problems.. There are better ways. -Brett On Mon, Sep 21, 2009 at 3:00 PM, Noel R. Morais <[email protected]> wrote: > Hi Stanisław, > > It's for redundancy. I'm using a network configuration where both > server send requests using the same ip address (a virtual ip address). > > Balancing using SRV records is reliable? What happen if on of my > servers goes down? Can I trust that the client side will take the > other record for sending requests? > > Thanks, > > Noel > > 2009/9/21 Stanisław Pitucha <[email protected]>: > > 2009/9/21 Noel R. Morais <[email protected]>: > >> I'm using the kernel IPVS and keepalived for healthcheck. > >> > >> I couldn't find a way to make sure that the ACK will go to the same > >> server that generated the INVITE. :( > >> > >> Thanks for your help Brett, I will keep looking for some solution. > > > > A general question for a start - why do you want to load-balance the > > traffic? Are you hitting the limit of what one host can do, or is it > > for redundancy? > > > > If it's for redundancy... don't ;) Setting up 2 opensips servers with > > a simple ip failover gives you a lot less headache than any external > > load-balanced solution. (many phones are not clever enough and they > > have problem with receiving packets coming from *the other* server) > > If it's because you *really* cannot handle all the traffic on one > > host, then look at balancing on the client side via SRV records. In my > > experience you'll get a distribution like 33/66 % between two servers. > > Maybe that will be enough for you? > > > > -- > > KTHXBYE, > > > > Stanisław Pitucha, Gradwell Voip Engineer > > > > _______________________________________________ > > Users mailing list > > [email protected] > > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users >
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
