Load Balancing Concrete5 Logins

Permalink
I was starting the process of load balancing one of my servers.

The setup I have is this:

Master Server (runs c5)
Slave Server (mirrors master)
Database Server (runs all the MySQL)

Since all of c5's editing is done via the front-end, my load balancer is losing the sessions when I login. I have it setup to push all traffic to the /login page to the Master Server.

However, once I login, I won't always be at the /login page.

I found that just navigating the site gave very unpredictable behavior: edit bar disappears on some pages, or only the white background of the edit bar appears on other pages, no edit bar at all on some pages.

I imagine this is due to the load balancer pushing me back and forth between servers where I"m logged in one one but not the other.

Does anyone have experience handling this?

leinteractive
 
i2ain2thunder replied on at Permalink Reply
I've had the same issues. One option to look into is sticky sessions.....this may help ensure you are on the same server each time.