Forum Discussion
Wasim_Hassan_13
Nimbostratus
Nov 19, 2014Multiple Websites on Single VIP
Hi,
I have multiple websites which are currently on Microsoft TMG. I want to migrate them to F5. There are multiple URLS hosted on different servers which are running on different ports as well...
nitass
Employee
Nov 22, 2014can you add some logging?
e.g.
when HTTP_REQUEST {
log local0. "client=[IP::client_addr]:[TCP::client_port] host=[HTTP::host] uri=[HTTP::uri]"
switch [string tolower [HTTP::host]] {
"enoclubricants.com" { pool ENOCLUBRICANTSPP1 }
"enocvettingsiredev.enoc.com" { pool ENOCVETTING }
"wrench.enoc.com" { pool WRENCH_POOL }
default {
Use pool attached to virtual - no action required
}
}
}
when HTTP_RESPONSE {
log local0. "client=[IP::client_addr]:[TCP::client_port] pool=[LB::server pool]"
}
- Wasim_Hassan_13Nov 22, 2014
Nimbostratus
how to check the logs, i have applied the irule which you mention above. - nitassNov 22, 2014
Employee
log will be written to /var/log/ltm
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