--
You received this message because you are subscribed to the Google Groups "2600hz-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to 2600hz-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Looks like the pull request is still open but asking questions to you to have answered.
--
To unsubscribe from this group and stop receiving emails from it, send an email to 2600hz-users...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "2600hz-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to 2600hz-users...@googlegroups.com.
> What is this for anyways? I believe I have tested multizone without this config and everything seemed to work in v4.0 including BLF across zones.
This was an attempt at failover from a while back, we are not actively promoting this method at this time, it was experimental. It should probably not be documented frankly (for now). As you noted, the preso was from 2015, much has changed since then.
> I know that zones is a more advanced config but why are the basics not documented anywhere? In this case it would only require a few additional comments in the kamailio local.cfg file. Are these things supposed to be obvious?
Most things that are lacking in the project is a result of lack of time/resources to do the documentation. This is why we encourage you to help out where you see things that are missing. Sometimes we use the stuff all day and forget that some of these items are not obvious. So your contributions are most helpful here.
I figured out the Primary Secondary AMQP by looking through Kamailio configs. This zone configuration is not as obvious to me. Is the expectation of this project that we find configurations by interpreting Erlang code?
> No, and this is C code anyway, not Erlang code. Nonetheless, this particular item isn’t documented because it’s experimental, so you can just ask on here if you’re unsure.
It's not just this. There is almost no documentation for configuring zones in /etc/kazoo/core/config.ini either. I had to figure that out by finding bits and pieces in comments scattered around the internet.
> Do you want to post what you found? Then we can reformat it into something more user friendly.
Hi Fred,
Thanks for your patience in answering Darren.
> Sure, I’m not unaware the project is complicated and sometimes we rush things so it appears inconsistent. It’s not nefarious, just time and resource related.
What is the recommended multizone and multi-AMQP per zone configuration for AMQP in Kamailio in that case?
> This is one of the reasons this isn’t well documented, frankly, because the answer (which nobody likes) is, “it depends”. Basically it depends what your tolerance for failure is. There’s multiple ways to skin the cat.
> In reality, we are now running many installations with 3,000+ phones on just 3 servers (something we never used to recommend because of memory leaks or CPU hogs, but most of that has been optimized now). So, if I had to make a recommendation, I’d do 3 zones minimum. I would not use multi-AMQP per zone yet frankly. We don’t (yet). We just do hot standby for now. It’s the only component that doesn’t auto-failover, for now.
That primary/secondary failover did work when I tested in on v4. Obviously not something I want to use if you don't recommend it.
> So the problem is that it doesn’t fail back properly, and while it may appear to work, things like BLFs and other items will become out of sync. Also, the original intent was to use clustered Rabbit, but that continues to prove slow and we haven’t had time to go back and figure out why it’s slow (I’m sure it’s solvable). At some point the idea will be each zone has a local cluster of Rabbit’s (and then failback doesn’t matter) but for now, we’re not using that.
For now, yes, that’s been the recommendation.
To unsubscribe from this group and stop receiving emails from it, send an email to 2600hz-users+unsubscribe@googlegroups.com.
Hi Andre,
We are attempting to clarify any items here in the docs so they are more permanent. It would be most helpful if you stubbed out an article and then we corrected it. You can submit a starter to Github and then Luis & I can work to add to it.
Yeah that would work, thanks for your help, much appreciated.
[zone]name = "z1"amqp_uri = "amqp://guest:guest@z1_AMQP_IP"
[zone]name = "z2"amqp_uri = "amqp://guest:guest@z2_AMQP_IP"
Correct.
I guess this is indeed why we need a doc J
Heh well then I am too. I admit I don’t know everything J It’s possible I’ve made a mistake.
Let me speak with core engineering and we’ll draft some changes to whatever you guys submit as a base document. Then we’ll finally have this in a document!
How much more begging do I hav to do for someone to start a doc and then we can formally document this appropriately? J
Then this thread becomes less jenky/needed.
Sure, perhaps we setup a call or something and go over it, then you can post the document? Probably easier to just talk it through. Let me talk to engineering about this. Maybe a public conf call.
I am traveling this week, I’ll see if I can get something put together for next week or the week after.
From: Arek Fryz <ar...@remacenterprises.com>
Date: Wednesday, June 14, 2017 at 4:55 PM
To: Darren Schreiber <dschr...@2600hz.com>