Quick Tip: Use USB storage devices as datastore on VMware ESXi


When attaching any kind of USB devices, the service usbarbitrator claims those devices to allow passing through USB devices into virtual machines. This is (one of) the reason you won’t see USB sticks as "Storage Devices" on your ESXi, therefore not allowing you to create a datastore on it.

But at this point you have to make a decision, as you can’t have both:

  1. Using a USB device as a storage
  2. OR having the ability to passthrough USB devices to VMs

Just to be very clear: This is NOT officially supported by VMware. You should not use datastores on USB devices in production.

If you decide to go ahead…

Read full article »

Let’s Panic: ESXi failover not working, using Static LAG/etherchannel


There was once… a customer who was concernced about the network-wise failover on the ESXi-level, which was not working as he expected it to. To shed some light on the complete scenario…

Configuration

The configuration is pretty simple:

  • The switch is vSwitch0
  • As Failover order there are two vmnic adapters configured as active. (Let’s say vmnic0 and vmnic1)
  • Load balancing is Route based on IP hash (Static LAG/etherchannel/trunk set on physical switch)
  • Network failure detection is Link status only
  • Notify switches is Yes.

Taking above into consideration: When disabling one of the two active vmnic adapters on ESXi using esxcli network nic down -n vmnicX you would expect a failover to occur – don’t you? The truth is: Not necessarily. Let’s go into detail…

Read full article »