Solved

how to configure vswitch and port group for ESXi 5.0

Posted on 2011-09-25
13
752 Views
Last Modified: 2012-05-12
Dear Experts:

Iam looking for the how to doc's to configure vswitch and port group, the ESXi host is having 4 physical nics, will be using software ISCI please help me with the how to docs, thanks in advance.
0
Comment
Question by:D_wathi
  • 7
  • 6
13 Comments
 
LVL 42

Expert Comment

by:paulsolov
ID: 36594519
Is your shared storage on a different subnet?  Is this for production or lab?
0
 

Author Comment

by:D_wathi
ID: 36594549
Sir, Thank you vey much for the replyt. let me explain the design.
Procured or available infrastructure:
Have 2 servers HP DL380G5 with 48gb ram and 4 physical nics and two processor
Dell R710 with two processors, 48gb ram and 4 physical nics.
EMC storage vnxe3100.
Vmware essential plus

Requirement:
04 VMs for each server but the vms will be housed in the storage this is because to acheive HA , in this all guest's will be of linux only two will be of windows.

For now installed ESXi5.0 on thumb drive for the dell server raid configured for this server is RAID10 and RAID1 for the total 06 disks of 300gb with this i got 2 virtual disks or luns in that on one LUN created the datastore with the VMS file system and installed on ubuntu guest and vcenter server appliance still the EMC device is not yet configured planning to setup one more ubuntu server and give it for the production later once the EMC storage Vnxe3100 is configured then using the vmotion will migrate the vms from the dell server to the storage. for doing all this iam looking for how to configure the vswitch and vmports and best practices or best design please help.





0
 

Author Comment

by:D_wathi
ID: 36594551
Sorry forgot to answer your query. in addition to the previous post the folling information for your reference,  All are in the same subnet , and this is for the production
0
 
LVL 42

Expert Comment

by:paulsolov
ID: 36594580
OK.  Since you only have 4 nics in the DL380 G5s I would do the following:

Create at least two VLANs.  

1.  VLAN 1 PRODUCTION (Virtual Machines) - routable
2   VLAN 2 SAN - non routbale

on the DL380 G5.

2 vswitches

vswitch 0 - management console - 2 nics teamed but no etherchannel
vswitch 0 - vmk1 - vmkernel - for vmotion, on the same production vlan as the ESXi host
(2 port groups)

vswitch 1 - SAN
- Create  a vswitch with 2 nics, see url

http://blogs.vmware.com/vsphere/2011/08/vsphere-50-storage-features-part-12-iscsi-multipathing-enhancements.html



On the VNXe you can map the datastore direclty from the SAN and manage.

Going forward you can get another 2 or 4 port nic card and offload the vmotion to a separate set of nics, with vsphere 5 you can use more hat one nic for vmotino

http://www.yellow-bricks.com/2011/09/17/multiple-nic-vmotion-in-vsphere-5/
0
 

Author Comment

by:D_wathi
ID: 36594954
Sir, Thanks for the reply, as of now not used the vlan as physical switches are not configured for the vlan, please find the attached print screen of the configuration. I have done nic teaming for vswitch 0 and  for the vswitch1. please suggest me is it like this. Please help.
network-configuration.png
0
 

Author Comment

by:D_wathi
ID: 36594996
Sorry, please ignore previous attachment and do consider this. Please help thanks in advance.
vswitch-configurations.gif
0
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 
LVL 42

Expert Comment

by:paulsolov
ID: 36596986
I would put the VM Network on vswtich 0 and create a separate vswitch for vswitch 1.  I would then put the EMC and the nics attached to vswitch 1 on a separate physical switch.  Putting iscsi traffice on your production network can cause major problems.

You would take the management from the SAN and put on you production network for management but the two ports on each controller should go onto a separate switch.  Also ensure that all your ports are 1GB
0
 

Author Comment

by:D_wathi
ID: 36599194
Sir, thanks for the reply. in vswitch 0 machine port group and vm kernel port , vms are added to the machine port group.

2. created vswitch1 and created vmkernel por with nic teaming for the EMC storge.
attached print screen request you to please suggest.


network-config.gif
0
 
LVL 42

Expert Comment

by:paulsolov
ID: 36599278
You're slowly getting there.

Put the vmkernel for SAN on a different switch AND different subnet.  
0
 
LVL 42

Accepted Solution

by:
paulsolov earned 500 total points
ID: 36599287
The switch for the SAN and vmkernel ports coming from ESX hosts should be standalone, not attached to the other switches unless you can segregate by vlan which you stated you is not supported.
0
 

Author Comment

by:D_wathi
ID: 36599291
Sir, or is it recommended to create the vmk1 on vswitch1 and establish the connection to the EMC storage from here.

And on vswitch0 add VMS .

please suggest.
0
 

Author Comment

by:D_wathi
ID: 36599422
Sir, my previous post is done before seeing your last two posts.
Iam sorry, EMC storage will be connected to the vmk1 on switch1.
All the vms will be added to the vswitch0.
Please suggest me.
0
 
LVL 42

Expert Comment

by:paulsolov
ID: 36856309
For the EMC you would have to put the controllers on one switch since you have two switches and they don't support VLANs, trunking, etc..

I would put all your SAN gear on the one switch and the Production VLAN ports on the other one.  Going forward you should plan on getting better switches that can give you VLANs and port monitoring.
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

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

When we have a dead host and we lose all connections to the ESXi, and we need to find a way to move all VMs from that dead ESXi host.
HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

920 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

12 Experts available now in Live!

Get 1:1 Help Now