VMWare tools for unRAID


Recommended Posts

  • Replies 331
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Zeron could confirm, but I'm not sure open-vm-tools include the vmxnet3 driver.

A took a quick look at the open-vm-tools source code and I see that the vmxnet3 headers are only included in the solaris verison of the package  ???

 

Another option would be to install the "real" vmware tools, which should obviously include the vmxnet3 module. But that doesn't sound so easy (getting errors about the gcc version I'm using).

 

madburg, how did you manage to get vmxnet2 working ? I'm running esxi 5, so I can only use the vmxnet2 "enhanced" version. Is that supported ?

Link to comment

An easier method might be a custom kernel with the VMXNET3 support complied in.  I'm not sure the kernel version but it has been built into the Linux kernel for a while now. 

 

Unless I'm mistaken, Tom is still using Slackware 13.1 development tools for v5 beta build, so this wiki topic should guide the kernel recompilation:

 

http://lime-technology.com/wiki/index.php?title=Installing_VirtualBox_in_unRAID

 

The goal here is to install the development tools and the kernel source, configure the existing kernel ".config" options to the source and then built the headers. Then you can add drivers with the "make menuconfig" tool.

 

Please note that those scripts at the end of the topic are outdated, so some links need to be updated.

Link to comment

An easier method might be a custom kernel with the VMXNET3 support complied in.  I'm not sure the kernel version but it has been built into the Linux kernel for a while now. 

 

Unless I'm mistaken, Tom is still using Slackware 13.1 development tools for v5 beta build, so this wiki topic should guide the kernel recompilation:

 

http://lime-technology.com/wiki/index.php?title=Installing_VirtualBox_in_unRAID

 

The goal here is to install the development tools and the kernel source, configure the existing kernel ".config" options to the source and then built the headers. Then you can add drivers with the "make menuconfig" tool.

 

Please note that those scripts at the end of the topic are outdated, so some links need to be updated.

 

I'll go that route once it is out of beta, too much work for me to keep up with the versions before then.

Link to comment

An easier method might be a custom kernel with the VMXNET3 support complied in.  I'm not sure the kernel version but it has been built into the Linux kernel for a while now.  

 

Thanks for the hint ! Indeed, I'm surprised, but I had more luck in compiling a custom kernel than in compiling vmware tools !

So I was successfully able to recompile my 5.12a kernel and adding the VMXNET3 drivers (included into the Linux kernel sources, you were right brian89gp).

 

This was almost painless, and the resulting kernel seems to work fine... and with a network link of 10Gbp  ;D ;D

 

I mainly followed the instructions from http://lime-technology.com/wiki/index.php?title=Installing_Tvheadend_in_unRAID, but skipped the tvheadend and firmware related topics.

 

I can also try to write a how-to guide if the above link is not enough. Or even provide the custom bzroot & bzimage is needed.

Let me know if I can help !

 

Thanks everybody for your help and the great wiki topics !

Link to comment

I have added the VMXNET3 driver to the packages from beta-12a and beta-13.

 

Thanks SO much, really appreciate it!!!

 

The following is all you need to do:

Stage the latest plg (by zeron to /boot/config/plugins).

Edit your go script with the following entries before ANYTHING else:

1) depmod -a

2) ifconfig eth0 up

3) /etc/rc.d/rc.inet1 start

Now shutdown your (unRAID) VM, remove the current nic you had assigned (passthru or E1000)

Add a VMXNET3 NIC. Save your changes.

Power on your unRAID VM. Enjoy.

 

I figured this out by reading up on alot of linux networking blogs... got it to work for the VMXNET2 driver (vmxnet linux), same for the vmxnet3.

 

Yes, it would be great if Tom added the vmxnet3 driver in (complete tools even better).

Thanks againg Zeron

 

Link to comment
  • 2 weeks later...
  • 4 weeks later...

I have been working on making a vmtools package that works in unRAID.

 

If anyone wants to try it, the latest version can be found here:

unRAID 5 Beta 14: http://unraid.zeron.ca/plugins/open-vm-tools/open_vm_tools-2011.11.20.535097_unRaid5.0beta14-i686-1Zeron.plg

unRAID 5 Beta 13: http://unraid.zeron.ca/plugins/open-vm-tools/open_vm_tools-2011.10.26.514583_unRaid5.0beta13-i686-4Zeron.plg

unRAID 5 Beta 12/12a: http://unraid.zeron.ca/plugins/open-vm-tools/open_vm_tools-2011.10.26.514583_unRaid5.0beta12a-i686-4Zeron.plg

unRAID 5 Beta 11: http://marvin.zeron.ca/unraid/open-vm-tools/open-vm-tools-2011.07.19-450511-unRaid5.0-beta11-Zeron1.01.tgz

unRAID 5 Beta 10: http://marvin.zeron.ca/unraid/open-vm-tools-2011.07.19-450511-unRaid5.0-beta10-Zeron1.01.tgz

unRAID 5 Beta7/Beta8/Beta9: http://marvin.zeron.ca/unraid/open-vm-tools-2011.06.27-437995-unRaid50beta8-dan1.tgz

unRAID 5 Beta6: http://marvin.zeron.ca/unraid/open-vm-tools-2011.04.25-402641-unRaid50beta-dan1.tgz

 

unRAID 4.7: http://unraid.zeron.ca/plugins/open-vm-tools/open_vm_tools_2011.09.23.491607_unRaid4.7-i686-4Zeron.tgz

 

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

 

Upon installation it will:

  • load the vmblock, vmhgfs, vmxnet3, vmxnet, vmsync, vmci and vsock modules
  • start vmtoolsd
  • enable time sync from the host.

 

Updates:

Nov 25th 2011

  For unRAID 5.0-beta14


  •  
  • package Open-vm-tools ver: 2011.11.20.535097 including the VMXNET3 driver module.

 

Nov 14th 2011

 For unRAID 5.0-beta12a and unRAID 5.0-beta13


  •  
  • package Open-vm-tools ver: 2011.10.26.514583 including the VMXNET3 driver module.

 

Oct 31st 2011

 For unRAID 5.0-beta13


  •  
  • Update to: Open-vm-tools ver: 2011.10.26.514583
     
  • hgfs is fixed in this release

 

Oct 29th 2011

 For unRAID 5.0-beta13


  •  
  • Update to: Open-vm-tools ver: 2011.09.23.491607
     
  • WARNING:  Due to a code bug in open-vm-tools that causes a null pointer deference when used under kernel 3.1 this version does NOT include hgfs support

 

Oct 18th 2011

 For unRAID 5.0-beta12/12a


  •  
  • Update to: Open-vm-tools ver: 2011.09.23.491607

 For unRAID 4.7


  •  
  • Update to: Open-vm-tools ver: 2011.09.23.491607
     
  • include a /etc/slackware-version file to prevent vmsvc logspamming about unable to detect distro

 

Sept 5th 2011

 For unRAID 5.0-beta12/12a


  •  
  • Update to: Open-vm-tools ver: 2011.08.21.471295

 

Aug 26th 2011

 For unRAID 5.0-beta12


  •  
  • Build for beta-12
     
  • File naming to match Slackware package standards

 

Aug 15th 2011

 For unRAID 5.0-beta11


  •  
  • Build for beta-11
     
  • Create initial .plg file

 

Aug 11th 2011

 For unRAID 5.0-beta10


  •  
  • Minor updates to the build and install script

 

July 27th 2011

 For unRAID 5.0beta10:


  •      
  • open-vm-tools update to version 2011.07.19-450511

 For unRAID 4.7:


  •      
  • open-vm-tools update to version 2011.07.19-450511

 

 

Links appear to be non functional.
Link to comment
  • 2 weeks later...

Hello

I'm fairly new to unraid and still groping in the dark re installing packages.

 

I'm getting the following err messages when trying to install the package.

fwiw . I don't boot from the flash drive.  I have a small vmdk as per http://lime-technology.com/forum/index.php?topic=7914.0

I'm running beta 14. 

I downloaded the .tgz file to the boot/packages directory and ran

"installpkg packages/open_vm_tools-2011.11.20.535097_unRaid5.0beta14-i686-1Zeron.tgz " as per a post on the 1st page of this forum.

 

Tank login: root
Linux 3.1.1-unRAID.
root@Tank:~# cd /boot
root@Tank:/boot# installpkg packages/open_vm_tools-2011.11.20.535097_unRaid5.0beta14-i686-1Zeron.tgz 
Verifying package open_vm_tools-2011.11.20.535097_unRaid5.0beta14-i686-1Zeron.tgz.
Installing package open_vm_tools-2011.11.20.535097_unRaid5.0beta14-i686-1Zeron.tgz:
PACKAGE DESCRIPTION:
Executing install script for open_vm_tools-2011.11.20.535097_unRaid5.0beta14-i686-1Zeron.tgz.
   _____                _____ _____    _____         _
  |     |___ ___ ___   |  |  |     |  |_   _|___ ___| |___
  |  |  | . | -_|   |  |  |  | | | |    | | | . | . | |_ -|
  |_____|  _|___|_|_|   \___/|_|_|_|    |_| |___|___|_|___|
        |_|    v. 2011.11.20-535097 for unRAID 5.0-beta14

install/doinst.sh: line 27: /boot/config/plugins/open-vm-tools/open-vm-tools.cfg: No such file or directory
install/doinst.sh: line 28: /boot/config/plugins/open-vm-tools/open-vm-tools.cfg: No such file or directory
Loading VMWare modules.
Starting VMWare Tools Daemon.
/usr/bin/grep: /boot/config/plugins/open-vm-tools/open-vm-tools.cfg: No such file or directory
/usr/bin/grep: /boot/config/plugins/open-vm-tools/open-vm-tools.cfg: No such file or directory
Package open_vm_tools-2011.11.20.535097_unRaid5.0beta14-i686-1Zeron.tgz installed.

root@Tank:/boot# 

 

To fix this.. I had to manually create boot/config/plugins and /boot/config/plugins/open-vm-tools  directories.

 

 

Now that it's installed ... 

Should I add "installpkg packages/open_vm_tools-2011.11.20.535097_unRaid5.0beta14-i686-1Zeron.tgz "  to the 'go' file?

 

tia

Link to comment

Hi all

 

New to this and very green with Linux.

 

Can someone post some isntructions in the first post on how to install as well.  I know it may be buried in this thread somewhere, but in future when it gets to be a large thread it is going to be difficult to find and newbies like me will just keep asking the same thing over and over.

 

I also prefer to isntall the tools to the boot drive not the usb drive - is this possible?

 

Mick

Link to comment

New packages have been placed on the first post.

 

Beta6a and Beta12a have been updated to open-vm-tools version: 2011.12.20.562307.  Beta 13 and 14 were not due to a compile problem with 2011.12.20.562307 and Kernel 3.1

 

For Beta6a, 12a, 13 and 14 the package should no be able to detect and activate a VMXNET3 interface automatically so you will not need to add any lines to you go script.

 

The missing /boot/config/plugins/open-vm-tools folder when installing from a .tgz file should now be created automatically.

Link to comment
  • 3 weeks later...

Open-vm-tools for unRAID

 

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

 

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 - this method is recommend for unRAID before 5.0b11 and any user who uses VMXNET3

 

Latest Files

unRAID 5 Beta 14:

  open_vm_tools-2011.11.20.535097_unRaid5.0beta14-i686-5Zeron.plg

  open_vm_tools-2011.11.20.535097_unRaid5.0beta14-i686-5Zeron.tgz

unRAID 5 Beta 13:

  open_vm_tools-2011.11.20.535097_unRaid5.0beta13-i686-5Zeron.plg

  open_vm_tools-2011.11.20.535097_unRaid5.0beta13-i686-5Zeron.tgz

unRAID 5 Beta 12/12a:

  open_vm_tools-2011.12.20.562307_unRaid5.0beta12a-i686-3Zeron.plg

  open_vm_tools-2011.12.20.562307_unRaid5.0beta12a-i686-3Zeron.tgz

unRAID 5 Beta 11:

  open-vm-tools-2011.07.19-450511-unRaid5.0-beta11-Zeron1.01.tgz

  *Does not contain VMXNET3

unRAID 5 Beta 10:

  *Does not contain VMXNET3

  open-vm-tools-2011.07.19-450511-unRaid5.0-beta10-Zeron1.01.tgz

unRAID 5 Beta7/Beta8/Beta9:

  *Does not contain VMXNET3

  open-vm-tools-2011.06.27-437995-unRaid50beta8-dan1.tgz

unRAID 5 Beta6a:

  open_vm_tools-2011.12.20.562307_unRaid5.0beta6a-i686-3Zeron.tgz

unRAID 4.7:

  *Does not contain VMXNET3

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

 

OK either I missed the post with link to the .plg file for 5beta11 or I am totally confused. As per above text, if you are running 5beta11 or higher, you download the appropriate .plg file and copy it to you /config/plugins folder and reboot the box. I am running 5beta11 but I do not see the .plg file. I can only see .tgz in the 1st post. Am I missing something?

Link to comment
OK either I missed the post with link to the .plg file for 5beta11 or I am totally confused. As per above text, if you are running 5beta11 or higher, you download the appropriate .plg file and copy it to you /config/plugins folder and reboot the box. I am running 5beta11 but I do not see the .plg file. I can only see .tgz in the 1st post. Am I missing something?

 

Just put the tgz file in /boot/extra and it will be auto installed at boot up time.

Or you can put it anywhere you want and in your go script put:

installpkg /path/to/location/open-vm-tools-2011.07.19-450511-unRaid5.0-beta11-Zeron1.01.tgz

 

Link to comment

OK either I missed the post with link to the .plg file for 5beta11 or I am totally confused. As per above text, if you are running 5beta11 or higher, you download the appropriate .plg file and copy it to you /config/plugins folder and reboot the box. I am running 5beta11 but I do not see the .plg file. I can only see .tgz in the 1st post. Am I missing something?

 

Added to first post.

Link to comment
  • 1 month later...

So, was experimenting with these under b12a using the tgz in the extra folder.  Seems to work well to start, vmxnet3 driver appears to work properly and the openvmtools load on startup.  However, its stated that there's a custom script to do a clean shutdown - supposedly so I could have the vmhost initiate the call, correct?  When I tested this by executing a guest shutdown from the vmsphere client, the unraid web client shuts down, I believe the array was stopped, but the guest vm will not actually shut down. 

 

Am I missing something here that should be evident?  Any help would be great, as this is one piece to getting my vmhost on automated ups shutdown.  Thanks!

Link to comment

So, was experimenting with these under b12a using the tgz in the extra folder.  Seems to work well to start, vmxnet3 driver appears to work properly and the openvmtools load on startup.  However, its stated that there's a custom script to do a clean shutdown - supposedly so I could have the vmhost initiate the call, correct?  When I tested this by executing a guest shutdown from the vmsphere client, the unraid web client shuts down, I believe the array was stopped, but the guest vm will not actually shut down. 

 

Am I missing something here that should be evident?  Any help would be great, as this is one piece to getting my vmhost on automated ups shutdown.  Thanks!

 

If I recally correctly, b12a wouls segfault on shutdown on some systems.  Perhaps that is what is happening to yours.

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.