Solved

Creating a JRun/CF cluster and using hardware load balancing

Posted on 2004-08-10
4
256 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
Comment Utility

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
Comment Utility
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
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

How to update Firmware and Bios in Dell Equalogic PS6000 Arrays and Hard Disks firmware update.
Create your own, high-performance VM backup appliance by installing NAKIVO Backup & Replication directly onto a Synology NAS!
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…
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…

772 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now