# Discourse with Redis Cluster mode

**URL:** <https://meta.discourse.org/t/discourse-with-redis-cluster-mode/71944>\
**Category:** Self-hosting\
**Tags:** hosting\
**Created:** [12 Ottobre 2017, 4:54pm UTC](https://meta.discourse.org/t/discourse-with-redis-cluster-mode/71944 "2017-10-12T16:54:55Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![thabbs](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thabbs/32/82150_2.png) [@thabbs](https://meta.discourse.org/u/thabbs)\
**Post date:** [12 Ottobre 2017, 9:21pm UTC](https://meta.discourse.org/t/discourse-with-redis-cluster-mode/71944/3 "2017-10-12T21:21:00Z")

</div>

mhm, it is a pity.  
Just have run into a similar issue with an AWS Redis elasticache cluster while rebuilding the www app.  
I, [2017-10-12T21:12:38.058320 #13] INFO – : \> cd /var/www/discourse && su discourse -c ‘bundle exec rake db:migrate’  
URGENT: MOVED 1326 172.25.11.156:6379 Failed to initialize site default  
rake aborted!  
Redis::CommandError: MOVED 6976 172.25.11.156:6379

The Redis cluster is running on 4 nodes. Would be nice to get this solved.

```
dig +short my-redis-cluster.clustercfg.euc1.cache.amazonaws.com
172.25.11.156
172.25.11.169
172.25.11.8
172.25.11.104

```

---

_[View the full topic](https://meta.discourse.org/t/discourse-with-redis-cluster-mode/71944)._
