Forum Discussion
iApp - error when creating pools
- Nov 24, 2015
iapp::pool_members will try to do the right thing based on what you give it. If there is a "port" or "port_secure" column in your table, it will use those port values. You can specify a port value to override those with the -port flag (e.g. iapp::pool_members -port 8080 $::members__pool_members). If you specify only IP addresses and omit the -port flag, it will assume port 80.
It is difficult to read your code in the blog formatting, but I wonder what the purpose of the "lappend newitem" command is? Anyway, one great way to debug iapps is to log ("puts") the contents of your variables and view the result in /var/tmp/scriptd.out. Then you will see exactly what your tmsh::create statement looks like. Alternatively, you can use the on-box tcl package procedure called iapp::conf, which logs every tmsh command to /var/tmp/scriptd.out so you can see the entire tmsh output of your iapp without writing debug code.
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