House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

ColdFusion 8 cluster testing for load balancing and failover

  << Previous Post |  RSS |  Tree View |  Sort Oldest First |  Subscribe to this Group Next >> 

CF8 cluster testing for load balancing and failover

George Lu wrote: Jochem van Dieten 04/04/2008 04:13 PM
Thank you Jochem! It's a good template. George Lu 04/01/2008 06:03 PM
George Lu wrote: Jochem van Dieten 04/01/2008 04:02 AM
Yes! I can see them now when I continue to hit different pages. Thank you George Lu 04/01/2008 01:03 AM
Go to Highest Hit Counts (after restarting the server instances to James Holmes 03/31/2008 11:39 PM
Well, I can still access the cfusion instance from here: George Lu 03/31/2008 11:24 PM
The multiserver monitor is in the cfusion instance you removed from IIS. James Holmes 03/31/2008 10:06 PM
I've installed CF8 using multiserver configuration and created a cluster and George Lu 03/31/2008 10:01 PM

04/04/2008 04:13 PM
Author: Jochem van Dieten Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:55826#302762 George Lu wrote: > Thank you Jochem! It's a good template. > > I'm not quite sure about the sticky sessions and replicate sessions. Do I > really need to these? That follows from your code and business requirements. If you use session variables, you need something to make sure that those variables are present on the cluster instance the request is directed to. That can be stcky sessions (always the same cluster instance), session replication (variables on all instances), or both. Jochem
04/01/2008 06:03 PM
Author: George Lu Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:55826#302465 Thank you Jochem! It's a good template. I'm not quite sure about the sticky sessions and replicate sessions. Do I really need to these? George ----- Excess quoted text cut - see Original Post for more -----
04/01/2008 04:02 AM
Author: Jochem van Dieten Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:55826#302410 George Lu wrote: > I've installed CF8 using multiserver configuration and created a cluster and > added two instances on the same physical box. Then I've used wsconfig.exe to > connect the cluster to IIS and remove 'cfusion' from IIS (with help from > MrBuzzy). > > Now I can consider the cluster is successfully installed. However, how can I > test the load balancing and failover? I typically start with the following template: <cfoutput> <html><head> <title>#createObject("java", "jrunx.kernel.JRun").getServerName()#</title> <meta http-equiv="refresh" content="2" /> </head><body> #createObject("java", "jrunx.kernel.JRun").getServerName()#<br /> #now()# </body></html> Just open it in a few browser windows and start shutting down / killing instances and see what happens. If you configured session replication just add in a session hitcount and see if it gets reset on a cluster failover. Once that works you need tooling (OpenSTA, jmeter etc.) to start testing real world load and failover behaviour. Jochem
04/01/2008 01:03 AM
Author: George Lu Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:55826#302406 Yes! I can see them now when I continue to hit different pages. Thank you James for your help. ----- Excess quoted text cut - see Original Post for more -----
03/31/2008 11:39 PM
Author: James Holmes Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:55826#302404 Go to Highest Hit Counts (after restarting the server instances to clear it out) and hit a specific page only. That way it will the the only page to show and you can check the number of hits. ----- Excess quoted text cut - see Original Post for more -----
03/31/2008 11:24 PM
Author: George Lu Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:55826#302403 Well, I can still access the cfusion instance from here: servername:8300/cfide/administrator. I've launched the server monitor from each instance. I hit the index page. What I can see is it created a session under "Active sessions" and nothing under other stats items. ----- Excess quoted text cut - see Original Post for more -----
03/31/2008 10:06 PM
Author: James Holmes Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:55826#302402 The multiserver monitor is in the cfusion instance you removed from IIS. Regardless, you probably want to look in the individual server monitors to see how many requests each is handling. hit a page on the site, see which server is shows in, hit it again, it should show in the other server. Take one instance down, all the requests should come from one instance. Bring it back, you should see both serving requests again. ----- Excess quoted text cut - see Original Post for more ----- -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/
03/31/2008 10:01 PM
Author: George Lu Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:55826#302401 I've installed CF8 using multiserver configuration and created a cluster and added two instances on the same physical box. Then I've used wsconfig.exe to connect the cluster to IIS and remove 'cfusion' from IIS (with help from MrBuzzy). Now I can consider the cluster is successfully installed. However, how can I test the load balancing and failover? If I run CF Admin on one of the instances, how can I add servers (server name? port?) in Multiserver Monitor? Can someone please help? George
<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

May 24, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
     1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31     

Designer, Developer and mobile workflow conference