Free shared-storage options for VMware ESXi

Free shared-storage options for VMware ESXi

In a VMware ESXi infrastructure, shared storage is a no-brainer.

Once a physical server goes down, the virtual machine (VM) files that reside on that server become unavailable as well. With shared storage, however, another ESXi host can access and start the VMs that were running on a failed server.

But you don't need an expensive storage area network (SAN) to benefit from shared storage. There are two, free ways to that create a shared-storage infrastructure for VMware ESXi: FreeNAS and Openfiler.

FreeNAS 
FreeNAS is a small shared-storage tool that's based on network-attached storage (NAS) technology. After you install FreeNAS software, you have to configure the FreeNAS server's IP address before logging into the Web interface, which is used to set up and manage the shared storage. To access the Web interface, enter the default username (admin) and password (freenas).

Figure 1
After an easy setup, you can configure FreeNAS from the Web interface. (Click image for an enlarged view.)

Configuring shared storage in FreeNAS is an easy, two-step procedure. First, define a volume on the FreeNAS server, which is the disk that stores the images. Next, indicate how you want to access the volumes. FreeNAS is based on network file-sharing protocols, and

    Requires Free Membership to View

    When you register, my team of editors will also send you alerts covering all areas of VMware, such as implementing VMware-related virtualization technologies for server consolidation, disaster recovery and backup strategies, management and performance, VM migration and more.

    Margie Semilof, Editorial Director

    By submitting your registration information to SearchVMware.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchVMware.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

you can choose from Network File System (NFS), Windows' Common Internet File System or the Apple Filing Protocol. Of these choices, VMware ESXi supports only the NFS storage protocol.

Because FreeNAS is based on a file-sharing protocol, there is some overhead when writing packets to the shared storage. If you're predicting a high amount of disk I/O, this protocol may slow down the system too much. In that case, a SAN may be better.

Openfiler
If you've ever worked with SAN products from NetApp Inc., you'll notice similarities to the Openfiler interface, which has a comparable look and feel. Openfiler offers real SAN functionality, which means you'll receive performance benefits from giving remote machines access to block devices and not to file systems. In fact, OpenFiler can even create an iSCSI SAN.

First, download the free Openfiler software and install it to a dedicated machine. If you accept the defaults, the installation is easy. These settings make all your disk space available to Openfiler.

Figure 2
Openfiler offers a complete iSCSI SAN that's configured easily from a Web interface. (Click image for an enlarged view.)


For more granular storage--provisioning options, such as the ability to configure shared storage for client nodes, use the Openfiler Web interface. From here, you can easily set up the shared storage as either a SAN (shared devices) or NAS (shared file systems). The included iSCSI target is fast, which makes Openfiler a favorite choice for a free shared-storage arrangement.

FreeNAS offers a Unix-based configuration for access to files, and Openfiler offers a Linux-based approach to access block devices. From a performance standpoint, the latter solution is preferred. But both tools install easily and allow multiple ESXi hosts to access virtual machines in a shared-storage arrangement. So from that perspective, you can use either product.

This was first published in May 2011

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.

    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.