Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 10349  / 3 Years ago, mon, may 31, 2021, 9:57:07

I want to replicate 2 Ubuntu Server . So if i change settings on one server it will replicate to other .


The Server Will be Running Zpanel ( mysql , bind , apache , postfix , etc ) ..



Updated


The server 2 is exact the same copy of Server 1 . Basically after installing & updating server 1 i have made clone of server 1 . I am using Vmware Workstation for testing .


Update


if i update DB or something like update in /var/www/ on 1st server it automatically update on 2nd server ....... what i really want is ... i have 2 servers ..that will be Web hosting Servers ( Zpanel) i want Replication on 2 identical server if one is down 2nd one will be up as it an replica of 1st


More From » server

 Answers
6

What is Web server replication?


Replicating a web server machine is
the process of synchronizing two or more machines, so that they each
have the exact same files, at any given point in time.


Benefits of Web server replication


There are two primary benefits to web server replication:



  1. High availability

  2. Performance during high load times


Rsync


Rsync is a Linux shell utility that supports efficient copying of data
between two servers.


Unlike "normal copy" - Rsync only copies differential data (what just
got changed, instead of all the files). Another benefit of Rsync is
that it copies over SSH - so data is encrypted across the channel.


Rsync is one of the most popular methods to replicate web servers.
It's reliable, easy to setup and fast.


This guide, will walk you through the process of using Rsync to
replicate two web server machines.


Below are the needed setup steps



  1. Install RSync

  2. Select folder(s) to replicate

  3. Create Rsync server config file

  4. Installing & Running Rsync server

  5. Fetching changes with the Rsync client

  6. Setting Rsync client as a cronjob 1



Read More


1Source: SPI


[#37203] Tuesday, June 1, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
bathtusain

Total Points: 380
Total Questions: 124
Total Answers: 111

Location: Trinidad and Tobago
Member since Sat, Apr 9, 2022
2 Years ago
;