Forum Discussion
Omarsheriff1980
Nimbostratus
Jun 07, 2018pool selection based on specific context path and certificate termination on each member server
I have a single LTM VIP with two pools, each pool has two member server. pool selection based on specific context path (/health/v1/* and /check/v2/* and certificate termination on each member server....
Stanislas_Piro2
Cumulonimbus
Jun 14, 2018If you want the default pool assigned in virtual server configuration is assigned in the switch default statement, you can store first after TCP handshake:
when CLIENT_ACCEPTED {
set default_pool [LB::server pool]
}
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::uri]] {
"/health/v1/*" { pool uat_pool }
"/check/v2/*" { pool qa_pool }
default { pool $default_pool }
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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