Forum Discussion
How to check if any pool is Active or not.
Hi Experts, I am in process of implementing Blue\Green deployment model.So before i proceed with the deployment on any of the pool, how would i know if the pool ( Green or Blue ) is Active or Idle. So based on the status i can proceed with the deployment or perform some operation. Something like Below :
if (BLUE.IsActive == True )
{
\\Do deployment on GREEN or perform some operation
}
If ( GREEN.IsActive == True )
{
\\ Do deployment on BLUE or perform some operation
}
Do we have any API available using which i can achieve this ?
Pleas help
Thanks Mitesh
- Mitesh_378646
Nimbostratus
From the word "Active" means All the members are UP and running and "Idle" means its not serving traffic.
- Hamish
Cirrocumulus
The REST API is your friend here... Or SOAP if you prefer that...
You're half way to the docs... They're at https://devcentral.f5.com/wiki/iControlREST.HomePage.ashx
User Guides and references are available from that page for your specific BigIP version.
The path you want to look at for pool info is 'mgmt/tm/ltm/pool'
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