OpenVZ Forum


Home » General » Support » Sync'ing between servers
Sync'ing between servers [message #376] Thu, 17 November 2005 21:00 Go to previous message
tbenoit is currently offline  tbenoit
Messages: 10
Registered: November 2005
Junior Member
Our use for OpenVZ is a little different than most. We'll be running 1 VPS on each server normally. When we will run 2 VPS on a server is when a primary server dies and will take an unacceptable amount of time to come back up.

With that in mind, we'd like to be able to replicate each VPS to its backup server(s). For example:

SERVER1 = VPS1 (VPS2's backup server)
SERVER2 = VPS2 (VPS1's backup server)

We'd like to use `rsync` every so often (hour, or several hours) to sync VPS1 onto SERVER2 and VPS2 onto SERVER1 which will allow us to more easily bring up the VPS on the backup server if needed.

1) Is this even possible, considering potential corruption issues? I tend to think "Yes". The Application won't have an issue with it. I'm just confirming from an OpenVZ side it'll be ok.

2) If it is, here's the list of directories/files I have set to `rsync`, to sync VPS1 onto SERVER2 (into the same directory structure, of course). Am I missing anything?

..... /vz/private/VPS1
..... /vz/root/VPS1
..... /etc/sysconfig/vz-scripts/VPS1.conf


As always, many thanks for all of your assistance. I truly appreciate it.



Thanks
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: debian sarge
Next Topic: VPS template for Redhat Enterprise Linux 4
Goto Forum:
  


Current Time: Fri Jul 26 22:28:12 GMT 2024

Total time taken to generate the page: 0.03241 seconds