Hey All,
I have sent this question once before, but I don't believe that I received a response back. If so then I appologize as I must have missed it.
Could someone help me out with this? We are gearing up to launch SER on a large scale but I want to verify that I can have multiple SER servers in a primary / failover scenario before doing so.
Can I put SER onto multiple servers with load balancing and share the userloc tables between the servers (ie. With MySQL or Postgres SQL)
Is this possible? Or does one SER instance only recognize registrations for phones that register with that particular instance/daemon?
Thanks,
Darren Nay - dnay@libertyisp.com
Darren Nay wrote:
Hey All,
I have sent this question once before, but I don't believe that I received a response back. If so then I appologize as I must have missed it.
Could someone help me out with this? We are gearing up to launch SER on a large scale but I want to verify that I can have multiple SER servers in a primary / failover scenario before doing so.
Can I put SER onto multiple servers with load balancing and share the userloc tables between the servers (ie. With MySQL or Postgres SQL)
no, you can't do this until the location and subscriber tables are uncached. There is some mechanism built into SER that allows for replication, that might work for you. I think the uncached version is being released very soon now.
It might work in a failover mode, but if one SER server does a REGISTER for UA 1, and another SER instance does UA 2, they overwrite each other in the database. Each instance thinks it has control of the entire location table. That is my understanding however I've been wrong before :-)
-g
Is this possible? Or does one SER instance only recognize registrations for phones that register with that particular instance/daemon?
Thanks,
Darren Nay - dnay@libertyisp.com
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
no, you can't do this until the location and subscriber tables are uncached. There is some mechanism built into SER that allows for replication, that might work for you. I think the uncached version is being released very soon now.
hrrmmm.. That's what I was afraid of. How does the replication work? That might work.
Also, Any idea when the stateless version (uncached userloc tables) will be released? That would be the ideal solution. :)
Thanks! Darren
Did You already take a look at http://www.voip-info.org/wiki-SER+example+redirect ? If You put of Your servers as "Master" (dispatcher) and the others as "slaves", You may only have to concentrate Yourself in one peace of hardware... ;)
Edson
----- Original Message ----- From: "Darren Nay" dnay@libertyisp.com To: serusers@lists.iptel.org Sent: Monday, February 02, 2004 1:21 PM Subject: [Serusers] Multiple SER Servers
Hey All,
I have sent this question once before, but I don't believe that I received a response back. If so then I appologize as I must have missed it.
Could someone help me out with this? We are gearing up to launch SER on a large scale but I want to verify that I can have multiple SER servers in a primary / failover scenario before doing so.
Can I put SER onto multiple servers with load balancing and share the userloc tables between the servers (ie. With MySQL or Postgres SQL)
Is this possible? Or does one SER instance only recognize registrations for phones that register with that particular instance/daemon?
Thanks,
Darren Nay - dnay@libertyisp.com
---------------------------------------------------------------------------- ----
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
the current version of ser caches to user location, therefore only the following solutions exist:
- use the replicate() feature of ser and configure clients to use several proxies or use Round-robin DNS http://iptel.org/ser/doc/seruser/seruser.html#AEN909
- for higher availability (no load balancing) you can use an active server an a standby server and configure ser to write back all registers to the database immediately
- contact iptel and ask for commercial support
Have I missed something? regards, klaus
Darren Nay wrote:
Hey All,
I have sent this question once before, but I don't believe that I received a response back. If so then I appologize as I must have missed it.
Could someone help me out with this? We are gearing up to launch SER on a large scale but I want to verify that I can have multiple SER servers in a primary / failover scenario before doing so.
Can I put SER onto multiple servers with load balancing and share the userloc tables between the servers (ie. With MySQL or Postgres SQL)
Is this possible? Or does one SER instance only recognize registrations for phones that register with that particular instance/daemon?
Thanks,
Darren Nay - dnay@libertyisp.com mailto:dnay@libertyisp.com
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
On the topic of load balancing and redirects: Is it possible to redirect a REGISTER statement? If I want some clients to REGISTER on another server, depending on where they register from?
/O
I never did it, but it should be now problem - use
if (method="REGISTER") { if (make your test) { save("location"); } else { t_relay_to_udp("other sip server IP register":"5060"); }; };
(not sure if the if-else syntax is correct)
Klaus
Olle E. Johansson wrote:
On the topic of load balancing and redirects: Is it possible to redirect a REGISTER statement? If I want some clients to REGISTER on another server, depending on where they register from?
/O
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers