Re: [cfaussie] using Solr in a multi instance configuration
Yeah, it's another JEE deployment. Looks like CF is running SOLR on a Jetty servlet engine. It may be a case of going into /opt/webapps/ and making a copy of solr.war and call it something new (say uat.war), and then restarting it. You will have to look at having seperate solr.home's defined for each solr instance, and that is the tricky bit. It may actually be a zillion times easier to simply install another instance of Jetty on the server, and drop solr on it, and point your UAT machine at that instead. I don't think that CF supports pointing at multiple SOLR instances, does it? Mark On Tue, Apr 5, 2011 at 10:19 AM, Barry Chesterman barrychester...@gmail.com wrote: Deploying a second instance of solr was my idea also, but I wasn't sure if this was the right way to go about it or not (I'm also not exactly sure how you go about deploying a second instance of Solr either) - is it a copy directory and modify some files type exercise, or is it a run the solr standalone installer? the solr we are using is the one that installs all by itself when you put coldfusion 9 on. I know how to tell an instance what Solr to look at (in the CFIDE administrator, in Solr) so that bit is straight forward. On Tue, Apr 5, 2011 at 11:31 AM, Mark Mandel mark.man...@gmail.comwrote: Oh, I think I see the issue. You want to deploy a second instance of solr, but are not sure how to tell each instance to have different solr homes. Is that correct? Mark Sent from my mobile device. On 05/04/2011 8:07 AM, Barry Chesterman barrychester...@gmail.com wrote: -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- E: mark.man...@gmail.com T: http://www.twitter.com/neurotic W: www.compoundtheory.com cf.Objective(ANZ) - Nov 17, 18 - Melbourne Australia http://www.cfobjective.com.au Hands-on ColdFusion ORM Training www.ColdFusionOrmTraining.com -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
RE: [cfaussie] using Solr in a multi instance configuration
Barry, this is indeed interesting. I've read the other replies so far, and I have some other thoughts. I've not tried to install solr on a server where I installed CF in multiserver mode, but looking at the install guide, it's a little unclear. It says in the discussion of J2EE deployment (which is different from multiserver) that there can be only one solr instance per server. It doesn't really seem to speak to multiserver deployment. But it does say (as Mark did) that at least in that J2EE setup, the solution is for it to be in one place and for the solr home in each CF admin to be configured to point to that place. I'm curious: do I assume you did tell it to install Solr during the CF 9 Multiserver installation, right? I'm curious: where did the solr files end up? In a Standard/Server deployment, they are in a [cf]\solr directory. In a multiserver deployment, was this created within the cfusion instance (such as a C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\solr directory), or perhaps even also in each new isntance (such as in C:\JRun4\servers\instance2\cfusion.ear\cfusion.war\WEB-INF\cfusion\solr)? Or is it put in some directory outside of jrun entirely? If it was created each instance, then I wonder if it may be possible for you to manually manipulate the solr/jetty config files to simply specify different ports so that they can run on their own. It seems reasonable. But I wouldn't be surprised if the CF team opted to make the default behavior be simplest: a single deployment. Hope that helps. Let us know what you find. /charlie -Original Message- From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of BarryC Sent: Monday, April 04, 2011 5:25 PM To: cfaussie Subject: [cfaussie] using Solr in a multi instance configuration Hi, Has anyone used, or does anyone know how to get Solr going properly in a multi instance configuration? We have two instances on a single server installed; cfusion uat the solr directory sits buried inside the cfusion instance directory, but the uat instance does not have a solr directory. It seems by default that the idea is to have the new instance point at the solr server running out of the original instance 'cfusion' We want the uat instance to have seperate solr search collections but using the same collection names as the ones in cfusion, which means we need to have a seperate solr store somehow. I've had a look at running 'multiple solr webapps' from a single solr server, but the documentation on this is very poor and I have not been able to successfully get this working. Do we need to duplicate the solr directory into the new instance, and run a seperate solr server start script with solr running on a different port or something? Thanks Barry -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
Re: [cfaussie] using Solr in a multi instance configuration
Thanks for the info Mark, and yes you can point coldfusion to a seperate solr instance. Charlie, when the initial install was done, it was a multiserver deployment. Yes it goes in the directory you mention below, in the default cfusion instance in: /opt/jrun4/servers/cfusion/.. The Solr part is installed at: /opt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/solr/ and there is a start script that gets put in init.d/ to start / stop / restart solr. Yes solr was installed in the initial deployment and we have been using it without a problem in that instance. When the second instance creation was done, we just ran the create new instance from the CFIDE administrator, and then did the custom apache config edits as listed in the cf9 documentation. It creates the second instance here: /opt/jrun4/servers/uat/ I looked in the corresponding folder as the default install, and there is no solr/ folder in /opt/jrun4/servers/uat/cfusion.ear/cfusion.war/WEB-INF/cfusion/ We are not sure what one is 'supposed' to do here, normally I guess you would have your second instance just point to the solr server running from the default install instance, but in our case this is no good because we need to use the same collection names for the second instance. I had a go at running multiple webapps with Jetty (what Solr in cf runs on) - where you edit the [CF]/solr/etc/jetty.xml config file as shown here: http://wiki.apache.org/solr/SolrJetty but none of that worked, Solr would always fail to start with errors, normally about how it couldn't find the methods or classes specified. Solr under coldfusion runs the collections out of a [CF]/solr/multicore The only options I've come up with are; 1. copy the solr folder from the cfusion instance, to our uat instance, and update the jetty config accordingly, add a new solr start file in init.d and update the new coldfusion instance to point to that solr server. 2. run the installer for the standalone solr server (which adobe provide mainly for running solr on a different server), then point the new coldfusion instance to that - essentially what Mark pointed out in his post. Barry On Wed, Apr 6, 2011 at 4:13 AM, charlie arehart charlie_li...@carehart.orgwrote: Barry, this is indeed interesting. I've read the other replies so far, and I have some other thoughts. I've not tried to install solr on a server where I installed CF in multiserver mode, but looking at the install guide, it's a little unclear. It says in the discussion of J2EE deployment (which is different from multiserver) that there can be only one solr instance per server. It doesn't really seem to speak to multiserver deployment. But it does say (as Mark did) that at least in that J2EE setup, the solution is for it to be in one place and for the solr home in each CF admin to be configured to point to that place. I'm curious: do I assume you did tell it to install Solr during the CF 9 Multiserver installation, right? I'm curious: where did the solr files end up? In a Standard/Server deployment, they are in a [cf]\solr directory. In a multiserver deployment, was this created within the cfusion instance (such as a C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\solr directory), or perhaps even also in each new isntance (such as in C:\JRun4\servers\instance2\cfusion.ear\cfusion.war\WEB-INF\cfusion\solr)? Or is it put in some directory outside of jrun entirely? If it was created each instance, then I wonder if it may be possible for you to manually manipulate the solr/jetty config files to simply specify different ports so that they can run on their own. It seems reasonable. But I wouldn't be surprised if the CF team opted to make the default behavior be simplest: a single deployment. Hope that helps. Let us know what you find. /charlie -Original Message- From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of BarryC Sent: Monday, April 04, 2011 5:25 PM To: cfaussie Subject: [cfaussie] using Solr in a multi instance configuration Hi, Has anyone used, or does anyone know how to get Solr going properly in a multi instance configuration? We have two instances on a single server installed; cfusion uat the solr directory sits buried inside the cfusion instance directory, but the uat instance does not have a solr directory. It seems by default that the idea is to have the new instance point at the solr server running out of the original instance 'cfusion' We want the uat instance to have seperate solr search collections but using the same collection names as the ones in cfusion, which means we need to have a seperate solr store somehow. I've had a look at running 'multiple solr webapps' from a single solr server, but the documentation on this is very poor and I have not been able to successfully get this working. Do we need to duplicate the solr directory into the new
[cfaussie] Dreamweaver Cold Fusion Server (Dev) CF Report Writer
Hi I am looking to purchase a IPad II and I am wondering if Dreamweaver, Cold Fusion Server (Dev Version), CF Report Writer etc work on a MAC platform, I have never used a MAC before so I thought it best I ask before buying one. Regards Claude Raiola (B.Econ Acc; B.Hot. Mngt) -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
Re: [cfaussie] Dreamweaver Cold Fusion Server (Dev) CF Report Writer
An iPad 2 is not a Mac. An iPad 2 is an iOS device (iOS is a phone/table OS that has nothing to do with Mac OS X that runs on laptops and desktops) Apart from that - DW, CFB, CF Eclipse, CF work fine on Mac OS X - CF Report Builder is Windows-only. Cheers Kai Hi I am looking to purchase a IPad II and I am wondering if Dreamweaver, Cold Fusion Server (Dev Version), CF Report Writer etc work on a MAC platform, I have never used a MAC before so I thought it best I ask before buying one. Regards Claude Raiola (B.Econ Acc; B.Hot. Mngt) -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
RE: [cfaussie] Dreamweaver Cold Fusion Server (Dev) CF Report Writer
I doubt very much that any of those applications have been compiled to run on the IPad. ColdFusion might if you could run Java, but I doubt that is possible either. From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of rai...@ozemail.com.au Sent: Wednesday, 6 April 2011 8:38 AM To: cfaussie@googlegroups.com Subject: [cfaussie] Dreamweaver Cold Fusion Server (Dev) CF Report Writer Hi I am looking to purchase a IPad II and I am wondering if Dreamweaver, Cold Fusion Server (Dev Version), CF Report Writer etc work on a MAC platform, I have never used a MAC before so I thought it best I ask before buying one. Regards Claude Raiola (B.Econ Acc; B.Hot. Mngt) -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
RE: [cfaussie] Dreamweaver Cold Fusion Server (Dev) CF Report Writer
No, iPad specifically will run none of, but all except Report Builder will run on an intel mac Regards Dale Fraser http://dale.fraser.id.au http://cfmldocs.com http://cfmldocs.com/ http://learncf.com http://flexcf.com From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of rai...@ozemail.com.au Sent: Wednesday, 6 April 2011 8:38 AM To: cfaussie@googlegroups.com Subject: [cfaussie] Dreamweaver Cold Fusion Server (Dev) CF Report Writer Hi I am looking to purchase a IPad II and I am wondering if Dreamweaver, Cold Fusion Server (Dev Version), CF Report Writer etc work on a MAC platform, I have never used a MAC before so I thought it best I ask before buying one. Regards Claude Raiola (B.Econ Acc; B.Hot. Mngt) -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
Re: [cfaussie] using Solr in a multi instance configuration
Just as an aside - if anyone is looking to seriously get into Solr, I cannot recommend this book enough: http://www.packtpub.com/solr-1-4-enterprise-search-server/book Solr is an amazing product, but its online documentation can be lacking. The above book really takes you end to end with Solr, and shows you pretty much everything that can be done with it, from features, through to deployment. Mark On Wed, Apr 6, 2011 at 12:34 PM, charlie arehart charlie_li...@carehart.org wrote: Thanks for the clarifications/confirmations/observations. Sounds like you will indeed need to go one of those two routes. Sorry I couldn’t help more. /charlie *From:* cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] *On Behalf Of *Barry Chesterman *Sent:* Tuesday, April 05, 2011 5:15 PM *To:* cfaussie@googlegroups.com *Subject:* Re: [cfaussie] using Solr in a multi instance configuration Thanks for the info Mark, and yes you can point coldfusion to a seperate solr instance. Charlie, when the initial install was done, it was a multiserver deployment. Yes it goes in the directory you mention below, in the default cfusion instance in: /opt/jrun4/servers/cfusion/.. The Solr part is installed at: /opt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/solr/ and there is a start script that gets put in init.d/ to start / stop / restart solr. Yes solr was installed in the initial deployment and we have been using it without a problem in that instance. When the second instance creation was done, we just ran the create new instance from the CFIDE administrator, and then did the custom apache config edits as listed in the cf9 documentation. It creates the second instance here: /opt/jrun4/servers/uat/ I looked in the corresponding folder as the default install, and there is no solr/ folder in /opt/jrun4/servers/uat/cfusion.ear/cfusion.war/WEB-INF/cfusion/ We are not sure what one is 'supposed' to do here, normally I guess you would have your second instance just point to the solr server running from the default install instance, but in our case this is no good because we need to use the same collection names for the second instance. I had a go at running multiple webapps with Jetty (what Solr in cf runs on) - where you edit the [CF]/solr/etc/jetty.xml config file as shown here: http://wiki.apache.org/solr/SolrJetty but none of that worked, Solr would always fail to start with errors, normally about how it couldn't find the methods or classes specified. Solr under coldfusion runs the collections out of a [CF]/solr/multicore The only options I've come up with are; 1. copy the solr folder from the cfusion instance, to our uat instance, and update the jetty config accordingly, add a new solr start file in init.d and update the new coldfusion instance to point to that solr server. 2. run the installer for the standalone solr server (which adobe provide mainly for running solr on a different server), then point the new coldfusion instance to that - essentially what Mark pointed out in his post. Barry -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- E: mark.man...@gmail.com T: http://www.twitter.com/neurotic W: www.compoundtheory.com cf.Objective(ANZ) - Nov 17, 18 - Melbourne Australia http://www.cfobjective.com.au Hands-on ColdFusion ORM Training www.ColdFusionOrmTraining.com -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.