Being able to test my NetApp FAS2240-2 HA unit before placing it in production has been a big learning opportunity for me. There’s the vendor aspect of things. How NetApp does storage, how it handles high availability, and the base configuration of the unit. Once all the components were in place, it was time to get my ESXi servers connected to storage via iSCSI.
I will go over configuring an iSCSI LUN, volume, and initiator group within the NetApp OnCommand System Manager for VMware.
The first thing for NetApp is to make sure you’re licensed for iSCSI. Then ensure the iSCSI service is running:
Create a LUN
Change the LUN type to VMware and set the LUN size.
The LUN needs to be stored in a Volume. Next we will create the FlexVol in an aggregate. Select the aggregate it should be stored in:
An initiator group contains the hosts which will be able to connect to the LUN. You can create a new initiator group by clicking on Add Initiator Group.
Create a name for the Initiator Group and select VMware as the Operating System. The type of protocol to select is iSCSI.
Click on the Initiators tab and then click Add. This is where we add the initiator name of our ESXi hosts.
Apply the ESXi initiator name to the group:
To map the Initiator Group to the LUN we must select it and then click Next.
Review the settings and click Next to complete the process.
At this point we can now go to our VMware ESXi host and add the iSCSI LUN. If VMware is configured correctly to connect to the LUN it will display it’s path to the storage unit. Once the connection is confirmed, you will be able to add the LUN to create a datastore.