Forum Discussion
Pav_70755
Sep 08, 2010Nimbostratus
SQL DNS RE-Direction
Hi Guys,
I basically have 3 SQL servers and a group of 6 web servers. SQL Servers
SQL-Live
SQL-UAT
SQL-Wip
Web Servers
UAT
Wip
web1
web2...
Pav_70755
Sep 15, 2010Nimbostratus
ok have come up with this but am getting the following errors:
when CLIENT_ACCEPTED {
if {[matchclass [IP::remote_addr] equals $::Wip_Server]}{
pool SQL-Wip
} else {
elseif {[matchclass [IP::remote_addr] equals $::UAT_Server]}{
pool SQL-UAT
elseif {[matchclass [IP::remote_addr] equals $::Live_Servers]{}
pool SQL-Live
}
}
line 1: [parse error: missing close-brace] [{
line 4: [parse error: missing close-brace] [{
line 5: [undefined procedure: elseif] [elseif {[matchclass [IP::remote_addr] equals $::UAT_Server]}{
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