Learn What IT Pros Need to Know About Windows 11 - August 26th at 1 PM ET! Learn What IT Pros Need to Know About Windows 11 - August 26th at 1 PM ET!
VMware

Use OpenFiler as your Free VMware ESX SAN Server

Many of the VMware ESX Server advanced features cannot be used without a SAN (storage area network). Besides the high cost of the ESX Server software and the Virtual Infrastructure Suite, a SAN can be a huge barrier to using VMware ESX and features like VMotion, VMware High Availability (VMHA), and VMware Distributed Resource Scheduler (DRS). In this article, we take a look at how you can download a free open-source iSCSI server and use it as your SAN storage for VMware ESX and its advanced features.

What is OpenFiler and where do I get it?

OpenFiler is a free open-source SAN server. It offers NFS, SMB (for Windows), iSCSI, and HTTP file sharing. You can download it as a fully installed VMware virtual disk or as an ISO image that you need to install. Either way, there is no cost. Openfiler is simply a modified version of Linux that provides an iSCSI Target for iSCSI initiators like VMware ESX and Windows.

In my case, I downloaded the pre-built VMware virtual disk and used it. Before booting, I added a second virtual SCSI disk to it. Then, I booted the image.

Sponsored Content

Read the Best Personal and Business Tech without Ads

Staying updated on what is happening in the technology sector is important to your career and your personal life but ads can make reading news, distracting. With Thurrott Premium, you can enjoy the best coverage in tech without the annoying ads.

I let OpenFiler get an IP address via DHCP and then pointed my web browser to it. I logged in as the user “openfiler” and used the password “password”.

How do I configure OpenFiler as an iSCSI Target?

Here are the steps you need to perform to configure OpenFiler as your iSCSI Target:

Step 1 – Create a Physical Volume

Go to Volumes, then Physical Storage Mgmt.

From there, I clicked on the name of my second disk, /dev/sdb.

At this point, I scrolled down to Create a partition in /dev/sdb

I left all the options as their defaults before I clicked Create to create a partition occupying all the space, like this:

Next, I went to Volume Group Mgmt, and chose to create a new volume group, like this:

After I had added my new volume group, I clicked Create New Volume. I filled in all the options, selecting iSCSI as the file system type, took all the space with my new volume and clicked Create to create my new 100GB volume.

Now, I went in and edited the properties of my volume. While you could choose to use CHAP with iSCSI, I just used the “local networks” security. I accessed that option by clicking on Local Networks (which is also an option under the General tab).

Now, I filled in my network ID, set my subnet mask, selected Share, then clicked Update.

After that, I went back to the the properties of the volume and changed the local network that I added to Allow, like this:

For better security, you can use CHAP and you can narrow down the network to only the IP address of your iSCSI initiators.

Finally, I went in to the Services section, and to Enable/Disable. I enabled iSCSI, like this:

Now, my iSCSI target was ready to receive connections from my VMware Server. Please see the second article in this series to see how to configure your VMware ESX Server to connect to this new iSCSI SAN using the free Openfiler!

Summary

In order to use many of the VMware ESX Server advanced features, you need a SAN. Openfiler provides that SAN at NO cost as it is free and can run inside VMware Workstation or VMware Server. In this article, we take a look at how you can download a OpenFiler and configure it to be a free open-source iSCSI SAN server. Please take a look at our next article in this series, How to Connect VMware ESX Server to a free iSCSI SAN using Openfiler.

Related Topics:

BECOME A PETRI MEMBER:

Don't have a login but want to join the conversation? Sign up for a Petri Account

Register
Comments (16)

16 responses to “Use OpenFiler as your Free VMware ESX SAN Server”

  1. Come Configurare OpenFiler | Network Lab

    [...] https://petri.com/use-openfiler-as-free-vmware-esx-san-server.htm [...]
  2. MMJP » Free iSCSI SAN for VMware ESX

    [...] https://petri.com/use-openfiler-as-free-vmware-esx-san-server.htm [...]
  3. Openfiler – first impressions « Chop Shop

    [...] https://petri.com/use-openfiler-as-free-vmware-esx-san-server.htm [...]
  4. Openfiler, Free and Opensource - The Real (and Virtual) Adventures of Nathan the IT Guy

    [...] Box. Worked like a charm. Since I had never used this product before, I used this Petri Article, “Use OpenFiler as your Free VMware ESX SAN Server”. Read through it all, its a 2 part [...]
  5. Options for creating a software-based Windows iSCSI Server - Persian Networks

    [...] appliance. In fact, I enjoyed using OpenFiler so much I created the following article on how to Use OpenFiler as your Free VMware ESX SAN Server. Figure 1: OpenFiler FreeNAS - like Open Filer, FreeNAS is an opensource iSCSI SAN. Honestly, I [...]
  6. How to Use OpenFiler to Link VMware ESX Server to a Free iSCSI SAN

    [...] https://petri.com/connect-vmware-esx-server-iscsi-san-openfiler.htm Many of the VMware ESX Server advanced features cannot be used without a SAN (storage area network). Besides the high cost of the ESX Server software and the Virtual Infrastructure Suite, a SAN can be a huge barrier to using VMware ESX and features like VMotion, VMware High Availability (VMHA), and VMware Distributed Resource Scheduler (DRS). In this article, we take a look at how you can download a free open-source iSCSI server and use it as your SAN storage for VMware ESX and its advanced features. Steps to Connect VMware ESX to an iSCSI Server (OpenFiler) While these are the basic steps to connecting any VMware ESX Server to an iSCSI SAN, in my case, I am running VMware ESX Server 3i Beta inside a VMware Workstation VM. Step 1 - Licensing First, make sure that your server is licensed to use iSCSI. You can do this inside the Configuration tab for the server and then check under Licensed Features. Step 2 - Add the Networking Adaptor Next, add the VMKernel Port under the Networking configuration option. The VMKernel port is required to use iSCSI. Check the properties of that port and ensure that iSCSI Enabled is checked Step 3 - Open a port on your Firewall for iSCSI If you are using VMware ESX 3i, like I am, then you can skip this step. However, on VMware ESX 3.0.x systems, you need to open a port in your security profile (your firewall) for iSCSI to function. To do this, go to the Configuration tab, then to Security Profile and click Properties. Check the port for the iSCSI Initator. Step 4 - Configure your Storage Adaptors Go to the Configuration tab, then to Storage Adaptors. Your adaptor may be called vmhba40 or, in my case, it is called the iSCSI Software Adaptor. Select that adaptor, then click Properties. Click on the Configure button, then check Enable, then click OK, then Close. Your adaptor will be modified and you should see Completed in your Recent Tasks, when done. Now, go back into the Properties for the adaptor and click on the Dynamic Discovery tab. Choose to Add, and new Target. Enter the IP address of the OpenFiler iSCSI server and click OK. Your adaptor will be modified and you should see Completed in your Recent Tasks, when done. Now, click Rescan, and rescan for new Targets. When done, you should see that your iSCSI adaptor now has 1 Target (the OpenFiler server), like this: Step 5 - Verify that you have access to the new iSCSI Storage array To verify that you can use the new iSCSI SAN volume, you should add a VMFS volume on it by going to the storage section, then clicking Add Storage. Here is what the 100GB array will look like with a VMFS volume on it: Please Note, if you find this interesting & useful, I recommend the VMware ESX Video series where I go through this process with you in video format, step by step. Summary The ability to have your Windows Server and VMware Servers access SAN storage opens up many possibilities. Given that you have a fast & reliable network, using iSCSI is an excellent option. When compared to Fibre Channel (FC), the cost of iSCSI will always be "right". Plus, by using an iSCSI SAN with VMware ESX, you can gain the benefits not only of centralized storage but also for the advanced features of VMware ESX Server. Related Articles Use OpenFiler as your Free VMware ESX SAN Server [...]
  7. storage in Esx 4

    [...] (ISCASI میتوان استفاده کرد Article مربوطه لینک از سایت petri Use OpenFiler as your Free VMware ESX SAN Server MCSE 2003 Messaging MCITP Enterprise Administrator VCP پاسخ با نقل [...]
  8. Open SAN stuff « blog

    [...] Open SAN stuff Posted: August 8, 2010 by nickston3 in Linux, VMWare 0 Read This —> https://petri.com/use-openfiler-as-free-vmware-esx-san-server.htm [...]
  9. My Home VMware Lab | vHersey

    [...] up and configure. There are several excellent articles on setting up Openfiler as an iSCSI target. Here is one and here is another one. To configure Openfiler for NFS check this article or this [...]
  10. 6 Free San Sites | Real Estate – get edge

    [...] Use OpenFiler as your Free VMware ESX SAN ServerJan 8, 2009 Many of the VMware ESX Server advanced features cannot be used without a SAN (storage area [...]
  11. Free san | Yirlloww

    [...] Use OpenFiler as your Free VMware ESX SAN ServerJan 8, 2009 … Many of the VMware ESX Server advanced features cannot be used without a SAN (storage area network). Besides the high cost of the ESX … [...]
  12. Openfiler configuration | Bexita

    [...] Use OpenFiler as your Free VMware ESX SAN ServerJan 8, 2009 … How do I configure OpenFiler as an iSCSI Target? Here are the steps you need to perform to configure OpenFiler as your iSCSI Target: … You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed. « Mincemeat ingredients [...]
  13. VMWARE | Pearltrees

    [...] Use OpenFiler as your Free VMware ESX SAN Server by David Davis - January 8, 2009 Many of the VMware ESX Server advanced features cannot be used without a SAN (storage area network). Besides the high cost of the ESX Server software and the Virtual Infrastructure Suite, a SAN can be a huge barrier to using VMware ESX and features like VMotion, VMware High Availability (VMHA), and VMware Distributed Resource Scheduler (DRS). vReference [...]
  14. OpenFiler | Pearltrees

    [...] Use OpenFiler as your Free VMware ESX SAN Server [...]

Leave a Reply

Register for Advanced Microsoft 365 Day!

GET-IT: Advanced Microsoft 365 1-Day Virtual Conference - Live August 24th!

Join us on Tuesday, August 24th and hear from Microsoft MVPs and industry experts about how to take advantage of Microsoft 365 at a technical level and dive deep into the features and functionality that will make your environment more secure and compliant.

RSVP Now

Sponsored By