VMWare tools for unRAID


Recommended Posts

Open-vm-tools for unRAID

 

open-vm-tools for users running unRAID as a guest in VMWare's eSXi.

 

It has a custom shutdown script that should cleanly shutdown the array.

 

Upon installation it will:

  • load the vmblock, vmhgfs, vmsync, vmci and vsock modules
  • Load the vmxnet3 module, and if it find a vmxnet3 interface, activate it (pre 5.0rc2 only)
  • If there are no vmxnet3 interfaces, load the vmxnet module
  • start vmtoolsd
  • enable time sync from the host.

 

There are two possible ways to install this:

  • For unRAID 5.0b11 an later use the put the .plg file /config/plugins on your flash drive.  See the beta-11 release announcement for more information: http://lime-technology.com/forum/index.php?topic=14664.0
  • For all version of unRAID, put the .tgz file in /extra on you flashdrive - Since unRAID now includes the VMXNET3 drive; this method is no longer recommend for version 5 (but still for 4.7).

 

See here for unRAID 6 http://lime-technology.com/forum/index.php?topic=38279

 

Latest Files

unRAID 5.0.1 / 5.0.2rc:

  open_vm_tools-2013.04.16.1098359_unRaid5.0.1-i686-29Zeron.plg

open_vm_tools-2013.04.16.1098359_unRaid5.0.1-i686-29Zeron.tgz

unRAID 5.0rc16c / 5.0.0:

  open_vm_tools-2013.04.16.1098359_unRaid5.0rc16c-i686-28Zeron.plg

open_vm_tools-2013.04.16.1098359_unRaid5.0rc16c-i686-28Zeron.tgz

 

unRAID 4.7:

  *Does not contain VMXNET3

  open_vm_tools_2011.09.23.491607_unRaid4.7-i686-4Zeron.tgz

 

Updates:

November 17 2013

  For unRAID 5.0.1


  •  
  • Build or unRAID 5.0.1/5.0.2rc

August 3 2013

  For unRAID 5.0rc16c


  •  
  • Better Icon

August 3 2013

  For unRAID 5.0rc16c


  •  
  • Build for RC16c - With new WebGui
     
  • Icon now under Other Settings

July 7 2013

  For unRAID 5.0rc16c


  •  
  • Build for RC16c
     
  • Change installer script to check kernel version not unraid version.

July 5 12 2013

  For unRAID 5.0rc16b


  •  
  • Build for RC16b

June 12 2013

  For unRAID 5.0rc14


  •  
  • Build for RC14

Mar 23 2013

  For unRAID 5.0rc12


  •  
  • Build for RC12

Jan 9 2013

  For unRAID 5.0rc9


  •  
  • Build for RC9
     
  • Small shutdown script tweak

Jan 8 2013

  For unRAID 5.0rc8


  •  
  • Hopefully fixed shutdown script

December 12 2012

  For unRAID 5.0rc8


  •  
  • Update to: open_vm_tools-2012.10.14.874563
     
  • Work around shutdown error on ESXi 5.1 (You no longer need to add ifup from your go file)
     
  • vmxnet3 is removed as it is now in unRAID

September17th 2012

  For unRAID 5.0rc8


  •  
  • vmxnet3 is removed as it is now in unRAID

July 10th 2012

  For unRAID 5.0rc6r8168test


  •  
  • vmxnet3 is removed as it is now in unRAID

June 26th 2012

  For unRAID 5.0-RC5


  •  
  • vmxnet3 is removed as it is now in unRAID

June 5th 2012

  For unRAID 5.0-RC4


  •  
  • vmxnet3 is removed as it is now in unRAID

May 9th 2012

  For unRAID 5.0-RC3


  •  
  • vmxnet3 is removed as it is now in unRAID

May 3rd 2012

  For unRAID 5.0-RC2test


  •  
  • vmxnet3 is removed as it is now in unRAID

 

Link to comment
  • Replies 331
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

  • 2 weeks later...
  • 2 weeks later...

Sorry for the question, but how do I install this through ESXi?  I don't want to mess up my unRaid.  Thank you!

 

I copied the file over to flash drive (in the root of flash drive using windows explorer copy) and then logged into unraid via esxi console (using root as user) and entered the command

 

installpkg /boot/open-vm-tools-2011.02.23-368700-dan1.tgz

 

this is how I got it to run, I did not edit/copy it to my "go" config file as of yet, however I imagine you can just edit the file and enter the "installpkg /boot/open-vm-tools-2011.02.23-368700-dan1.tgz" and the end of the "go" script.

Link to comment
  • 3 weeks later...

Update for open-vm-tools for unRAID 5.0beta:


  •      
  • open-vm-tools update to version 2011.04.25-402641
         
  • VMTools page added to the web interface that allows you to enable the host time-sync and mounting of shared folders.

 

Link to comment

Thanks for the updates, I installed and seems to be working.

I did notice that in the host controller summary page for that VM the tools details went from "not installed" to "UnManaged"  is the a way to have it agree that it's "installed" ?

Link to comment

Thanks for the updates, I installed and seems to be working.

I did notice that in the host controller summary page for that VM the tools details went from "not installed" to "UnManaged"  is the a way to have it agree that it's "installed" ?

 

"Unmanaged" is a valid state for VMware Tools, and indicates that some mechanism other than the classic VMware Tools "interactive/scriptable" installer engine is responsible for keeping the tools components "up to date".

 

see here: http://communities.vmware.com/message/1451706#1451706

Link to comment

Thanks for the updates, I installed and seems to be working.

I did notice that in the host controller summary page for that VM the tools details went from "not installed" to "UnManaged"  is the a way to have it agree that it's "installed" ?

 

"Unmanaged" is a valid state for VMware Tools, and indicates that some mechanism other than the classic VMware Tools "interactive/scriptable" installer engine is responsible for keeping the tools components "up to date".

 

see here: http://communities.vmware.com/message/1451706#1451706

 

 

Many thanks for this clarification... as well as the addition of the new page on the menu.

Link to comment
  • 1 month later...
  • 1 month later...
  • 2 weeks later...

I noticed open vm tools posted a new release, figured I would give it a try to compile so we have more than one person on this.

Running ESXi 4.1u1, working on a dev unRAID 5.0beta10 VM.

 

I get the following when running configure:

 

configure: error: glib >= 2.6.0 is required.

 

I dont see any version of glib 2.6 or greater as slackware package. Can you assist in what you used to compile this package, please.

Many thanks.

 

I also exploded the last package you made and renamed the directory /lib/modules/2.6.37.6-unRAID to 2.6.39.3-unRAID, made a new package (this is for 5.0Beta10) and tested installing it and received:

 

Loading VMWare modules.
FATAL: Error inserting vmblock (/lib/modules/2.6.39.3-unRAID/kernel/fs/vmblock/v
mblock.ko): Invalid module format
FATAL: Error inserting vmhgfs (/lib/modules/2.6.39.3-unRAID/kernel/fs/vmhgfs/vmh
gfs.ko): Invalid module format
FATAL: Error inserting vmxnet (/lib/modules/2.6.39.3-unRAID/kernel/drivers/net/v
mxnet.ko): Invalid module format
FATAL: Error inserting vmsync (/lib/modules/2.6.39.3-unRAID/kernel/drivers/misc/
vmsync.ko): Invalid module format
FATAL: Error inserting vmci (/lib/modules/2.6.39.3-unRAID/kernel/drivers/misc/vm
ci.ko): Invalid module format
FATAL: Error inserting vsock (/lib/modules/2.6.39.3-unRAID/kernel/net/vsock/vsoc
k.ko): Invalid module format
Starting VMWare Tools Daemon.
Enabling Time-Sync.
Attempting to mount /mnt/hgfs
Package open-vm-tools-unRaid50beta10.tgz installed.

I was able to suspend and resume. Tried to test "Restart" but once it shutdown it did not restart. web gui did have the VMTools tab, nice touch!.

 

Lastly, love that you shared this with us!

Link to comment

vmtools modules are compiled against a specific kernel, changing the directory path is not enough to make it work, you need to recompile those modules.

 

Thank makes sense as the kernel did change in 5.0Beta10 (still learning). So I guess then the most important is were does one get the  glib >= 2.6.0 version? OR what dev tools did you use Zeron to compile.

Link to comment

so if i'm on 4.7 and then upgrade to a 5.0x beta, is it possible ?

 

i'm a linux newb, so don't know if it's easy to just undo/uninstall this and then install the appropriate 5.0x version ?

 

Yes - just remove the version for 4.7 and put the 5.0Beta on in it's place.  Just make sure to remove the 4.7 one before you upgrade - you do not want it to load under V.5

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.