Forum Discussion

BigBill_10036's avatar
BigBill_10036
Icon for Nimbostratus rankNimbostratus
Nov 19, 2013

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

  • 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 }}