Posted on 20 Sep 2011 by Ray Heffer
Networking is a critical component of any virtual infrastructure, and often it’s the management networks that are overlooked. Back in the day before virtualisation, management networks were considered less important than production, and it wasn’t too much of a big deal as it only provided console access (E.g. iLO, DRAC), SNMP monitoring, web interfaces, and so on – it just didn’t impact production. I have noticed that this mindset has crept into some vSphere designs where management interfaces lack any form of redundancy. Why is this so important? Well for starters ESXi uses the Management network for vMotion, Fault Tolerance (FT) and HA. In fact if your management interface has no redundancy you’ll get a warning as described in VMware KB 1004700. Without redundancy on your management networks, these features will not work. In addition, you may be faced with mixed ESX and ESXi environments where the management networks are different between ESX/ESXi. Management on ESX uses the Service Console network, but ESXi uses a vmKernel network called Management Network. Duncan Epping of Yellow Bricks has an excellent article on VMware HA here, also check out Frank Denneman and Duncan Epping’s HA and DRS Technical Deepdive book is an excellent read and I recommend this especially if you’re studying for the VCAP-DCA.
So what is the use case for IPv6? I can think of only two scenarios, one is that you’re insane and have run out of IPv4 addresses, the other is the company infrastructure policy requires all systems to have IPv6 enabled, not that unreasonable eh? Good job it’s easy to configure ;)
Remember that even when IPv6 is enabled on your ESX/ESXi host, your network infrastructure must support it. This includes your DNS and DHCP servers, routers, switches, etc.
1) Using the vSphere Client, select your ESX/ESXi host and go to the configuration tab, select Networking and click Properties.
2) Check ‘Enable IPv6 support on this host system’, click OK and reboot your host.
3) Have a coffee and explain to your colleagues how IPv6 works :)
You can also enable IPv6 from the DCUI, after setup completes by pressing F2 > Configure Management Network > IPv6 Configuration, then enabling IPv6:
Alternatively you can enable IPv6 from the command line. Follow these steps:
1) Enable IPv6 for the vmKernel
# esxcfg-vmknic -6 true
2) Enable IPv6 for the Service Console (ESX only)
# esxcfg-vswif -6 true
3) Reboot the host for the changes to take effect.
You can tell when IPv6 is enabled because the DCUI screen shows the management URL in IPv4 and IPv6 format:
You will also see IPv6 settings in the Management Network properties:
When the physical NIC on the ESX/ESXi host sends or receives packets (TX/RX) it enters a single TX or RX queue which the vmKernel schedules on a single CPU. Without NetQueue, the result that is noticed on 10GbE NIC’s is the throughput isn’t optimal and the single TX or RX queue causes a bottleneck. NetQueue allows for multiple TX/RX queues which are scheduled on multiple CPU’s. A single VM that places heavy demand on bandwidth will still have it’s queue processed on a single CPU, but other VM’s have their own queue processed by a different CPU. The result of using NetQueue is 10GbE interfaces will be able to maximise the throughput available.
Note: It is enabled by default if your hardware supports it. Your physical NIC must support NetQueue in addition to your system supporting MSI-X.
You can enable or disable NetQueue in the Advanced Settings of your host:
It can also be enabled or disabled with the esxcfg-advcfg command:
# esxcfg-advcfg -k 1 netNetqueueEnabled (1 to enable, or 0 to disable)
You can configure an ESX/ESXi host with SNMP is minutes, it’s that easy. If you want to test this in your home lab then you’ll need an SNMP receiver, typically a monitoring tool, or you can download an evaluation of Kiwi Syslog which you can use instead as it has an SNMP receiver service. Using Kiwi Syslog, go to File > Setup > Inputs > SNTP. Tick ‘Listen for SNMP traps” and click OK.
Using the vMA run the following commands to point the ESX/ESXi host at an SNMP server and set the community string, enable SNMP (disabled by default), and then run a test. Kiwi Syslog will show the traps received so you can see it working.
# vicfg-snmp --server core-esx.home.lab --username root --password ******* -t 192.168.4.40/public # vicfg-snmp --server core-esx.home.lab -enable # vicfg-snmp --server core-esx.home.lab --username root --password -test
Tagged with: vmware certification
Comments are closed for this post.