Difference between revisions of "VMware Tools"

From SME Server
Jump to navigationJump to search
Line 52: Line 52:
 
  wget <nowiki>http://packages.vmware.com/tools/esx/4.0/rhel4/i686/vmware-open-vm-tools-kmod-8.0.0-164009.165940.el4.i686.rpm</nowiki>
 
  wget <nowiki>http://packages.vmware.com/tools/esx/4.0/rhel4/i686/vmware-open-vm-tools-kmod-8.0.0-164009.165940.el4.i686.rpm</nowiki>
 
  wget <nowiki>http://packages.vmware.com/tools/esx/4.0/rhel4/i686/vmware-open-vm-tools-common-8.0.0-164009.165940.el4.i686.rpm</nowiki>
 
  wget <nowiki>http://packages.vmware.com/tools/esx/4.0/rhel4/i686/vmware-open-vm-tools-common-8.0.0-164009.165940.el4.i686.rpm</nowiki>
  wget <nowiki>http://packages.vmware.com/tools/esx/4.0/rhel4/i686/vmware-tools-nox-8.0.0-164009.165940.el4.i686.rpm</nowiki>
+
  wget <nowiki>http://packages.vmware.com/tools/esx/4.0/rhel4/i686/vmware-open-vm-tools-nox-8.0.0-164009.165940.el4.i686.rpm</nowiki>
 
Install the packages and dependencies
 
Install the packages and dependencies
 
  /usr/bin/yum localinstall \
 
  /usr/bin/yum localinstall \
Line 58: Line 58:
 
   vmware-open-vm-tools-common-8.0.0-164009.165940.el4.i686.rpm \
 
   vmware-open-vm-tools-common-8.0.0-164009.165940.el4.i686.rpm \
 
   vmware-open-vm-tools-nox-8.0.0-164009.165940.el4.i686.rpm
 
   vmware-open-vm-tools-nox-8.0.0-164009.165940.el4.i686.rpm
 +
Link the start script to run level 7
 +
ln -fs /etc/rc.d/init.d/vmware-tools /etc/rc7.d/S90vmware-tools
 +
Start the service
 +
service vmware-tools start
 +
 +
====SME Server 7.4 Guest on ESXi 4.0 Update 1====
 +
Download the required packages
 +
wget <nowiki>http://packages.vmware.com/tools/esx/4.0u1/rhel4/i686/vmware-open-vm-tools-kmod-8.0.2-208167.el4.i686.rpm</nowiki>
 +
wget <nowiki>http://packages.vmware.com/tools/esx/4.0u1/rhel4/i686/vmware-open-vm-tools-common-8.0.2-208167.el4.i686.rpm</nowiki>
 +
wget <nowiki>http://packages.vmware.com/tools/esx/4.0u1/rhel4/i686/vmware-open-vm-tools-nox-8.0.2-208167.el4.i686.rpm</nowiki>
 +
Install the packages and dependencies
 +
/usr/bin/yum localinstall \
 +
  vmware-open-vm-tools-kmod-8.0.2-208167.el4.i686.rpm \
 +
  vmware-open-vm-tools-common-8.0.2-208167.el4.i686.rpm \
 +
  vmware-open-vm-tools-nox-8.0.2-208167.el4.i686.rpm
 
Link the start script to run level 7
 
Link the start script to run level 7
 
  ln -fs /etc/rc.d/init.d/vmware-tools /etc/rc7.d/S90vmware-tools
 
  ln -fs /etc/rc.d/init.d/vmware-tools /etc/rc7.d/S90vmware-tools

Revision as of 21:47, 22 April 2010

Purpose

This document describes the installation of the VMware Tools on a SME guest running on a VMware Server or an ESX Server.

Mount the installation CDROM image

This is not required on ESXi 4!

ESX 3.5

Start the Virtual Infrastructure Client. Make sure that you have added a virtual CDROM device to the SME VM. Power on the SME VM.

Right click in the SME VM and select 'Install/Upgrade VMware Tools'.

VMware Server

Start the VMware Server Console. Make sure that you have added a virtual CDROM device to the SME VM. Power on the SME VM.

Select the SME VM, then select menu 'VM'=>'Install VMware Tools...'.

Installation

SME Server 8 and 7.4 Guests on VMWare Server 2

Log into SME as user root on the local console.

mkdir -p /mnt/cdrom 
mount /dev/cdrom /mnt/cdrom
rpm -ivh /mnt/cdrom/VMwareTools*i386.rpm
vmware-config-tools.pl
ln -fs /etc/rc.d/init.d/vmware-tools /etc/rc7.d/S90vmware-tools 
reboot
Important.png Note:
After a SME Server update you must re-run vmware-config-tools.pl


SME Server 7.3 and 7.4 Guests on ESXi 3.5

Log into SME as user root on the local console.

mkdir -p /mnt/cdrom 
mount /dev/cdrom /mnt/cdrom
rpm -ivh /mnt/cdrom/VMwareTools*i386.rpm

Edit the file /etc/rc.d/init.d/vmware-tools and delete the following 2 lines:

939: vmware_exec 'Guest vmxnet fast network device:' vmware_stop_vmxnet
940: exitcode=$(($exitcode + $?))

Edit the file /usr/bin/vmware-config-tools.pl and search for the following line

$gSystem{'version_integer'} != kernel_version_integer(2, 4, 9)) {

and change it to

$gSystem{'version_integer'} != kernel_version_integer(2, 6, 9)) {

On ESXi 3.5.0 Build-123629 it is line #3565, on ESXi 3.5.0 Build-10271 it is line #3545.

Run the configuration script

vmware-config-tools.pl

and link the start script to run level 7

ln -fs /etc/rc.d/init.d/vmware-tools /etc/rc7.d/S90vmware-tools 
reboot
Important.png Note:
After a SME Server update you must re-run vmware-config-tools.pl


SME Server 7.4 Guest on ESXi 4.0

Download the required packages

wget http://packages.vmware.com/tools/esx/4.0/rhel4/i686/vmware-open-vm-tools-kmod-8.0.0-164009.165940.el4.i686.rpm
wget http://packages.vmware.com/tools/esx/4.0/rhel4/i686/vmware-open-vm-tools-common-8.0.0-164009.165940.el4.i686.rpm
wget http://packages.vmware.com/tools/esx/4.0/rhel4/i686/vmware-open-vm-tools-nox-8.0.0-164009.165940.el4.i686.rpm

Install the packages and dependencies

/usr/bin/yum localinstall \
 vmware-open-vm-tools-kmod-8.0.0-164009.165940.el4.i686.rpm \
 vmware-open-vm-tools-common-8.0.0-164009.165940.el4.i686.rpm \
 vmware-open-vm-tools-nox-8.0.0-164009.165940.el4.i686.rpm

Link the start script to run level 7

ln -fs /etc/rc.d/init.d/vmware-tools /etc/rc7.d/S90vmware-tools

Start the service

service vmware-tools start

SME Server 7.4 Guest on ESXi 4.0 Update 1

Download the required packages

wget http://packages.vmware.com/tools/esx/4.0u1/rhel4/i686/vmware-open-vm-tools-kmod-8.0.2-208167.el4.i686.rpm
wget http://packages.vmware.com/tools/esx/4.0u1/rhel4/i686/vmware-open-vm-tools-common-8.0.2-208167.el4.i686.rpm
wget http://packages.vmware.com/tools/esx/4.0u1/rhel4/i686/vmware-open-vm-tools-nox-8.0.2-208167.el4.i686.rpm

Install the packages and dependencies

/usr/bin/yum localinstall \
 vmware-open-vm-tools-kmod-8.0.2-208167.el4.i686.rpm \
 vmware-open-vm-tools-common-8.0.2-208167.el4.i686.rpm \
 vmware-open-vm-tools-nox-8.0.2-208167.el4.i686.rpm

Link the start script to run level 7

ln -fs /etc/rc.d/init.d/vmware-tools /etc/rc7.d/S90vmware-tools

Start the service

service vmware-tools start