Forum Discussion
Quang_Le_74170
Nimbostratus
Jun 06, 2008LBPool.getMembers(String) does not return all members
I'm calling iControlIntermediary.LBPool.getMembers(poolname). It returns an array of one, even though the pool is comprised of many servers. Does anyone know what I could have done wrong?
...
Quang_Le_74170
Nimbostratus
Jun 10, 2008Here it is:
LBPool pool = new LBPool("userid", "pwd", "bigiphostname");
String members[] = pool.getMembers("poolname"); // there are 4 in this pool
// for loop only print out one member
for(int i = 0; i < members.length; i++)
{
System.out.println(members);
}
// getActiveMemberCount returns 0
System.out.println("active: " + pool.getActiveMemberCount("poolname"));
Thanks.
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