If you remember, In Cloud LAB we are using virtual SAN (Openfiler) for ISCSI/NFS Shared Storage. If you recall we had created some ISCSI and NFS Storage in our Virtual SAN configuration Section. Now it’s time to access/provide those ISCSI/NFS Shared Storage to an ESXi host
In this Lab we will perform following tasks
- Configure ISCSI Storage
- Add an ISCSI software adaptor
- Configure your VSAN ISCSI Targets
- ISCSI Network Port Binding
- Add the ISCSI Data Stores
- Verify Newly Added ISCSI DataStore
- Configure NFS Storage
- Final View of DataStores
1-Configure ISCSI Storage
In case of ISCSI, We need to perform several steps.
Add an ISCSI software adaptor (in Production, where you have physical SAN, Skip this step)
Select Host Setting -> Manage-> Storage -> “Storage Adapters”
Click on “+” (Add an ISCSI Software adaptor)
Scroll at the bottom and you will find ISCSI Software Adapter as highlighted
Configure your VSAN ISCSI Targets
Select your ISCSI Software adapter->in adapter details section-> Target->Dynamic Discovery-> “Add”
Enter your ISCSI (Virtual SAN IP/FQDN) -> Click “OK”
Click on the “highlighted Icon” to scan your storage adapter to discover newly added storage devices.
Leave as default-> Click “OK”
Select the ISCSI Software adapter-> “Path”
As you see we have two path available. If you recall we had created “two ISCSI Datastores” in our virtual SAN Section and assigned to our “Subnet (Network) (192.168.150.0/24)”
Go to “Storage Devices tab”-> see in the highlighted Section, it detected “two disk devices with 47.66 GB” ISCSI Storage.
ISCSI Network Port Binding
Select your “ISCSI Software Adapter”-> Network Port Binding -> Click “+”
Choose “Port Group for ISCSI binding”, we already created one for this purpose with name ISCSI in our last post.
Select -> Click “OK”
Verify the “Port group Binding”
Add the ISCSI Data Stores
Select the Host -> from top Click on Actions-> “New DataStore”
Leave as default-> Click “Next”
Choose Datastore type -> in ISCSI Case (leave as default) -> Click “Next”
Define/Set “Datastore Name” and Select a “Storage LUN” for storage -> Click “Next”
Choose the File System (Leave as default) -> Click “Next”
Leave default (As I want to use all of the storage capacity) – > Click “Next”
Review your configured settings (if all fine) -> Click “Finish”
Verify Newly Added Datastore
Click on “Highlighted Arrow” from your selected host
On host inventory. you can see below, it shows “1 datastore”. Click On “Datastores” for Details.
Review all “Datastore” who assigned to that host
*NOTE: Repeat the same step to add other ISCSI datastores*
Datastore View from “Classic Client” (it is better view)
2-Configure NFS Storage
Select the Host -> from top Click on Actions-> “New Datastore”
Leave as default-> Click “Next”
Choose “datastore type” ->“NFS” -> Click “Next”
Enter “Data Store Name”, “NFS Storage Server IP/FQDN” and “NFS Share Storage Path” -> Click “Finish”
If you did not remember you NFS Folder path, don’t worry go to your Virtual SAN Server Web GUI
From Main Menu -> Shares.
See your “NFS Share storage mount point path”, in my case it is highlighted
3-Final View of DataStores
Here is all “Datastore” final look
In Web Client
In Classic Client
*NOTE: I did almost every setting which I want to configure to my ESXi host*
There are two options to configure these basic setting to other ESXi Hosts.
- Repeat the same steps to every host and configure these settings which we have covered so far in “How to Build a vSphere Environment”..
- If you have enterprise plus License then you have “Host Profile” feature available to configure these settings for you
We used Option 1 already. Now I going to demonstrate the host profile feature to configure other ESXi Hosts in my next post.