For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

Quang_Le_74170's avatar
Quang_Le_74170
Icon for Nimbostratus rankNimbostratus
Jun 06, 2008

LBPool.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?

 

 

Thanks.

2 Replies

  • Here 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.