Difference between revisions of "VMware Tools"

From SME Server
Jump to navigationJump to search
m (added update note)
(updated instructions for ESXi Update 3 and SME 7.4)
Line 25: Line 25:
 
{{Note box| After a SME Server update you must re-run vmware-config-tools.pl}}
 
{{Note box| After a SME Server update you must re-run vmware-config-tools.pl}}
  
====SME Server 7.3 ====
+
====SME Server 7.3 and 7.4 ====
 
Log into SME as user root on the local console.
 
Log into SME as user root on the local console.
 
  mkdir -p /mnt/cdrom  
 
  mkdir -p /mnt/cdrom  
Line 35: Line 35:
 
  '''940:''' exitcode=$(($exitcode + $?))
 
  '''940:''' exitcode=$(($exitcode + $?))
  
Edit the file <tt>/usr/bin/vmware-config-tools.pl</tt> and change this line from
+
Edit the file <tt>/usr/bin/vmware-config-tools.pl</tt> and search for the following line
  '''3543:''' $gSystem{'version_integer'} != kernel_version_integer(2, 4, 9)) {
+
  $gSystem{'version_integer'} != kernel_version_integer(2, 4, 9)) {
to
+
and change it to
  '''3543:''' $gSystem{'version_integer'} != kernel_version_integer(2, 6, 9)) {
+
  $gSystem{'version_integer'} != kernel_version_integer(2, 6, 9)) {
 +
On ESXi 3.5.0 '''Build-123629''' it is line #'''3565''', on On ESXi 3.5.0 '''Build-10271''' it is line #'''3545'''.
  
 +
Run the configuration script
 
  vmware-config-tools.pl
 
  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  
 
  ln -fs /etc/rc.d/init.d/vmware-tools /etc/rc7.d/S90vmware-tools  
 
  reboot
 
  reboot

Revision as of 16:48, 23 November 2008

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

ESX

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

Please note, that you must not login remotely in the next step!

SME Server 8

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

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 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