Skip to main content
November 10, 2009
Question

CF Clustering Techniques success/failure?

  • November 10, 2009
  • 1 reply
  • 2369 views

My group is currently looking into restructuring our current CF Archetichture to utilize the clustering technique which is documented here...

http://www.adobe.com/products/jrun/whitepapers/pdf/jr4_clustering_wp.pdf

We are basically trying to find out if anyone has ever  employed such an approach (or something similar) and if so was it indeed successful?

Any suggestions,comments or opinions would be greatly appreciated.

I have attached a diagram which should give you a quick idea of exactly what we are looking to implement.

Thanks

Mike

    This topic has been closed for replies.

    1 reply

    November 19, 2009

    tried it - yes,

    successful - yes,

    similar approach -yes

    make sure u address every error/warning issue in the logs before going live.

    make sure u know ur stick sessions and what u want to do

    make sure ur apps know about cluster environments (esp re above point)

    make sure u can identify which node ran the piece of code (even on production).

    seeing as how it is jrun, don't use the jmc to do anything (very buggy) - similarly cf8/9 cfadmin thingo does it a bit weird, best to do it by hand; at least u then know where everything is.

    also, determine if u want ur clusters to share/ not share any objects on a particular server (ie are they completely independent or what)

    Known Participant
    November 23, 2009

    Ditto to all of the above.

    We've been running CF on JRun since 2003 in distributed mode with IIS/NLB, and clustered

    for CF failover.  Works great.  Over 70 instances of CF with 60 of those clustered.

    January 19, 2010

    extract wsconfig local to remote iis installation drive


    can't tell why it didn't like it; the picture doesn't give any log, is iis installed on b:? is this the remote iis server?


    So far I have successfully made the connection between my IIS webserver and the Remote JRun Cluster.

    I've created and deployed an ear file of my test application to the following directory....

    {jrun.rootdir}/servers/{serverName}/SERVER-INF/Cluster

    From what I've read so far, by deploying the ear file to just one of the servers in the cluster JRun is smart enough to pick up on that and handle the deployment to the other server(s) within the cluster.

    Unfortunately im getting the following error when trying to pull up my test application ...

    JRUN Servelet error: 500 :There is no web application configured to service your request.
    
    Im pretty confident that the web server is distributing the requests between the two clustered servrs evenly
    being that i see this error popping up in the logs of each server.
    
    Any idea as to what may be going on with my ear file/deployment?
    
    Thanks