Forum Discussion
Not able to fetch object status of virtual server
Hi Mimlo ,
Thanks for your help but still not able to fetch data.Actually my requirement is to gather all data from virtual server ( default pool ,members etc).
$vs_list=$client_VS->get_list(); sort($vs_list);
$pool_list=$client_VS->get_default_pool_name($vs_list); sort ($pool_list); foreach ($pool_list as $value) { echo $value; }
I am getting respective pools till here but after that I am passing that pool_list to fetch pool details and getting exceptions.
$membermonlist=$client_LocalLB.PoolMember->get_monitor_status($pool_list); $poolstatus=$client_LocalLB.Pool->get_object_status($pool_list); $memberlist=$client_LocalLB.PoolMember->get_object_status($pool_list); $membermonlist=$client_LocalLB.PoolMember->get_monitor_status($pool_list);
Error: Exception caught in LocalLB::urn:iControl:LocalLB/Pool::get_object_status() Exception: Common::OperationFailed primary_error_code : 16908342 (0x01020036) secondary_error_code : 0 error_string : 01020036:3: The requested pool () was not found.
Could you please help me on this ?
- mimlo_61970Jul 10, 2014
Cumulonimbus
What version of LTM are you using? LocalLB.PoolMember was deprecated in v11, just want to make sure you are on 9 or 10 before I try and see what is wrong. - rohans77Jul 11, 2014
Nimbostratus
I am using v11.4.0 - mimlo_61970Jul 11, 2014
Cumulonimbus
Ok, just be aware the LocalLB.PoolMember is deprecated in 11. Everything was moved into LocalLB.Pool
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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