Home > VMware Tips > VMware backup, disaster recovery (DR) and storage > How to get VMware ESX virtual machine redundancy without VMware HA or VMotion
VMware Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

VMWARE BACKUP, DISASTER RECOVERY (DR) AND STORAGE

How to get VMware ESX virtual machine redundancy without VMware HA or VMotion


Harley Stagner, contributor
12.03.2007
Rating: -4.25- (out of 5)


Enterprise IT tips and expert advice
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


Do you want the benefits of virtualization with VMware ESX server, even though you don't have the budget to build an infrastructure for enterprise capabilities such as VMotion or VMware HA?

This two-part article series will outline a way to provide some redundancy for a file server virtual machine without the use of a SAN for VMFS storage or VMotion. The first part will discuss the initial setup of the file server virtual machine. The second part will discuss a scripted synchronization of the source virtual machine (VM) to another ESX server for manual recovery. Depending on your service up-time requirements, a manual fail-over of a virtual machine without the use of VMware HA could be acceptable. While these articles discuss a scenario with a file server virtual machine, the technique discussed could be used with any server that has a system drive that changes infrequently.

Setup

The scenario discussed in these articles used the following components:

The Nexsan Sataboy had a single 4TB RAID 5 array that was split into two 2TB Volumes, as shown in the images below.

Nexsan Sataboy Dashboard:
[IMAGE]

Nexsan Sataboy RAID Settings:
[IMAGE]

Nexsan Sataboy Volume Settings:
[IMAGE]

Also, the Nexsan Sataboy was configured to use iSCSI as the storage protocol.

Nexsan Sataboy iSCSI settings:
[IMAGE]

The file server was a Windows Server 2003 R2 virtual machine that had a 15GB virtual disk used as the system volume. The data drives for this file server were provided via an iSCSI connection to a Nexsan Sataboy using the Microsoft iSCSI initiator inside the guest file server virtual machine. This scenario works well for a small to medium environment. The network that the file server is on serves approximately 170 users. The storage device throughput measured through the guest virtual machine using IOMeter was between 30-40 MB/s.

In order to isolate the iSCSI network traffic from the regul


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google




ar network traffic in the guest virtual machine, a new network was added to the VMware ESX server. The vSwitch in that network was tied to a port on the Intel Pro/1000MT Server Adapter NIC. The procedure to accomplish this is in the images below.

First, a new "Virtual Machine" network was added.
[IMAGE]

Next, a virtual switch was created that was attached to a port on the Intel Pro/1000MT Server Adapter NIC.
[IMAGE]

Finally, the network was given an appropriate name.
[IMAGE]

The final network setup can be seen in the image below.
[IMAGE]

Once the new virtual network was set up, then the guest file server virtual machine was attached to the Nexsan Sataboy volumes using the Microsoft iSCSI initiator version 2.05. In order to make this file server production ready there were a few additional steps needed after the iSCSI disks were connected to it. Sometimes, if the server is rebooted, the shares on the iSCSI-attached volumes may not be recreated. This is because the server service is starting before the iSCSI initiator service. So, the server service does not see the disks to be able to recreate the shares. I had to make sure that all iSCSI connections were persistent, bind all permanent volumes (in this case they were E: and F:), and make the server service dependent on the iSCSI initiator service. These procedures are outlined in Microsoft KB article 870964. At this point, the file server was production-ready. In part two of this article, I will discuss how you can use p2vtool.exe provided with VMware Converter 3.0.1 Enterprise to script a backup of the main file server VM to another ESX server.

About the author: Harley Stagner has a wide range of knowledge in many areas of the IT field, including network design and administration, scripting and troubleshooting. Of particular interest to Harley is virtualization technology. He was the technical editor for Chris Wolf and Erick M. Halter's book Virtualization: From Desktop to the Enterprise and currently writes his own blog at www.harleystagner.com.

Rate this Tip
To rate tips, you must be a member of SearchVMware.com.
Register now to start rating these tips. Log in if you are already a member.




DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



VMware Migration Tips - White Papers
HomeNewsTopicsITKnowledge ExchangeTipsBlogsMultimediaWhite PapersEvents
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2007 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts