modifying pool member via CLI

I’m looking for a way to script modifying pools. Ideally it would be a graceful method, only allow active connections, but forcing the member down is perfectly acceptable.

I know you can do this through the gui, but due to recent event we would like to make this process as consistent as possible.

I thought something like this might work…

b pool test_pool pool member 192.168.0.2 down

but…

Any suggestions?

Thank!

actually I think I might have got it, but any feedback would be welcome…

b pool test_pool pool member 192.168.0.2:80 down

Setting the pool member to down should allow existing and persistent connections to continue. SOL7566 () for your version would have version specific info on the options as well.

Aaron

There is a perl script in the Code Share that will do this via IControl.

DevCentral - An F5 Technical Community Click here