Installing Redis
To use Redis, you must install and provide your own Redis instance to the IBM RPA server.
IBM RPA uses Redis as an in-memory data storage server. It acts as publish/subscribe External link for semaphore commands and internal notifications, and can significantly enhance performance in these cases. You must install Redis if you want high availability and disaster recovery capabilities. See more at High availability and disaster recovery considerations.
Before you begin
The Windows™ version of Redis can cause known issues with semaphore commands. So, if you deploy the IBM RPA server on Windows™, use Redis 4.0.8 or later on a Docker™ instance or on a Linux™ server instead.
Procedure
Install Redis on Windows
To install Redis on Windows, see How to Install Redis on Windows 🡥 on the official Redis documentation.
Install Redis on Linux or Docker
Follow this procedure on a Docker™ instance or a Linux™ machine:
- Download the latest stable version 🡥 of Redis.
- Enter the value
KEA
to the propertynotify-keyspace-events
on Redis configuration file. For more information about changing Redis configuration file, see Redis configuration 🡥.
What to do next
Only the IBM RPA server needs access to Redis, so after you change the Redis configuration file to work properly, you can improve Redis security.
-
Open the
redis.conf
file:sudo nano /etc/redis/redis.conf
-
Add or uncomment "
bind 127.0.0.1
". -
Replace
127.0.0.1
with the IP address to your server if you are running Redis under WSL or in a separate Linux machine. -
Save and close the file.
C:\Program Files\Redis\redis.windows.conf
and C:\Program Files\Redis\redis.windows-service.conf
files.Make sure to update your Redis password at IBM RPA Control Center beforehand, and then update it in the Redis configuration file or environment. It is expected that the IBM RPA API doesn't work momentarily until you update the Redis password on these environments correctly.
- Log in to IBM RPA Control Center.
- In the left side menu, click Platform settings > Redis.
- Enter the password in the Password field.
- Click Save.