# Backend initial state - DOWN

**URL:** <https://discourse.haproxy.org/t/backend-initial-state-down/6551>\
**Category:** Configuration Samples\
**Created:** [May 7, 2021, 9:30am UTC](https://discourse.haproxy.org/t/backend-initial-state-down/6551 "2021-05-07T09:30:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rend](https://avatars.discourse-cdn.com/v4/letter/r/8e7dd6/32.png) [@Rend](https://discourse.haproxy.org/u/Rend)\
**Post date:** [May 7, 2021, 9:30am UTC](https://discourse.haproxy.org/t/backend-initial-state-down/6551/1 "2021-05-07T09:30:53Z")

</div>

Hello!  
Can I configure HAPROXY so that backends has initial state DOWN after startup? I need the haproxy doesn’t forward connections to backends till they explicitly become UP. In current situation I see connections at backend side when health check is INIT status.

> listen FARM1  
> description FARM1  
> bind :15500  
> mode tcp  
> option tcp-check  
> rate-limit sessions 30  
> balance leastconn  
> default-server check resolve-opts allow-dup-ip inter 30s fall 1 rise 1 maxconn 1000 resolvers mydns send-proxy  
> server SRV1 BACKEND1.example.loc:4501  
> server SRV2 BACKEND-1.example.loc:4502  
> server SRV3 BACKEND-1.example.loc:4503  
> server SRV4 BACKEND-1…example.loc:4504  
> server BK1 bk.example.loc:4500 backup no-check

---

<div class="post-metadata">

**Author:** ![pawelgawel](https://avatars.discourse-cdn.com/v4/letter/p/779978/32.png) [@pawelgawel](https://discourse.haproxy.org/u/pawelgawel)\
**Post date:** [May 14, 2021, 1:57pm UTC](https://discourse.haproxy.org/t/backend-initial-state-down/6551/2 "2021-05-14T13:57:28Z")

</div>

I have the same problem. Does anyone know how to make DOWN be the initial state of backend server that is just discovered by DNS until first health check succeeds?

---

<div class="post-metadata">

**Author:** ![odonghwi](https://avatars.discourse-cdn.com/v4/letter/o/5daacb/32.png) [@odonghwi](https://discourse.haproxy.org/u/odonghwi)\
**Post date:** [July 27, 2021, 4:54pm UTC](https://discourse.haproxy.org/t/backend-initial-state-down/6551/3 "2021-07-27T16:54:06Z")

</div>

i decide to use “show servers state” of seamless reload  
add the new server state to result of “show servers state” command

“- {be\_name} - {new\_srv\_name} {new\_srv\_addr} 0 0 1 1 0 1 2 0 6 0 0 0 - {new\_srv\_port} -”

Then, reload haproxy and new\_srv starts DOWN state

i don’t think it is good way. but there seems to be no alternative.  
is there a better way?
