|
The implementation is specific to each supported guest operating system, but the steps are similar for each method.
Download OSPs for the CentOS 4 or OEL 4 Guest OS
Download the packages for your platform into a directory in the guest of the virtual machine where the VMware Tools will be installed. That is, download all the rpm packages for a given distribution and architecture. For example, if you are using CentOS 4, download everything in the centos4/i586 directory.
This section applies to CentOS 4 and OEL 4. Higher level package management, such as yum, are not currently supported for CentOS 4 or OEL 4.
To manually configure the guest OS
- Locate the VMware Tools required packages.
- Download the packages to the virtual machine where they are to be installed.
To download OSPs for VMware Tools CentOS 4 or OEL 4
- Browse the repository at:
http://packages.vmware.com/tools/esx/<esx-version> <esx-version> is replaced with either 3.5u2, 3.5u3, 3.5u4, 4.0, or 4.0u1 depending upon your ESX/ESXi version.
- Locate the subdirectory:
Go to /rhel4 CentOS 4 and OEL 4 uses the RHEL 4 base, and are in the rhel4 directory.
- Identify the rpms required for VMware Tools installation.
For example: vmware-open-vm-tools-kmod-7.4.6-110268.130320.el4.i686.rpm The naming convention used for packages is: <package-name>-<version>-<tools-build>.<package-build>.<dist>.<arch>.rpm <package-name> is the package name for each required file. <version> is the version for the package. <tools-build>.<package-build> is the release build for the tools and the package. Multiple versions might exist in the repository. Select the most recent (higher numbered) <tools-build>.<package-build>. <dist> is Linux distribution version. Use CentOS4 or OEL4. <arch> is the architecture option. For 32]bit, this is i686. For 64]bit, this is x86_64.
- Create a directory for the RPMS on the virtual machine where the VMware Tools are to be installed.
/<vmware-tools-path>/
- Download RPMs into the directory you created.
Install VMware Tools for CentOS 4 or OEL 4 Guest OS
Installing VMware Tools on a CentOS 4 or OEL 4 virtual machine requires manually running rpm commands.
Specify the package and rug installs the additional required VMware Tools packages. For a list of packages to install, see gIdentify the Packages to Installh on page 9. Before completing these steps, complete all steps in gPrepare the Guest Operating System for VMware Toolsh on page 11.
To Install VMware Tools in CentOS 4 or OEL 4
- (Optional) Back up the CentOS or OEL provided SVGA driver from the command line of the guest operating system virtual machine:
[For 64]bit, type: # cp /usr/X11R6/lib64/modules/drivers/vmware_drv.o /usr/X11R6/lib64/modules/drivers/vmware_drv.o.backup
[For 32]bit, type: # cp /usr/X11R6/lib/modules/drivers/vmware_drv.o /usr/X11R6/lib/modules/drivers/vmware_drv.o.backup
- Install the VMware Tools packages, type:
# rpm -ivh vmware-open-vm-tools-*.rpm vmware-tools-*.rpm When this command is run, all the other packages are installed in the correct order.
- (Optional) Install VMware provided SVGA or mouse driver replacing the CentOS or OEL provided versions. The automatic installation skips these package if they are older versions than the installed CentOS or OEL versions.
If you uninstall OSPs and want to use the CentOS or OEL provided drivers, you need to reinstall them. # rpm -ivh --force vmware-open-vm-tools-xorg-drv-display-<version>-<tools-build>.<package-build>.<dist>.<arch>.rpm <version> is the version for the package. <tools-build>.<package-build> is the release build for the tools and the package. <dist> is the Linux distribution version. Use CentOS4 or OEL4. <arch> is the architecture option. [For 32]bit, this is i686. [For 64]bit, this is x86_64.
Verify Installation
After installation is complete, verify that VMware Tools is installed and functioning properly.
To verify VMware Tools installation
- Reboot the virtual machine. This enables 32‐bit machines to use vmxnet.
- To verify that guestd is running, type:
/etc/init.d/vmware-tools status
- If installed packages included desktop components, verify that vmware-user is running.
View the VMware Tools icon on the virtual machine toolbar.
- Search for a specific kernel module, for example:
# lsmod | grep ^vmmemctl # vmmemctl
- If VMware Tools are installed on a GUI system, restart the virtual machine GUI.This action verifies that the new SVGA and mouse drivers or configurations are functioning.
- To verify that the mouse drivers are working:
- Click in the virtual machine and perform a task.
- Click outside the virtual machine in the Windows screen and perform a task.
If the mouse driver is working correctly, you should be able to perform these tasks without using Ctrl‐Alt to shift the mouse from one window to the next.
- To verify the SVGA drivers, verify that you can change resolutions using one of the following methods:
-
- System > Preferences > Screen Resolution. (Depending upon your guest.)
- Command line as the logged in user.
$ xrandr --size 1024x768 $ xrandr --size 800x600
Unmanaged VMware Tools
After installing a VMware Tools OSP on a guest, the vSphere client reports the status of VMware Tools as unmanaged for that guest. As a result, this indicates that OSPs are installed and you should not attempt to install the standard VMware Tools through the vShpere client.
|
Add to Favourites
Print this Article
|