Take Pool Member offline for service upgrade
Disclaimer: I may not be using correct terminology. (Pool member environment: Windows Server 2008 R2)
We have a pool named LF_Pool, with two members: 10.16.20.83:9080 and 10.16.20.84:9080
I want to upgrade my service running on port 9080 for each pool member regularly. I don't want to just hap-hazardly just stop the service, perform the upgrade and restart the service... I want to try and do it elegantly without causing any down-time or service interruption.
So we found the iControl Powershell cmdlets and we spent the entire day testing them out to see if we can achieve our goal. But we can't figure out how to get this working correctly. Sure, we were easily successful in running the Powershell cmdlets (albeit the iControlSnapInReadme.txt file is dissappointingly incorrect in some areas.)
We successfully ran "Set-F5.LTMPoolMemberState -Pool LF_Pool -Member 10.16.20.83:9080 -State Offline"... and it appears to be offline... but I am guessing my understanding of Offline is not correct. When I attempt to call the service on that Pool member, it readily and happily continues to work... but I don't want any new requests to be allowed into that pool member. (My service is a very simple HTTP REST service; my client application is just a web browser (Chrome) that displays the JSON result).
How can we get the pool member to be "offline"... meaning, it can still return the results of an in-progress transaction... but absolutely no new incoming connections period until I permit it. What's the secret?
P.S. We already tried the PsServerControl script to see if that would work... but it still doesn't do what I want. At least we are pretty certain it doesn't work the way we want it to.
Thanks, Lee