Hi Andy, Franks Andy (IT Technical Architecture Manager) wrote: > Quick question – can anyone think of a way to change a server’s weight > based on some criteria, for example source IP address? It would be so > useful when dealing with a common service that has two distinct sites, > and rules in place that stop access to resources from the“wrong” site, > like Exchange (where you can’t access your mailbox from the wrong > site-based CAS server).
I'm not really sure what you are /actually/ trying to achieve. Generally, the weight of a server is used to determine which percentage of requests should go to that server. However, from your description, it seems you want to completely disallow certain requests/connections based on some criteria. In this case, it would make more sense to use http-request deny (or tcp-request deny) rules using ACLs describing your rules. Using different weights per client (e.g. sending 25% of requests from an IP to one server and 75% to a different server) seems rather strange as you still would have to provide all resources on both servers. In this case, a globally uniform distributions sounds much more appealing, doesn't it? Regards, Holger

