Are we talking about 5 *web* servers here? As in they do not have ColdFusion
installed but are bound to instances on X ColdFusion boxes in the
application tier?






"This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
Registered in England, Number 678540.  It contains information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions." 
Visit our website at http://www.reedexpo.com

-----Original Message-----
From: Brad Wood
To: CF-Talk
Sent: Tue Mar 27 04:56:23 2007
Subject: RE: Targetting an instance

Interesting... so let me get this straight:

I could set up 5 servers.  Each would a single instance of CF installed
and a web server.  (Apache or IIS)  I would bind each install of IIS or
whatever to the instance of CF on that machine but I would also add
those instances into a JRun cluster.  Now I place a hardware
load-balancer out in front of the web servers.  Now my load balancer is
running the entire show, but I still have shared sessions in the
background.

Since you are using Apache, and I am using IIS, what changes did you
have to make to the connectors?

The only think I can think of right off is what happens if an instance
goes down?  I guess the load balancer would have to be smart enough to
know that 
1) The server is up and responding to ping
2) AND web server is running (IIS)
3) AND application server is running (CF)

And if one of the above ceased to be true, it would stop handing that
server requests.  My goal is to have fail-over at every level.
I know our Load Balancer does number one.  Number 2 probably-- not sure
about number three.  I guess if the heartbeat page was processed by CF
then that would be an indicator.

I will have to fiddle with that.  Of course, this approach would assume
that I NEVER wanted to have more than one instance per server.

~Brad

-----Original Message-----
From: Russ [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 26, 2007 9:13 PM
To: CF-Talk
Subject: RE: Targetting an instance

I had to modify the mod_jrun22 apache connector in order to get this to
work.  I am now able to have individual virtual sites bound to specific
instances of CF while still having session replication working.  

I spoke to someone from macromedia and he told me that this should
indeed be
possible and several large companies are doing this.  He wasn't sure,
however, whether it would require a custom connector.  I emailed him a
while
ago but haven't heard back. 

Russ

> -----Original Message-----
> From: Brad Wood [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 26, 2007 7:29 PM
> To: CF-Talk
> Subject: RE: Targetting an instance
> 
> If I do that can I still replicate sessions?
> Would the instances still be part of a cluster?
> 
> Right now, if an instance is part of a cluster it does not even show
up
> in the web site configuration tool.  Only the cluster shows up.  This
> led me to believe you could not bind a site to an instance which was
> part of a cluster.
> 
> ~Brad
> 
> -----Original Message-----
> From: Russ [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 26, 2007 5:12 PM
> To: CF-Talk
> Subject: RE: Targetting an instance
> 
> You can have separate virtual sites, one for each instance, and have
> each
> instance provide the health check.  Hardware LB will then rotate
between
> instances.
> 
> RUss
> 
> > -----Original Message-----
> > From: Brad Wood [mailto:[EMAIL PROTECTED]
> > Sent: Monday, March 26, 2007 5:27 PM
> > To: CF-Talk
> > Subject: RE: Targetting an instance
> >
> > A simple health check that
> > works with the hardware loadbalancer that returns metrics data
should
> > work,
> > assuming your loadbalancer supports this.
> >
> > ====
> >
> > Not from my understanding-- though I could be very wrong.
> > It is my understanding that if I have a group of servers running
IIS,
> > and a separate group of clustered servers running CF, then I have
load
> > balancing going on at two different levels.
> > The first level is between the user and IIS, and the second level is
> > between IIS and my CF Instances.
> > My Hardware load balancer only sits between the user and the servers
> > running IIS.  Keep in mind CF might not even be installed on those
> > servers.
> > Now once IIS gets the request from the hardware load balancer, the
web
> > server connector uses my cluster algorithm (Let's say Round Robin)
to
> > choose an instance in the cluster (assuming it is not static content
> > being served).    At this point the hardware load balancer is out of
> the
> > picture.  It is also at this point that I want my balancing to be
> based
> > on things like CPU.
> > >From what people are telling me though, the IIS connectors aren't
> smart
> > enough to do that.
> >
> > ~Brad
> >
> >
> 
> 
> 
> 





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273819
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to