Solved

redundant switching for vmware

Posted on 2013-06-18
11
302 Views
Last Modified: 2013-08-13
Right now i have two vmware hosts and two NAS devices for storage of my VMs.  I would like to add a second switch to the environment to ensure the network is redundant as well.

I have just added a quad port networking card to each vm host so they have eight NICs each.

I am looking at the networking for each host and i have three vswitches setup.  vswitch0 has two physical adapters attached to it, vswitch1 has one NIC and vswitch2 has one NIC.

I am under the impression that i could add two more physical NICs to vswitch0 and plug them into a second physical switch.  I would do the same for the other two remaining NICs and vswitch1 and vswitch2.

Is there anything i need to configure within the networking settings of the hosts, or do i just plug the new NICs into a second physical switch and and assign them to the vswitches?

Any help is appreciated.  Hope this question is clear.  the goal is to have a second physical switch that will act as a backup if the primary one fails.  Thanks!
0
Comment
Question by:IKtech
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
  • 2
11 Comments
 
LVL 28

Accepted Solution

by:
asavener earned 500 total points
ID: 39257420
Yes, you can do it that way.  By default, I think the first physical NIC will be active and the others will be standby.

How many interfaces do you have on your NAS devices?
0
 
LVL 120
ID: 39257440
You need to match the Teaming Policy to the Physical Switch configuration. You must also connect your two physical switches in a LAG configuration.

configure trunks on the switches, or etherchannel or portgroups, depends on what switches you have.

also make sure for redundancy you select a network interface, and a seperate interface on your quad network interface.

If you want to read more on networking in VMware ESX/ESXi, then I recommend the following:-

I would also recommend reading through the Networking Sections of the following guides to gain a better understanding of Networking in VMware ESX/ESXi.

Pages 13 - 73 Discuss Networking in Detail, including trunks, VLANs, switches, and load balancing

ESXi Configuration Guide ESXi 4.1
http://www.vmware.com/pdf/vsphere4/r41/vsp_41_esxi_server_config.pdf

Virtual Networking
http://www.vmware.com/technical-resources/virtual-networking/virtual-networks.html

Virtual Networking Concepts
http://www.vmware.com/files/pdf/virtual_networking_concepts.pdf
0
 
LVL 3

Author Comment

by:IKtech
ID: 39257528
two NICs on each NAS
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
LVL 3

Author Comment

by:IKtech
ID: 39257636
@hanccocka
I have cisco switches.  Could you elaborate a little more on how to setup the LAG configuration?

Sorry i am a bit confused by what you are recommending.  Thanks!
0
 
LVL 28

Expert Comment

by:asavener
ID: 39257640
OK.  If I were doing it, I'd do something like this:

NAS1
   NIC1  172.30.15.1 - Switch 1
   NIC2  172.29.15.1 - Switch 2

NAS2
   NIC1  172.30.15.2 - Switch 1
   NIC2  172.29.15.2 - Switch 2

VMHost
   vSwitch1 - 172.30.15.5 - Switch1
      NIC1 - Active
      NIC2 - Standby
   vSwitch2 - 172.29.15.5 - Switch2
      NIC3 - Active
      NIC4 - Standby


This give you multipath IO to your NAS boxes, provides redundant physical paths, and provides redundant logical paths.  It will survive almost all user errors.  (Trip over a power cable, unplug a patch cable, duplicate an IP address, etc.)
0
 
LVL 28

Expert Comment

by:asavener
ID: 39257657
You do not want to use link aggregation.  VMware ESXi boxes don't support round-robin or any of the really fancy performance boosting tricks.
0
 
LVL 3

Author Comment

by:IKtech
ID: 39257792
i have the qnap NAS NICs setup in active backup mode with only one ip address.  Do you think that will work ok or should i go with the multipath setup?
0
 
LVL 120
ID: 39257798
0
 
LVL 28

Expert Comment

by:asavener
ID: 39257875
Yes, multipath is recommended.

MultiLINK, link aggregation, LAG, EtherChannel, whatever you want to call it, is not recommended.
0
 
LVL 3

Author Comment

by:IKtech
ID: 39260160
i have included a screen shot of what my networking looks like on one of vmware hosts.

Do i need to add a second ip address for each vmkernel port on vswitch2?  I am assuming i will need to add a second ip for the vmkerel port on vswitch0 as well.

Can i use all the same subnet for the IPs including the two NICs on the storage device?

Keep in mind i have another four physical adapters to use for the host.

thanks again for the advice.
hostNetwork.PNG
0
 
LVL 28

Expert Comment

by:asavener
ID: 39260310
It would be preferred not to have iSCSI and regular network traffic on the same interface.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
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…
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…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

752 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