Windows 2003 Load Balancing and ColdFusion

ColdFusion, Microsoft Add comments

Those of you that have played with Windows 2003 load balancing will already know it’s pretty good at doing what it says on the tin ‘Load Balancing’. It’s super simple to setup two boxes in a web farm and then load balance port(s) between the two nodes for no additional cost other than server hardware and OS. Having just graduated to dealing with large(ish) scale ColdFusion Enterprise environments there’s a couple of gotcha’s I’ve stumbled across and thought I’d share them with you. These ideas also apply to single server installs of CF too minus the load balancing stuff of course.

6 Responses to “Windows 2003 Load Balancing and ColdFusion”

  1. Alex Hubner Says:

    Just to add a quick note: AFAIK servers alive is not ready for Win2003 Servers.

  2. johnb Says:

    it’s monitoring this server just fine :)

  3. Pete Says:

    I use ServersAlive for monitoring CF sites, and found that a simple "am I alive" CF probe isn’t always enough- database failure may cause more problems than Jrun/CF or IIS. You can use your probe to watch the database with something simple like this:

    <cftry>
    <cfquery datasource="myDSN" name="probe">
    select 1
    </cfquery>
    TRUE
    <cfcatch>
    FALSE
    </cfcatch>
    </cftry>

    This will check IIS, CF and datasource availability in a single request.

  4. johnb Says:

    that’s a very good point, I had a TCP Ping to my sql server on port 1433 going but i forgot I could use CF to do the same thing! Thanks Pete!

  5. Dirk B Says:

    for "Alex Hubner", could you elaborate on what part Servers ALive is not ready for Windows 2003?
    (you can also mail me directly - I’m the author of Servers Alive :-))

  6. JohnW Says:

    I’m still in the planning stages for a load-balanced, Cold Fusion web site. I was wondering why not use the ‘JRun clustering’ feature built into MX6.1 to handle Cold Fusion service interruptions?

    I apologize in advance if I’m missing something obvious; again I’m new at this.

    Thanks.

Leave a Reply

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in