a virtual disk on esx/vmfs is a file. what does it matter (in terms of consistency, reliability) what tool you use for transfer from a to b ?
These are just static VMDK files not active disks?
afaik, active disks/vmdk files are locked on esx and cannot be accessed from the console os while being in use by a VM.
I wasn't thinking of that at all even though I know it is true. I haven't used rsync from the esxi hosts. I use it all the time on linux for syncing files between locations. I am assuming you are transferring the vmdk and flat vmdks after a snapshot. Is the transfer just changed blocks?
just to clarify this..currently the vm states are not important for syncing files between esxi hosts. This can be discussed later...
I just tried to sync a textfile between esxi hosts and even that transfer wasn't successfull.
@devzero have you statically compiled a process tracing binary and tested the transfer with that?
I thought the esxi hosts are based on RHEL3 and my static rsync is compiled on CentOS3.
The binary I compiled before was build on SUSE 10.3 and 11.1 but both binaries caused a segmentation fault on the esxi hosts.
@all does anyone successfully use rsync to transfer files between esxi hosts regardless of vm state (esxi 3.5 u4 rsync to rsync daemon)?
>@devzero have you statically compiled a process tracing binary and tested the transfer with that?
i think it was the strace from centos3 i have tried.
after trying almost everything to rsync data back from the remote storage to the esxi (4.0) i am close to giving up.
I read, i think, the whole community posts on this subject.
I tried 3 different rsync binaries (all found in the community posts) (3.0.3, 3.04,3.0.6) nothing works.
Neighter starting on a remote host to an ESXi host running rsyncd
rsync -avhpWE --progress /localstore/mydirtotransfer rsync://myesxihost/mymodule/mytargetdir/
Nor starting from an ESXi host
rsync -avhpWE --progress rsync://myremotehost/mymodule/mysourcedir /vmfs/volumes/localstore/mytargetdir/
the only way i can restore my data is using an nfs mount, and then rsync local
rsync -avhpWE --progress /vmfs/volumes/myremotenfs/mysourcedir /vmfs/volumes/localstore/mytargetdir/
but this ist terriby slow. The maximum i can get this way ist about 9MB/s.
Please, if anyone can give me an idea on how to get better speeds, i'd be very happy.
PS: if i try the same commands with the option "-e" it works, but then the datarate is about only 4-5MB/s, which is (i think) because the ssh connection uses relatively hig cpu (75%).
is there any way to tell the dropbear not to use encryption or just to use blowfish? maybe this would speed up things a bit.
Does anyone have this esxi 3.5 rsync binary? The rapidshare link on the first page said file not found.
Apart from Rsync binary working for ESXI 3/4/5, please bear in mind that the files being Rsync need to be in
read-only mode. This is my suggestion how you replicate a running VMware ESXI guest from one hosting machine to another.
1) Remove all snapshots for a given guest
2) Create ONE snapshot.
Now you will see that there are two files
hostname.vmdk (NOT change anymore) <--Snapshot
hostname-000001.vmdk (small running disk file, keep on changing as guest is using it)
3) Rsync all files to another host, disregard hostname-000001.vmdk which is out of sync
Rsync is not enough and now ESXi version is 6.7. I want also incremental backup of those rsync deltas, not just replication, also sheduling, also some windows where I can select datastore files that I want to backup and also deduplication should be nice. So, Im searching complete software.