Synchronize CentOS servers
How can I run two CentOS servers so that they mirror each other?
Data can be exchanged via SSH.
At least the home directory and, if possible, user and server settings should be kept in sync.
Data can be exchanged via SSH.
At least the home directory and, if possible, user and server settings should be kept in sync.
Please also mark the comments that contributed to the solution of the article
Content-ID: 91432064599
Url: https://rootdb.com/en/synchronize-centos-servers-91432064599.html
Printed on: February 23, 2025 at 06:02 o'clock
2 Comments
Latest comment
Hello, bevor we come to the "how" we need to define "what".
It is totaly different to sync fines and databased.
And the direction is important.
Is this a master-slave-type (active-passic) or master-master-type (active-active).
For many types you can use rsync.
Maybe to start services if settings have changed.
Maybe to use a hypervisor (e.g. ESXi) to create a HA environment.
Stefan
It is totaly different to sync fines and databased.
And the direction is important.
Is this a master-slave-type (active-passic) or master-master-type (active-active).
For many types you can use rsync.
Maybe to start services if settings have changed.
Maybe to use a hypervisor (e.g. ESXi) to create a HA environment.
Stefan