Re: [ACFUG Discuss] CF Clustering options
Yes, you are true, I could copy those XML config files. But, even this is a manual process. In my previous client.. they had a way to automagically transfer these settings among the instances... so that when we change one CF instance's CFADMIN settings... it would get copied.. from this instance to other instances I think there was a catch though... all other instances needed to be turned off...! I was not sure if there was a script running... or if something was customized the config files... to watch for the changes in a particular CF instance... This would make things easier as we need not copy these xml files each time or need to repeat these steps in CFadministrator... Thanks, Arun Nallan 409 363 0587 On Wed, Oct 22, 2008 at 12:49 PM, Cameron Childress [EMAIL PROTECTED]wrote: On Tue, Oct 21, 2008 at 1:19 PM, Arun Nallan [EMAIL PROTECTED]wrote: Does anyone know how or have experience in getting the replication setup (admin settings) from among the CF instances of a cluster? I understand if that is not compatible for Windows environment, even if it works in a UNIX or a Solaris environment, that might help! Generally, between identical versions of CF you can just copy the XML config files between instances. This would assume that any mappings would be to the same locations on all machines, but would not require identically named instances. YMMV -Cameron -- Cameron Childress Sumo Consulting Inc http://www.sumoc.com --- cell: 678.637.5072 aim: cameroncf email: [EMAIL PROTECTED] - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink http://www.fusionlink.com - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
Re: [ACFUG Discuss] CF Clustering options
sounds dangerous to me in a way, but yeah you could just setup replication via manual script or via the OS. Something as big as Websphere might have this functionality built in for handling large soft-clusters. Is sift-clusters a term? if no prior art there is now! :) DK On Thu, Oct 23, 2008 at 8:57 AM, Arun Nallan [EMAIL PROTECTED] wrote: Yes, you are true, I could copy those XML config files. But, even this is a manual process. In my previous client.. they had a way to automagically transfer these settings among the instances... so that when we change one CF instance's CFADMIN settings... it would get copied.. from this instance to other instances I think there was a catch though... all other instances needed to be turned off...! I was not sure if there was a script running... or if something was customized the config files... to watch for the changes in a particular CF instance... This would make things easier as we need not copy these xml files each time or need to repeat these steps in CFadministrator... Thanks, Arun Nallan 409 363 0587 On Wed, Oct 22, 2008 at 12:49 PM, Cameron Childress [EMAIL PROTECTED]wrote: On Tue, Oct 21, 2008 at 1:19 PM, Arun Nallan [EMAIL PROTECTED]wrote: Does anyone know how or have experience in getting the replication setup (admin settings) from among the CF instances of a cluster? I understand if that is not compatible for Windows environment, even if it works in a UNIX or a Solaris environment, that might help! Generally, between identical versions of CF you can just copy the XML config files between instances. This would assume that any mappings would be to the same locations on all machines, but would not require identically named instances. YMMV -Cameron -- Cameron Childress Sumo Consulting Inc http://www.sumoc.com --- cell: 678.637.5072 aim: cameroncf email: [EMAIL PROTECTED] - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink http://www.fusionlink.com - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink http://www.fusionlink.com - -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it? - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
Re: [ACFUG Discuss] CF Clustering options
On Thu, Oct 23, 2008 at 8:57 AM, Arun Nallan [EMAIL PROTECTED] wrote: Yes, you are true, I could copy those XML config files. But, even this is a manual process. There are a large number of potential solutions for automating this. In my previous client.. they had a way to automagically transfer these settings among the instances... so that when we change one CF instance's CFADMIN settings... it would get copied.. from this instance to other instances I think there was a catch though... all other instances needed to be turned off...! There are also a large number of solutions for executing batch files that Restart CF. I'm not saying it's the most graceful way of handling it, but it's not an insurmountable problem. -Cameron -- Cameron Childress Sumo Consulting Inc http://www.sumoc.com --- cell: 678.637.5072 aim: cameroncf email: [EMAIL PROTECTED] - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
Re: [ACFUG Discuss] CF Clustering options
On Tue, Oct 21, 2008 at 1:19 PM, Arun Nallan [EMAIL PROTECTED] wrote: Does anyone know how or have experience in getting the replication setup (admin settings) from among the CF instances of a cluster? I understand if that is not compatible for Windows environment, even if it works in a UNIX or a Solaris environment, that might help! Generally, between identical versions of CF you can just copy the XML config files between instances. This would assume that any mappings would be to the same locations on all machines, but would not require identically named instances. YMMV -Cameron -- Cameron Childress Sumo Consulting Inc http://www.sumoc.com --- cell: 678.637.5072 aim: cameroncf email: [EMAIL PROTECTED] - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
[ACFUG Discuss] CF Clustering options
We are considering the clustering options for load balancing/ failover in a IIS/ JRun coldfusion environment. That being said, would the J2EE clustering (or the ColdFusion Enterprise Manager via CF Admin) be the best option to go for, or what would be my other options available. We are going to need sticky sessions or session replication for sure. What are the industry's best practices? Your ideas and resources would give me some insight and be very helpful. Thanks, Arun Nallan 409 363 0587 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
Re: [ACFUG Discuss] CF Clustering options
The J2EE clustering in the CF Admin is just a tool to manage the underlying J2EE server, which by default is JRun. Unless you have a business reason to run CF on something else, I usually would just stick to JRun. An argument could be made that you get speed improvements from other J2EE platforms, but there is more overhead and knowledge required in managing those. JRun installs by default and just works. Both sticky session and session replication work with JRun. As far as best practice - I think the term Best Practices is often bandied around as if there are some kinda rules of thumb out there, and there are not. Each situation is really different and should be evaluated as such. I think you are unlikely to find a meaningful list of things you should always do, and if you do find such a list you should almost certainly not follow it as if it were the law. -Cameron On Tue, Oct 21, 2008 at 9:15 AM, Arun Nallan [EMAIL PROTECTED] wrote: We are considering the clustering options for load balancing/ failover in a IIS/ JRun coldfusion environment. That being said, would the J2EE clustering (or the ColdFusion Enterprise Manager via CF Admin) be the best option to go for, or what would be my other options available. We are going to need sticky sessions or session replication for sure. What are the industry's best practices? Your ideas and resources would give me some insight and be very helpful. Thanks, Arun Nallan 409 363 0587 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink http://www.fusionlink.com - -- Cameron Childress Sumo Consulting Inc http://www.sumoc.com --- cell: 678.637.5072 aim: cameroncf email: [EMAIL PROTECTED] - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
Re: [ACFUG Discuss] CF Clustering options
What's your server platform, Windows or Linux? I had a really bad experience (ok, maybe not bad but extremely trying) with clustering CF on JRun on Redhat Linux. Granted, this was CFMX 6 (and whatever JVM version) five years ago so things should have improved by now, but we had to throw an inordinately large amount of RAM at the whole thing to make it stay up for more than two days. We had two honking servers (don't remember the exact specs now) and were running two instances of CF on each (supposedly it was faster with two instances) and had all four instances clustered, sticky sessions, memory object failover, and all. Eventually the Java heap would just fill up and the entire box would lock up. We would have to power-cycle the hardware to get it to work again for another two days. Eventually we shoved enough RAM in that it was stable but it wasn't pretty for a while. On Tue, Oct 21, 2008 at 9:55 AM, Cameron Childress [EMAIL PROTECTED]wrote: The J2EE clustering in the CF Admin is just a tool to manage the underlying J2EE server, which by default is JRun. Unless you have a business reason to run CF on something else, I usually would just stick to JRun. An argument could be made that you get speed improvements from other J2EE platforms, but there is more overhead and knowledge required in managing those. JRun installs by default and just works. Both sticky session and session replication work with JRun. -- Howard Fore, [EMAIL PROTECTED] The universe tends toward maximum irony. Don't push it. - Jeff Atwood - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
Re: [ACFUG Discuss] CF Clustering options
Thanks for your email. Yes, I agree with you. Each situation is different. FYI.. We have a setup of CF running on JRun... and IIS as our webserver. We have proxy connection enabled on JRUN for each CF instance for communication with IIS. So, we have turned off the internal JWS for our purposes and IIS directly communicates with these CF servers. So, as I understand you are telling that J2EE based clustering is the best option we have for now, using JRun. I was kind of thinking there would be a separate clustering software for even better and effective load balancing/ failover. I was reading the article. at http://www.adobe.com/devnet/coldfusion/articles/clustering_cf8_print.htmland was kind of not able to understand by these quotation: The current version of software level clustering in ColdFusion via Enterprise Manager is based on J2EE clustering and is not a full clustering system; it is peer-to-peer at the ColdFusion server-instance level. Thanks, Arun Nallan 409 363 0587 On Tue, Oct 21, 2008 at 9:55 AM, Cameron Childress [EMAIL PROTECTED]wrote: The J2EE clustering in the CF Admin is just a tool to manage the underlying J2EE server, which by default is JRun. Unless you have a business reason to run CF on something else, I usually would just stick to JRun. An argument could be made that you get speed improvements from other J2EE platforms, but there is more overhead and knowledge required in managing those. JRun installs by default and just works. Both sticky session and session replication work with JRun. As far as best practice - I think the term Best Practices is often bandied around as if there are some kinda rules of thumb out there, and there are not. Each situation is really different and should be evaluated as such. I think you are unlikely to find a meaningful list of things you should always do, and if you do find such a list you should almost certainly not follow it as if it were the law. -Cameron On Tue, Oct 21, 2008 at 9:15 AM, Arun Nallan [EMAIL PROTECTED]wrote: We are considering the clustering options for load balancing/ failover in a IIS/ JRun coldfusion environment. That being said, would the J2EE clustering (or the ColdFusion Enterprise Manager via CF Admin) be the best option to go for, or what would be my other options available. We are going to need sticky sessions or session replication for sure. What are the industry's best practices? Your ideas and resources would give me some insight and be very helpful. Thanks, Arun Nallan 409 363 0587 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink http://www.fusionlink.com - -- Cameron Childress Sumo Consulting Inc http://www.sumoc.com --- cell: 678.637.5072 aim: cameroncf email: [EMAIL PROTECTED] - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink http://www.fusionlink.com - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
Re: [ACFUG Discuss] CF Clustering options
I've set this up before. Its a software approach to cluster/balancing. JRun, the software, decides on where to route requests and such. Failover was not very successful in my experience. If a instance failed, users were still stuck pointing to it instead of getting re-directed. I suspect because in these cases the JRun instance was humming along as usual, just CF had hung up. 99% chance it was bad code from one of my developers at the time or code I wrote and claimed not to have. :) Basically you set up N instances of CF and use the enterprise manager to put them into a cluster. This in the end presents one jsapi to IIS and JRun manages which instance IIS talks with, at least that's how I recall it in laymens terms. You will need that JWS turned back on though, only way to manage the individual instances. Some day Adobe will setup replication of server settings, eh? But not today. DK On Tue, Oct 21, 2008 at 11:08 AM, Arun Nallan [EMAIL PROTECTED] wrote: Thanks for your email. Yes, I agree with you. Each situation is different. FYI.. We have a setup of CF running on JRun... and IIS as our webserver. We have proxy connection enabled on JRUN for each CF instance for communication with IIS. So, we have turned off the internal JWS for our purposes and IIS directly communicates with these CF servers. So, as I understand you are telling that J2EE based clustering is the best option we have for now, using JRun. I was kind of thinking there would be a separate clustering software for even better and effective load balancing/ failover. I was reading the article. at http://www.adobe.com/devnet/coldfusion/articles/clustering_cf8_print.htmland was kind of not able to understand by these quotation: The current version of software level clustering in ColdFusion via Enterprise Manager is based on J2EE clustering and is not a full clustering system; it is peer-to-peer at the ColdFusion server-instance level. Thanks, Arun Nallan 409 363 0587 On Tue, Oct 21, 2008 at 9:55 AM, Cameron Childress [EMAIL PROTECTED]wrote: The J2EE clustering in the CF Admin is just a tool to manage the underlying J2EE server, which by default is JRun. Unless you have a business reason to run CF on something else, I usually would just stick to JRun. An argument could be made that you get speed improvements from other J2EE platforms, but there is more overhead and knowledge required in managing those. JRun installs by default and just works. Both sticky session and session replication work with JRun. As far as best practice - I think the term Best Practices is often bandied around as if there are some kinda rules of thumb out there, and there are not. Each situation is really different and should be evaluated as such. I think you are unlikely to find a meaningful list of things you should always do, and if you do find such a list you should almost certainly not follow it as if it were the law. -Cameron On Tue, Oct 21, 2008 at 9:15 AM, Arun Nallan [EMAIL PROTECTED]wrote: We are considering the clustering options for load balancing/ failover in a IIS/ JRun coldfusion environment. That being said, would the J2EE clustering (or the ColdFusion Enterprise Manager via CF Admin) be the best option to go for, or what would be my other options available. We are going to need sticky sessions or session replication for sure. What are the industry's best practices? Your ideas and resources would give me some insight and be very helpful. Thanks, Arun Nallan 409 363 0587 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink http://www.fusionlink.com - -- Cameron Childress Sumo Consulting Inc http://www.sumoc.com --- cell: 678.637.5072 aim: cameroncf email: [EMAIL PROTECTED] - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink http://www.fusionlink.com - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink http://www.fusionlink.com - -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it?