HowTo deploy and configure OpenFiler VSA

Shares

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
    [[email protected] ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth1
    DEVICE=eth1
    MTU=1500
    USERCTL=no
    ONBOOT=yes
    BOOTPROTO=static
    IPADDR=192.168.137.30
    NETMASK=255.255.255.0
    [[email protected] ~]#
    •  configure gateway and hostname, edit /etc/sysconfig/network
    [[email protected] ~]# cat /etc/sysconfig/network
    #Installed by rBuilder
    NETWORKING=yes
    HOSTNAME=san01.lab.local
    GATEWAY=192.168.137.254

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]

0 0 votes
Article Rating

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 holds VMware Certified Design Expert certification (VCDX #077).

Subscribe
Notify of
guest
3 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Ariel Antigua

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?

Ramana

Thanks Artur. u r always helpfull 🙂

3
0
Would love your thoughts, please comment.x
()
x

FOR FREE. Download Nutanix port diagrams

Join our mailing list to receive an email with instructions on how to download 19 port diagrams in MS Visio format.

NOTE: if you do not get an email within 1h, check your SPAM filters

You have Successfully Subscribed!

Don't miss any posts. Subscribe To Our Newsletter!!

Join our mailing list to receive the latest news and updates from www.vmwaremine.com.

You have Successfully Subscribed!

Pin It on Pinterest