Troubleshooting Tip: Redis DOWN in High Availability environment
Description
This article describes a method to fix Redis services in High Availability environments.
Scope
FortiSIEM.
Solution
In the latest FortiSIEM High Availability setup, all the nodes will connect to Database Leader node at port 6666. In some cases, Redis services will down and the logs will provide the details of the error in /opt/phoenix/redis/log/6666.log.
Follower nodes unable to reach Leader nodes:
Ensure the following nodes able to reach dbleader.fsiem.fortinet.com.
ping dbleader.fsiem.fortinet.com
telnet dbleader.fsiem.fortinet.com 6666
Solution:
Check /etc/hosts and make sure dbleader.fsiem.fortinet.com is pointing to the leader nodes' IP.
cat /etc/hosts
Fix the network connectivity in the environment between the High Availability cluster.
Missing Redis configuration in Follower nodes.
Check configuration content below:
cat /opt/phoenix/redis/conf/6666.conf
Solution:
Copy and paste the content of /opt/phoenix/redis/conf/6666.conf from the Leader nodes to the nodes that are missing the configuration.
Mismatch Redis version.
Check the redis version in each nodes of the High Availability cluster.
rpm -qa | grep -i redis
Solution:
Update the Redis version in the nodes that are lower versions or mismatch with Leader nodes.
yum update -y