Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Jun 01, 2011 2:41 pm 
Offline
Junior Member

Joined: Mon Apr 18, 2011 1:54 pm
Posts: 45
Website: http://www.rassoc.com/gregr/weblog
1. Session Stickiness - the options are None, Table, and HTTP Cookie.

None I can figure out. :-)

Table - what exactly does this do? Does it save a table of the client IP or something?

HTTP Cookie - does this add a cookie on its own? e.g., add an additional cookie that looks like it came from my site?

2. I took the last node out of the load balancer (changed mode to "reject"), and waited for the site to come down. After it did, I changed this node's mode back to "accept", and went back to the configuration page for the port. I saw the status go from MAINT to UP 1/2 to UP, over about 30 seconds or so.

Can you clarify what MAINT and UP 1/2 mean?

3. When I set health check type to HTTP Valid Status, it lets me choose a "check HTTP path". Makes sense. However, I was thinking it would be useful to specify add a host header to be sent as well; my Apache configuration at the moment hosts multiple sites, and requests coming in without a host header are handled differently than other requests. Not a big deal - one could work around this by putting some code in the no-hostname site, or switching between sites using port numbers instead, but it was something I ran into so I thought I'd bring it up.

Nice job on this so far guys!


Top
   
PostPosted: Wed Jun 01, 2011 3:04 pm 
Offline
Senior Member

Joined: Wed May 13, 2009 1:18 am
Posts: 681
gregr wrote:
1. Session Stickiness - the options are None, Table, and HTTP Cookie.

None I can figure out. :-)

Table - what exactly does this do? Does it save a table of the client IP or something?

HTTP Cookie - does this add a cookie on its own? e.g., add an additional cookie that looks like it came from my site?

Oh, I know this one! (But only because I asked the same question in chat)

Yes, table is per-client-IP. Note that the table is not distributed across the balancer cluster, so state will be lost if the cluster fails over to a backup host.

HTTP cookie is a balancer based cookie (currently NB_SRVID) that is managed by the balancer, and should survive cluster failover.

-- David


Top
   
PostPosted: Wed Jun 01, 2011 5:21 pm 
Offline
Senior Newbie

Joined: Thu Aug 13, 2009 3:13 pm
Posts: 8
gregr wrote:
2. I took the last node out of the load balancer (changed mode to "reject"), and waited for the site to come down. After it did, I changed this node's mode back to "accept", and went back to the configuration page for the port. I saw the status go from MAINT to UP 1/2 to UP, over about 30 seconds or so.


If this means that the node balancer does a sort of slow start, then I'll be just deliriously happy. If so, what causes the state change from "UP 1/2" to "UP"? Is it a simple timer or some sort of more advanced heuristic?

I have at least once service that's heavily dependent on caching and it takes a little priming before it can drink from the firehose.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group