# Heath checks being distributed outside the stack - service stays in "Initializing" state

**URL:** <https://forums.suse.com/t/heath-checks-being-distributed-outside-the-stack-service-stays-in-initializing-state/4649>\
**Category:** Rancher 1.x\
**Created:** [November 17, 2016, 11:05pm UTC](https://forums.suse.com/t/heath-checks-being-distributed-outside-the-stack-service-stays-in-initializing-state/4649 "2016-11-17T23:05:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anil\_Allewar](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/anil_allewar/32/1867_2.png) [@Anil\_Allewar](https://forums.suse.com/u/Anil_Allewar)\
**Post date:** [November 17, 2016, 11:05pm UTC](https://forums.suse.com/t/heath-checks-being-distributed-outside-the-stack-service-stays-in-initializing-state/4649/1 "2016-11-17T23:05:24Z")

</div>

I have a catalog of services that deploy app server on 3 hosts and load balancer on 2 hosts; the load balancer has a health check on port 80. When the stack is deployed, sometimes the load balancer is stuck in “Initializing” state.

Inspection of \> “/etc/healthcheck/healthcheck.cfg” file on the rancher agents shows that the hosts in the current stack has health check rules set for a stack that was previously deployed. I am assuming that is because Rancher was not able to setup the health check on 3 agents in the previous stack.

* * *

**Current Stack**

LB 1 -\> 10.42.85.134  
LB 2 -\> 10.42.210.220

App Server 1 -\> 10.42.191.226:80  
10.42.3.163:80

App Server 2 -\> 10.42.191.226:80  
10.42.85.134:80

App Server 3 -\> 10.42.3.163:80  
10.42.210.220:80

* * *

**Different Stack**

LB 1 -\> 10.42.191.226  
LB 2 -\> 10.42.3.163

* * *

is it possible to setup rules within Rancher to setup health checks on hosts within the same stack?

Thanks,  
Anil
