Category Archives: VMware

VMware Workstation, ESXi

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

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