Proxmox cluster

cyrofilho

New Member
Aug 13, 2008
6
0
1
Hello,

I just found proxmox and got very impressed. But i don't know if it can do what i need right now. I had two physical servers, and have just make them virtual. Now what i need to do is install proxmox on both server, and have the same virtual images on both servers, so if one of my servers stop works, i can easyly starts the virtual machines on the other server. These servers will be on different physical places, using a wan internet link of about 2mbps.

So my real question is: How can i sync the virtual machines images on the hosts with proxmox? Does it support drbd? Can i use rsync to sync them?

I will really apreciate any help.

Cyro
 
So my real question is: How can i sync the virtual machines images on the hosts with proxmox? Does it support drbd? Can i use rsync to sync them?

We have no support for DRBD or rsync. But I guess you can write a script to rsync some vms manually.

- Dietmar
 
The problem was discussed previous in old topics. The only solution in this moment is to make manually the script.

But I ask: if I create the same VM with the same ID in both servers, if o the second disk I manualy delete the VM and I copy the same ID from the first server, I can start this machine on the second server?

Anyway, I think the best way is to learn how to use backup/restore functions! ;)
 
Well, i just tryed to rsync an 8gb vms and the result was not very good. First time i rsync it took a long time and copyed 8gb of data. On the second rsync to my surprise, i changed only one text file on the vms, but rsync copyed 1,5gb of data. Isn't it strange? What are you guys using to backup the vms to other servers?

Thanks for any help.
 
8gb of data. On the second rsync to my surprise, i changed only one text file on the vms, but rsync copyed 1,5gb of data. Isn't it strange?

I guess that depends on the filesystem usesd. What guest caused that behaviour?

What are you guys using to backup the vms to other servers?

The plan is to use rsync

- Dietmar
 
Last edited:
Our backup script currently uses the vzdump script with --snapshot to backup VZ containers and then we have another script we wrote to make an LVM snapshot and back up the .qcow2 files from the snapshot.

After all that is prepared in a directory on the local server, it's shipped off to the backup server using rsync. We gzip the vzdump and the qcow2 files with gzip --rsyncable.

We have 41.2G of data to backup and the rsync that just finished said it transferred 981MB tonight.

More specifically, the data being backed up is:
5.7GB gzipped qcow2
728MB gzipped qcow2
13.7GB gzipped vzdump
417MB gzipped vzdump
*2 because there is always last night's backup and tonight's backup in there.

If you set up rsync to use 3/4 of your 2mbit connection, it would take you about an hour and a half to transfer that 981MB.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!