Pool member status on F5 DNS objects via iControl REST
I got a question on how to retrieve the status of pool members on F5 DNS objects via the iControl REST interface. In the GUI you get fancy red, yellow, black, blue, and green painted circles, diamond...
Published Dec 27, 2017
Version 1.0JRahm
Admin
Joined January 20, 2005
JRahm
Admin
Joined January 20, 2005
JRahm
Jan 09, 2018Admin
Hi John, you can use bash to run tmsh commands, so state is indeed possible by using tmsh modify on the pool member:
tmsh show gtm pool a gslb_pool_1 members | grep State
State : enabled
| State : enabled
tmsh modify gtm pool a gslb_pool_1 members modify { ltm3:/Common/testvip { disabled }}
tmsh show gtm pool a gslb_pool_1 members | grep State
State : enabled
| State : disabled