<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hi, Jayesh!<br>
<br>
No, it won't affect performance in any way, as each opensipsctl
tool is a simple script that will communicate with different
OpenSIPS instances.<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">--
Răzvan Crainea
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<br>
On 05/29/2012 02:40 PM, Jayesh Nambiar wrote:
<blockquote
cite="mid:CALvF6vBCufXuVpQ_tMmLiwrXYru6nKaKbyWJ+R2TL=AvK56NSQ@mail.gmail.com"
type="cite">Hi Razvan,<br>
Thank you very much. This was exactly what I was looking for.<br>
Just recollecting the other part; will this method affect the
performance of opensips in any ways. Since all these three
instances uses the same opensips installation !!<br>
<br>
--- Jayesh<br>
<div class="gmail_quote">
<div> </div>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Hello, Jayesh!<br>
<br>
Opensipsctl uses the opensipsctlrc configuration file in order
to detect<br>
which FIFO file it should use. If the OSIPS_FIFO parameter is
not set in<br>
opensipsctlrc, it uses the default value of
/tmp/opensips_fifo.<br>
In order to run different instances of opensipsctl, you first
have to<br>
make sure that the opensipsctlrc file doesn't have the
OSIPS_FIFO<br>
parameter set. If it does, you can't overwrite it and the
following<br>
solution won't work. Then if you want to send for examnple the
'ps' MI<br>
command to an OpenSIPS instance that has the
/tmp/opensips_fifo_1 file<br>
set, you should use the following code:<br>
<br>
OSIPS_FIFO=/tmp/opensips_fifo_1 /path/to/opensipsctl fifo ps<br>
<br>
In this way you specify opensipsctl to use a different FIFO
than the<br>
default one.<br>
<br>
Regards,<br>
<br>
--<br>
Ra(zvan Crainea<br>
OpenSIPS Developer<br>
<a moz-do-not-send="true"
href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a><br>
<br>
<br>
On 05/28/2012 02:09 PM, Jayesh Nambiar wrote:<br>
> Hello All,<br>
> I am using three intances of Opensips on a single server
using same<br>
> binaries and libraries. Meaning, I have configured and
intalled<br>
> opensips once and I have three init files each which
starts opensips<br>
> looking at different configuration files viz. lcr.cfg,
b2b.cfg,<br>
> proxy.cfg. Although this runs good, I have a problem in
managing them.<br>
> The "opensipsctl" utility only monitors any one instance
of opensips.<br>
> How is it possible to manage all instances of opensips
using this method.<br>
> I give different fifo paths in each configuration file
but I dont<br>
> understand how to manage them differently. For example, I
need to know<br>
> how many transactions are running on my LCR instance and
at the same<br>
> time I need to know how many users are registered on my
proxy<br>
> instance. I wanted to understand if this approach is even
recommended<br>
> or does it have any drawbacks that I might be missing.<br>
><br>
> Thanks for any suggestions in this regards,<br>
><br>
> --- Jayesh<br>
><br>
><br>
> _______________________________________________<br>
</blockquote>
</div>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
</body>
</html>