Package rh-redis6 provides the Redis data store as a Software
Collection.  For more information about Software Collections, see
scl(1).  By installing the rh-redis6 collection, you will get
the set of packages to have a working Redis server.

Usage: scl enable rh-redis6 'redis-cli'

Software Collections allows use of applications which are not located
in the filesystem root hierarchy but are present in an alternative
location, which is /opt/rh/rh-redis6/root in case of the rh-redis6
collection.

Redis is an open source (BSD licensed), in-memory data structure store,
used as database, cache and message broker. It supports data structures
such as strings, hashes, lists, sets, sorted sets with range queries,
bitmaps, hyperloglogs and geospatial indexes with radius queries.

Redis has built-in replication, Lua scripting, LRU eviction, transactions
and different levels of on-disk persistence, and provides high availability
via Redis Sentinel and automatic partitioning with Redis Cluster.

The rh-redis6-redis package provides the redis and sentinel servers.

Redis server listens on local network soket (by default port 6379).
Sentinel server listens on local network soket (by default port 26379).

When working with rh-redis6 collection, use the "scl" utility (see
scl(1) for usage) to enable the scl environment properly.

Configuration for the rh-redis6 software collection is located under /etc/opt/rh/rh-redis6.

Examples:
scl enable rh-redis6 'command --arg'
  Run a specific command with argument --arg within rh-redis6 software collections
  environment.

scl enable rh-redis6 'redis-cli'
  Run redis-cli from rh-redis6 software collection.

scl enable rh-redis6 bash
  Run interactive shell where rh-redis6 software collection is enabled.

systemctl start rh-redis6-redis
  Starts the redis server from rh-redis6 software collection.

systemctl start rh-redis6-redis-sentinel
  Starts the sentinel server from rh-redis6 software collection.
