After installing and configuring a VMware virtual machine with Solaris 10 the VM turns off after a few seconds during the boot process


An error message is reported in the VMware Infrastructure Client

‘VMware ESX Server unrecoverable error: (vcpu-0). Could not reserve memory for vmm64. Are you sure your VM specifiEs a 64 bit guest 0S?’

image001

This error is caused, in my case inadvertently when the 64-bit version of Solaris is installed into a 32-bit defined VMware Virtual Machine. By default the Solaris 10 installation iso comes with both 32-bit and 64-bit versions. During the installation process if it detects a 64-bit compatible platform it will install the 64-bit version unprompted. This may be a problem later if your ESX servers are not all 64-bit compatible and therefore would not be able to accept a 64-bit VM migration or if you intend to install a 32-bit version of an application such as Oracle into the OS.

If 64-bit is not a problem then edit the settings of the VM when it is powered down and select the 64-bit version as the Guest Operating System. This should now work when powered up.

image002

To revert to the 32-bit version, first configure the Guest OS as (64-bit) see above. Power on the VM in 64-bit mode and you now need to force the Solaris OS to boot in 32-bit mode.

To do this run the following command with superuser privileges from a command line prompt within the guest Solaris VM:
eeprom boot-file=kernel/unix

Shut down the Solaris VM, edit the VM settings and then reconfigure the Guest OS as Sun Solaris 10 (32-bit). Power on the VM and both the VM and OS should be running as 32-bit regardless of the host hardware.

Advertisements

How to enable the Intel VT virtualisation feature on a supported HP Proliant server running ESX 3.5 so that 64-bit guest VM’s can run


When you try to create or import a 64-bit host VM in your Virtual Infrastructure you may receive an error in the VI client along the lines of

Attempting to load an x64 operating system, however this CPU is not compatible with x64 mode

If you have a HP Proliant server that has processors that are 64-bit compatible then it is likely that you just need to enable the Intel VT feature in the BIOS.

To enable the Intel VT feature in the BIOS

Restart the HP Proliant server and press F9

image001

Select ‘Advanced Options’

image002

Select ‘Processor Options’

image003

Select ‘Intel Virtualization Technology’

image004

Select ‘Enabled’ and press the enter key to enable Intel VT

image005

Press the Esc key to exit and then press the F10 key to save the configurations when prompted. The server automatically restarts but I also powered down the server to ensure a cold boot to confirm that the Intel VT option was correctly detected by ESX.