Upgrading Redis on the Resource Manager master host

This procedure upgrades Redis on the Resource Manager master host, which is required for compatibility with this release of Service Impact.
  1. Log in to the Resource Manager master host as root, or as a user with superuser privileges.
  2. Download the Redis RPM file.
    mySite=http://dl.marmotte.net/rpms/redhat
    myArch=el6/x86_64/redis-2.8.19-1.el6
    curl -sO $mySite/$myArch/redis-2.8.19-1.el6.x86_64.rpm
  3. Stop the Redis service.
    service redis stop
  4. Install the Extra Packages for Enterprise Linux (EPEL) repository definition, if necessary.
    The jemalloc package is not available in standard RHEL/CentOS repositories.
    1. Determine whether the EPEL repository definition is installed.
      yum repolist | grep -E '^epel'
    2. If necessary, install EPEL.
      yum install epel-release
      • If the command returns a result, the EPEL repository definition is installed. Proceed to the next step.
      • If the command returns no result, the EPEL repository definition is not installed. Perform the following substep.
    3. Install the EPEL repository definition.
      yum install -y epel-release
  5. Install Redis dependencies.
    yum install glibc jemalloc
  6. Install the Redis RPM.
    rpm -Uvh redis-2.8.19-1.el6.x86_64.rpm
  7. Start the Redis service.
    service redis start
  8. Check the Redis version.
    redis-server --version
    You should see something similar to the following.
    Redis server v=2.8.19 sha=00000000:0 malloc=jemalloc-3.6.0 bits=64 build=9381e1411428a95a
  9. Edit the Redis configuration file to enable listening for outside connections.
    1. Open /etc/redis.conf with a text editor.
    2. Locate the bind line, and set it to listen to non-local connections.
      bind 0.0.0.0
    3. Save the file, and then close the text editor.
  10. Restart the Redis service.
    service redis restart