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&#39;t have the OSIPS_FIFO<br>
parameter set. If it does, you can&#39;t overwrite it and the following<br>
solution won&#39;t work. Then if you want to send for examnple the &#39;ps&#39; 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 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>
&gt; Hello All,<br>
&gt; I am using three intances of Opensips on a single server using same<br>
&gt; binaries and libraries. Meaning, I have configured and intalled<br>
&gt; opensips once and I have three init files each which starts opensips<br>
&gt; looking at different configuration files viz. lcr.cfg, b2b.cfg,<br>
&gt; proxy.cfg. Although this runs good, I have a problem in managing them.<br>
&gt; The &quot;opensipsctl&quot; utility only monitors any one instance of opensips.<br>
&gt; How is it possible to manage all instances of opensips using this method.<br>
&gt; I give different fifo paths in each configuration file but I dont<br>
&gt; understand how to manage them differently. For example, I need to know<br>
&gt; how many transactions are running on my LCR instance and at the same<br>
&gt; time I need to know how many users are registered on my proxy<br>
&gt; instance. I wanted to understand if this approach is even recommended<br>
&gt; or does it have any drawbacks that I might be missing.<br>
&gt;<br>
&gt; Thanks for any suggestions in this regards,<br>
&gt;<br>
&gt; --- Jayesh<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br></blockquote></div><br>