Forum Discussion
Jeff_Browning_2
May 22, 2003Historic F5 Account
How to I introduce a new node into a specific pool?
I have been looking at the apidocs (LocalLB methods) but I don't know which method is appropriate to use. Any tips would be great.
Thanks, Jeff
- The ITCMLocalLB::Pool interface is used to manipulate members in a given pool. The specific method that you want is.
String pool_name = "web_servers"; IPPortDefinition[] members = new IPPortDefinition[1]; members[0] = new IPPortDefinition("10.10.10.10", 80); Vector params = new Vector(); params.addElement( new Parameter("pool_name", String.class, pool_name, null)); params.addElement( new Parameter("members", IPPortDefinition[].class, members, null)); call.setParams(params); call.setMethodName("add_members"); Response resp = call.invoke(...); ....
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