Solved

Emc SAN IscsI and seperate Cisco switch

Posted on 2010-09-17
4
1,005 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
  • 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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VMware 6.0 (Free version) VSphere CLI 2 71
ESX 6.0 Best Practices for datastore size 5 80
VSphere Alerting 1 40
Cisco  3750E switches 1 13
This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
Cloud-based technologies and services will continue to grow in popularity in 2017 thanks to the simple, scalable and cost-effective solutions they deliver. Here are three areas where cloud adoption is poised to really take off.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.

770 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