Forum Discussion

andrew_C1's avatar
andrew_C1
Icon for Nimbostratus rankNimbostratus
Jan 19, 2016

is there function/operator/command that returns all members of a pool

Hi,

 

I need to know all members in a pool regardless of state, i cant find anyway to do it, The reason i want to do this is i want to disable a node in a pool after a certain number of concurrent http sessions(tracked via cookie). But at some point I need to evaluate the disabled node to see if it should be added back to the pool.

 

the only other thing i can think of doing is writing out to a sub table an entry when a pool member is disabled and use that but if there is something built in ( thus more likely to be more reliable) that would be preferred.

 

cheers

 

3 Replies

  • This is making a fair number of assumptions about what you need to do, but it should at least give you a place to start:

     

    https://devcentral.f5.com/codeshare/ps-pool-member-control

     

    Note that this user is using iControl and Powershell to control his pool members.

     

    If you are local to the bigip, tmsh show ltm pool members will return what you need to know. You can then use grep to pull out what you need.

     

  • thax! thats exactly what I was after, I was aware of active members, but I was searching in the wiki around pool, didn't see the members command.

     

    maybe should add a link in the pool wiki page as it has a ref to active_members.

     

    cheers