Solved

Best way to setup dual NIC NAS and ESXi Server

Posted on 2010-09-12
10
2,098 Views
Last Modified: 2013-11-29
Hey guys

Got a thecus n8800 pro, with dual NICs that supports Load Balance, Failover, Balance-XOR, 802.3ad, Balance-TLB and Balance-ALB.

I have, if needed a Procurve 1810G-8 Switch which supports, LACP trunking.

and One ESXi server with a dual port Gig-E NIC that i want to dedicate to storage.

Could you guys please see the attached PDF of my proposed scenarios and advise?

thank you

 Visio-Drawing12.pdf
0
Comment
Question by:wsc-it
  • 5
  • 4
10 Comments
 
LVL 42

Accepted Solution

by:
paulsolov earned 500 total points
ID: 33659045
You could use the first scenario but create multiple vmkernel ports on the ESXi side.  This will give you the load balancing piece, otherwise you will only use one nic worth of banwidth.  Configure Multipath on the ESXi side and you're set

How to Configure iSCSI Multipathing
1.Open VMware vCenter.
2.Select Host > Configuration > Networking.
3.Click Add Networking.
4.Select "Virtual Machine" to create new vSwitch for iSCSI connectivity > Next.
5.Select "Create a virtual switch" and check the box next to the VMNICs for iSCSI connectivity > Next.
6.Type a name for the new virtual switch.  (e.g.  iSCSI) > Next.
7.Click Finish.
8.Scroll down and click Properties on the newly created vSwitch.
9.Click Add button to add Service Console port.
10.Select "Service Console" > Next.
11.Type a name for the new service console port.  (e.g.  iSCSI Service Console) > Next.
12.Select "Use the following IP settings" and type an IP Address on the iSCSI network > Next.
13.Click Finish.
14.Click Add button to add first VMkernel port.
15.Select "VMkernel" > Next.
16.Type a name for the first new VMkernel port (e.g.  iSCSI VMkernel 1) > Next.
17.Select "Use the following IP settings" and type an IP Address on the iSCSI network > Next.
18.Click Finish.
19.Repeat Steps 14 to 18 to create additional VMkernel ports for each physical network adapter (VMNIC).
20.Select the first VMkernel port created and click Edit.
21.Click the NIC Teaming tab and select "Override vSwitch failover order".
22.Designate only one active adapter and move the remaining adapters to the Unused Adapters category.
23.Click OK
24.Repeat Steps 20 to 23 to map each VMkernel port to only one active adapter.  Only one active adapter can exist per VMkernel port for multipathing to function properly.
25.Identify the port names for each VMkernel port created.  (e.g.  vmk0, vmk1)
26.Using the vSphere CLI, connect each VMkernel port created to the software iSCSI initiator using the esxcli command.
27.esxcli swiscsi nic add -n <port_name> -d <vmhba>
(e.g. esxcli swiscsi nic add -n vmk0 -d vmhba33)
28.Repeat the esxcli command until all VMkernel ports have been connected to the software iscsi initiator.
29.Verify the VMkernel ports connections by running the esxcli command.

a.esxcli swiscsi nic list -d <vmhba>
(e.g.  esxcli swiscsi nic list -d vmhba33)
30.Multipathing configuration is now complete.
0
 

Author Comment

by:wsc-it
ID: 33659354
thats a very long approach to it, is it the best way in order for me to achieve teh best speed?

I want ot max out both lan links as the VMs will be booting from this nas
0
 
LVL 42

Expert Comment

by:paulsolov
ID: 33659451
You can't do that with a trunk link and a single IP on the NAS connecting to a single IP on ESXi host.  Remember, your diagram shows that for a trunk to do load balancing it has to be a one to many or many many (mac/ip) connection.
0
 

Author Comment

by:wsc-it
ID: 33659463
Whats the easiest way to achieve what i am after then

lets say i have one ESX 4 box, 2 nics, a managed switch and dual nic NAS, which CAN seperate the NICs if need be

i just want to use both nics for all nas traffic
0
 
LVL 42

Expert Comment

by:paulsolov
ID: 33659470
The easiest way to do this is to create several IPs on the NAS and have each datastore using a different IP.  If not than you have to setup Multipath as described.  If not then your link with will failover only.
0
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
LVL 5

Expert Comment

by:chkdsk01
ID: 33661367
wsc - paulsolov is correct in his approach.  Just wanted to add one thing.  ESX(i) is not LACP compliant, so on the switch side, configure your trunks as multimode trunk, not LACP.
0
 

Author Comment

by:wsc-it
ID: 33678024
Ok, ill take the first suggestion

So on the switch, How shouldi configure the ports, POrts 1 and 2 are from the NAS, ports 3 and 4 are to the ESXi box?

Also, What mode should i run the NAS, in any of the NIC sharing modes? or induvidually?
0
 
LVL 42

Expert Comment

by:paulsolov
ID: 33678273
I would configure the NAS Ports with LACP to the HP switch (setup trk ports) on hp switch. The ESXi ports to the switch can be either teamed on the vswitch with nothing done on the physical switch or a trunk (you setup the trunk on the ip switc and setup ip hash on the vswitch).  I would do the teaming to keep it easy.  In both cases since you're doing a one to one ip/mac you will only get one port worth of data and the other will be failover.  If you configure multipath you can load balance the traffic
0
 

Author Comment

by:wsc-it
ID: 33678326
so configure each device as you just said then configure multipath ?
0
 
LVL 42

Expert Comment

by:paulsolov
ID: 33678622
If you setup both the the NAS and ESXI with trunk ports on the physical switch, then on the NAS setup to use trunk, on the ESXi setup to use ip hash.  Once done setup Multipath, (basically multiple vmkernel ports that will give you a many to one connection) which will allow you have multiple sessions and thus load balance on the trunk.
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Squid Connection Pools 3 46
vmware horizon certificate question 2 26
Getting TNS:Connect timeout occurred while opening the application 5 59
esx multi vlans 3 63
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.
In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
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…

895 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

15 Experts available now in Live!

Get 1:1 Help Now