Configure Redis and monitor health
Itential Platform uses Redis for inter-application messaging and shared authentication token storage and expiration.
In a standalone topology, a local Redis instance handles authentication token storage. In an highly available (HA) topology, Redis Sentinel monitors your Redis primary and replica nodes, detects failures automatically, and promotes a replica to primary when needed. Sentinel also acts as a configuration provider; clients query it for the current primary node rather than using a hardcoded address, making failover transparent to your application. Sentinel ensures that a single Redis node failure does not take down the entire platform.
The default Redis properties are sufficient for most Itential Platform installations. You only need to modify the defaults if you are configuring an HA topology or need to enable password authentication.
Core Redis properties
The core Redis properties connect by default to a Redis process running on the same server as Itential Platform. Configure a password if your Redis server requires authentication.
Standalone Redis configuration
Redis HA configuration
Health monitoring
The Redis driver used by Itential Platform is based on the ioredis library, with additional parameters for platform-specific behavior.
Connection retry behavior
When the driver detects a Redis connection problem, it immediately begins reconnection attempts using a predefined retryStrategy. The redis_max_retries_per_request property counts these reconnection attempts. When the count reaches the configured value, Itential Platform shuts down. If the connection is restored before that point, the retry counter resets.
Heartbeat write behavior
The driver also monitors Redis write availability. A heartbeat fires every 2000 ms (heartbeatInterval). When the heartbeat detects a write failure, it triggers a predefined retryHeartbeatWriteStrategy. The redis_max_heartbeat_write_retries property counts the subsequent write attempts during this strategy. When the count reaches the configured value, Itential Platform shuts down. If the heartbeat successfully writes data again before that point, the write retry counter resets.