proxmox in vmware player virtualization engine

emanuelebruno

Renowned Member
May 1, 2012
143
7
83
Catania
emanuelebruno.it
Hi to all,
recently I have installed VMWare Player v5.0.0 build-812388 for proxmox testing purpose so I can be sure to do the right thing in my production server.
I'd like to know if you think that vmplayer is a good choise (or virtual box or any other else) and I'd like to know what you think about the following settings:

-Virtualization engine:
*Preferred mode: Automatic / Binary translation / Intel VT-x or AMD-V / Intel VT-x/EPT or AMD-V/RVI
*Disable acceleration

proxmox.png

I'd like to test both kvm e ct in my proxmox "Virtualized system". My computer is an AMD 1100T CPU based with Windows 7 Pro 64 bit.
 
Last edited:
Running inside VMware is only for testing. (use Intel VT-x/EPT or AMD-V/RVI)
 
Make sure, that you run the right kernel version (2.6.22-5)

Scenario 1: You installed Proxmox 2.1 on VMware from the ISO image

Log in to the console or ssh:

> wget http://www.proxmox.com/cms_proxmox/cms/upload/misc/proxmox-vmware-tools_2.6.22-4_all.deb
> dpkg -i proxmox-vmware-tools_2.6.22-4_all.deb
> reboot

[...]

Time synchronization

If you want to enable time synchronization between the host and the Proxmox guest, power off the machine and change the setting in the *.vmx file:

> tools.syncTime = "TRUE"

Please note, in the prebuilt VMware Appliance 2.1 we already installed the VMware tools - just download and run.

Reading this post, this morning I'd like to install vmware tools (I have noticed that even with tool.syncTime set with "True" option, proxmox lose time after standby and resume of my computer) but I can't find it.
I have installed Proxmox 2.1 but my kernel is 2.6.32-11-pve (not the 2.6.22-5 as written in the original post).

Is it possible to install proxmox vmware tools and where can I download the proxmox-vmware-tools-x.x.x.x.deb file?
 
if you install proxmox ve (only for testing inside vmware) you can install open-vm-tools package (with apt)
 
if you install proxmox ve (only for testing inside vmware) you can install open-vm-tools package (with apt)

Hi tom,
thanks for your answer! Reading this post http://www.surlyjake.com/2011/02/install-open-vm-tools-on-debian-6-squeeze/ I have done the followings things:

Code:
nano /etc/apt/sources.list

Code:
deb http://ftp.it.debian.org/debian squeeze main contrib
deb-src http://ftp.it.debian.org/debian squeeze main contrib

# PVE packages provided by proxmox.com
deb http://download.proxmox.com/debian squeeze pve

# security updates
deb http://security.debian.org/ squeeze/updates main contrib

Code:
apt-get update apt-get install open-vm-tools -y
As in the "surlyjake blog" I have met an error that looks like this:

Code:
Loading open-vm-tools modules: vmhgfsFATAL: Module vmhgfs not found. vmmemctlFATAL: Module vmmemctl not found. vmsyncFATAL: Module vmsync not found.

...but trying to installing these modules I met another error :

Code:
root@proxmox:~# module-assistant auto-install open-vm -i
.
Updated infos about 1 packages
Getting source for kernel version: 2.6.32-11-pve
apt-get -y install linux-headers-2.6.32-11-pve
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-headers-2.6.32-11-pve
E: Couldn't find any package by regex 'linux-headers-2.6.32-11-pve'
apt-get -y install build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 73 not upgraded.

Done!


Bad luck, the kernel headers for the target kernel version could not be found
and you did not specify other valid kernel headers to use.


If the running kernel has been shipped with the Debian distribution, please
install the package linux-headers-2.6.32-11-pve. If your kernel source tree (or
headers) is located in some non-usual location, please set the KERNELDIRS
environment variable to the path of this directory, or (alternatively) specify
the source directory we build for with the --kernel-dir option in
module-assistant calls.

Do you think are they important (vmhgfs file system, Memory Balloon (vmmemctl) Driver, and vmsync) and if is it so, does anyone know how to install them?
 
I thought to have found the answer ... but it is not :

Code:
aptitude install pve-headers-$(uname -r)

Code:
root@proxmox:~# module-assistant auto-install open-vm -i
.
Updated infos about 1 packages
Getting source for kernel version: 2.6.32-11-pve
Kernel headers available in /usr/src/linux-headers-2.6.32-11-pve
Creating symlink...
apt-get -y install build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 73 not upgraded.

Done!
unpack
Extracting the package tarball, /usr/src/open-vm.tar.bz2, please wait...
Target package file
/usr/src/open-vm-modules-2.6.32-11-pve_8.4.2-261024-1_amd64.deb already exists,
not rebuilding!
(however, you could use the -f switch to ignore it)
dpkg -Ei /usr/src/open-vm-modules-2.6.32-11-pve_8.4.2-261024-1_amd64.deb
Selecting previously deselected package open-vm-modules-2.6.32-11-pve.
(Reading database ... 44314 files and directories currently installed.)
Unpacking open-vm-modules-2.6.32-11-pve (from .../open-vm-modules-2.6.32-11-pve_8.4.2-261024-1_amd64.deb) ...
dpkg: dependency problems prevent configuration of open-vm-modules-2.6.32-11-pve:
open-vm-modules-2.6.32-11-pve depends on linux-modules-2.6.32-11-pve | linux-image-2.6.32-11-pve; however:
Package linux-modules-2.6.32-11-pve is not installed.
Package linux-image-2.6.32-11-pve is not installed.
dpkg: error processing open-vm-modules-2.6.32-11-pve (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
open-vm-modules-2.6.32-11-pve

I: Direct installation failed, trying to post-install the dependencies

apt-get -fy install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
open-vm-modules-2.6.32-11-pve
0 upgraded, 0 newly installed, 1 to remove and 73 not upgraded.
1 not fully installed or removed.
After this operation, 512 kB disk space will be freed.
(Reading database ... 44326 files and directories currently installed.)
Removing open-vm-modules-2.6.32-11-pve ...
 
*BUMP*
Anyone can help me?
Hi,
not realy - why I should use vmware if I can use pve ;)

But 2.6.32-11-pve is a little bit outdated - have you tried with the actual kernel?

And for me is the question, what do you want to test with pve on top of vmware - perhaps with ballon-driver and such things.
If something don't run very well - if this an vmware, pve or memory/IO issue because of the bollon-driver??
Such test says nothing - it's only to see the installation and the webfrontend in real live. Not less and not more (imho). But for this things you don't need the vmware tools.

Or is there anything which I don't see?

Udo
 
Hi Udo,

in my original post I said that I have a production server and I'm trying to use Proxmox under vmware player for practice, so my main server *IS NOT* under vmware. I have a AMD 1100T with 16 GB Ram and Windows 7 Pro, and I want to use it at best (I don't want to buy another server for practice with proxmox). I have discovered a post (by Tom) where it is explained how to install proxmox-vmware-tools_2.6.22-4_all.deb ... so I have thought to do the same.

Or is there anything which I don't see?
Udo

What you see in Tom post?

if you install proxmox ve (only for testing inside vmware) you can install open-vm-tools package (with apt)

Tom suggested to install open-vm-tools package, but something was wrong with vmhgfs, vmmemctl and vmsync module.

Code:
I: Direct installation failed, trying to post-install the dependencies

What does this error message mean ? Does anyone know?
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!