Link to home
Start Free TrialLog in
Avatar of Jason Yu
Jason YuFlag for United States of America

asked on

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

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
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

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
Avatar of Jason Yu

ASKER

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
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.
ASKER CERTIFIED SOLUTION
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial