Netgate m1n1wall

Author Topic: NOT SOLVED !! : Open-VM-Tools - NOT WORKING on vSphere  (Read 23884 times)

0 Members and 1 Guest are viewing this topic.

Offline focalguy

  • Full Member
  • ***
  • Posts: 235
  • Karma: +0/-0
    • View Profile
    • My Blog
Re: Open-VM-Tools - "not installed" on vSphere
« Reply #15 on: March 16, 2011, 05:39:35 pm »
Did several installs a couple of days ago trying to iron out an issue with my pfsense box and tried out the OpenVM Tools package again.  Got the Unmanaged status, IP address, DNS name and Host.  Seemed to be working just fine on my ESXi setup.
I'm not sure what the differences are. I'm not on the latest snapshot but I have it working just the same with showing my IPs and hostnames, etc. I'll update to the latest tonight and see if it continues to work.

Offline Sloth

  • Newbie
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Re: Open-VM-Tools - "not installed or Unmanged" on vSphere
« Reply #16 on: March 17, 2011, 03:58:46 am »
Open-VM-Tools working fine for me:
ESXi 4.1 update 1
pfSense 2.0-RC1 (amd64) built on Sat Feb 26 18:07:23 EST 2011

'Unmanaged' status indicates that  VM tools are installed on the guest VM, but do not support  installation/update from the ESX console, afaik the correct status for a pfsense install.

Jason.

Offline Clouseau

  • Full Member
  • ***
  • Posts: 111
  • Karma: +0/-0
  • Wheeers thö bög?
    • View Profile
Re: Open-VM-Tools - "not installed or Unmanged" on vSphere
« Reply #17 on: March 17, 2011, 06:57:37 am »
Open-VM-Tools working fine for me:
ESXi 4.1 update 1
pfSense 2.0-RC1 (amd64) built on Sat Feb 26 18:07:23 EST 2011

'Unmanaged' status indicates that  VM tools are installed on the guest VM, but do not support  installation/update from the ESX console, afaik the correct status for a pfsense install.

Jason.

Yes true - but that does not explain the situation that I have 2 pfSense installations in the same vSphere ESXi - one has Unmanaged and the second one is Not installed status on ESX console. Neither of those are capable to show interface information, dns information etc..
---------------------------------------------------------
Multible Alix 2D13 - pfSense 2.0 32bit
Multible Vmware vSphere - pfSense 2.0 32&64bit

Offline Sloth

  • Newbie
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Re: Open-VM-Tools - "not installed or Unmanged" on vSphere
« Reply #18 on: March 17, 2011, 07:20:25 am »
The only other thing of note is that the current pfSense package version of Open-VM-Tools is quite old, dating back to 12-2009. There is a thread somewhere on this forum discussing the issue, which (if I remember correctly) comes down to the freeBSD maintainers updating the freeBSD package to the most current release Open-VM-Tools build i.e. not a lot the pfSense team can do about it. I have had problems trying to use the enhanced VMXNET2 driver, and VMXNET3 is not available, both of which may well be addressed by an up-to-date Open-VM-Tools freeBSD package.

I'll try spinning up a pfSense VM with the pfSense build you are using to see whether I suffer the same issue with that build (could be a 32bit specific issue).

Jason.
2.0-RC1 (amd64) built on Sat Feb 26 18:07:23 EST 2011
« Last Edit: March 17, 2011, 07:22:43 am by Sloth »

Offline SteveB

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Open-VM-Tools - "not installed or Unmanged" on vSphere
« Reply #19 on: March 17, 2011, 07:27:31 am »
Yes true - but that does not explain the situation that I have 2 pfSense installations in the same vSphere ESXi - one has Unmanaged and the second one is Not installed status on ESX console. Neither of those are capable to show interface information, dns information etc..

What other packages do you have installed on your virtual pfSense boxes, are the same packages installed on both boxes, and what NICs are your pfSense boxes using?

I have been successfully running a pfSense box on VMware ESXi since ESXi 4.0.0 (currently using ESXi 4.1.0 SP1).  My virtual pfSense box only has the Open-VM-Tools package installed, uses virtual Intel e1000 NICs, and has always shown the correct information on the VMware console.

Offline regis

  • Jr. Member
  • **
  • Posts: 50
  • Karma: +0/-0
    • View Profile
Re: Open-VM-Tools - "not installed or Unmanged" on vSphere
« Reply #20 on: March 17, 2011, 08:07:18 am »
Quote
'Unmanaged' status indicates that  VM tools are installed on the guest VM, but do not support  installation/update from the ESX console, afaik the correct status for a pfsense install.

You're right but I have several pfSense 1.2.3-RELEASE virtual machines on the same ESXi host with openVM-tools installed, they also shows as unmanaged but the IP adresses of the interfaces can be read from the vsphere client , along with the hostname. This doesn't work with open-VM-tools on pfSense 2.0-RC1

They all use the same virtualized hardware, e1000 NICs (em driver), open-VM-tools is the only package installed.

Offline Clouseau

  • Full Member
  • ***
  • Posts: 111
  • Karma: +0/-0
  • Wheeers thö bög?
    • View Profile
Re: Open-VM-Tools - "not installed or Unmanged" on vSphere
« Reply #21 on: March 17, 2011, 08:54:38 am »
I tryed 64Bit pfSense 2.0 RC1 Wed Mar 16 2011

!! Open-VM-Tools works !!

==> This is 32bit psSense issue !!
---------------------------------------------------------
Multible Alix 2D13 - pfSense 2.0 32bit
Multible Vmware vSphere - pfSense 2.0 32&64bit

Offline Sloth

  • Newbie
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Re: Open-VM-Tools - "not installed or Unmanged" on vSphere
« Reply #22 on: March 17, 2011, 09:53:50 am »
Yup - have tried a couple of 32bit builds: the one you are using and the 'official' RC-1 build (Feb 26), with E1000 NICs installed, and neither show interface IPs in VSphere console. As mentioned above, I have not had any problems with my pfSense VM installs, but I have only run '1.2.3 release' and '2.0 AMD64' builds.

I also noticed that the Open-VM-Tools package has a different version name to that reported in package manager:

http://files.pfsense.org/packages/8/All/open-vm-tools-nox11-313025_1.tbz http://files.pfsense.org/packages/amd64/8/All/open-vm-tools-nox11-313025_1.tbz
vs
Package manager: Open-VM-Tools 217847

...though that could be a typo.

Jason.

Offline jimp

  • Administrator
  • Hero Member
  • *****
  • Posts: 14990
  • Karma: +4/-0
    • View Profile
Re: Open-VM-Tools - "not installed or Unmanged" on vSphere
« Reply #23 on: March 17, 2011, 11:11:32 am »
Try updating again shortly, I bumped it up to a newer revision of the package (_2 instead of _1). The new binary was uploaded a while ago but wasn't updated in the xml.
Need help fast? Commercial Support!

Co-Author of pfSense: The Definitive Guide. - Check the Doc Wiki for FAQs.

Do not PM for help!

Offline regis

  • Jr. Member
  • **
  • Posts: 50
  • Karma: +0/-0
    • View Profile
Re: Open-VM-Tools - "not installed or Unmanged" on vSphere
« Reply #24 on: March 17, 2011, 02:57:28 pm »
I just installed a brand new VM with 2.0-RC1 (i386) built on Thu Mar 17 07:55:22 EDT 2011 and added open-VM-tools :

Downloading http://files.pfsense.org/packages/8/All/open-vm-tools-nox11-313025_2.tbz ...  (extracting)
Downloading http://files.pfsense.org/packages/8/All/fusefs-kmod-0.3.9.p1.20080208_7.tbz ...  (extracting)
Downloading http://files.pfsense.org/packages/8/All/pkg-config-0.25_1.tbz ...  (extracting)
Downloading http://files.pfsense.org/packages/8/All/fusefs-libs-2.7.4.tbz ...  (extracting)Loading package configuration... done.
Configuring package components...
Additional files... done.
Loading package instructions...
Custom commands...
Executing custom_php_install_command()...done.
Writing configuration... done.

Installation completed.   Please check to make sure that the package is configured from the respective menu then start the package.

The old version was installing far more dependancies (python26, pear,...) is this OK ?

On the console i see the message "VMware memory control driver initialized"

but in the system logs i see this "root: /usr/local/etc/rc.d/vmware-guestd.sh: WARNING: failed to start vmware_guestd"

In the vsphere client, vmware tools are marked "not installed"


edit : if i try a /usr/local/etc/rc.d/vmware-guestd.sh start from the console it fails :

Starting vmware_guestd.
/libexec/ld-elf.so.1: Shared object "libgmodule-2.0.so.0" not found, required by "vmtoolsd"

/usr/local/etc/rc.d/vmware-guestd.sh: WARNING: failed to start vmware_guestd


edit2 : I tried to install glib20 (which I think brings libgmodule-2.0.so.0) but it needs python26, perl and pcre

so I installed them but I ran into another problem :

pkg_add glib20.tbz
pkg_add: warning: package 'glib-2.24.1_1' requires 'pkg-config-0.23_1', but 'pkg-config-0.25_1' is installed
pkg_add: warning: package 'glib-2.24.1_1' requires 'gettext-0.18_1', but 'gettext-0.18.1.1' is installed
« Last Edit: March 17, 2011, 03:21:52 pm by regis »

Offline Clouseau

  • Full Member
  • ***
  • Posts: 111
  • Karma: +0/-0
  • Wheeers thö bög?
    • View Profile
So,is there any hope/idea to get working Open-VM-Tools to 32bit pfSense  ? At 64bit pfSense 2.0 RC1 it works.

Just updated to 2.0-RC1 (i386) built on Sun Mar 20 18:27:34 EDT 2011 

Now I have this error:
root: /usr/local/etc/rc.d/vmware-guestd.sh: WARNING: failed to start vmware_guestd

So Open-VM-Tools are totally broken!

« Last Edit: March 21, 2011, 05:18:02 am by Clouseau »
---------------------------------------------------------
Multible Alix 2D13 - pfSense 2.0 32bit
Multible Vmware vSphere - pfSense 2.0 32&64bit

Offline focalguy

  • Full Member
  • ***
  • Posts: 235
  • Karma: +0/-0
    • View Profile
    • My Blog
Re: Open-VM-Tools - "not installed or Unmanged" on vSphere
« Reply #26 on: March 21, 2011, 09:39:08 am »
I updated mine over the weekend (both the RC1 build and Open-VM tools) and it is now not working at all either. I don't know the exact version I had previously that worked so I know that's not much help.

Offline photonman

  • Jr. Member
  • **
  • Posts: 79
  • Karma: +0/-0
    • View Profile
Re: Open-VM-Tools - "not installed" on vSphere
« Reply #27 on: March 21, 2011, 01:34:53 pm »
what is the purpose of vm-tools on this type of VM?

Is it really necessary to have installed???

Offline Sloth

  • Newbie
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Re: Open-VM-Tools - "not installed" on vSphere
« Reply #28 on: March 22, 2011, 04:37:02 am »
what is the purpose of vm-tools on this type of VM?

Is it really necessary to have installed???

No not necessary but, imho, recommended if you are planning to run pfSense on a 'production' ESX server hosting other VMs. The vm-tools provide: improved ESX host memory management; improved network performance including some hardware offload (if you can get the vmxnet2 driver to work........); and allow the ESX host to initiate graceful shutdown of the pfSense guest.

Jason.

Offline Sloth

  • Newbie
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Re: Open-VM-Tools - NOT WORKING on vSphere
« Reply #29 on: March 22, 2011, 04:52:42 am »
32bit open-vm-tools still not working for me. Just tried a package reinstall on a '2.0-RC1 (i386)
built on Thu Mar 17 07:55:22 EDT 2011' VM, and get the following error:
root: /usr/local/etc/rc.d/vmware-guestd.sh: WARNING: failed to start vmware_guestd

open-vm-tools is still showing as version 217847 in package manager.

NB: I also tried adding a vmxnet2 NIC and, even though the driver looks to initialize OK, it does not pass any traffic. I have to say that I have not had any sucess with the VMXNET2 driver in any build of pfSense 2.0 - anyone else managed to get this to work?

Jason.