Forum Discussion
Wade_98751
Nimbostratus
Aug 15, 2008Having .initialize issues
Good morning,
Need some assistance initializing (objIControl.initialize) as it fails to return true. I downloaded the iControlAssembly and ran the testclient which also returns the err...
Wade_98751
Nimbostratus
Sep 23, 2008This code seems better although its not shutting the node. I havent figured that out yet but at least it compiles and the right values are being passed and logged to the bip ip.
Why isnt the node going down with code like this? I tried using the LB::down node and LB::down node commands and they arent working. Is it because I'm passing the values via a variable name?
when HTTP_REQUEST {
if { [HTTP::uri] starts_with "/Drainserver"} {
LB::down [LB::server pool] member [substr [HTTP::query] 4 &] [substr [HTTP::query] 5 &]
set uri1 [findstr [HTTP::query] "ip=" 3 &]
set uri2 [findstr [HTTP::query] "port=" 5 &]
set uri [substr [HTTP::query] 5 &]
log "Uri Part = $uri1 Uri Part2 = $uri2"
log local0 [substr [HTTP::query] 3 &] [substr [HTTP::query] 5 &]
LB::down node $uri1
LB::down pool "QA_RTA_Future" member $uri1 $uri2
}
}
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
