Forum Discussion
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
- JRahm
Admin
You are looking for the members command with the -list parameter, which you can then compare with the active_members command. Finally, you can check each members status with the LB::status command.
- Chris_Grant
Employee
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.
- andrew_C1
Nimbostratus
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
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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