These instructions are for JunOS SPACE 16.1 or newer. I also have instructions for JunOS SPACE 15.2 or older.
JunOS SPACE, Juniper’s management tool for JunOS devices (switches, routers, firewalls), officially supports Open VM Tools for management from ESXi. Unfortunately, Juniper’s instructions are to build Open VM Tools, and that won’t work without a dev environment, which is not present in JunOS SPACE.
SPACE 16.1 is built on CentOS 6, which in turn is a RHEL 6 clone. Open VM Tools exist in CentOS 6 repositories, so all we need to do is to enable those repositories and we can install binaries.
Navigate to /etc/yum.repos.d and create a new file named centos6.repo, with this content:
[centos6] name=CentOS 6 Repository baseurl=http://mirror.centos.org/centos/6/os/$basearch enabled=1 gpgcheck=1 gpgkey=http://mirror.centos.org/centos/6/os/x86_64/RPM-GPG-KEY-CentOS-6 [extras] name=CentOS 6 Extras Repository baseurl=http://mirror.centos.org/centos/6/extras/$basearch enabled=1 gpgcheck=0
Back on command line, add the EPEL repository:
yum install epel-release
Install Open VM Tools:
yum install open-vm-tools
service vmtoolsd start
For good measure, you can now disable the centos 6 and epel repos again, by editing centos6.repo and epel.repo in /etc/yum.repos.d/ and setting this line for centos6, extras, and epel:
Verify those repos are disabled:
Thanks for the article! When I run yum install open-vm-tools, I receive “No package open-vm-tools available”
I’ve done exactly as listed to creating the centos6.repo file and adding the text in vi and saving the file. I’m running Space 16.1. I’m at a loss and have no idea what to do. Any suggestions? Things I can check?
You need the epel repo. Did that come in successfully?
You can also try following these instructions instead: https://webhostinggeeks.com/howto/how-to-install-open-vm-tools-in-centos-6-6/
Leave a comment