Category Archives: Virtualisation

All about virtualisation. VirtualBox, VMware Workstation, ESXi and vCenter, qemu

VMware: Set DNS Server of all ESXi Host conntected to vCenter

Hi,

this is a script to set the DNS Servers for all ESXi Hosts connected to vCenter.

Usage is very simple. Open a PowerCli Command shell. The script accept 2 parameters. “vc” = the vCenter and “s” is the a comma separarted list of DNS Servers.

PS D:\temp> .\SetHostDNS.ps1 -vc yourVCenterServer.yourdomain -s 8.8.4.4,8.8.8.8
Set DNS Server at host1.yourdomain ... ok
Set DNS Server at host2.yourdomain ... ok

Thats all 🙂

Michael

VMware ESXi: A (incomplete) list of host commands Part 4

Hi,

check if a storage LUN attached to an ESXi supports VAAI
Continue reading VMware ESXi: A (incomplete) list of host commands Part 4

ESXi: No space left on device, ramdisk (root) is full

Hi,

a VMware ESXi becomes unresponsive when the root ramdisk is full.

Symptoms:

  • Can’t move VMs away from an ESXi host (vMotion)
  • vSphere HA is not working
  • ESXi Host does not join the cluster
  • Could not start vpxa daemon


~ #  cat /var/log/vmkwarning.log

Continue reading ESXi: No space left on device, ramdisk (root) is full

ESXi: Capture Network packets on a vSwitch port or on a VM’s NIC

Hi,


ESXi offers some extented methods to capture network packets. Here are some examples.

First of all logon to your ESXi host by ssh.

To capture all traffic on a vmkernel interface use tcpdump-uw.
List all vmkernel interfaces


~ # esxcfg-vmknic -l
Interface  
vmk0    .....   
vmk1    .....   

Continue reading ESXi: Capture Network packets on a vSwitch port or on a VM’s NIC

Virtualbox: VM does not start after creating a snapshot. EFail (0x80004005)

Hi,

when using vhd disks or when you convert other  disk formats (vmdk, vhd)  to vdi and you create  a snapshot, the virtual machine won’t boot.

An error occurs while starting the vm:

Fehlercode: E_FAIL (0x80004005)
Component: ProgressProxy
Interface: IProgress {c20238e4-3221-4d3f-8891-81ce92d9f913}

In this case the manager for virtual medias shows an error that the parent UUID of the snapshot file does not matches the UUID of parent medium stored in the media registry c:\Users\Username\.virtualbox\VirtualBox.xml.

This can be fixed 🙂 Get the UUID of the parent disk
Continue reading Virtualbox: VM does not start after creating a snapshot. EFail (0x80004005)