Master - Standby replication
Odilon supports Master - Standby Architecture for disaster recovery, high availability, archival, and ransomware protection. Data replication is done asynchronously using HTTP/S over the local network or the Internet.
Each Odilon (ie. master and standby) can have their own encryption, RAID and other configurations, except for version control, if the master server has version control enabled then the standby server must have it too.
Master Server
Include Standby server url and credentials in odilon.properties.
The following example connects to a standby server on localhost port 9211:
# Enable standby connection on the Master server with the following
#
standby.enabled=true
standby.url=http://localhost
standby.port=9211
standby.accessKey=odilon
standby.secretKey=odilon
Standby Server
Set up the server in standby mode using the variable server.mode in file odilon.properties of the Standby server:
# This value must be added to the odilon.properties of the Standby server
server.mode = standby
After restarting both servers, the master server will start a background process to replicate existing data and new operations will be propagated to the standby server asynchronously.