Part 9 – VMware vSphere 8 Nested Home Lab – Configuring The Openfiler Storage For iSCSI

In this ninth part of the series we will configure the Openfiler storage to allow access to storage using iSCSI protocol. Kindly follow part 8 for configuring the Openfiler storage for NFS. We have added two 200 GB virtual disks in the last part to our Openfiler virtual machine and we will be configuring those for iSCSI use in this article.

Open the web browser and in the address bar http://10.100.1.22:446/
Enter the default Opefiler credentials as below and click Login.
Username: openfiler
Password: password

Click on Services Tab.

For the iSCSI Target service, Click on Enable and then on Start.

The status of the iSCSI Target service should change as shown in the screenshot below.

Next we will create volumes for use with iSCSI. Click on Volumes tab and click on Block devices.

We will be using two 200 GB disks (/dev/sdc and /dev/sdd) for configuring iSCSI volumes. Click on the link /dev/sdc.

Scroll down to Create a partition in /dev/sdc section and click Create.

You should see the partition created as /dev/sdc1.

Click on Volume Groups. Type the volume group name as iscsi01, select the checkbox against /dev/sdc1 and click on Add volume group.

The iscsi01 volume group will be created as shown below.

Next click on Add volumes.

On Select Volume Group section select iscsi01 from the drop down menu and click Change.

Scroll down to the section Create a volume in “iscsi01”. Enter the volume name as iscsi01, enter the volume description as you please, drag the horizontal scroll bar button all the way to the right to use all the space available, for the filesystem select block (iSCSI,FC,etc) from the drop down menu and click on Create.

Scroll down and you can see the newly created iscsi01 volume.

Follow above process and create volume iscsi02 associated with the 2nd 200 GB hard disk /dev/sdd.

Next we will configure the iSCSI Targets for the two volumes created. Click on iSCSI Targets.

On the Add new iSCSI Target screen leave the default Target IQN as is and click Add.

Click on the tab LUN Mapping. For the two LUNs created earlier, click on the Map buttons.

The status of the two LUNs should change as below.

Click on the tab Network ACL. Click on the drop down button under Access and change it to Allow to allow access to these LUNs from the devices in the network 10.100.2.0 configured for storage access and click on Update. We will be configuring the vmKernel adapters on the ESXi hosts from the IP range 10.100.2.0 to access the iSCSI LUNs exposed from the Openfiler storage.

We are not gonna configure any CHAP authentication. But if you need additional security, you can configure the username and password to be used for the same.

Next we will be configuring the ESXi servers to access the NFS and iSCSI volumes and create datastores.


Discover more from VirtShinobi.blog

Subscribe to get the latest posts sent to your email.

Discover more from VirtShinobi.blog

Subscribe now to keep reading and get access to the full archive.

Continue reading