Forum Discussion

Mitesh_378646's avatar
Mitesh_378646
Icon for Nimbostratus rankNimbostratus
Dec 24, 2018

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

 

2 Replies

  • From the word "Active" means All the members are UP and running and "Idle" means its not serving traffic.