Docker runs on the physical server. You can use it to run multiple different 
instances of any application. It uses objects called containers to run the 
applications in separate namespaces so they are not aware of each other and 
will not conflict for resources.

Running 2 instances of OpenSIPS on the same box without Docker is almost 
certainly possible, but I’m sure there are many different issues that can arise 
and I can’t really say how difficult it would be, having not done it myself.


Ben Newlin

From: ‪H Yavari ‪ <[email protected]>
Reply-To: ‪H Yavari ‪ <[email protected]>
Date: Wednesday, September 7, 2016 at 9:26 AM
To: "Newlin, Ben" <[email protected]>, OpenSIPS users mailling list 
<[email protected]>
Subject: Re: [OpenSIPS-Users] mulitple instance for different rules

Hi,

I want to have physical server. running 2 instances is ok?

________________________________
From: "Newlin, Ben" <[email protected]>
To: ‪H Yavari ‪ <[email protected]>; OpenSIPS users mailling list 
<[email protected]>
Sent: Wednesday, 7 September 2016, 16:13:19
Subject: Re: [OpenSIPS-Users] mulitple instance for different rules

I would recommend using Docker for this to ensure the 2 instances of OpenSIPS 
are isolated from each other. We are running OpenSIPS in Docker with multiple 
containers on a single machine with great success. It also makes local testing 
very simple, especially with a SIPp container as well.

https://www.docker.com


Ben Newlin

From: <[email protected]> on behalf of ‪H Yavari ‪ 
<[email protected]>
Reply-To: ‪H Yavari ‪ <[email protected]>, OpenSIPS users mailling list 
<[email protected]>
Date: Wednesday, September 7, 2016 at 7:36 AM
To: "[email protected]" <[email protected]>
Subject: [OpenSIPS-Users] mulitple instance for different rules



Hi to all,

I want to run 2 instances of OpenSIPS on same machine and use each of them for 
some tasks. for example one instance for load balancing and other for 
registration and routing. I want use this arch for flexible expansion. Is it 
good idea? It makes more load on the same node?

If the answer is yes, I should compile two time with different names or I can 
make symbolic links from one compiled instance?


Thanks for reply.


Regards,
H.Yavari



_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to