Forum Discussion
Converting from bagpipe to tmsh need help with conversion
Hello all, I am needing a little help with a conversion process of changing some perl scripts that used bagpipe and now I need to use tmsh. The script I am converting is used to take a server name convert that to an IP, Look on the ltm for that IP with pool show, send the "pool pool_name member pool_member_name down session disable" where pool_name is the name of the pool and pool_member_name is the member of the named pool, and bounce an apache and then send the "pool pool_name member pool_member_name up[ session enable". What would the tmsh command be for the disable and enable? Would the following be correct? tmsh modify ltm pool pool_name members modify { pool_member_name { session user-disabled state user-down }}
Any help is greatly appreciated.
Bill
1 Reply
- BigBill_10036
Nimbostratus
So with a little testing on a development tool after hours, I found that the following tmsh command is the right command: tmsh modify ltm pool pool_name members modify { pool_member_name { session user-disabled state user-down }}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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