Forum Discussion

maximillean_953's avatar
maximillean_953
Icon for Nimbostratus rankNimbostratus
Jan 30, 2014

Vserver with Unkown State

Hi,

 

I have a vserver setup and only 1 irule binded to it. Vserver does not have a default pool and irule doesnot dispatch to one. I rule only does redirects. But on vserver list i see that vserver health is unkown state. Is there a way to make it show healthy cause its working exactly as i wanted with redirect irules. But that state will cause me monitoring problems and i wonder why it does not show as healthy state cause redirect goes to another url and that url has a response. So requests goes to vserver is responded properly.

 

Thanks

 

4 Replies

  • Hi,

     

    The virtual server status is binded to the pool served by it.

     

    So if you want to have a green status, you have to bind a default pool even if it's your default gateway for example.

     

    As you're only doing redirect actions, your virtual server will be always available on the platform so don't worry about false positive (Green status while service is down).

     

  • But how come when there is no pool is selected on menus and if you put a pool to dispatch on irule it works perfectly and its green not blue(unkown). So how come it understands the pool inside irule and puts the vserver as green but now unkown when the pool is not selected on the gui?

     

  • You're right you can define a pool into an iRule and the virtual server status changes with this pool's health.

     

    But this is a new functionality on 11.4, so be careful with oldest version you won't be able to do it.

     

    If you want to have a status on your virtual server you have to use a pool into your iRule or on the gui (a default pool).

     

  • So there is no otherway around if the redirect is repons accuratly it doesn not check then.

     

    Thanks for reply.