<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hello, Jayesh!<br>
<br>
Opensipsctl uses the opensipsctlrc configuration file in order to
detect which FIFO file it should use. If the </tt><tt>OSIPS_FIFO
parameter is not set in opensipsctlrc, it uses the default value
of /tmp/opensips_fifo. </tt><br>
<tt>In order to run different instances of opensipsctl, you first
have to make sure that the opensipsctlrc file doesn't have the
OSIPS_FIFO parameter set. If it does, you can't overwrite it and
the following solution won't work. Then if you want to send for
examnple the 'ps' MI command to an OpenSIPS instance that has the
/tmp/opensips_fifo_1 file set, you should use the following code:<br>
<br>
</tt><tt>OSIPS_FIFO=</tt><tt>/tmp/opensips_fifo_1
/path/to/opensipsctl fifo ps<br>
<br>
In this way you specify opensipsctl to use a different FIFO than
the default one.<br>
</tt><tt><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/28/2012 02:09 PM, Jayesh Nambiar wrote:
<blockquote
cite="mid:CALvF6vBT9Zbn_Eav5CgmPOTB5mBYV1Adh29ZpFZBJe3tTBgyTA@mail.gmail.com"
type="cite">Hello All,<br>
I am using three intances of Opensips on a single server using
same binaries and libraries. Meaning, I have configured and
intalled opensips once and I have three init files each which
starts opensips looking at different configuration files viz.
lcr.cfg, b2b.cfg, proxy.cfg. Although this runs good, I have a
problem in managing them. The "opensipsctl" utility only monitors
any one instance of opensips. 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
understand how to manage them differently. For example, I need to
know how many transactions are running on my LCR instance and at
the same time I need to know how many users are registered on my
proxy instance. I wanted to understand if this approach is even
recommended 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>
<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>