Hi,
Yes Docker is good solution. But I'm looking for a solution to expand easily. I 
mean I want to run 2 OpenSIPS instance on one machine for low loads and for 
high loads I run 2 instances on different machines. So if I use Docker, I have 
portability problem and this is difficult to maintain 2 different arch.Do you 
agree with me?
Regards,H.Yavari


      From: "Newlin, Ben" <[email protected]>
 To: ‪H Yavari‬ ‪‬ <[email protected]>; OpenSIPS users mailling list 
<[email protected]> 
 Sent: Wednesday, 7 September 2016, 18:00:47
 Subject: Re: [OpenSIPS-Users] mulitple instance for different rules
   
#yiv4326669844 #yiv4326669844 -- _filtered #yiv4326669844 
{font-family:Arial;panose-1:2 11 6 4 2 2 2 2 2 4;} _filtered #yiv4326669844 
{panose-1:2 4 5 3 5 4 6 3 2 4;} _filtered #yiv4326669844 
{font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;} _filtered #yiv4326669844 
{font-family:PMingLiU;panose-1:2 2 5 0 0 0 0 0 0 0;} _filtered #yiv4326669844 
{panose-1:2 0 5 3 0 0 0 2 0 4;}#yiv4326669844 #yiv4326669844 
p.yiv4326669844MsoNormal, #yiv4326669844 li.yiv4326669844MsoNormal, 
#yiv4326669844 div.yiv4326669844MsoNormal 
{margin:0in;margin-bottom:.0001pt;font-size:12.0pt;}#yiv4326669844 a:link, 
#yiv4326669844 span.yiv4326669844MsoHyperlink 
{color:blue;text-decoration:underline;}#yiv4326669844 a:visited, #yiv4326669844 
span.yiv4326669844MsoHyperlinkFollowed 
{color:purple;text-decoration:underline;}#yiv4326669844 
p.yiv4326669844msonormal, #yiv4326669844 li.yiv4326669844msonormal, 
#yiv4326669844 div.yiv4326669844msonormal 
{margin-right:0in;margin-left:0in;font-size:12.0pt;}#yiv4326669844 
p.yiv4326669844msochpdefault, #yiv4326669844 li.yiv4326669844msochpdefault, 
#yiv4326669844 div.yiv4326669844msochpdefault 
{margin-right:0in;margin-left:0in;font-size:12.0pt;}#yiv4326669844 
span.yiv4326669844msohyperlink {}#yiv4326669844 
span.yiv4326669844msohyperlinkfollowed {}#yiv4326669844 
span.yiv4326669844emailstyle17 {}#yiv4326669844 span.yiv4326669844msoins 
{}#yiv4326669844 p.yiv4326669844msonormal1, #yiv4326669844 
li.yiv4326669844msonormal1, #yiv4326669844 div.yiv4326669844msonormal1 
{margin:0in;margin-bottom:.0001pt;font-size:12.0pt;}#yiv4326669844 
span.yiv4326669844msohyperlink1 
{color:#0563C1;text-decoration:underline;}#yiv4326669844 
span.yiv4326669844msohyperlinkfollowed1 
{color:#954F72;text-decoration:underline;}#yiv4326669844 
span.yiv4326669844emailstyle171 
{font-family:Calibri;color:windowtext;}#yiv4326669844 span.yiv4326669844msoins1 
{color:teal;text-decoration:underline;}#yiv4326669844 
p.yiv4326669844msochpdefault1, #yiv4326669844 li.yiv4326669844msochpdefault1, 
#yiv4326669844 div.yiv4326669844msochpdefault1 
{margin-right:0in;margin-left:0in;font-size:10.0pt;}#yiv4326669844 
span.yiv4326669844EmailStyle29 
{font-family:Calibri;color:windowtext;}#yiv4326669844 span.yiv4326669844msoIns 
{text-decoration:underline;color:teal;}#yiv4326669844 
.yiv4326669844MsoChpDefault {font-size:10.0pt;} _filtered #yiv4326669844 
{margin:1.0in 1.0in 1.0in 1.0in;}#yiv4326669844 div.yiv4326669844WordSection1 
{}#yiv4326669844 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