Solved

Emc SAN IscsI and seperate Cisco switch

Posted on 2010-09-17
4
1,009 Views
Last Modified: 2013-05-05
I have a emc cx-5i with two SPE and a seperate cisco gigabit switch that I want to use for the Iscsi network in a vmrare implementation.

I want to know what ports on the emc and the vmware host willl use the iscsi switch.
Do I need an up link to LAN switch?
Do I need vlans?

What ports need to communicate with each other to make this work?

How do I configure the Iscsi ports on the cisco switch.

0
Comment
Question by:johnemyers
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 28

Expert Comment

by:bgoering
ID: 33706036
They are just regular access ports on the cisco switch - you will need "switchport access vlan n" if not using the native vlan.

on vmware keep the storage networking seperate from other networking. Create a new vSwitch and associate with the vmnic you will be using for storage. Then create a vmkernel port on the vswitch and give it an IP address. Note that this must be in the same IP subnet you assign for your storage.

So yes, you should create a vlan for your storage - two vlans if you want to use multipathing. If using multipathing create yet another vswitch and vmkernel port on yet another IP subnet for your 2nd path.

Hope this helps
0
 
LVL 10

Accepted Solution

by:
BloodRed earned 500 total points
ID: 33707765
As said above, your iSCSI ports on your Cisco switch are simply access ports as long as you aren't doing any form of trunking.  The overall configuration really depends on whether or not you are using vLANs, multipathing, jumbo frames, trunking, number of uplinks on your ESX hosts, etc.  

For a very simple config to get yourself up and running with the built-in Software iSCSI Adapter in ESX using a single Cisco swtich (can be any GbE switch, really), do the following.  

1. Connect  one or two (for redundancy) uplinks on your ESX host to the Cisco switch using a CAT6 cable.
2. Connect the SAN iSCSI ports to the same switch and assign the iSCSI initiators on the SAN IP addresses.  
3. Create a new vSwitch on your ESX host and configure it to use the uplink(s) you connected to the Cisco switch.
4. Create a new vmkernel network connection on that vSwitch and assign it an IP on the same subnet as the iSCSI SAN.
5. Connect to that ESX host using the vSphere client (or go through vCenter if you have it).
6. Click on the Configuration tab, select Network Adapters.
7. Highlight the Software iSCSI Adapter and click Properties.
8. Click Advanced (I think, this is from memory) and check the box for Enabled and click Ok.
9. Go back into the properties of the Software iSCSI Adapter, on the Static Targets tab enter the IP addresses of the iSCSI targets on your SAN and enter any CHAP into necessary (if you configured it on the SAN, otherwise leave it blank).  Click OK.
10. Back at the main Properties page, click CHAP and select the box to use the initiator name as the CHAP name.  This sets the name of the incoming initiator so that you can use it to set up the initiator settings on the SAN.
11. Ensure that your SAN is set up to accept connections from the initiator names of your ESX hosts and that any CHAP settings match.  Also make sure that the iSCSI LUNs on your EMC are configured to be presented to those incoming iSCSI initiators.
12. On the ESX host, Configuration tab, select Storage Adapters once again and click Rescan.
13. If all of that is set up correctly, you should see your iSCSI LUNs detected by the the software initiator.
14. Now, on the Configuration tab click Storage and Add Storage.  You will now see the iSCSI LUNs available to create VMFS datastores.

Good luck!
0
 
LVL 28

Expert Comment

by:bgoering
ID: 33707805
Good post BloodRed - very detailed.

For complete info look at the iSCSI SAN Config document: http://www.vmware.com/pdf/vsphere4/r41/vsp_41_iscsi_san_cfg.pdf

Good Luck
0
 
LVL 10

Expert Comment

by:BloodRed
ID: 33707815
Thanks.  

On step #6 I meant to say Storage Adapters, not Network Adapters.  

VMware's documentation is very good, I would definitely suggest reading that, though if you're just looking to get up and running quickly it can be an information overload sometimes.  

johnemyers:  Let us know how it goes and if you have any questions!
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When rebooting a vCenters 6.0 and try to connect using vSphere Client we get this issue "Invalid URL: The hostname could not parsed." When we get this error we need to do some changes in the vCenter advanced settings to fix the issue.
In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question