Solved

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

Posted on 2014-01-31
4
804 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 117
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 117

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) 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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

The article will include the best Data Recovery Tools along with their Features, Capabilities, and their Download Links. Hope you’ll enjoy it and will choose the one as required by you.
In this step by step tutorial with screenshots, we will show you HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 6.5 (ESXi 6.5). This is important if you need to enable SSH remote access for additional troubleshooting of the ESXi hos…
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…

708 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now