Forum Discussion
usaims_78655
Nimbostratus
Jan 25, 2011How to 'Forced Offline' on a pool member using tmsh.
I interact with the f5 via perl scripts using tmsh when pulling members in and out of the pool.
What is the tmsh command line command to 'Forced Offline' on a pool member? Below is my one liner just to disable pool members. Please show me, TIA.
tmsh modify ltm pool POOL members modify { 172.16.70.66:xxxx 172.16.70.68:xxxx 172.16.70.70:xxxx 172.16.70.72:xxx { state up session disabled } }
- Chris_Miller
Altostratus
From the reference manual, session disabled and session enabled are your only options. I just tested using "state down" instead, and that appears to represent "Forced Offline." - usaims_78655
Nimbostratus
Thanks Chris. Will 'state down' allow the existing transactions to gracefully disconnect or will this sever the connection? - Chris_Miller
Altostratus
Posted By usaims on 01/25/2011 01:02 PM - hoolio
Cirrostratus
I think the only time LTM will reset existing connections is if the pool member is marked down by a monitor and the pool option for 'action on service down' is reject. You could also delete the connection table entry and then LTM should send a reset on the next packet it receives.
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