Forum Discussion
mfreeman451_606
Nimbostratus
Apr 22, 2009problem using LocalLB.Pool.add_member
I'm having trouble trying to add a member to an existing pool. The code I have seems to run fine with no errors, but when I login to the F5 through the GUI I don't see my new member showing up in the ...
Apr 22, 2009
Actually, I don't think that code will work either as you are only passing in a 1-d array for the members. The prototype for the methods is:
LocalLB.PoolMember.add_member(
in String [] pool_names,
in Common__IPPortDefinition [] [] members
);
pool_names is a 1-d array of pools you want to add members to. members is a 2-d array of members to add (one for each pool in the pool_names array).
I just whipped up a script that will add a addr:port to a pools member list.
http://devcentral.f5.com/Wiki/default.aspx/iControl/PerlAddPoolMember.html
Click here
Hope this helps...
-Joe
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