Solved

Do I need create a VLAN for vmkernel traffic when setup a new vmware environment?

Posted on 2014-01-31
4
821 Views
Last Modified: 2014-02-20
Hi, guys:
 

I am setting up a new vmware environment. Currently, I have only one server with two physical network adapters inside it. I have a SAN cluster sitting on my network with primary ip addresses of "10.0.5.2" and "10.0.5.3". My local LAN network is "10.10.4.0. " These two SAN are also used for the oracle RAC environment. Now I want to make use of the storage space on the SAN and try to connect the SAN to VMware Vsphere host. What is the best practice to do it? Do I need make a new VLAN on my switch and do I need add the SAN and the host's ips to this VLAN.
 
Basically, I am following this article on vmware's site:  http://www.vmware.com/files/pdf/techpaper/vmware-multipathing-configuration-software-iSCSI-port-binding.pdf
I got stucked in the step to creating VMkernel network because I don't know if I need select any options for "VLAN ID (optional)"
 
I am pretty new in VMware, any help and replies will be great appreciated.
 
Thank you.
 
 
Jason
VLAN-setup-on-HP-PRocurve-Switch.png
creating-new-vmkernel-network-to.png
which-IP-I-should-assign-to-the-.png
0
Comment
Question by:Jason Yu
  • 2
  • 2
4 Comments
 
LVL 119
ID: 39825568
Hi Jason

It's usually recommended and Best Practice to create a storage network for your storage traffic.

This can be done in at least 3 ways

1. Two physical network interface cards (you state you only have two!) So this option is out.

2. Use the same vSwitch with two nics connected to physical switch as you have, and create two VMKernel Portgroups with an IP Address range which is private, and does not overlap with your existing network - so you have this option already, with SAN on "10.0.5.2" and "10.0.5.3".

3. A little more configuration involved, and configure the two nics, which connect to your ESXi server as a static trunk (both ports), and then run multiple VLANs, done the trunks

e.g. Management Traffic, Virtual Machines Network, Storage, vMotion

4. Purchase more network interfaces.

(the easiest option is 2!)


The problem witgh VMware documentation is it's lack of pictures so here's some, in my Articles, to help you.

see my EE Article, Step by Step Tutorial Instructions with Screenshots

HOW TO: Add an iSCSI Software Adaptor and Create an iSCSI Multipath Network in VMware vSphere Hypervisor ESXi 5.0

HOW TO: Enable Jumbo Frames on a VMware vSphere Hypervisor (ESXi 5.0) host server using the VMware vSphere Client
0
 

Author Comment

by:Jason Yu
ID: 39825719
Do you mean I need create a VLAN? Then my question is which interfaces I need include in this VLAN.

My IP is as following:


SAN 1 IP:  10.0.5.2
SAN 2 IP:  10.0.5.3

My Server's IP:
selene_NIC1      10.10.4.133
selene NIC2     undecided.

When I installed VSphere 5.5, it only asked me assign one ip, I gave it 10.10.4.133. But after I login to the vmware interface, it sees two NICs.

BTW, my switch is a HP ProCurve 5406zl gigabyte switch. My predecessor made a vlan called RAC which includes some ports setup, I attach them in the post, please take a look.


I am new to vmware and vlan, please help.

Thank you sincerely.
vlan-setup-1.png
vlan-setup-2.png
RAC-vlan-information.png
0
 

Author Comment

by:Jason Yu
ID: 39825741
When I was following the article above,

In step 4: it asks for
"Enter an IP address for the first VMkernel iSCSI Portgroup 1, followed by Next"

Do I need input an IP on the 10.10.4.X network which the host resides or the one 10.0.5.X which my SAN devices reside?

Please help, thank you.
0
 
LVL 119

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 39825981
You do not need to create a VLAN, that's up to you, Recommendation and Best Practice would suggest yes for Storage Network.

But you will have to trunk your two nics.

You will need to input the IP Address for the VMKernel Network, on the same subnetwork as you SAN.

e.g. 10.0.5.X so the VMKernel Interface can communicate with the SAN.

This is isolated from your production network, so you have a storage network.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

When converting a physical machine to a virtual machine using VMware vCenter Converter Standalone or vCenter Converter Enterprise, if an adapter type is not selected during the initial customization the resulting virtual machine may contain an IDE d…
Is your phone running out of space to hold pictures?  This article will show you quick tips on how to solve this problem.
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…

840 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