Forum Discussion
Dbow_21284
Nimbostratus
Jul 10, 2009Design - LB Servers running 30 Sites - ALL HTTP
I am looking for advice on the best way to load balance many sites on multiple web servers. Its all HTTP too and all sites are running on the same default ip and port 80. We are justing using the hos...
Dbow_21284
Nimbostratus
Jul 10, 2009I am thinking I can do something like this:
when HTTP_REQUEST {
if { [HTTP::host] equals "guidelines.acc.org" } {
if {[active_members SP_Guidelines] > 0} {
pool SP_Guidelines
} else {
HTTP::redirect "http://maintenance.acc.org"
event disable all
}
} elseif { [HTTP::host] equals "members.acc.org" } {
if {[active_members SP_Members] > 0} {
pool SP_Members
} else {
HTTP::redirect "http://maintenance.acc.org"
event disable all
}
} elseif { [HTTP::host] equals "qualityfirst.acc.org" } {
if {[active_members SP_QF] > 0} {
pool SP_QF
} else {
HTTP::redirect "http://maintenance.acc.org"
event disable all
}
}
.......
}
But I guess I am confused on if I do it this way I still need a pool to be in the VIP for it to be up. For instance, if there is no pool, its RED in the LTM GUI.
So not saying that I solved my issue, but I am researching and welcome all feedback ona design.
Thanks so much in advance.
Dbow
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
