Server Roles
Similarly to Redis®️* 6, 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 5 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 Replica role (formerly known as Redis Slave), and it's compatible with the Redis 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 Cluster role. All the Redis 5 Cluster documentation, including the redis-cli
functionality to manage a cluster, can be applied to the Memurai Cluster role and memurai-cli
.