cool_dude

Open vmtools for dsm 6.1 on esxi 6.5

Recommended Posts

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

Share this post


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

Share this post


Link to post
Share on other sites
On 07/12/2017 at 9:29 PM, repulse said:

 

Could it be used on ESXI 6.0 ? Running on Microserver Gen8 with dsm6.

 

No one ?

Share this post


Link to post
Share on other sites

HDD hibernation working with the open vm tools? I think it hold my HDD`s up because it try every second to determine the OS version and failed...

Share this post


Link to post
Share on other sites

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

 

Docker Container is working perfect! Now HDD hibernation working also.

 

 Thank you for your work!

Share this post


Link to post
Share on other sites
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?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now