I'm planning to write an article on exceliance's blog about it, because the question is ask very often.
Baptiste On Wed, Apr 3, 2013 at 2:45 PM, Thomas Heil <h...@terminal-consulting.de>wrote: > Hi David, > > On 03.04.2013 13:10, David Coulson wrote: > > > > On 4/3/13 5:36 AM, Baptiste wrote: > >> Better using stick tables with store-response and store-request to > >> replace your appsession configuration. > > Is there a configuration example of this method somewhere? Google > > didn't turn up much for me. > > > > David > > > > > Here is one > > peers frontends > peer wrt-34-38-r1 192.168.1.2:1099 > peer wrt-34-38-r2 192.168.1.3:1099 > > > backend be_default > balance roundrobin > stick on cookie(PHPSESSID) > stick-table type string size 32k peers frontends expire 24h > stick store-response set-cookie(PHPSESSID) > mode http > > please adopt the peer declaration to your needs. The name should match > the hostname of the machines. > > cheers > thomas > >