can I run two ofbiz instances on the same server?
|
Yes - for sure - we run well over 10 simultaneously. You just need to update your configuration files to be specific about ports and domain names and you should be good to go.
Cheers, Ruppert -- Tim Ruppert HotWax Media http://www.hotwaxmedia.com o:801.649.6594 f:801.649.6595 On Dec 11, 2009, at 12:36 PM, [hidden email] wrote: > can I run two ofbiz instances on the same server? > smime.p7s (3K) Download Attachment |
Yes. I run 3 or more at one time. One for production and several others
for testing. As Tim suggests, just make sure you don't have any network port conflicts. The Production Setup Guide should have all the info you need: http://cwiki.apache.org/confluence/display/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide Regards, Ruth ---------------------------------------------------- Find me on the web at http://www.myofbiz.com or Google keyword "myofbiz" [hidden email] Tim Ruppert wrote: > Yes - for sure - we run well over 10 simultaneously. You just need to update your configuration files to be specific about ports and domain names and you should be good to go. > > Cheers, > Ruppert > -- > Tim Ruppert > HotWax Media > http://www.hotwaxmedia.com > > o:801.649.6594 > f:801.649.6595 > > On Dec 11, 2009, at 12:36 PM, [hidden email] wrote: > > >> can I run two ofbiz instances on the same server? >> >> > > |
In reply to this post by apukontikki
which files??? anyone have any script?
On Fri, 11 Dec 2009 15:08:29 -0500 Tim Ruppert <[hidden email]> wrote: >Yes - for sure - we run well over 10 simultaneously. You just >need to update your configuration files to be specific about ports >and domain names and you should be good to go. > >Cheers, >Ruppert >-- >Tim Ruppert >HotWax Media >http://www.hotwaxmedia.com > >o:801.649.6594 >f:801.649.6595 > >On Dec 11, 2009, at 12:36 PM, [hidden email] wrote: > >> can I run two ofbiz instances on the same server? >> |
In reply to this post by Ruth Hoffman-2
Hi Ruth,
Do you have three completely separate installations, or do you have one installation with three different sets of configuration files? Many thanks, Chris Ruth Hoffman wrote: > Yes. I run 3 or more at one time. One for production and several > others for testing. As Tim suggests, just make sure you don't have any > network port conflicts. The Production Setup Guide should have all the > info you need: > > http://cwiki.apache.org/confluence/display/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide > > > Regards, > Ruth > ---------------------------------------------------- > Find me on the web at http://www.myofbiz.com or Google keyword "myofbiz" > [hidden email] > > Tim Ruppert wrote: >> Yes - for sure - we run well over 10 simultaneously. You just need >> to update your configuration files to be specific about ports and >> domain names and you should be good to go. >> >> Cheers, >> Ruppert >> -- >> Tim Ruppert >> HotWax Media >> http://www.hotwaxmedia.com >> >> o:801.649.6594 >> f:801.649.6595 >> >> On Dec 11, 2009, at 12:36 PM, [hidden email] wrote: >> >> >>> can I run two ofbiz instances on the same server? >>> >>> >> >> -- Chris Snow - CEng MBCS CITP MBA (Tech Mgmt) (Open) CISSP Tel: 01453 890660 Mob: 07944 880950 Www: www.snowconsulting.co.uk |
In reply to this post by apukontikki
Hope the attached file is helpful.
[hidden email] wrote: which files??? anyone have any script? On Fri, 11 Dec 2009 15:08:29 -0500 Tim Ruppert [hidden email] wrote:Yes - for sure - we run well over 10 simultaneously. You just need to update your configuration files to be specific about portsand domain names and you should be good to go. Cheers, Ruppert -- Tim Ruppert HotWax Media http://www.hotwaxmedia.com o:801.649.6594 f:801.649.6595 On Dec 11, 2009, at 12:36 PM, [hidden email] wrote:can I run two ofbiz instances on the same server? -- Stephen P Rufle [hidden email] H1:480-626-8022 H2:480-802-7173 Yahoo IM: stephen_rufle AOL IM: stephen1rufle Index: framework/base/config/ofbiz-containers.xml =================================================================== --- framework/base/config/ofbiz-containers.xml (revision 643361) +++ framework/base/config/ofbiz-containers.xml (working copy) @@ -34,7 +34,7 @@ <!-- load the naming (JNDI) server --> <container name="naming-container" class="org.ofbiz.base.container.NamingServiceContainer"> - <property name="port" value="1099"/> + <property name="port" value="1098"/> </container> <!-- RMI Service Dispatcher --> @@ -151,7 +151,7 @@ <property name="maxSpareThreads" value="50"/> <property name="maxThreads" value="200"/> <property name="minSpareThreads" value="4"/> - <property name="port" value="8009"/> + <property name="port" value="8008"/> <property name="tcpNoDelay" value="true"/> <property name="soTimeout" value="60000"/> <property name="tomcatAuthentication" value="true"/> @@ -186,7 +186,7 @@ <property name="maxThreads" value="100"/> <property name="minSpareThreads" value="4"/> <property name="noCompressionUserAgents" value=""/> - <property name="port" value="8080"/> + <property name="port" value="8088"/> <property name="restrictedUserAgents" value=""/> <property name="server" value=""/> <property name="socketBuffer" value="9000"/> @@ -224,7 +224,7 @@ <property name="maxThreads" value="100"/> <property name="minSpareThreads" value="4"/> <property name="noCompressionUserAgents" value=""/> - <property name="port" value="8443"/> + <property name="port" value="8448"/> <property name="restrictedUserAgents" value=""/> <property name="server" value=""/> <property name="socketBuffer" value="9000"/> @@ -250,7 +250,7 @@ <!-- load BeanShell remote telnet server --> <container name="beanshell-container" class="org.ofbiz.base.container.BeanShellContainer"> <!-- the port below and port-1 will be opened by beanshell --> - <property name="telnet-port" value="9990"/> + <property name="telnet-port" value="9998"/> <property name="app-name" value="OFBiz"/> </container> </ofbiz-containers> Index: framework/webapp/config/url.properties =================================================================== --- framework/webapp/config/url.properties (revision 643361) +++ framework/webapp/config/url.properties (working copy) @@ -22,11 +22,11 @@ # HTTPS Port (Secure port) port.https.enabled=Y -port.https=8443 +port.https=8448 force.https.host= # HTTP Port (Not Secure port) -port.http=8080 +port.http=8088 force.http.host= # Static Content URLs to make it easy to move the serving load for static content to other machines |
In reply to this post by Chris Snow-3
I'm guessing three instances - and in response - ours are all completely separate - mostly for staging and testing - although we have shared servers at Contegix that run many on the same server in production as well.
Cheers, Ruppert -- Tim Ruppert HotWax Media http://www.hotwaxmedia.com o:801.649.6594 f:801.649.6595 On Dec 11, 2009, at 2:07 PM, Christopher Snow wrote: > Hi Ruth, > > Do you have three completely separate installations, or do you have one > installation with three different sets of configuration files? > > Many thanks, > > Chris > > Ruth Hoffman wrote: >> Yes. I run 3 or more at one time. One for production and several >> others for testing. As Tim suggests, just make sure you don't have any >> network port conflicts. The Production Setup Guide should have all the >> info you need: >> >> http://cwiki.apache.org/confluence/display/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide >> >> >> Regards, >> Ruth >> ---------------------------------------------------- >> Find me on the web at http://www.myofbiz.com or Google keyword "myofbiz" >> [hidden email] >> >> Tim Ruppert wrote: >>> Yes - for sure - we run well over 10 simultaneously. You just need >>> to update your configuration files to be specific about ports and >>> domain names and you should be good to go. >>> >>> Cheers, >>> Ruppert >>> -- >>> Tim Ruppert >>> HotWax Media >>> http://www.hotwaxmedia.com >>> >>> o:801.649.6594 >>> f:801.649.6595 >>> >>> On Dec 11, 2009, at 12:36 PM, [hidden email] wrote: >>> >>> >>>> can I run two ofbiz instances on the same server? >>>> >>>> >>> >>> > > > -- > Chris Snow - CEng MBCS CITP MBA (Tech Mgmt) (Open) CISSP > > Tel: 01453 890660 > Mob: 07944 880950 > Www: www.snowconsulting.co.uk > smime.p7s (3K) Download Attachment |
In reply to this post by Chris Snow-3
Hi Chis:
3 separate instances. It is easier for me to keep track of things that way. I know its a lot of extra and redundant data, but it works for me. Regards, Ruth ---------------------------------------------------- Find me on the web at http://www.myofbiz.com or Google keyword "myofbiz" [hidden email] Christopher Snow wrote: > Hi Ruth, > > Do you have three completely separate installations, or do you have one > installation with three different sets of configuration files? > > Many thanks, > > Chris > > Ruth Hoffman wrote: > >> Yes. I run 3 or more at one time. One for production and several >> others for testing. As Tim suggests, just make sure you don't have any >> network port conflicts. The Production Setup Guide should have all the >> info you need: >> >> http://cwiki.apache.org/confluence/display/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide >> >> >> Regards, >> Ruth >> ---------------------------------------------------- >> Find me on the web at http://www.myofbiz.com or Google keyword "myofbiz" >> [hidden email] >> >> Tim Ruppert wrote: >> >>> Yes - for sure - we run well over 10 simultaneously. You just need >>> to update your configuration files to be specific about ports and >>> domain names and you should be good to go. >>> >>> Cheers, >>> Ruppert >>> -- >>> Tim Ruppert >>> HotWax Media >>> http://www.hotwaxmedia.com >>> >>> o:801.649.6594 >>> f:801.649.6595 >>> >>> On Dec 11, 2009, at 12:36 PM, [hidden email] wrote: >>> >>> >>> >>>> can I run two ofbiz instances on the same server? >>>> >>>> >>>> >>> >>> > > > |
In reply to this post by Stephen Rufle-2
Hi Stephen,
Do you have to change the port in the rmi-dispatcher container too? <container name="rmi-dispatcher" class="org.ofbiz.service.rmi.RmiServiceContainer"> <property name="bound-name" value="RMIDispatcher"/> <property name="bound-host" value="127.0.0.1"/> <!--property name="bound-port" value="1098"/--> <property name="bound-port" value="1099"/> Also, the startofbiz.sh script: #ADMIN_PORT=10523 ADMIN_PORT=10524 Would you mind if it put the steps in the FAQ - the question about multiple instances per box seems to pop up from time to time? Many thanks, Chris Stephen Rufle wrote: > Hope the attached file is helpful. > > [hidden email] wrote: >> which files??? anyone have any script? >> >> On Fri, 11 Dec 2009 15:08:29 -0500 Tim Ruppert >> <[hidden email]> wrote: >> >>> Yes - for sure - we run well over 10 simultaneously. You just >>> need to update your configuration files to be specific about ports >>> >> >> >>> and domain names and you should be good to go. >>> >>> Cheers, >>> Ruppert >>> -- >>> Tim Ruppert >>> HotWax Media >>> http://www.hotwaxmedia.com >>> >>> o:801.649.6594 >>> f:801.649.6595 >>> >>> On Dec 11, 2009, at 12:36 PM, [hidden email] wrote: >>> >>> >>>> can I run two ofbiz instances on the same server? >>>> >>>> >> >> >> >> > > -- > Stephen P Rufle > [hidden email] > H1:480-626-8022 > H2:480-802-7173 > Yahoo IM: stephen_rufle > AOL IM: stephen1rufle -- Chris Snow - CEng MBCS CITP MBA (Tech Mgmt) (Open) CISSP Tel: 01453 890660 Mob: 07944 880950 Www: www.snowconsulting.co.uk |
Administrator
|
In reply to this post by Ruth Hoffman-2
I have always wanted to introduce a port offset parameter as it's elegantly done in Geronimo.
But I never found the time (and I'm not quite sure it's worth it) Jacques From: "Ruth Hoffman" <[hidden email]> > Hi Chis: > 3 separate instances. It is easier for me to keep track of things that > way. I know its a lot of extra and redundant data, but it works for me. > > Regards, > Ruth > ---------------------------------------------------- > Find me on the web at http://www.myofbiz.com or Google keyword "myofbiz" > [hidden email] > > Christopher Snow wrote: >> Hi Ruth, >> >> Do you have three completely separate installations, or do you have one >> installation with three different sets of configuration files? >> >> Many thanks, >> >> Chris >> >> Ruth Hoffman wrote: >> >>> Yes. I run 3 or more at one time. One for production and several >>> others for testing. As Tim suggests, just make sure you don't have any >>> network port conflicts. The Production Setup Guide should have all the >>> info you need: >>> >>> http://cwiki.apache.org/confluence/display/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide >>> >>> >>> Regards, >>> Ruth >>> ---------------------------------------------------- >>> Find me on the web at http://www.myofbiz.com or Google keyword "myofbiz" >>> [hidden email] >>> >>> Tim Ruppert wrote: >>> >>>> Yes - for sure - we run well over 10 simultaneously. You just need >>>> to update your configuration files to be specific about ports and >>>> domain names and you should be good to go. >>>> >>>> Cheers, >>>> Ruppert >>>> -- >>>> Tim Ruppert >>>> HotWax Media >>>> http://www.hotwaxmedia.com >>>> >>>> o:801.649.6594 >>>> f:801.649.6595 >>>> >>>> On Dec 11, 2009, at 12:36 PM, [hidden email] wrote: >>>> >>>> >>>> >>>>> can I run two ofbiz instances on the same server? >>>>> >>>>> >>>>> >>>> >>>> >> >> >> > |
I like the grails approach of having multiple versions of configuration
elements. The configuration to use is specified when you run grails, e.g. grails dev run-app grails prod run-app grails test run-app Cheers, Chris Jacques Le Roux wrote: > I have always wanted to introduce a port offset parameter as it's > elegantly done in Geronimo. But I never found the time (and I'm not > quite sure it's worth it) > > Jacques > > From: "Ruth Hoffman" <[hidden email]> >> Hi Chis: >> 3 separate instances. It is easier for me to keep track of things >> that way. I know its a lot of extra and redundant data, but it works >> for me. >> >> Regards, >> Ruth >> ---------------------------------------------------- >> Find me on the web at http://www.myofbiz.com or Google keyword "myofbiz" >> [hidden email] >> >> Christopher Snow wrote: >>> Hi Ruth, >>> >>> Do you have three completely separate installations, or do you have one >>> installation with three different sets of configuration files? >>> >>> Many thanks, >>> >>> Chris >>> >>> Ruth Hoffman wrote: >>> >>>> Yes. I run 3 or more at one time. One for production and several >>>> others for testing. As Tim suggests, just make sure you don't have any >>>> network port conflicts. The Production Setup Guide should have all the >>>> info you need: >>>> >>>> http://cwiki.apache.org/confluence/display/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide >>>> >>>> >>>> >>>> Regards, >>>> Ruth >>>> ---------------------------------------------------- >>>> Find me on the web at http://www.myofbiz.com or Google keyword >>>> "myofbiz" >>>> [hidden email] >>>> >>>> Tim Ruppert wrote: >>>> >>>>> Yes - for sure - we run well over 10 simultaneously. You just need >>>>> to update your configuration files to be specific about ports and >>>>> domain names and you should be good to go. >>>>> >>>>> Cheers, >>>>> Ruppert >>>>> -- >>>>> Tim Ruppert >>>>> HotWax Media >>>>> http://www.hotwaxmedia.com >>>>> >>>>> o:801.649.6594 >>>>> f:801.649.6595 >>>>> >>>>> On Dec 11, 2009, at 12:36 PM, [hidden email] wrote: >>>>> >>>>> >>>>> >>>>>> can I run two ofbiz instances on the same server? >>>>>> >>>>>> >>>>> >>> >>> >>> >> > -- Chris Snow - CEng MBCS CITP MBA (Tech Mgmt) (Open) CISSP Tel: 01453 890660 Mob: 07944 880950 Www: www.snowconsulting.co.uk |
Administrator
|
Yes, they could be convenient covers of the port offset parameter (dev=18443, prod=28443, run=38443) that's what I use here. Of
course there are much possible combinations. Jacques From: "Christopher Snow" <[hidden email]> >I like the grails approach of having multiple versions of configuration > elements. The configuration to use is specified when you run grails, e.g. > > grails dev run-app > grails prod run-app > grails test run-app > > > Cheers, > > Chris > > Jacques Le Roux wrote: >> I have always wanted to introduce a port offset parameter as it's >> elegantly done in Geronimo. But I never found the time (and I'm not >> quite sure it's worth it) >> >> Jacques >> >> From: "Ruth Hoffman" <[hidden email]> >>> Hi Chis: >>> 3 separate instances. It is easier for me to keep track of things >>> that way. I know its a lot of extra and redundant data, but it works >>> for me. >>> >>> Regards, >>> Ruth >>> ---------------------------------------------------- >>> Find me on the web at http://www.myofbiz.com or Google keyword "myofbiz" >>> [hidden email] >>> >>> Christopher Snow wrote: >>>> Hi Ruth, >>>> >>>> Do you have three completely separate installations, or do you have one >>>> installation with three different sets of configuration files? >>>> >>>> Many thanks, >>>> >>>> Chris >>>> >>>> Ruth Hoffman wrote: >>>> >>>>> Yes. I run 3 or more at one time. One for production and several >>>>> others for testing. As Tim suggests, just make sure you don't have any >>>>> network port conflicts. The Production Setup Guide should have all the >>>>> info you need: >>>>> >>>>> http://cwiki.apache.org/confluence/display/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide >>>>> >>>>> >>>>> >>>>> Regards, >>>>> Ruth >>>>> ---------------------------------------------------- >>>>> Find me on the web at http://www.myofbiz.com or Google keyword >>>>> "myofbiz" >>>>> [hidden email] >>>>> >>>>> Tim Ruppert wrote: >>>>> >>>>>> Yes - for sure - we run well over 10 simultaneously. You just need >>>>>> to update your configuration files to be specific about ports and >>>>>> domain names and you should be good to go. >>>>>> >>>>>> Cheers, >>>>>> Ruppert >>>>>> -- >>>>>> Tim Ruppert >>>>>> HotWax Media >>>>>> http://www.hotwaxmedia.com >>>>>> >>>>>> o:801.649.6594 >>>>>> f:801.649.6595 >>>>>> >>>>>> On Dec 11, 2009, at 12:36 PM, [hidden email] wrote: >>>>>> >>>>>> >>>>>> >>>>>>> can I run two ofbiz instances on the same server? >>>>>>> >>>>>>> >>>>>> >>>> >>>> >>>> >>> >> > > > -- > Chris Snow - CEng MBCS CITP MBA (Tech Mgmt) (Open) CISSP > > Tel: 01453 890660 > Mob: 07944 880950 > Www: www.snowconsulting.co.uk > |
In reply to this post by Chris Snow-3
I originally got my info from
"Running multiple instance of OFBiz - Vikas Mayur - Apache OFBiz Doc Site - Powered by Confluence - Provided by Hotwax Media" http://docs.ofbiz.org/pages/viewpageattachments.action?pageId=5969 I went back there after I read your message but I ended up on what looks like a home page for http://cwiki.apache.org/confluence/dashboard.action Christopher Snow wrote: > Hi Stephen, > > Do you have to change the port in the rmi-dispatcher container too? > > <container name="rmi-dispatcher" > class="org.ofbiz.service.rmi.RmiServiceContainer"> > <property name="bound-name" value="RMIDispatcher"/> > <property name="bound-host" value="127.0.0.1"/> > <!--property name="bound-port" value="1098"/--> > <property name="bound-port" value="1099"/> > > Also, the startofbiz.sh script: > > #ADMIN_PORT=10523 > ADMIN_PORT=10524 > > Would you mind if it put the steps in the FAQ - the question about > multiple instances per box seems to pop up from time to time? > > Many thanks, > > Chris > > Stephen Rufle wrote: > >> Hope the attached file is helpful. >> >> [hidden email] wrote: >> >>> which files??? anyone have any script? >>> >>> On Fri, 11 Dec 2009 15:08:29 -0500 Tim Ruppert >>> <[hidden email]> wrote: >>> >>> >>>> Yes - for sure - we run well over 10 simultaneously. You just >>>> need to update your configuration files to be specific about ports >>>> >>>> >>> >>> >>>> and domain names and you should be good to go. >>>> >>>> Cheers, >>>> Ruppert >>>> -- >>>> Tim Ruppert >>>> HotWax Media >>>> http://www.hotwaxmedia.com >>>> >>>> o:801.649.6594 >>>> f:801.649.6595 >>>> >>>> On Dec 11, 2009, at 12:36 PM, [hidden email] wrote: >>>> >>>> >>>> >>>>> can I run two ofbiz instances on the same server? >>>>> >>>>> >>>>> >>> >>> >>> >> -- >> Stephen P Rufle >> [hidden email] >> H1:480-626-8022 >> H2:480-802-7173 >> Yahoo IM: stephen_rufle >> AOL IM: stephen1rufle >> > > > -- Stephen P Rufle [hidden email] H1:480-626-8022 H2:480-802-7173 Yahoo IM: stephen_rufle AOL IM: stephen1rufle |
In reply to this post by Jacques Le Roux
With grails each environment has its own configuration. As as example,
see http://www.grails.org/Quick+Start and the section "Configure a Data Source (Optional)" Jacques Le Roux wrote: > Yes, they could be convenient covers of the port offset parameter > (dev=18443, prod=28443, run=38443) that's what I use here. Of course > there are much possible combinations. > > Jacques > > From: "Christopher Snow" <[hidden email]> >> I like the grails approach of having multiple versions of configuration >> elements. The configuration to use is specified when you run grails, >> e.g. >> >> grails dev run-app >> grails prod run-app >> grails test run-app >> >> >> Cheers, >> >> Chris >> >> Jacques Le Roux wrote: >>> I have always wanted to introduce a port offset parameter as it's >>> elegantly done in Geronimo. But I never found the time (and I'm not >>> quite sure it's worth it) >>> >>> Jacques >>> >>> From: "Ruth Hoffman" <[hidden email]> >>>> Hi Chis: >>>> 3 separate instances. It is easier for me to keep track of things >>>> that way. I know its a lot of extra and redundant data, but it works >>>> for me. >>>> >>>> Regards, >>>> Ruth >>>> ---------------------------------------------------- >>>> Find me on the web at http://www.myofbiz.com or Google keyword >>>> "myofbiz" >>>> [hidden email] >>>> >>>> Christopher Snow wrote: >>>>> Hi Ruth, >>>>> >>>>> Do you have three completely separate installations, or do you >>>>> have one >>>>> installation with three different sets of configuration files? >>>>> >>>>> Many thanks, >>>>> >>>>> Chris >>>>> >>>>> Ruth Hoffman wrote: >>>>> >>>>>> Yes. I run 3 or more at one time. One for production and several >>>>>> others for testing. As Tim suggests, just make sure you don't >>>>>> have any >>>>>> network port conflicts. The Production Setup Guide should have >>>>>> all the >>>>>> info you need: >>>>>> >>>>>> http://cwiki.apache.org/confluence/display/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> Regards, >>>>>> Ruth >>>>>> ---------------------------------------------------- >>>>>> Find me on the web at http://www.myofbiz.com or Google keyword >>>>>> "myofbiz" >>>>>> [hidden email] >>>>>> >>>>>> Tim Ruppert wrote: >>>>>> >>>>>>> Yes - for sure - we run well over 10 simultaneously. You just need >>>>>>> to update your configuration files to be specific about ports and >>>>>>> domain names and you should be good to go. >>>>>>> >>>>>>> Cheers, >>>>>>> Ruppert >>>>>>> -- >>>>>>> Tim Ruppert >>>>>>> HotWax Media >>>>>>> http://www.hotwaxmedia.com >>>>>>> >>>>>>> o:801.649.6594 >>>>>>> f:801.649.6595 >>>>>>> >>>>>>> On Dec 11, 2009, at 12:36 PM, [hidden email] wrote: >>>>>>> >>>>>>> >>>>>>> >>>>>>>> can I run two ofbiz instances on the same server? >>>>>>>> >>>>>>>> >>>>>>> >>>>> >>>>> >>>>> >>>> >>> >> >> >> -- >> Chris Snow - CEng MBCS CITP MBA (Tech Mgmt) (Open) CISSP >> >> Tel: 01453 890660 >> Mob: 07944 880950 >> Www: www.snowconsulting.co.uk >> > > -- Chris Snow - CEng MBCS CITP MBA (Tech Mgmt) (Open) CISSP Tel: 01453 890660 Mob: 07944 880950 Www: www.snowconsulting.co.uk |
In theory, that's the way we manage multiple environments as well. In practice it's slightly different.
Cheers, Ruppert -- Tim Ruppert HotWax Media http://www.hotwaxmedia.com o:801.649.6594 f:801.649.6595 On Dec 11, 2009, at 3:19 PM, Christopher Snow wrote: > With grails each environment has its own configuration. As as example, see http://www.grails.org/Quick+Start and the section "Configure a Data Source (Optional)" > > Jacques Le Roux wrote: >> Yes, they could be convenient covers of the port offset parameter (dev=18443, prod=28443, run=38443) that's what I use here. Of course there are much possible combinations. >> >> Jacques >> >> From: "Christopher Snow" <[hidden email]> >>> I like the grails approach of having multiple versions of configuration >>> elements. The configuration to use is specified when you run grails, e.g. >>> >>> grails dev run-app >>> grails prod run-app >>> grails test run-app >>> >>> >>> Cheers, >>> >>> Chris >>> >>> Jacques Le Roux wrote: >>>> I have always wanted to introduce a port offset parameter as it's >>>> elegantly done in Geronimo. But I never found the time (and I'm not >>>> quite sure it's worth it) >>>> >>>> Jacques >>>> >>>> From: "Ruth Hoffman" <[hidden email]> >>>>> Hi Chis: >>>>> 3 separate instances. It is easier for me to keep track of things >>>>> that way. I know its a lot of extra and redundant data, but it works >>>>> for me. >>>>> >>>>> Regards, >>>>> Ruth >>>>> ---------------------------------------------------- >>>>> Find me on the web at http://www.myofbiz.com or Google keyword "myofbiz" >>>>> [hidden email] >>>>> >>>>> Christopher Snow wrote: >>>>>> Hi Ruth, >>>>>> >>>>>> Do you have three completely separate installations, or do you have one >>>>>> installation with three different sets of configuration files? >>>>>> >>>>>> Many thanks, >>>>>> >>>>>> Chris >>>>>> >>>>>> Ruth Hoffman wrote: >>>>>> >>>>>>> Yes. I run 3 or more at one time. One for production and several >>>>>>> others for testing. As Tim suggests, just make sure you don't have any >>>>>>> network port conflicts. The Production Setup Guide should have all the >>>>>>> info you need: >>>>>>> >>>>>>> http://cwiki.apache.org/confluence/display/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide >>>>>>> >>>>>>> >>>>>>> >>>>>>> Regards, >>>>>>> Ruth >>>>>>> ---------------------------------------------------- >>>>>>> Find me on the web at http://www.myofbiz.com or Google keyword >>>>>>> "myofbiz" >>>>>>> [hidden email] >>>>>>> >>>>>>> Tim Ruppert wrote: >>>>>>> >>>>>>>> Yes - for sure - we run well over 10 simultaneously. You just need >>>>>>>> to update your configuration files to be specific about ports and >>>>>>>> domain names and you should be good to go. >>>>>>>> >>>>>>>> Cheers, >>>>>>>> Ruppert >>>>>>>> -- >>>>>>>> Tim Ruppert >>>>>>>> HotWax Media >>>>>>>> http://www.hotwaxmedia.com >>>>>>>> >>>>>>>> o:801.649.6594 >>>>>>>> f:801.649.6595 >>>>>>>> >>>>>>>> On Dec 11, 2009, at 12:36 PM, [hidden email] wrote: >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>>> can I run two ofbiz instances on the same server? >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>> >>> >>> >>> -- >>> Chris Snow - CEng MBCS CITP MBA (Tech Mgmt) (Open) CISSP >>> >>> Tel: 01453 890660 >>> Mob: 07944 880950 >>> Www: www.snowconsulting.co.uk >>> >> >> > > > -- > Chris Snow - CEng MBCS CITP MBA (Tech Mgmt) (Open) CISSP > > Tel: 01453 890660 > Mob: 07944 880950 > Www: www.snowconsulting.co.uk > smime.p7s (3K) Download Attachment |
In reply to this post by Stephen Rufle-2
Looks like it's right here - it's in a personal space and those were not migrated:
http://olddocs.ofbiz.org/pages/viewpageattachments.action?pageId=5969 Cheers, Ruppert -- Tim Ruppert HotWax Media http://www.hotwaxmedia.com o:801.649.6594 f:801.649.6595 On Dec 11, 2009, at 3:18 PM, Stephen Rufle wrote: > I originally got my info from > "Running multiple instance of OFBiz - Vikas Mayur - Apache OFBiz Doc Site - Powered by Confluence - Provided by Hotwax Media" > http://docs.ofbiz.org/pages/viewpageattachments.action?pageId=5969 > > I went back there after I read your message but I ended up on what looks like a home page for > http://cwiki.apache.org/confluence/dashboard.action > > Christopher Snow wrote: >> Hi Stephen, >> >> Do you have to change the port in the rmi-dispatcher container too? >> >> <container name="rmi-dispatcher" >> class="org.ofbiz.service.rmi.RmiServiceContainer"> >> <property name="bound-name" value="RMIDispatcher"/> >> <property name="bound-host" value="127.0.0.1"/> >> <!--property name="bound-port" value="1098"/--> >> <property name="bound-port" value="1099"/> >> >> Also, the startofbiz.sh script: >> >> #ADMIN_PORT=10523 >> ADMIN_PORT=10524 >> >> Would you mind if it put the steps in the FAQ - the question about >> multiple instances per box seems to pop up from time to time? >> >> Many thanks, >> >> Chris >> >> Stephen Rufle wrote: >> >>> Hope the attached file is helpful. >>> >>> [hidden email] wrote: >>> >>>> which files??? anyone have any script? >>>> >>>> On Fri, 11 Dec 2009 15:08:29 -0500 Tim Ruppert <[hidden email]> wrote: >>>> >>>>> Yes - for sure - we run well over 10 simultaneously. You just need to update your configuration files to be specific about ports >>>> >>>>> and domain names and you should be good to go. >>>>> >>>>> Cheers, >>>>> Ruppert >>>>> -- >>>>> Tim Ruppert >>>>> HotWax Media >>>>> http://www.hotwaxmedia.com >>>>> >>>>> o:801.649.6594 >>>>> f:801.649.6595 >>>>> >>>>> On Dec 11, 2009, at 12:36 PM, [hidden email] wrote: >>>>> >>>>> >>>>>> can I run two ofbiz instances on the same server? >>>>>> >>>>>> >>>> >>>> >>> -- >>> Stephen P Rufle >>> [hidden email] >>> H1:480-626-8022 >>> H2:480-802-7173 >>> Yahoo IM: stephen_rufle >>> AOL IM: stephen1rufle >>> >> >> >> > > -- > Stephen P Rufle > [hidden email] > H1:480-626-8022 > H2:480-802-7173 > Yahoo IM: stephen_rufle > AOL IM: stephen1rufle > smime.p7s (3K) Download Attachment |
In reply to this post by Tim Ruppert
Hi Tim,
Are you referring to the use of patches to manage the environments? Many thanks, Chris Tim Ruppert wrote: > In theory, that's the way we manage multiple environments as well. In practice it's slightly different. > > Cheers, > Ruppert > -- > Tim Ruppert > HotWax Media > http://www.hotwaxmedia.com > > o:801.649.6594 > f:801.649.6595 > > On Dec 11, 2009, at 3:19 PM, Christopher Snow wrote: > > >> With grails each environment has its own configuration. As as example, see http://www.grails.org/Quick+Start and the section "Configure a Data Source (Optional)" >> >> Jacques Le Roux wrote: >> >>> Yes, they could be convenient covers of the port offset parameter (dev=18443, prod=28443, run=38443) that's what I use here. Of course there are much possible combinations. >>> >>> Jacques >>> >>> From: "Christopher Snow" <[hidden email]> >>> >>>> I like the grails approach of having multiple versions of configuration >>>> elements. The configuration to use is specified when you run grails, e.g. >>>> >>>> grails dev run-app >>>> grails prod run-app >>>> grails test run-app >>>> >>>> >>>> Cheers, >>>> >>>> Chris >>>> >>>> -- Chris Snow - CEng MBCS CITP MBA (Tech Mgmt) (Open) CISSP Tel: 01453 890660 Mob: 07944 880950 Www: www.snowconsulting.co.uk |
Yeah - we just maintain separate patches / patch directories for any mods that we have specific for a particular server and it works out just the same.
Cheers, Ruppert -- Tim Ruppert HotWax Media http://www.hotwaxmedia.com o:801.649.6594 f:801.649.6595 On Dec 11, 2009, at 3:35 PM, Christopher Snow wrote: > Hi Tim, > > Are you referring to the use of patches to manage the environments? > > Many thanks, > > Chris > > Tim Ruppert wrote: >> In theory, that's the way we manage multiple environments as well. In practice it's slightly different. >> >> Cheers, >> Ruppert >> -- >> Tim Ruppert >> HotWax Media >> http://www.hotwaxmedia.com >> >> o:801.649.6594 >> f:801.649.6595 >> >> On Dec 11, 2009, at 3:19 PM, Christopher Snow wrote: >> >> >>> With grails each environment has its own configuration. As as example, see http://www.grails.org/Quick+Start and the section "Configure a Data Source (Optional)" >>> >>> Jacques Le Roux wrote: >>> >>>> Yes, they could be convenient covers of the port offset parameter (dev=18443, prod=28443, run=38443) that's what I use here. Of course there are much possible combinations. >>>> >>>> Jacques >>>> >>>> From: "Christopher Snow" <[hidden email]> >>>> >>>>> I like the grails approach of having multiple versions of configuration >>>>> elements. The configuration to use is specified when you run grails, e.g. >>>>> >>>>> grails dev run-app >>>>> grails prod run-app >>>>> grails test run-app >>>>> >>>>> >>>>> Cheers, >>>>> >>>>> Chris >>>>> >>>>> > > > -- > Chris Snow - CEng MBCS CITP MBA (Tech Mgmt) (Open) CISSP > > Tel: 01453 890660 > Mob: 07944 880950 > Www: www.snowconsulting.co.uk > smime.p7s (3K) Download Attachment |
In reply to this post by Chris Snow-3
Anyway to setup single OFBIZ application instance with multiple database,
each database dedicated for a specific company ? Many thanks, Zhibin -----Original Message----- From: Christopher Snow [mailto:[hidden email]] Sent: Saturday, December 12, 2009 7:07 AM To: [hidden email] Subject: Re: instances Hi Ruth, Do you have three completely separate installations, or do you have one installation with three different sets of configuration files? Many thanks, Chris Ruth Hoffman wrote: > Yes. I run 3 or more at one time. One for production and several > others for testing. As Tim suggests, just make sure you don't have any > network port conflicts. The Production Setup Guide should have all the > info you need: > > http://cwiki.apache.org/confluence/display/OFBTECH/Apache+OFBiz+Technical+Pr oduction+Setup+Guide > > > Regards, > Ruth > ---------------------------------------------------- > Find me on the web at http://www.myofbiz.com or Google keyword "myofbiz" > [hidden email] > > Tim Ruppert wrote: >> Yes - for sure - we run well over 10 simultaneously. You just need >> to update your configuration files to be specific about ports and >> domain names and you should be good to go. >> >> Cheers, >> Ruppert >> -- >> Tim Ruppert >> HotWax Media >> http://www.hotwaxmedia.com >> >> o:801.649.6594 >> f:801.649.6595 >> >> On Dec 11, 2009, at 12:36 PM, [hidden email] wrote: >> >> >>> can I run two ofbiz instances on the same server? >>> >>> >> >> -- Chris Snow - CEng MBCS CITP MBA (Tech Mgmt) (Open) CISSP Tel: 01453 890660 Mob: 07944 880950 Www: www.snowconsulting.co.uk |
Search around for "multi-tenant" or just "tenant" to see various discussions about this. -David On Dec 12, 2009, at 4:40 PM, Zhibin Liang wrote: > Anyway to setup single OFBIZ application instance with multiple database, > each database dedicated for a specific company ? > > Many thanks, > Zhibin > > -----Original Message----- > From: Christopher Snow [mailto:[hidden email]] > Sent: Saturday, December 12, 2009 7:07 AM > To: [hidden email] > Subject: Re: instances > > Hi Ruth, > > Do you have three completely separate installations, or do you have one > installation with three different sets of configuration files? > > Many thanks, > > Chris > > Ruth Hoffman wrote: >> Yes. I run 3 or more at one time. One for production and several >> others for testing. As Tim suggests, just make sure you don't have any >> network port conflicts. The Production Setup Guide should have all the >> info you need: >> >> > http://cwiki.apache.org/confluence/display/OFBTECH/Apache+OFBiz+Technical+Pr > oduction+Setup+Guide >> >> >> Regards, >> Ruth >> ---------------------------------------------------- >> Find me on the web at http://www.myofbiz.com or Google keyword "myofbiz" >> [hidden email] >> >> Tim Ruppert wrote: >>> Yes - for sure - we run well over 10 simultaneously. You just need >>> to update your configuration files to be specific about ports and >>> domain names and you should be good to go. >>> >>> Cheers, >>> Ruppert >>> -- >>> Tim Ruppert >>> HotWax Media >>> http://www.hotwaxmedia.com >>> >>> o:801.649.6594 >>> f:801.649.6595 >>> >>> On Dec 11, 2009, at 12:36 PM, [hidden email] wrote: >>> >>> >>>> can I run two ofbiz instances on the same server? >>>> >>>> >>> >>> > > > -- > Chris Snow - CEng MBCS CITP MBA (Tech Mgmt) (Open) CISSP > > Tel: 01453 890660 > Mob: 07944 880950 > Www: www.snowconsulting.co.uk > |
Free forum by Nabble | Edit this page |