# Setting stop-writes-noxdr does not work

**URL:** <https://discuss.aerospike.com/t/setting-stop-writes-noxdr-does-not-work/960>\
**Category:** Configuration\
**Created:** [February 17, 2015, 12:32pm UTC](https://discuss.aerospike.com/t/setting-stop-writes-noxdr-does-not-work/960 "2015-02-17T12:32:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sini](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.aerospike.com/sini/32/151_2.png) [@Sini](https://discuss.aerospike.com/u/Sini)\
**Post date:** [February 17, 2015, 12:32pm UTC](https://discuss.aerospike.com/t/setting-stop-writes-noxdr-does-not-work/960/1 "2015-02-17T12:32:50Z")

</div>

Hi,

according to the documentation [http://www.aerospike.com/docs/operations/configure/cross-datacenter/replication/](http://www.aerospike.com/docs/operations/configure/cross-datacenter/replication/) the `stop-writes-noxdr` can be used to prevent Aerospike Server to accept writes if the XDR deamon is not working. But if I set it in the configuration file in the namespace context, the server won’t start up. The error messages is:

> unknown config parameter name ‘stop-writes-noxdr’

Is it a parameter that can be just adjusted during runtime? It would be great to use it in the configuration files!

Thanks, Peter

---

<div class="post-metadata">

**Author:** ![kporter](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.aerospike.com/kporter/32/515_2.png) [@kporter](https://discuss.aerospike.com/u/kporter)\
**Post date:** [February 18, 2015, 1:07am UTC](https://discuss.aerospike.com/t/setting-stop-writes-noxdr-does-not-work/960/2 "2015-02-18T01:07:57Z")

</div>

Hi Peter,

> [@Sini](#):
>
> But if I set it in the configuration file in the namespace context, the server won’t start up

The [stop-writes-noxdr](http://www.aerospike.com/docs/reference/configuration/#stop-writes-noxdr) parameter is defined in the **xdr** context.

Let us know if you have any further problems.

---

<div class="post-metadata">

**Author:** ![kporter](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.aerospike.com/kporter/32/515_2.png) [@kporter](https://discuss.aerospike.com/u/kporter)\
**Post date:** [February 18, 2015, 1:21am UTC](https://discuss.aerospike.com/t/setting-stop-writes-noxdr-does-not-work/960/3 "2015-02-18T01:21:46Z")

</div>

I just realized the link you provided had the parameter in the wrong context. I will update the documentation appropriately. Thank you for bringing this to our attention.

---

<div class="post-metadata">

**Author:** ![Sini](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.aerospike.com/sini/32/151_2.png) [@Sini](https://discuss.aerospike.com/u/Sini)\
**Post date:** [February 20, 2015, 10:12am UTC](https://discuss.aerospike.com/t/setting-stop-writes-noxdr-does-not-work/960/4 "2015-02-20T10:12:38Z")

</div>

Hi,

thanks, then I will move that parameter to the xdr context.

Peter
