Lab 3.4 – update_pool_member_state.py¶
One of the most common tasks asked for by customers is the ability to set a pool member’s state via a script. We have included an example of such a script in the lab that can be used to see how easy it is to automate specific operational tasks.
Task 1 – Run update_pool_member_state.py¶
- In the command prompt type
python update_pool_member_state.py 10.1.1.4 test_pool 10.1.10.10:80 disabledand examine the output. - Verify the pool member was disabled via TMUI
- Re-run the script with as
python update_pool_member_state.py –-helpto see additional options. - Re-enable the pool member using the script