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-Key: 91432064599
Url: https://administrator.de/contentid/91432064599
Printed on: April 27, 2024 at 16:04 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