HowTo deploy and configure OpenFiler VSA

I had to rebuild my homelab storage “infrastructure” and this is a good opportunity to create quick how deploy and configure OpenFiler virtual appliance. OpenFiler is a OpenSource storage appliance (iSCSI and NFS) which is very easy to set up and fit perfectly into home or test labs. It emulates NFS v3 protocol and iSCSI protocol, as you know both are supported by VMware vSphere.

  • Download from https://www.openfiler.com/community/download
  • unpack it – use 7zip under Windows or tar under Linux
  • Use VMware converter and import appliance into ESXi host or simply copy appliance files on VMFS and add VM to vSphere inventory
  • Add virtual disk for data to virtual machine
  • Start VM, if you have DHCP – get IP from virtual machine console if not set up IP manually
VA console

VA console

  • if you dont have DHCP then configure IP address manualy on appliance
    • login as a root without password (default settings) edit networking configuration file /etc/sysconfig/network-scripts/ifcfg-eth0 and provide IP details, below sample from my appliance

    •  configure gateway and hostname, edit /etc/sysconfig/network

OpenFiler virtual applaince managemnt interface is a web-based

  • Use web browser and go to https://<appliance IP address>:446/
  • OpenFiler web admin, default credentials are
    • openfiler
    • password
  • If you have DHCP first you have to do is set up a static IP address, click on System and configure IP address, hostname, net mask etc.
  • From a main panel click on Volumes –> Create a new physical volumes
  • Choose the right  disk and click device name in a EDIT column
create volume groups

create volume groups

  • Create new partition
  • Click on Volume and create new Volume Group
  • click on Services and enable iSCSI target server service
  • Click on Shares and create new filesystem volume – in my scenario I choose iSCSI
create iSCSI filesystem

create iSCSI filesystem

  • Provide name, size, description  etc
  • From a right top window choose iSCSI targets and add new target – do not change default advance settings
  • Click on LUN mapping and map iSCSI target
  • DONE

iSCSI target has been configured on OpenFiler Virtual Appliance.  Mount iSCSI LUN on ESXi hosts, create datastore and shared storage for your homelab is fully operational.

[box type=”info”]

 

  • Upgrade OpenFiler from 2.3 to Openfiler version 2.99.2

 

[/box]

Artur Krzywdzinski

Artur is Consulting Architect at Nutanix. He has been using, designing and deploying VMware based solutions since 2005 and Microsoft since 2012. He specialize in designing and implementing private and hybrid cloud solution based on VMware and Microsoft software stacks, datacenter migrations and transformation, disaster avoidance. Artur has been in IT industry since 1999 and consulting since 2008. Artur holds VMware Certified Design Expert certification (VCDX #077).

  • Today I rebuild my “storage” too, just moving from physical box to a VM in the same box (with some memory upgrades).
    I notice that you used version 2.3, why not 2.99?

    • artur_ka

      Hi Ariel, I know is pretty old version, I use it because it is available in virtual appliance. Maybe I will post how to do upgrade.

  • Ramana

    Thanks Artur. u r always helpfull 🙂