Solved

Creating a JRun/CF cluster and using hardware load balancing

Posted on 2004-08-10
4
259 Views
Last Modified: 2013-12-24
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
Comment
Question by:rot299
4 Comments
 
LVL 5

Accepted Solution

by:
Seth_Bienek earned 500 total points
ID: 11763720

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
 
LVL 1

Author Comment

by:rot299
ID: 11772472
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
 
LVL 2

Expert Comment

by:russmichaels
ID: 11800891
Use client variables stored in a database rather than session variables, this will maintain your sessions across all servers.

Russ
0
 

Expert Comment

by:ro8inmorgan
ID: 14569691
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

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
The article will include the best Data Recovery Tools along with their Features, Capabilities, and their Download Links. Hope you’ll enjoy it and will choose the one as required by you.
The purpose of this video is to demonstrate how to update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question