Hi,

We have stickiness, but would like to re-distribute the sticky table, when 
machines are activated.

Could you please tell if that possible?

In detail, we have a backend of 10 *predefined* Tomcats, but during night we 
shut down 8 of them (for financial reasons), so load is distributed between the 
active 2.
Come morning we switch on all 10, and would like to re-distribute the load 
between them.

The problem is, stickiness - ours isn't based on session, but on a "department" 
cookie (all users from HR are served by the same machine, all users from R&D 
are served by the same machine, etc). It's a long story why, but we really need 
it.

So during night, the sticky table distributes departments between 2 tomcats, 
e.g:
- Tomcat1  servers departments "HR", "R&D", "Finance", "Maintenance", "Planning"
- Tomcat2 serves "Marketing", "Product", "Management", "Public Relations"
Come morning we switch on more tomcats, and we'd like HAProxy to try and 
redistribute, yielding something like:

- Tomcat1  servers "HR", "R&D" 

- Tomcat2 serves "Finance"
- Tomcat3 services "Maintenance"
- Tomcat4 serves "Planning"
etc up to Tomcat10

Is there some HAProxy command for it?
Thanks :)

Reply via email to