Cloud Lab-18: How to Build a vSphere Environment – “Storage (ISCSI/NFS) Configuration”

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

LAB-18 TASKS

In this Lab we will perform following tasks

  1. 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
  2. Configure NFS Storage
  3. 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”

cloudlab17-BuildvSphereEnv-NetworkandStorage-15

Click on “+” (Add an ISCSI Software adaptor)

cloudlab17-BuildvSphereEnv-NetworkandStorage-16

Click “OK”

cloudlab17-BuildvSphereEnv-NetworkandStorage-17

Scroll at the bottom and you will find ISCSI Software Adapter as highlighted

cloudlab17-BuildvSphereEnv-NetworkandStorage-18

Configure your VSAN ISCSI Targets

Select your ISCSI Software adapter->in adapter details section-> Target->Dynamic Discovery-> “Add”

cloudlab17-BuildvSphereEnv-NetworkandStorage-19

Enter your ISCSI (Virtual SAN IP/FQDN) -> Click “OK”

cloudlab17-BuildvSphereEnv-NetworkandStorage-20

Click on the “highlighted Icon” to scan your storage adapter to discover newly added storage devices.

cloudlab17-BuildvSphereEnv-NetworkandStorage-21

Leave as default-> Click “OK”

cloudlab17-BuildvSphereEnv-NetworkandStorage-22

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)”

cloudlab17-BuildvSphereEnv-NetworkandStorage-23

Go to “Storage Devices tab”-> see in the highlighted Section, it detected “two disk devices with 47.66 GB” ISCSI Storage.

cloudlab17-BuildvSphereEnv-NetworkandStorage-24

ISCSI Network Port Binding

Select your “ISCSI Software Adapter”-> Network Port Binding -> Click “+” 

cloudlab17-BuildvSphereEnv-NetworkandStorage-25

Choose “Port Group for ISCSI binding”, we already created one for this purpose with name ISCSI in our last post.

Select -> Click “OK”

cloudlab17-BuildvSphereEnv-NetworkandStorage-26

Verify the “Port group Binding”

cloudlab17-BuildvSphereEnv-NetworkandStorage-27

Add the ISCSI Data Stores

Select the Host -> from top Click on Actions-> “New DataStore”

cloudlab17-BuildvSphereEnv-NetworkandStorage-28

Leave as default-> Click “Next”

cloudlab17-BuildvSphereEnv-NetworkandStorage-29

Choose Datastore type -> in ISCSI Case (leave as default) -> Click “Next”

cloudlab17-BuildvSphereEnv-NetworkandStorage-30

Define/Set “Datastore Name” and Select a “Storage LUN”  for storage -> Click “Next”

cloudlab17-BuildvSphereEnv-NetworkandStorage-31

Choose the File System (Leave as default) -> Click “Next”

cloudlab17-BuildvSphereEnv-NetworkandStorage-32

Leave default (As I want to use all of the storage capacity) – > Click “Next”

cloudlab17-BuildvSphereEnv-NetworkandStorage-33

Review your configured settings (if all fine) -> Click “Finish” 

cloudlab17-BuildvSphereEnv-NetworkandStorage-34

Verify Newly Added Datastore 

Click on “Highlighted Arrow” from your selected host

cloudlab17-BuildvSphereEnv-NetworkandStorage-35

On host inventory. you can see below, it shows “1 datastore”. Click On “Datastores” for Details.

cloudlab17-BuildvSphereEnv-NetworkandStorage-36

Review all “Datastore” who assigned to that host

cloudlab17-BuildvSphereEnv-NetworkandStorage-37

*NOTE: Repeat the same step to add other ISCSI datastores*

Datastore View from “Classic Client” (it is better view)

cloudlab17-BuildvSphereEnv-NetworkandStorage-38

2-Configure NFS Storage

Select the Host -> from top Click on Actions-> “New Datastore”

cloudlab17-BuildvSphereEnv-NetworkandStorage-39

Leave as default-> Click “Next”

cloudlab17-BuildvSphereEnv-NetworkandStorage-40

Choose “datastore type” ->“NFS” -> Click “Next”

cloudlab17-BuildvSphereEnv-NetworkandStorage-41

Enter “Data Store Name”, “NFS Storage Server IP/FQDN” and “NFS Share Storage Path” -> Click “Finish”

cloudlab17-BuildvSphereEnv-NetworkandStorage-42

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

cloudlab17-BuildvSphereEnv-NetworkandStorage-43

3-Final View of DataStores

Here is all “Datastore” final look

In Web Client

cloudlab17-BuildvSphereEnv-NetworkandStorage-44

In Classic Client

cloudlab17-BuildvSphereEnv-NetworkandStorage-45

*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.

  1. Repeat the same steps to every host and configure these settings which we have covered so far in “How to Build a vSphere Environment”..
  2. 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.

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s