Support » Plugin: Redis Object Cache » Clustering Redis with AWS Elasticache

  • Resolved Atila Fagundes

    (@afagundes)


    Hi,

    Can you help us?

    We are trying to configure Redis Object Cache on cluster mode, but using AWS Elasticache

    https://aws.amazon.com/elasticache/redis

    We are trying many solutions but, we get the same results.

    Connection Exception: SELECT failed: ERR SELECT is not allowed in cluster mode [tcp://redis-cluster02-0001-002.59bqaj.0001.use1.cache.amazonaws.com:6379] (Predis\Connection\ConnectionException)

    or

    Connection Exception: Couldn’t map cluster keyspace using any provided seed (RedisClusterException)

    Using these setup

    define( ‘WP_REDIS_CLUSTER’, [
    ‘tcp://redis-cluster02-0001-001.59bqaj.0001.use1.cache.amazonaws.com:6379?database=1&alias=node-01’,
    ‘tcp://redis-cluster02-0001-002.59bqaj.0001.use1.cache.amazonaws.com:6379?database=1&alias=node-02’,
    ] );

    or

    define( ‘WP_REDIS_SHARDS’, [
    ‘tcp://redis-cluster02-0001-001.59bqaj.0001.use1.cache.amazonaws.com:6379?database=1&alias=shard-01’,
    ‘tcp://redis-cluster02-0001-002.59bqaj.0001.use1.cache.amazonaws.com:6379?database=1&alias=shard-02’,
    ] );

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.