7

I have a problem with Guests not booting under VMWare ESXi 5.0 on my IBM x3550M3 server.

Note: Investigation eventually determined that problem was with the VMware client on a Lenovo Edge laptop, the only Windows box available in a Linux IT shop.

vSphere Client v4 and v5 duplicated behavior on the Lenovo Edge. As indicated in the comment to the accepted answer, replacing the workstation with one using different video was the "fix" for this particular issue.


The ESXi host boots just fine. The Client connects just fine. Guests can be configured but do not successfully boot. The initial guest memory consumption jumps up to 560MB and drops down to 40MB after a few seconds. Initial CPU usage is 1 full CPU (3000Ghz per the chart) and immediately drops downm to 29Mhz. Guests do not display any output in the Console tab but show a state of 'Powered On'. No errors in the Events tab. Switching Guest from BIOS to EFI makes no difference.

VMs are listed as Version 7 and the behavior is duplicated across all availabled Guest OS flavors. Problem also duplicated when server is booted up in Legacy Only mode.

Logs do not contain anything particularly suspicious.

Edit: No firewalls, routers, or VLANs in between the client and server.

Edit 2: We have tried to Boot Guest into BIOS screen at Next Boot checkbox in the Guest Setting. Was not successful.

Edit 3: 500GB datastore with 1 40GB VM on it. Plenty of space.

Edit 4: Guests copied from my old ESXi 4 server DO NOT boot on the ESXi 5 system. Initially it complains about too little Video RAM being configured for the default 2500x1600, but it still doesn't work properly even after I bump the Video RAM settings or switch it to Auto-Detect.

Magellan
  • 4,431
  • 3
  • 29
  • 53
  • Any firewall between you and the host? Any error that (eventually) shows up in a yellow bar at the top of the console window? – Shane Madden Jun 05 '12 at 01:07
  • Nope. Plain Jane RFC1918 addresses on the same subnet with no VLANs. – Magellan Jun 05 '12 at 01:44
  • Well, there went that idea! – Shane Madden Jun 05 '12 at 02:21
  • are you sure you have a bootable OS disk on the VM(s)? Can you attach a boot cd/dvd, like a linux rescue disk, and boot to that? do you see the vmware bios screen? can you force entering bios in the VMs settings and then power on? – carillonator Jun 05 '12 at 02:22
  • Did you have installed VMware Tools inside guest OSes? What is the status of the Tools? – Mircea Vutcovici Jun 05 '12 at 03:15
  • @carillonator Good one. I tried that and forgot to add it to the Q. We don't do PXE for that here (we're an LTSP environment) so it had a directly-attached ISO mounted in the CD-ROM device. – Magellan Jun 05 '12 at 03:16
  • @MirceaVutcovici We don't even get the guests to boot at all, and they never have yet done so on this server. We don't have vMotion stuff to migrate them around either. My (admittedly VMWare beginner) understanding is that Linux has to be installed before Tools can be installed, and we're a Linux shop. – Magellan Jun 05 '12 at 03:17
  • If the VMs were moved to that ESX from another one, the Tools will try to communicate with the host. I wanted to rule out the case that the VM has booted, but you are not able to communicate with it via network or console. – Mircea Vutcovici Jun 05 '12 at 03:19
  • Another way would be to MD5 the disk file of a VM, boot it, then stop it and do the MD5 again to see if it has written something on the disk. – Mircea Vutcovici Jun 05 '12 at 03:20
  • @MirceaVutcovici Right. There's no evidence that it's doing anything like picking up an IP even via PXE boot on the network. – Magellan Jun 05 '12 at 03:21
  • Which logs have you checked? The VM ones, the ESX kernel ones? – Mircea Vutcovici Jun 05 '12 at 03:22
  • Check to have enough disk space on the storage where the VMs are. You need storage for the swap. The file will be mapped to memory and only during ESX swap out it will write into these files. They are located by default on the same folder as the VM. – Mircea Vutcovici Jun 05 '12 at 03:25
  • I forgot that I have an ancient ESXi4 box gathering dust for last year. I'll try migrating a VM from there to see if it boots. – Magellan Jun 05 '12 at 03:39
  • Umm... "it doesn't boot"... what does console show for each guest? Bootloader missing? disk not found? anything? – SpacemanSpiff Jun 05 '12 at 22:30
  • Guests do not display any output in the Console tab but show a state of 'Powered On'. No errors in the Events tab. Switching BIOS to EFI makes no difference. – Magellan Jun 05 '12 at 22:33
  • Are you booting ESXi from a USB stick? – ohaal Jun 05 '12 at 22:40
  • No, nothing quirky at all about this setup. VMWare OS installed the local drives. – Magellan Jun 05 '12 at 22:48

1 Answers1

2

First, check that you have access to the vSphere vCenter or ESXi server from your client system over the following ports: 443, 902 and 903. This can be verified using telnet esx.server.ip 902 from your client machine. See the full port definitions used by VMWare here.

As for the virtual machines, there are a few approaches to debugging ESXi boot issues. I'd suggest examining the VM's logs from the ESXi console. Assuming you have ESXi console access enabled (or ssh access), you can check the output of the logs in the VM's directory.

For a system like yours, using local storage, the directory path will be similar to the following (assuming a VM named "Virtual_Machine"):

cd /vmfs/volumes/datastore1/Virtual_Machine/

Within that directory, you can examine the vmware.log files. I'd try to correlate the timestamps with your boot activity or possibly tail the most recent log file as you attempt actions on from the vSphere client side.

ewwhite
  • 194,921
  • 91
  • 434
  • 799
  • As indicated by the steps above, the problem actually appears to be the system that the client is installed upon. None of the VM start/stop or Console API connections appear to work properly on this particular model of Lenovo laptop even after a removal and re-install of the client. Works fine on a plain-jane decrepit old XP box. – Magellan Jun 06 '12 at 16:50