Forum Discussion
tbledsoe_112342
Nimbostratus
May 16, 2013TMSH Script on LTM w/ Partitions
I can execute a series of TMSH commands to build a virtual server, pool, and nodes within the partition that I'm currently in.
I've built a script to take data in from the command line and build...
tbledsoe_112342
Nimbostratus
May 16, 2013Kept looking around and ended up doing a self rescue.
For V11, to specify the partition you want your tmsh command to execute in you need to cd to the partition within the script. I put the partition in via the command line on the script via ARGV.
set partition [ lindex $tmsh::argv 6 ]
SET PARTITION
tmsh::cd \/$partition
CREATE NODE
tmsh::create ltm node $node_ip \{ yadda yadda yadda...
------------------------------
This ends up building the node in what's definded by partition.
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