Connect a VMware ESXi Host with iSCSI storage using a NetApp SAN

This is a quick post on how to connect an ESXi Host with iSCSI storage using a NetApp SAN.  We will be using ESXi 6.7, vCenter 6.7 and NetApp OnTap 9.3.  The hardware is an HPE Proliant DL360 G10, NetApp FAS 2750 and Nexus 9k switches

This will be the traditional approach of having x2 iSCSI ports groups.  Group A connects to switch 1 and SAN node 1 and Group B connects to switch 2 and SAN node 2.

First identify which ports you will be using for storage.  VMware includes the Cisco CDP to help you identify which switch ports hosts are connected to

Connect an ESXi Host with iSCSI storage using a NetApp SAN-1

Then create a vSwitch to use for SAN node 1 and select the uplinks that apply to this.  I use an MTU of 9000 but this is down to preference

Connect an ESXi Host with iSCSI storage using a NetApp SAN-2

Create your x2 port groups and label each one appropriately.  You will need to assign them the same VLAN ID that the NetApp SAN node has assigned on the Nexus switches

Connect an ESXi Host with iSCSI storage using a NetApp SAN-3

Connect an ESXi Host with iSCSI storage using a NetApp SAN-4

Assign the correct physical adapters to each switch/port group.  Ideally you should have these connected to two different physical NICs on the host.  This is iSCSI so you cannot team these adapters (unless you are setting up LACP & distributed switches).  We should have one active and one unused adapter.

Connect an ESXi Host with iSCSI storage using a NetApp SAN-6

Connect an ESXi Host with iSCSI storage using a NetApp SAN-5

Next create a VMkernel NIC in each port group.  We need this so that we have an interface to communicate with the SAN interfaces.  Give each one an IP and match the MTU to your switches

Connect an ESXi Host with iSCSI storage using a NetApp SAN-7

Connect an ESXi Host with iSCSI storage using a NetApp SAN-8

Open an SSH session to your hosts an ensure you can ping the SAN interface from your new VMkernel interface

Connect an ESXi Host with iSCSI storage using a NetApp SAN-9

Now we need to add our shared storage to vCenter. Open vCenter and right click on Storage then click Configure iSCSI

Connect an ESXi Host with iSCSI storage using a NetApp SAN-10

Enable iSCSI and add the IPs of the SAN interfaces under the Dynamic targets section and click Save configuration

Connect an ESXi Host with iSCSI storage using a NetApp SAN-11

We now need to configure the NetApp to connect to the host.  First click Configure Storage again and copy the initiator from the Name & alias section

Connect an ESXi Host with iSCSI storage using a NetApp SAN-13

Login to the NetApp SAN

Connect an ESXi Host with iSCSI storage using a NetApp SAN-14

Click Storage> LUNs> Initiator Groups> Either create a new group or edit an existing one

Connect an ESXi Host with iSCSI storage using a NetApp SAN-15

Add the initiator you copied from ESXi to the comma separated list and click Save and close

Connect an ESXi Host with iSCSI storage using a NetApp SAN-16

You will see the initiators added

Connect an ESXi Host with iSCSI storage using a NetApp SAN-17

Rescan the storage

Connect an ESXi Host with iSCSI storage using a NetApp SAN-12

You should now see the NetApp disk appear

Connect an ESXi Host with iSCSI storage using a NetApp SAN-18

 

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *