Archive for August 2015

VMware Hosts “Out of Sync” message on vDS

keepcalmimage

The Problem

A host’s VDS Status says Out of Sync in the Networking View

If network connectivity is interrupted between the vCenter Server and one or more hosts, a synchronization interval may be missed resulting in this alert being displayed. This type of interruption can occur during vCenter Service restarts, vCenter Server reboots as well as ESX/ESXi host reboots or network maintenance.

Outofsync

The Solution

If vCenter Server or an ESX/ESXi host has been recently restarted, this message is benign and can be safely ignored. Within several minutes, the host’s vNetwork Distributed Switch information should synchronize with vCenter Server, and the warning clears.
To manually synchronize the host vDS information from the vSphere Client:
  1. In the Inventory section, click Home > Networking.
  2. Select the vDS displaying the alert and then click the Hosts tab.
  3. Right-click the host displaying the Out of sync warning and then click Rectify vNetwork Distributed Switch Host.

To manually synchronize the host vDS information from the vSphere web client (vSphere 5.5):

  1. Click affected host from the Host inventory tab.
  2. Click the Manage tab.
  3. Click Networking.
  4. Click Virtual Switches.
  5. Click the out-of-sync Virtual Distributed Switch in the list of virtual switches.
  6. A new button with an icon of a server and a red icon of a switch appears, click this button to synchronize the referenced distributed virtual switch.The synchronization task appears in the Running Tasks window. You can monitor the progress of the synchronization there.

outofsync2

Changing from e1000 NICs to vmxnet3 NICs in VMware

cable_car_icon_2

The Task

Change an E1000 NIC to a VMXNET3 NIC

Instructions

  • Add the new VMXNET3 NIC while the VM is on
  • Go to the vCenter console for the VM and log into the VM console
  • Go to the old NICS and make them DHCP. Make sure you know what they were previously set to statically before you make them DHCP!
  • On the new VMXNET3 NICs put in the correct IP address/Subnet Mask/Gateway/DNS Servers
  • Shutdown
  • Edit settings and remove E1000 Nics
  • Boot up again

What happens if you encounter ghost adapters?

Sometimes you will remove an adapter but the Windows servers will still think it is there especially if you try and rename it and it says the adapter exists but you can’t see it.

If you want to see this ghost adapter, try the following

  • Open a command Prompt and type the below

Ghostnic1

  • This will open Device Manager
  • Click View > Show hidden devices

ghostnic2

  • If you now expand the Network adapters section, you will see your hidden E1000 ghost NIC
  • Hopefully you should see your new VMXNET3 NIC also

Middlesex4

  • You can now uninstall the ghost adapter just leaving your VMXNET3 adapter

Middlesex5