ESX Virtualization

VMware ESXi, vSphere, VMware Backup, Hyper-V... how-to, videos....

Nakivo Backup and Replication - #1 Backup solution for Virtual, physical, cloud, NAS and SaaS

Menu
  • Certification
      • VCP-DCV vSphere 8
          • vcp2024-125.
        • Close
    • Close
  • VMware
    • Configuration Maximums
    • vSphere
      • VVF 9 and VCF 9
      • vSphere 8.0
      • vSphere 7.0
      • vSphere 6.7
      • vSphere 6.5
      • vSphere 6.0
      • Close
    • VMworld
      • VMware EXPLORE 2024
      • VMware EXPLORE 2023
      • VMware EXPLORE 2022
      • VMworld 2019
      • VMworld 2018
      • VMworld 2017
      • VMworld 2016
      • VMworld 2015
      • VMworld 2014
      • VMworld 2013
      • VMworld 2012
      • VMworld 2011
      • Close
    • Close
  • Microsoft
    • Windows Server 2012
    • Windows Server 2016
    • Windows Server 2019
    • Windows Server 2025
    • Close
  • Categories
    • Tips – VMware, Microsoft and General IT tips and definitions, What is this?, How this works?
    • Server Virtualization – VMware ESXi, ESXi Free Hypervizor, VMware vSphere Server Virtualization, VMware Cloud and Datacenter Virtualization
    • Backup – Virtualization Backup Solutions, VMware vSphere Backup and ESXi backup solutions.
    • Desktop Virtualization – Desktop Virtualization, VMware Workstation, VMware Fusion, VMware Horizon View, tips and tutorials
    • How To – ESXi Tutorials, IT and virtualization tutorials, VMware ESXi 4.x, ESXi 5.x and VMware vSphere. VMware Workstation and other IT tutorials.
    • Free – Free virtualization utilities, ESXi Free, Monitoring and free backup utilities for ESXi and Hyper-V. Free IT tools.
    • Videos – VMware Virtualization Videos, VMware ESXi Videos, ESXi 4.x, ESXi 5.x tips and videos.
    • Home Lab
    • Reviews – Virtualization Software and reviews, Disaster and backup recovery software reviews. Virtual infrastructure monitoring software review.
    • Close
  • Partners
    • NAKIVO
    • StarWind
    • Zerto
    • Xorux
    • Close
  • This Web
    • News
    • ESXi Lab
    • About
    • Advertise
    • Archives
    • Disclaimer
    • PDFs and Books
    • Close
  • Free
  • Privacy policy

How to configure OpenFiler iSCSI Storage for use with VMware ESX.

By Vladan SEGET | Last Updated: October 15, 2017

Shares

I wanted to test an Openfiler as a solution for HA and vMotion with ESX Server and vCenter. Using Openfiler is a great way to save some money on expensive SANs and for home lab testing and learning, this choice is just great.

I did not have 3 physical boxes (2 for ESX hosts and one for Openfiler) so I opted for a hybrid solution, where I’m actually running one ESX server inside of VMware workstation. Just temporarily, until I build my own lab.

OpenFiler iSCSI Storage

See the schema below. I was trying to do a step-by-step guide on how-to configure and run a successful iSCSI connection with ESX Server.

labo-iscsi-vladan

  • There is box 1: In this box I will run ESX Server. It's a hardware compatible PC with Inte VT compatible Core 2 duo processor and local SATA drive. One NIC network card. 1 Gigabyte of RAM
  • And box 2: Where I will run 2008 Server x64 with 8gigs of RAM and where I run VMware Workstation. Inside of WMware Workstation I will run Openfiler and a Second ESX server. Also there is a VM running 2003 DC as a DNS server. Like this I'll ‘save' on one more physical box on which I would otherwise installed the second ESX Server. I've posted an article before which was based on a whitepaper from Xtravirt.com, about how-to run ESX Server on VMware Workstation., which is explaining what to do and how to create the ESX VM.

For an Openfiler I'll be using VMware Virtual Appliance that you can download here (x86 VMware Virtual appliance). If you want another version (like x64) or ISO image just go to this url and choose the version you need. I'll be using VMware Workstation to actually run the Openfiler Virtual Machine. I know the performances will not be excellent but to test all this stuff it'll be just fine.

There is some good documentation about the actual architecture of Openfiler you can have look here.

1.Add Second virtual hard disk to your VM

Before you first start your Openfiler VM, add a second virtual hard disk (as an SCSI hard disk). Like this Openfiler will detect this disk at startup and then you'll be able to use this disk for your data.

vmware-workstation-add-hard-disk

2. Start Openfiler VM

Then log In remotely via web browser to the ip address which was assigned via DHCP. You will see an image like this. Login with a “Openfiler” as a login and with “password” as a password.

openfiler-vm

openfiler2

3. Then you need to configure Openfiler as a iSCSI target. What's this? Basicaly that Openfiler will be acting as a server.

  • First create physical volume. Go to Volumes and click on the link (see image below).

create-physical-volume-openfiler

  • Then create a partition on this volume. Clic on /dev/sdb

create-partition-openfiler

You will get onto a page which looks like this one… Click on the button Create. (if you are curious you can click to see on the drop down box…)

create-partition-openfiler2

  • Then Create a Volume Group. Give it some name and click the button Add Volume Group

ad-volume-group1

  • Then add a volume at Volumes, then Add Volume.

ad-volume-openfiler2

You will then be directed to the page where you can fill the name for your iSCSI volume and also Description. You then must pull the button indicated with the slider bar to the right to specify how big the volume should be. Don't forgot to use the drop down box to select iSCSI as a type of volume.

add-volume-openfiler-name

4. Go to General Tab and edit the properties of the volume.

Just go to general tab and click on Network Setup. Now, fill in the IP adress of Openfiler VM, set the subnet mask, select Share, and then click on the button Update.

network-share1

5. Go and enable the iSCSI target

To be able to do that you must go to Services and click on a link to enable the iSCSI target.

iscsi-enable

That's about it.  Next you need to configure vSphere to see the Openfiler NAS and to use this shared storage for your VMotion or High availability tests. You can find follow-up article here – How-to connect ESXi, vSphere to Openfiler iSCSI NAS.

Shares
5/5 - (1 vote)

| Filed Under: Server Virtualization Tagged With: ESXi, HA, iSCSI NAS Storage, iSCSI Openfiler, Openfiler, Server Virtualization, VMotion

About Vladan SEGET

This website is maintained by Vladan SEGET. Vladan is as an Independent consultant, professional blogger, vExpert x16, Veeam Vanguard x9, VCAP-DCA/DCD, ESX Virtualization site has started as a simple bookmarking site, but quickly found a large following of readers and subscribers.

Connect on: Facebook. Feel free to network via Twitter @vladan.

Comments

  1. Vladan SEGET says

    April 9, 2009 at 2:07 pm

    I had an issue with this post. The side bar was not working in IE. THen after few days I found a solution.

    http://www.vladan.fr/the-sidebar-is-not-showing-in-ie/

  2. Lee says

    May 30, 2009 at 10:41 pm

    I don’t see anything after ‘Volume Group’ above. You mention a slider bar, don’t see it in IE or Firefox

  3. Vladan SEGET says

    June 7, 2009 at 3:27 am

    Again I’m having an issue with this post. The think is that this post is a HUGE post. I’m thinking about to converting this to PDF or I’ll make it as a WordPress page…. It’s just cut off…. I’ll try to restore.
    Stay Tuned… -:)

  4. Vladan SEGET says

    June 7, 2009 at 5:57 am

    For Now I recovered the 1st part of the article…. (With the Autosave feature of the WordPress Blog…)

  5. Irfan Alam says

    June 23, 2009 at 11:23 pm

    Hi!
    i have done successfully:)
    if any one wants to know about how to configure open filer then mail me at [email protected]

    • Vladan SEGET says

      June 24, 2009 at 2:31 am

      Ifran,

      great news… -:). That’s for the how-to is for…. have a nice day.

  6. sk55 says

    August 15, 2009 at 12:42 pm

    hi,

    what kind of performance are you getting from openfiler?

    i have it running on esx as a guest.
    testing via ftp
    good upload speed 260mbit/sec
    slow download speed 86mbit/sec

    any ideas?

    • Vladan SEGET says

      August 15, 2009 at 1:45 pm

      I just finished adding a second hard drive 500 Gb. I did not really eval, yet. I’m gonna have look. Now I have a physical box for my Openfiler, with 3 drives, no RAID.. To maximize capacity..

  7. Vladan says

    November 5, 2009 at 2:19 am

    it's a drop-down menu. I don't think that you have another choice there… -:)

  8. neokanobi says

    November 28, 2009 at 11:53 am

    Hello

    I liked your 2 articles. One of the bests that I found so far. I have one question and hopefully you will be able to share some light. During the Open Filer configuration (in my case my OF is a VM) for example sake I selected 192.168.1.60 with a subnet mask 255.255.255.0 all my other VMs ( 2 ESX 3.5) are also on the same IP address range and same subnetmask . (I can ping them with no problem) . QUESTION: in your instructions for NETWORK ACCESS CONFIGURATION on OF you added another IP Address and the subnetmask was 255.255.255.255 (can I use the same IP address and subnet as my OF box or it has to be a totally diferent one ?

    Now in your VMware storage config instructions when you build your VMKERNEL in your instructions you select a FREE IP address ?( shouldn't you use the same IP for OF?) another thing that I noticed is that your subnet mask for the VMKERNEL is now 255.255.255.0 and not 255.255.255.255.

    I think in these 2 steps when I try to config my OF and after my VMKernel I'm getting confused. When I scan my ISCSI it does not show anything.
    🙁

    Thanks for any assistance on this

    Neo

    • Vladan says

      November 29, 2009 at 9:08 am

      Hi,
      I beleive that for the Network aces configuration I only filled in the Network adress. (from which network you'll access the target…)

      You should use different IP adress in the same range. If not you'll get a IP adress conflict….

      Hope this helps.
      Vladan

      • neokanobi says

        November 29, 2009 at 12:57 pm

        Thanks Vladan

        Neo

  9. kiran solanki says

    November 29, 2009 at 8:53 am

    Brilliant setup guide. I would not have been able to set this up at this pace without your guide.
    Thank You.

  10. Santosh Bhandarkar says

    April 21, 2010 at 2:42 am

    Thanks a loy Vladan.

    Great article. I had issues configuring Opefiler however using this article I could successfully configure iscsi share.

  11. Pal says

    May 27, 2010 at 6:26 pm

    Hello,
    I have a question,
    If i have 2 networked ESX hosts (ESX1 and ESX2) and i have Openfiler installed as a VM on ESX1, can the iSCSI volume be seen by ESX2 aswell if i tired to add it?
    Also if i have a local hard disk on ESX2 can that space be allocated to Openfiler which is a VM on ESX1?

    • Vladan SEGET says

      May 28, 2010 at 12:32 am

      Hi Pal,

      Sure think, the iSCSI volume can be seen by 2 or more ESX hosts… -:) As for the second part you would have to format as a local datastore for your ESX2 and then in your Openfiler VM you ADD a New Disk which will be located on that datastore you just created.

      Hope it helps you..
      Vladan

      • Pal says

        May 29, 2010 at 8:54 am

        Thanks for the quick reply Vladan.

        I’ve just made a purchase of 2 HP ML115 and a Cisco SLM2008 switch for a home lab setup.

        I’m still drawing up a plan on how i will share the storage between the two hosts and my above post was my initial idea.

  12. Vaios says

    August 24, 2010 at 4:32 pm

    i have done everything as u say bur when o rescan storage adapters it does not show me the iqn of openfiler (despite the fact that i see it in the properties of iscsi software adapter). I also see the vmware machine in iscsi targets).

  13. Luis says

    December 13, 2019 at 3:04 pm

    Hi!
    Is possible to configure Openfiler iSCSI in a vmware workstation and other two workstations with CentOS to make a cluster with pacemaker?
    I don’t have access to vsphere and I would like to make a little lab for my home with these specs.

    Thanks and sorry for my English!

    • Vladan SEGET says

      December 13, 2019 at 3:25 pm

      Why not? Desktop virtualization software VMware Workstation is not a bare metal hypervisor, but for a lab it’s just perfect.

Private Sponsors

Featured

  • Thinking about HCI? G2, an independent tech solutions peer review platform, has published its Winter 2023 Reports on Hyperconverged Infrastructure (HCI) Solutions.
  • Zerto: One Platform for Disaster Recovery, Backup & Cloud Mobility: Try FREE Hands-On Labs Today!
Click to Become a Sponsor

Most Recent

  • Backup solution that supports 15+ Hypervisors – Vinchin Backup and Recovery
  • Why NordVPN is Your Must-Have for Business Security and Personal Freedom
  • Agentless Backup Solutions for XCP-ng Hypervisor: External Vendor Options
  • Vinchin Earns Acclaimed Recognition in Gartner Peer Insights 2025 Report
  • VMware vSphere 9 Standard and Enterprise Plus – Not Anymore?
  • Free Virtual Backup Appliance from StarWind – With Community Support (example configuration for ESXi and Veeam Backup)
  • VMware vSphere Foundation (VVF 9) and VMware Cloud Foundation (VCF 9) Has been Released
  • Veeam Backup & Replication 12.3.2 – patch critical vulnerabilities for your dataprotection environments
  • Veeam confirming vSphere 9.0 and ESXi 9 upcoming support
  • Veeam Backup & Replication v13 Beta: A Game-Changer with Linux

Get new posts by email:

 

 

 

 

Support us on Ko-Fi

 

 

Buy Me a Coffee at ko-fi.com

Sponsors

Free Trials

  • DC Scope for VMware vSphere – optimization, capacity planning, and cost management. Download FREE Trial Here.
  • Augmented Inline Deduplication, Altaro VM Backup v9 For #VMware and #Hyper-V – Grab your copy now download TRIAL.

VMware Engineer Jobs

VMware Engineer Jobs

YouTube

…

Find us on Facebook

ESX Virtualization

…

Copyright © 2025 ·Dynamik-Gen · Genesis Framework · Log in