Forum Discussion
Configure virtual server with pool using tmsh
I am using iApps to create all my objects, so I can easily edit them, duplicate them, etc.
Most of my iApp code is tmsh::create { } with all the parameters within to create the object. However, the most recent stumper is getting a pool attached to the virtual server.
With the code below:
tmsh::create ltm virtual /Common/tableau_test_443_vs {
destination /Common/128.83.124.23:443
ip-protocol tcp
mask 255.255.255.255
profiles replace-all-with {
/Common/serverssl {
context serverside
}
/Common/std_https_prof { }
/Common/tableau_test_cert_prof {
context clientside
}
/Common/tcp { }
}
source 0.0.0.0/0
source-address-translation {
type automap
}
translate-address enabled
translate-port enabled
pool tableau_test_443_pool
}
I get the following error:
01020036:3: The requested pool (tableau_test_443_pool) was not found.
The pool exists and to be sure I spelled right, I copied and pasted the name. What is the syntax for adding a pool? Am I missing something?
And with
pool /Common/tableau_test_443_pool
Cheers,
Kees
- Greg_Jewett
Cirrus
Thank you @Kees van den Bos I actually found the problem! The problem was I had defined the pool within the iApp. So I had to give it the path /Common/tableau_test.app/tableau_test_443_pool
That allowed it to work. I literally was using the wrong path, that is why it could not find it.
- Greg_Jewett
Cirrus
Thank you @Kees van den Bos I actually found the problem! The problem was I had defined the pool within the iApp. So I had to give it the path /Common/tableau_test.app/tableau_test_443_pool
That allowed it to work. I literally was using the wrong path, that is why it could not find it.
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