As part of the manual installation process (which is not recommended), install and configure the Redis database.

To install and configure the Redis database:

  1. Install Redis using the following commands:

    RHEL

    Install the Redis and jemalloc installation packages you extracted from the installer. Use the following commands, replacing the exact file names:

    sudo yum install redis-filename.rpm jemalloc-filename.rpm

    SLES 12

    zypper addrepo https://download.opensuse.org/repositories/server:/database/SLE_12_SP4/server:database.repo
    zypper refresh
    zypper install redis

    SLES 15

    zypper addrepo https://download.opensuse.org/repositories/server:/database/SLE_15/server:database.repo
    zypper refresh
    zypper in redis
  2. Start the Redis service, using the following commands:

    RHEL

    sudo systemctl enable redis
    sudo systemctl start redis

    SLES 12

    # Start the Redis service
    $ redis-server
    # Start Redis in the background
    $ redis-server --daemonize yes

    You can use the following optional commands to ensure Redis is running as intended:

    # Check if Redis is already running; will return PONG if running
    redis-cli ping
    # Stop the Redis service
    redis-cli shutdown

    SLES 15

    # Start the Redis service
    $ redis-server
    # Start Redis in the background
    $ redis-server --daemonize yes

    You can use the following optional commands to ensure Redis is running as intended:

    # Check if Redis is already running; will return PONG if running
    redis-cli ping
    # Stop the Redis service
    redis-cli shutdown
  3. OPTIONAL: If you are setting up Redis on a host that is separate from the RaaS node, you need to configure Redis to accept remote connections and to limit access using a password. To do this, update the /etc/redis.conf file, specifying the bind parameter and setting the password that your RaaS nodes should use to authenticate.
    bind0.0.0.0
    requirepass {{ your_redis_password }}

After installing and configuring Redis, proceed to the next section.

What to do next

After installing and configuring Redis, the next step is to install and configure RaaS. See RaaS installation and configuration for more information.