How to setup Redis replication in Linux

One of the features that make REDIS a good caching application is the ability to configure a cluster with one masterprimary amp one or more slavessecondary servers. In this tutorial we will learn to set up redis replication in our Linux servers.

For the purpose of this tutorial we will be creating a single Primary amp a single secondary server. So lets discuss the pre-requisites for setting up redis replication.

Recommended Read How to create a free SSL certificate using Lets Encrypt in Linux.

Also Read How to Schedule a Shutdown in Linux using Crontab.

2 servers with Redis installed one will act as the Primary server IP address for our scenario amp another will act as the Secondary server IP address .

You can read the following tutorials to install Redis in Ubuntu or in CentOSRHEL.

Now lets move on to the configuration part.


Read Full Post

News Link:
RSS Link:

Linux Chatter is a news aggregator service that curates some of the best Linux, Cloud, Technical Guides, Hardware and Security news. We display just enough content from the original post to spark your interest. If you like the topic, then click on the 'read full post' button to visit the author's website. Use Linux Chatter to find content from amazing authors!

Note: The content provided has been modified and is not displayed as intended by the author. Any trademarks, copyrights and rights remain with the source.

Disclaimer: Linux Chatter sources content from RSS feeds and personal content submissions. The views and opinions expressed in these articles are those of the authors and do not necessarily reflect those of Linux Chatter.