Open vmtools for dsm 6.1 on esxi 6.5


Recommended Posts

  • 1 month later...

I wanted open-vm-tools / vmware tools installed on my xpenology nas running on top of ESXi, mainly so i could press the power button on the host and still have the DSM guest shutdown safely. The thought of compiling and installing a custom spk for open-vm-tools seemed to complicated and risky, so instead I created a Docker image that solves the problem.

 

https://github.com/yale-wp/docker-xpenology-open-vm-tools

 

The only thing required to run this docker container is the Official Synology Docker package and for SSH to be enabled. Once the container is running shutdown/restart from ESXi will work and networking information will be returned.

 

dsm-esxi.png

Link to post
Share on other sites

https://mega.nz/#!K55GECQb!mgpln1JirxKmicjSugRyPQQb68H0QHZzV7e0qnuaiLI (ds3615)

https://mega.nz/#!P1IFVLYR!zIDgtkEuyzEMhFNGC45QGnBRezcxDyk4WbaxTLtRYSU (ds3617)

 

The ds3617 was "patched" is basicly the same as the ds3615 spk, just with changed support for the target environment.

 

 

The Docker Container solution simply wrappes the shutdown hook from openvmtools and uses ssh to access XPE via shell to trigger the shutdown process there. Clever solution that is. Though, I prefer to use the spk in XPE directly.

 

Edited by haydibe
Link to post
Share on other sites
  • 1 month later...
  • 4 weeks later...
  • 1 month later...
  • 4 weeks later...
  • 3 weeks later...
On 3/9/2018 at 6:59 PM, raumi20 said:

Open-vm-tools spk poduce to much failures and spam logs..

 

Solution to the logfile spam problem:

 

1) cat /proc/version > /etc/arch-release

2) edit /var/packages/open-vm-tools/scripts/start-stop-status, and comment out these lines:

#               if [ -e ${PIDFILE} ]; then
#                       echo "$(date) vmtoolsd ($(cat  ${PIDFILE})) is running..." >> ${LOGFILE}
#               else
#                       echo "$(date) vmtoolsd is not running..." >> ${LOGFILE}
#               fi

 

On 9/15/2017 at 7:59 PM, yale-xpo said:

I wanted open-vm-tools / vmware tools installed on my xpenology nas running on top of ESXi, mainly so i could press the power button on the host and still have the DSM guest shutdown safely. The thought of compiling and installing a custom spk for open-vm-tools seemed to complicated and risky, so instead I created a Docker image that solves the problem.

Any chance to make the SSH port configurable?

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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.