[OpenSIPS-Users] mulitple instance for different rules
H Yavari
hyavari at rocketmail.com
Thu Sep 15 09:47:21 CEST 2016
Hi,
Thank you so for your attention. I'll test it.
Regards,H.Yavari
From: "Newlin, Ben" <Ben.Newlin at inin.com>
To: H Yavari <hyavari at rocketmail.com>; OpenSIPS users mailling list <users at lists.opensips.org>
Sent: Wednesday, 14 September 2016, 18:35:06
Subject: Re: [OpenSIPS-Users] mulitple instance for different rules
#yiv8973092546 #yiv8973092546 -- _filtered #yiv8973092546 {font-family:Arial;panose-1:2 11 6 4 2 2 2 2 2 4;} _filtered #yiv8973092546 {panose-1:2 4 5 3 5 4 6 3 2 4;} _filtered #yiv8973092546 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;} _filtered #yiv8973092546 {font-family:PMingLiU;panose-1:2 2 5 0 0 0 0 0 0 0;} _filtered #yiv8973092546 {font-family:HelveticaNeue;}#yiv8973092546 #yiv8973092546 p.yiv8973092546MsoNormal, #yiv8973092546 li.yiv8973092546MsoNormal, #yiv8973092546 div.yiv8973092546MsoNormal {margin:0in;margin-bottom:.0001pt;font-size:12.0pt;}#yiv8973092546 a:link, #yiv8973092546 span.yiv8973092546MsoHyperlink {color:blue;text-decoration:underline;}#yiv8973092546 a:visited, #yiv8973092546 span.yiv8973092546MsoHyperlinkFollowed {color:purple;text-decoration:underline;}#yiv8973092546 p.yiv8973092546msonormal, #yiv8973092546 li.yiv8973092546msonormal, #yiv8973092546 div.yiv8973092546msonormal {margin-right:0in;margin-left:0in;font-size:12.0pt;}#yiv8973092546 p.yiv8973092546msochpdefault, #yiv8973092546 li.yiv8973092546msochpdefault, #yiv8973092546 div.yiv8973092546msochpdefault {margin-right:0in;margin-left:0in;font-size:12.0pt;}#yiv8973092546 p.yiv8973092546msonormal1, #yiv8973092546 li.yiv8973092546msonormal1, #yiv8973092546 div.yiv8973092546msonormal1 {margin-right:0in;margin-left:0in;font-size:12.0pt;}#yiv8973092546 p.yiv8973092546msochpdefault1, #yiv8973092546 li.yiv8973092546msochpdefault1, #yiv8973092546 div.yiv8973092546msochpdefault1 {margin-right:0in;margin-left:0in;font-size:12.0pt;}#yiv8973092546 span.yiv8973092546msohyperlink {}#yiv8973092546 span.yiv8973092546msohyperlinkfollowed {}#yiv8973092546 span.yiv8973092546msohyperlink1 {}#yiv8973092546 span.yiv8973092546msohyperlinkfollowed1 {}#yiv8973092546 span.yiv8973092546emailstyle171 {}#yiv8973092546 span.yiv8973092546msoins1 {}#yiv8973092546 span.yiv8973092546emailstyle29 {}#yiv8973092546 span.yiv8973092546msoins {}#yiv8973092546 p.yiv8973092546msonormal2, #yiv8973092546 li.yiv8973092546msonormal2, #yiv8973092546 div.yiv8973092546msonormal2 {margin:0in;margin-bottom:.0001pt;font-size:12.0pt;}#yiv8973092546 span.yiv8973092546msohyperlink2 {color:blue;text-decoration:underline;}#yiv8973092546 span.yiv8973092546msohyperlinkfollowed2 {color:purple;text-decoration:underline;}#yiv8973092546 p.yiv8973092546msonormal3, #yiv8973092546 li.yiv8973092546msonormal3, #yiv8973092546 div.yiv8973092546msonormal3 {margin-right:0in;margin-left:0in;font-size:12.0pt;}#yiv8973092546 p.yiv8973092546msochpdefault2, #yiv8973092546 li.yiv8973092546msochpdefault2, #yiv8973092546 div.yiv8973092546msochpdefault2 {margin-right:0in;margin-left:0in;font-size:12.0pt;}#yiv8973092546 p.yiv8973092546msonormal11, #yiv8973092546 li.yiv8973092546msonormal11, #yiv8973092546 div.yiv8973092546msonormal11 {margin:0in;margin-bottom:.0001pt;font-size:12.0pt;}#yiv8973092546 span.yiv8973092546msohyperlink11 {color:#0563C1;text-decoration:underline;}#yiv8973092546 span.yiv8973092546msohyperlinkfollowed11 {color:#954F72;text-decoration:underline;}#yiv8973092546 span.yiv8973092546emailstyle1711 {font-family:Calibri;color:windowtext;}#yiv8973092546 span.yiv8973092546msoins11 {color:teal;text-decoration:underline;}#yiv8973092546 p.yiv8973092546msochpdefault11, #yiv8973092546 li.yiv8973092546msochpdefault11, #yiv8973092546 div.yiv8973092546msochpdefault11 {margin-right:0in;margin-left:0in;font-size:10.0pt;}#yiv8973092546 span.yiv8973092546emailstyle291 {font-family:Calibri;color:windowtext;}#yiv8973092546 span.yiv8973092546msoins2 {color:teal;text-decoration:underline;}#yiv8973092546 span.yiv8973092546EmailStyle42 {font-family:Calibri;color:windowtext;}#yiv8973092546 span.yiv8973092546msoIns {text-decoration:underline;color:teal;}#yiv8973092546 .yiv8973092546MsoChpDefault {font-size:10.0pt;} _filtered #yiv8973092546 {margin:1.0in 1.0in 1.0in 1.0in;}#yiv8973092546 div.yiv8973092546WordSection1 {}#yiv8973092546 I’m not sure I understand. One of the main advantages of Docker is eliminating portability issues. A container built anywhere will run the same on any other box. If you want two applications on one server then you start two containers on that server. If you want one on each server then you start one on each. If you need to add capacity, you start more containers. We are currently doing this with our deployment. In our testing environments we have fewer physical servers to save costs, so we deploy multiple applications on each. In our production environment we spread out the applications across more boxes. How you manage where the containers deploy is an entirely different question. Obviously it can be done manually, or any number of configuration management systems can do it for you including Docker’s own Swarm application. We are currently using Puppet, although I’m not sure I would recommend it. Ben Newlin From: H Yavari <hyavari at rocketmail.com>
Reply-To: H Yavari <hyavari at rocketmail.com>
Date: Wednesday, September 14, 2016 at 2:10 AM
To: "Newlin, Ben" <Ben.Newlin at inin.com>, OpenSIPS users mailling list <users at lists.opensips.org>
Subject: Re: [OpenSIPS-Users] mulitple instance for different rules 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" <Ben.Newlin at inin.com>
To: H Yavari <hyavari at rocketmail.com>; OpenSIPS users mailling list <users at lists.opensips.org>
Sent: Wednesday, 7 September 2016, 18:00:47
Subject: Re: [OpenSIPS-Users] mulitple instance for different rules 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 <hyavari at rocketmail.com>
Reply-To: H Yavari <hyavari at rocketmail.com>
Date: Wednesday, September 7, 2016 at 9:26 AM
To: "Newlin, Ben" <Ben.Newlin at inin.com>, OpenSIPS users mailling list <users at lists.opensips.org>
Subject: Re: [OpenSIPS-Users] mulitple instance for different rules Hi, I want to have physical server. running 2 instances is ok? From: "Newlin, Ben" <Ben.Newlin at inin.com>
To: H Yavari <hyavari at rocketmail.com>; OpenSIPS users mailling list <users at lists.opensips.org>
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:<users-bounces at lists.opensips.org> on behalf of H Yavari <hyavari at rocketmail.com>
Reply-To: H Yavari <hyavari at rocketmail.com>, OpenSIPS users mailling list <users at lists.opensips.org>
Date: Wednesday, September 7, 2016 at 7:36 AM
To: "users at lists.opensips.org" <users at lists.opensips.org>
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20160915/e5781993/attachment-0001.htm>
More information about the Users
mailing list