Solved

redundant switching for vmware

Posted on 2013-06-18
11
301 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
  • 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 119
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
Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

 
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 119
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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Suggested Solutions

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
Teach the user how to install and configure the vCenter Orchestrator virtual appliance Open vSphere Web Client: Deploy vCenter Orchestrator virtual appliance OVA file: Verify vCenter Orchestrator virtual appliance boots successfully: Connect to the …
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…

830 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