Openfiler and VMWare ESXi

Openfiler is a free open source storage package.  It is available in several formats, including a pre-built VMWare image.  The environment used for this testing was VMWare Workstation version 7.1.3, with the free ESXi hypervisor within one VM and the Openfiler appliance in another. 

Before launching the Openfiler VM, a second SCSI virtual hard drive was created.

openfiler_3

Once launched, the main page will display the IP address and URL to use to access the web interface.

openfiler_1

The default user name is openfiler and the default password is password.

openfiler_2 

Once logged into the web interface, click on the Volumes main menu option and add a new physical volume.

openfiler_4

Click on the second virtual hard drive that was created.

openfiler_5

Slide down the page and create a new partition.  Leave the defaults in place.

openfiler_6

Once the partition has been created, click on the Manage Volumes link.

openfiler_7

Enter a name for the new volume group, select the hard drive partition, and click the Add Volume Group button.

openfiler_8

Click on the Add Volume link.

openfiler_9

Slide down the page to the create volume section.  Enter a name, description, increase the size to the maximum value, and click on the Create button.

openfiler_10 

Click on the System main menu option.  Slide down to the Network Access Configuration section.  Enter a name, IP address, subnet mask, and click the Update button.  In testing, it was determined that the subnet mask should be 255.255.255.255.

openfiler_11

Click on the Services main menu option and enable the ISCSI target component. 

openfiler_12

Click on the Volumes main menu option and click on the ISCSI Targets link.

openfiler_13

Click on the Add button.

openfiler_14

Click on the Network ACL submenu.  Change the access drop-down dialog box to Allow and click on the Update button.

openfiler_15

Click on the LUN Mapping submenu.  Click on the Map button.

openfiler_16

Click on the CHAP Authentication submenu.  Enter an user name, password, and then click on the Add button.

openfiler_17 

Launch the free VMWare ESXi server and load the vSphere client.  Under the Configuration tab, click on Storage Adapters, the ISCSI adapter, and then on the Properties link.

openfiler_18

Click on the Configure button.

openfiler_19

Click on the Enabled checkbox, and then click on the OK button.

openfiler_20

Click on the Dynamic Discovery tab and click on the Add button.

openfiler_21

Enter the IP address of the Openfiler VM and then click on the CHAP button.

openfiler_22

Enter the user name and password that was configured for CHAP within the Openfiler service.

openfiler_23

After clicking OK twice, the entry should now appear.

openfiler_24

After clicking OK, a dialog box may appear asking to rescan; click Yes.

openfiler_25

When accessing the ISCSI adapter, the Openfiler entry should be present.

openfiler_26

Click on Storage, and then on the Add Storage link.

openfiler_27

Select the Disk/LUN option and click on the Next button.

openfiler_28

The LUN created within the Openfiler service should be present as an option to use.  Select the entry and click the Next button.

openfiler_29

Click the Next button.

openfiler_30

Enter a name and click the Next button.

openfiler_31

Leave the defaults and click the Next button.

openfiler_32

Click the Finish button.

openfiler_33

The Openfiler LUN should now appear under the Datastores list.

openfiler_34