Forum Discussion
jay_41157
Nimbostratus
Jun 23, 2009dis / enable a wideip pool member..
Hi,
I have no clue how to use icontrol... I would like to be able to dis /enable a wideip pool member...
Looks like I will have to use something like:
set_enabled_state(
in String [] pool_names,
in GlobalLB__PoolMember__MemberEnabledState [] [] states
);
from: http://devcentral.f5.com/wiki/default.aspx/iControl/GlobalLB__PoolMember__set_enabled_state.html
But I am not sure what else to do and how to run icontrol.
6 Replies
- Kevin_Cornell_5
Nimbostratus
Not sure how you want to do this. WE built an app to do this function. Are you looking for the app or for the iControl instruction. - jaylakhani,
iControl is not something that you can just run. It's a programming API that will require you to write some code to use it. There are several client language bindings you can make use of including a .NET Assembly, PowerShell Cmdlets, Java library, and python. You can also access the web services (API) directly from perl, php and various other languages.
What is your development language of choice? After you let me know, I can point you in the right direction to get started.
-Joe - jay_41157
Nimbostratus
Posted By Kevincornell on 06/26/2009 8:32 PM
Not sure how you want to do this. WE built an app to do this function. Are you looking for the app or for the iControl instruction.
Hi Kevin,
I am looking for either.. Just need to be able to enable / disable the members. If you want to share your app thats fine or if you can give icontrol instructions that fine also.
Thanks, - jay_41157
Nimbostratus
Posted By Joe on 07/02/2009 9:45 AM
jaylakhani,
iControl is not something that you can just run. It's a programming API that will require you to write some code to use it. There are several client language bindings you can make use of including a .NET Assembly, PowerShell Cmdlets, Java library, and python. You can also access the web services (API) directly from perl, php and various other languages.
What is your development language of choice? After you let me know, I can point you in the right direction to get started.
-Joe
Hi Joe,
I can write code in java / some perl / php.
Thanks,
Jay - Here's a perl app that allows you to query the wideip list, the pools for a given wideip, the members for a given wideip pool. It will also allow you to get and set the wideip pool members state.
http://devcentral.f5.com/wiki/default.aspx/iControl/PerlGtmPoolMember.html
Click here
The prerequisites for Perl are the SOAP::Lite and SSL::eay modules. Here's a link to a quickstart guide for perl that I wrote up a few years ago:http://devcentral.f5.com/Default.aspx?tabid=63&articleType=ArticleView&articleId=59
Click here
Hope this helps...
-Joe - Kevin_Cornell_5
Nimbostratus
I can sell you the app but I can't share it. If you agree to tell your friends, write a blog about it, or something like that we can talk about setting you up as a reference account. How big an environment are we talking. Also, since our app was designed to allow BIG-IP admin's the ability to distribute the enable/disable function to the application owner, does this apply in your case.
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