Server Roles
Similarly to Redis®️* 7 or Valkey 7, a Memurai instance can behave as a master, sentinel, replica, or cluster node. The server role is determined based on the configuration file settings or command line options passed to memurai.exe
.
Sentinel
The Sentinel server role can be set by passing the --sentinel
command line flag to memurai.exe
or renaming memurai.exe
to memurai-sentinel.exe
.
The Memurai Sentinel role is compatible with the Redis/Valkey Sentinel mode, it uses the same configuration flags and therefore the Redis Sentinel documentation also applies to Memurai Sentinel.
All the Windows-specific rules regarding the configuration file syntax also apply to the Memurai Sentinel configuration file.
Replica
The Memurai Replica role mimics the Redis/Valkey Replica role (formerly known as Redis Slave), and it's compatible with the Redis/Valkey Replica configuration flags. The rules of Redis replication apply to Memurai replication as well. All the Windows-specific rules regarding the configuration file syntax also apply to the Memurai Replica configuration file.
Cluster
The Memurai Cluster role is also fully-compatible with the Redis/Valkey Cluster role. All the Redis Cluster documentation, including the redis-cli
(or valkey-cli) functionality to manage a cluster, can be applied to the Memurai Cluster role and memurai-cli
.