VMWare ESX Datastores
Posted on 2012-04-03
So we need to set up some type of redundancy with VMWare ESXi 5 boxes. We have two physical servers, R310s. They each host two VMs, each one hosting various websites for a total of four VMs. They are on ECESX1 and ECESX2. Both hypervisors are set up with two datastores, DATASTORE1 and DATASTORE2. The VMs are on DATASTORE2.
What I was thinking for fault tolerance is this...
Make a backup of the VMs on ECESX1:DATASTORE1 at the end of the night and put them on ECESX1:DATASTORE2. Then copy them over to ECESX2:DATASTORE2 once the backup is complete. If ECESX1 goes down, simply take the backup that is now stored on ECESX2 and make it a live VM. To copy the files from ECESX1 to ECESX2, I was going to create an NFS share that was located inside ECESX2:DATASTORE2 and mount the NFS share to ECESX1 and then use VMKFSTOOLS -I to copy the files. I would basically repeat the same process to backup ECESX2 just in reverse.
My question is though, rather than backup ECESX1 to ECESX1:DATASTORE2 and then copy over the backups, can I mount ECESX2:DATASTORE2 directly to ECESX1 so that the backup can go directly to ECESX2:DATASTORE2 which would negate the need to copy anything, thereby improving performance on the hosts and reducing the time for my backups at night.
Everything is local storage, no SAN. Running ESXi 5.0 free. Was using ghettoVCB for the backups, which has been running great for us so far.