Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 277
  • Last Modified:

Creating a JRun/CF cluster and using hardware load balancing

I am creating a hosting environment that will consist of a Hardware load balancer (CISCO CSS), 2 Windows 2003 Server Machines running IIS6 and JRun/Coldfusion. Will will also have a remote storage machine (NAS) to hold all the client data and store the websites.

What I need to know is - if I want to use session replication across the two server machines, am I able to create a JRun cluster across the two so if one fails the other will maintain the session state? Or does this conflict with how the CSS with balance the load. i.e. will the CSS direct me to one machine only to have the JRun/CFusion decide which server in the cluster to use?

Im a little confused as to how JRun should be setup when using a hardware load balancer.
0
rot299
Asked:
rot299
1 Solution
 
Seth_BienekCommented:

Nice setup!

Read the followning articles; they should answer your questions!
http://www.macromedia.com/devnet/mx/coldfusion/articles/css_multi.html
http://www.macromedia.com/devnet/mx/coldfusion/j2ee/articles/balancing_j2ee.html
http://www.macromedia.com/devnet/mx/coldfusion/articles/dfp.html

If you have questions after reading these, fire away!

Also, if you read something about ColdFusion or JRun not working well with CSS, disregard it.  Older versions of CF and JRUN did not play well with older versions of CSS; that's all fixed now, thanks in part to Macromedia's partnership with Cisco.
 
Regards,

Seth
0
 
rot299Author Commented:
Thanks, however I have read those articles previously and I'm still not sure of a couple of things.

If I use the hardware load balancer in front of two machines running multiple instances of JRun/CF, should I cluster all the instances across both machines or should I have sepecrate cluster on each of the boxes?

Assuming it is best to create a cluster with all instances from both machines - do I need to register remote servers and create the cluster through the JMC on both machines or just on one so that IIS6 (one install per machine) can be connected to the cluster from both machines?

Thanks again
0
 
russmichaelsCommented:
Use client variables stored in a database rather than session variables, this will maintain your sessions across all servers.

Russ
0
 
ro8inmorganCommented:
I'd like to note that we are using the exact same setup including the css, and there are a few problems with it concidering the failover part I have not a bug submitted at Macromedia and they are looking in to it, for now the failover is not working so concider that before making this setup
 
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now