Forum Discussion
momo_84865
Nimbostratus
May 12, 2014convert custom script from v9 to v11
here is the custom node management script running at v9, can someone kindly help to convert it using tmsh command? Many thanks.
!/bin/sh
prog="nodemgmt"
enable() {
change_status "enable" ...
Kevin_Stewart
Employee
May 12, 2014I think there's a piece of the puzzle missing here, so I can only really convert the b commands.
b pool $p member $m
should become
tmsh show ltm pool $p members { $m }
For change_status:
b pool $p member $m session $1 $2
should become
tmsh modify ltm pool $p members modify { $m { session $2 } }
The values allowed here for session are "user-enabled" and "user-disabled", so you may need to modify your input.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects