Forum Discussion
cjunior
Nov 12, 2019Nacreous
I've been thinking about to use default pool and built-int load balance, but I don't know the real impact to connect and detach from vs.
You may try this second option but take care and test it before apply on production.
Regards.
# Default pool: pool_probe_vs_loadbalance
when HTTP_REQUEST {
LB::connect
set member "[LB::server addr]:[LB::server port]"
LB::detach
switch ${member} {
"10.10.10.1:80" {
virtual vs_name1
}
"10.10.10.2:80" {
virtual vs_name2
}
"10.10.10.3:80" {
virtual vs_name3
}
default {
log local0.err "FAIL to map vistual server"
}
}
}