Tip

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

    Requires Free Membership to View

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 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

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

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.