Installation Openfiler 2.99 and configuring NFS share


Installation and configuration Openfiler 2.99 as a shared storage for VMware vSphere Lab.

Today’s article I’ll show you the Installation and configuration of the latest Openfiler. In fact, few days ago, a new build – 2.99 has been released. This is after very long period where no updates to Openfiler were made.

I did again choose NFS as an access protocol, since in my earlier post with FreeNAS I also used NFS. I found it easier (in FreeNAS) to configure NFS than iSCSI.. .-:) And also way in the past I have done already the iSCSI configuration with Openfiler in my article here – How to configure OpenFiler iSCSI Storage for use with VMware ESX (27.March 2009 !).

So with that said, let start the configuration process. At first again configured my home made NAS box to boot from CD/DVD rom drive and boot on the installation CD which I already burned from an ISO image I downloaded earlier from the Openfiler’s website here.

The installation process isn’t difficult to follow as you can choose the graphic or text only installation. During the installation process you choose your default language, location, DHCP (if you’re having a DHCP server or router) or fill in a static IP address, and you can choose the installation disk.

In my case I wanted too to install the Openfiler distro to my USB thumb, but unfortunately there was not enough space on that 2 Gigs USB stick and I haven’t got any other with larger capacity. So that’s why I put in my Kingston 64Gb SSD drive and I chosed this drive as an installation drive, with automatic partitioning scheme.

Here are some screenshots from the installation process (shooted from within VMware Workstation ….)

 

Installation of Openfiler 2.99 for my VMware vSphere Lab Installation of Openfiler 2.99 for my VMware vSphere Lab Installation of Openfiler 2.99 for my VMware vSphere Lab
Installation of Openfiler 2.99 for my VMware vSphere Lab Installation of Openfiler 2.99 for my VMware vSphere Lab Installation of Openfiler 2.99 for my VMware vSphere Lab
Installation of Openfiler 2.99 for my VMware vSphere Lab Installation of Openfiler 2.99 for my VMware vSphere Lab Installation of Openfiler 2.99 for my VMware vSphere Lab

As you can see, the installation graphics got some face lift… -:)

Now, when the installation is done, to be able to connect via your Web browser through GUI you must use different login/password combination than you filled in during the installation process. The default login/password combinations are:

Management Interface: https://<ip of openfiler host>:446

Administrator Username: openfiler

Administrator Password: password

Ti means that only through the console you’ll use your root password which you did setup during the installation steps.

Now when the system is up and running you must configure the RAID 5 and format a volume.

To achieve that you should follow those steps:

01. At first you should go to the volumes > block devices management (on the right). This should show you an image like this. In the image below I already repeated this for my first 2 disks of my future RAID 5 array.

When clicking on the disk as showed on the top image, you should obtain a screen like the one below, where you can add the disk to the RAID 5 array.

02. After adding all of those disks as a members of the RAID 5 array, you can go further, click on Volumes > volumes groups

and add a new volume group.

 

03. Once the volume group created, you can go and create the array. Go to Volume > Software Raid, and click on the link “create new raid partition”

You should obtain a screen like the one bellow.. where you can easily choose your disks participating in the RAID 5 and create an array. In my case I choose to select all four 1 Tb SATA drives which I had in my system.

 

And finally you should obtain a screen like the one below. You can see that the array is in degraded state and the synchro did not started yet. But don’t worry, it’ll start automatically…..

04. Next thing is to format this array. For this go to the menu Shares > and click on the link “create new file system volume“.

You have a quite a few options there, I took the default one… XFS. But it does not mean that you can’t choose EXT 3 or EXT 4… -:)

05. When done, go to the Services and enable the NFS Server and start the service.

06. What you must do next is go to the system menu and enable access to this share from specified host or network. Go to System > Network Setup > and add the network (or single host) which will access this share. In my lab case I’ll have 2 host accessing this share from the same network as the Openfiller runs on.

Now when you come back to shares, you’ll see that there is the volume myshare we created. But it’s not the actual NFS share we are going to create right now !

You’ll obtain a screen like this, where you can actually Make share by clicking the button and going deep in the properties for this share…. Follow this on the screen below:

How to connect Openfiler to ESXi with NFS share

And as you can see, while there you can define the properties for the share.  You can choose to:

Edit the share data to suit your needs and select the Access Control Mode. There are two modes are available there:

  • Public guest access – With no user based authentication.
  • Controlled access – With authentication defined in the Accounts section.

For my lab test I’ll use Public Guest Access….

Create NFS Share in Openfiler 2.99 and access with VMware ESX

When you update the screen, you will see a change at the bottom where you can also change the NFS share to became Read/write for your host.

How to connect Openfiler for NFS access to ESXi host

And the last step is to add this share in your ESXi 4.1 (that’s my case)….

Select your ESX(i) host and go to Configuration TAB > Storage.

How to connect Openfiler to ESXi with NFS share

How to connect Openfiler to ESXi with NFS share

Update: Here are some performance tests with such a setup. I really like Openfiler because it seems to be a robust distribution with some great features, but the performances are not as I might expected…

The IOMeter test took a really long time. I followed the same setup as I did for testing the FreeNAS 7.2.

See the results from the tests here. I’d say that there was something wrong, but I did the test twice with similar results..  -:(

Stay tuned via RSS or you can also subscribe via e-mail for Weekly updates.

You can have a look at the whole project:

The whole project:

 

 

 

 

 

Vladan SEGET

Vladan is an Independent consultant, vExpert, VCP and owner of this website. This website ESX Virtualization started as a bookmarking site, but very fast found itself many readers and supporters. Feel free to network via Twitter @vladan

More Posts - Website - Twitter - Facebook - LinkedIn - Google Plus

You may also like:

  1. How-to connect ESX4, vSphere to Openfiler iSCSI NAS
  2. How to configure OpenFiler iSCSI Storage for use with VMware ESX.
  3. How-to Mount Windows Share to the ESX Service Console
  4. Video of how-to create a NFS share on 2003 server R2
  5. Use NIC teaming feature to share load and get passive failover
  6. Installation ESX Server inside of VMWare Workstation 6.5
  7. P2V ramblings with OEM server installation
  • http://deinoscloud.wordpress.com PiroNet

    Great post. Looking forward to reading your benchmark test results.
    The test results with the FreeNAS were a bit disappointing in my opinion…

  • http://www.vladan.fr Vladan SEGET

    That’s why I’m trying other solutions. Did you try Ubuntu server with mdadm? It seems that the writing speeds are more than double…. but, everything has it’s time…. -:)

    Cheers
    Vladan

    • http://deinoscloud.wordpress.com PiroNet

      I did not try Ubuntu but my QNAP devices use MDADM. 4x1TB disks in RAID5 you should have write perf between 55 to 75MB/sec.
      Cheers

  • Marcb

    I’ve been running Openfiler 2.3 for a few years now and like it very much. I’ve gone the iSCSI route with a dedicated 1Gb link between my esxi server and Openfiler.

    Never did any benchmarks with the config i have so i’m curious as well what the difference between NFS and iSCSI connection would be.

    Nice post

  • http://www.everything-virtual.com EV_Simon

    Vladan,

    I will power up my Openfiler 2.99 machine tonight and run the same tests as you and publish them over on my site in the next day or so because I certainly didn’t see such a drop in performance doing the testing I did.

    I will only run the 4k tests but run them twice to get the average score from both runs.

  • http://www.vladan.fr Vladan

    Simon,

    good Idea. I forgot to mention that I used the fix to the mdadm in openfiler you announced in this article on your blog: http://www.everything-virtual.com/?p=349

    Cheers,
    Vladan

  • Pingback: Everything Virtual » Blog Archive » Additional testing for Vladan

  • http://www.everything-virtual.com EV_Simon

    Vladan, additional testing carried out. http://www.everything-virtual.com/?p=378

    • http://www.everything-virtual.com EV_Simon

      Now testing Open-E DSS v6 using the same script as before, will do additional testing using the suggestion from Didier over on my site (as well as IOzone).

    • http://www.everything-virtual.com EV_Simon

      Vladan, DSS v6 testing carried out, this has been done using the original test script you used, I am currently re-testing using 32 outstanding IO’s.
      Testing with IOzone to occur over the weekend but DSS definitely shows ALOT more performance gains over Openfiler.

      • http://www.vladan.fr Vladan SEGET

        Simon,

        you’re a way ahead of me… -:).. Great to team with you to see the best we can get from home made NAS box. Find the best perf. platform for shared storage for VMware vSphere

  • http://www.everything-virtual.com EV_Simon

    Vladan, I have now carried out testing using Didiers original IOmeter script but using 32 outstanding IOs instead of the default 1, results over on my site. To make things comprehensive I will also re-run the Openfiler test using the same settings but what we can definitely see from the runs using a single outstanding IO is that DSS far outperforms Openfiler and if you’re using NFS as your storage solution then DSS is definitely the way to go.

  • venkat

    Thnks for the great post

    Vladan I tried the setup in the sameway ……everything went fine till end…….but at last when i added nfs share in ESX i am receiving the error message as
    “Call “HostDatastoreSystem.CreateNasDatastore” for object “datastoreSystem-10″ on vCenter Server “vc.lab.dom” failed.
    Operation failed, diagnostics report: Unable to complete Sysinfo operation. Please see the VMkernel log file for more details.” Kindly help me on this…

  • former vmware employee

    Its not supported. Sure, OpenFiler will work (until it breaks). Then you gotta reboot everything (esx, then openfiler, then bring esx back online).

    It doesnt handle SCSI reservations properly and if you have more then 1 esx host connected, you might find your storage disappearing or locking up due to this issue.

    There are lots of unsupported alternatives but stay clear from openfiler unless you dont care about hard stopping VMs.

    The only vmware-supported (free) NFS solution for ESX4.x is Fedora Core (if memory serves me correct, i think version 8)

  • http://realworlducs.com/ Craig

    Has anyone gotten FC working? This is my status on that project http://realworlducs.com/?p=84

    Craig