>Ok, I see, I think I get it. :D
>
>You've got A and B. A is the primary and it is offloading some 
>processing to B through your JRun cluster. In this case, you don't need 
>a hardware load balancer, as your site is on one real server.
>
>Right now, server B doesn't have/need/use an HTTP server. Run a netstat 
>-n and you'll only see connections to server A and maybe your database 
>or other external processes. All of B's HTTP traffic is going through A.

Actually, on each machine, Apache is configured to hit that machine's cluster.* 
So, each machine is supposed to be equal in the farm (there's no 
primary/secondary, really). So, in my case, what's happening is HTTP traffic 
can go through either machine (courtesy of my hardware load balancer), but each 
request through a given machine has only a 50% chance of being locally produced.

>So, you want to know if server A fails, how can you redirect to server B.

Well, since they're load balanced, I want to simply to yank the offending 
machine out of the farm... but yeah, same sorta idea.

> From what I remember, and I haven't had to fool with it for about a 
>year, you can make a JRun cluster to share sessions but not offload 
>processing to each other.

That's the crux of my situation (and what I tried, but failed to convey in my 
subject line ;-). However, I have no clue how to accomplish it, do you? 
(Fingers crossed)

>Your web content will be stored on both 
>servers and they will probably both have web servers on them 

Yup, I've already got it set up this way.

>In this situation, both servers, A and B, are facing the public. This 
>way, they're both visible to your LB, which will run health checks, etc. 

Yes, if I can figure out how to disable the "offloading of processing" to 
remote machines.

Thanks yet again,
Jamie

* And in fact, I know of no other way to connect Apache to it, since it seems 
the cluster hogs the local instance's proxy port (51000) when the cluster is 
created(?)
<IfModule mod_jrun.c>                                                           
                                                               
    JRunConfig Verbose false                                                    
                                                               
    JRunConfig Apialloc false                                                   
                                                               
    JRunConfig Ssl false
    JRunConfig Ignoresuffixmap false                                            
                                                               
    JRunConfig Serverstore /usr/local/jrun/lib/wsconfig/2/jrunserver.store   
    JRunConfig Bootstrap 127.0.0.1:51000                                        
                                                               
    #JRunConfig Errorurl <optionally redirect to this URL on errors>
    AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc
</IfModule>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209614
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to