Script for copying VMDK files VMware infrastrucutre 3 ESX server


I've been told that a good way to place a copy of virtualised machines on multiple pieces of hardware is to copy the VMDK file from one machine  to another with a script so I have at least some redundancy if the server fails. Does anyone know of a script that I can use that can do this or perhaps some commands in Linux that I can use to achieve this? I don't know very much about Linux scripting or Virtual machines. What I'm planing on doing is using Vmware infrastrucutre 3 ESX server Starter edition to begin the process of virtualisation and i need some redundacy without having to resort to purchasing the Enterprise version.

Any help or suggestions
Who is Participating?
wanstorConnect With a Mentor Commented:
you know, I dont think a script is the best idea.

As they are running on the local disks, you should use something like esXpress (free edition is fine for fullVM backups).  The reason being, this will handle all the queuessing of the filesystems for you. You cannot copy "live" VMDK's.  Scheduling will be no problem with this product either, it works like a dream for stuff on local disks.  Obviously if you had a san, vcb is the answer.
where are the vmdk's, on a san or local disks on the esk hosts?

where do you hope to put these vmdk's, windows box?, copy in the same vmfs3?

you say you want a "script" is this because you want it to do it daily or is it a one off copy?
gemini99Author Commented:
The VMDK's are on a VmWare infrastructure 3 server local hard drive. I want to copy them to another server which is exactly the same every night or as practically possible (don't know how much time it will take to do this so maybe every week). So I would like a script that runs automatically in Linux to do this so I can set a schedule and let it go..
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.