User Guide
Page 1
EN-000275-01 VMware Tools Configuration Utility User's Guide VMware Fusion 3.0 vSphere 4.1 VMware Workstation 7.0 VMware Player 3.0 This document supports the version of this document, see http://www.vmware.com/support/pubs. To check for more recent editions of each product listed and supports all subsequent versions until the document is replaced by a new edition.
EN-000275-01 VMware Tools Configuration Utility User's Guide VMware Fusion 3.0 vSphere 4.1 VMware Workstation 7.0 VMware Player 3.0 This document supports the version of this document, see http://www.vmware.com/support/pubs. To check for more recent editions of each product listed and supports all subsequent versions until the document is replaced by a new edition.
User Guide
Page 2
... protected by one or more patents listed at : http://www.vmware.com/support/ The VMware Web site also provides the latest product updates. VMware products are covered by U.S. VMware, Inc. 3401 Hillview Ave. If you have comments about this documentation, submit your feedback to -date technical documentation on the VMware Web site at http://www.vmware.com/go/patents. VMware Tools Configuration Utility User's Guide You can find the most...
... protected by one or more patents listed at : http://www.vmware.com/support/ The VMware Web site also provides the latest product updates. VMware products are covered by U.S. VMware, Inc. 3401 Hillview Ave. If you have comments about this documentation, submit your feedback to -date technical documentation on the VMware Web site at http://www.vmware.com/go/patents. VMware Tools Configuration Utility User's Guide You can find the most...
User Guide
Page 3
Contents About This Book 5 Using the VMware Tools Configuration Utility 7 Configure Time Synchronization Between Guest and Host 8 Disable Time Synchronization Completely 9 VMware Tools Service 10 Connect or Disconnect a Virtual Device 10 VMware Tools Device Drivers 11 Shrink a Virtual Disk 12 Use Custom VMware Tools Scripts 14 Default VMware Tools Scripts 15 Disable a VMware Tools Script 16 Retrieve Status Information About the Virtual Machine 17 Subcommands for the stat Command 18 Exit Codes 19 Index 21 VMware, Inc. 3
Contents About This Book 5 Using the VMware Tools Configuration Utility 7 Configure Time Synchronization Between Guest and Host 8 Disable Time Synchronization Completely 9 VMware Tools Service 10 Connect or Disconnect a Virtual Device 10 VMware Tools Device Drivers 11 Shrink a Virtual Disk 12 Use Custom VMware Tools Scripts 14 Default VMware Tools Scripts 15 Disable a VMware Tools Script 16 Retrieve Status Information About the Virtual Machine 17 Subcommands for the stat Command 18 Exit Codes 19 Index 21 VMware, Inc. 3
User Guide
Page 5
About This Book The VMware Tools Configuration Utility User's Guide provides an introduction to using the VMware® Tools command-line utility to docfeedback@vmware.com. If you have comments, send your products, go to automate configuration of a virtual machine. Online and Telephone Support Support Offerings VMware Professional Services To use telephone support for improving our documentation. Go to http://www.vmware.com/support. Users typically include administrators and others who configures VMware Tools. Technical Support and Education Resources The...
About This Book The VMware Tools Configuration Utility User's Guide provides an introduction to using the VMware® Tools command-line utility to docfeedback@vmware.com. If you have comments, send your products, go to automate configuration of a virtual machine. Online and Telephone Support Support Offerings VMware Professional Services To use telephone support for improving our documentation. Go to http://www.vmware.com/support. Users typically include administrators and others who configures VMware Tools. Technical Support and Education Resources The...
User Guide
Page 6
To access information about education classes, certification programs, and consulting services, go to help you assess, plan, build, and manage your virtual environment. VMware Tools Configuration Utility User's Guide Services provides offerings to http://www.vmware.com/services. 6 VMware, Inc.
To access information about education classes, certification programs, and consulting services, go to help you assess, plan, build, and manage your virtual environment. VMware Tools Configuration Utility User's Guide Services provides offerings to http://www.vmware.com/services. 6 VMware, Inc.
User Guide
Page 7
... host time and CPU speed. Use its help command to match the clock on page 10 You can display information about memory and CPU reservations and limits. n Connect or Disconnect a Virtual Device on the host. n Use Custom VMware Tools Scripts on page 14 You can use scripts to determine whether the clocks on the host. After that was previously available only in the guest operating system to modify VMware Tools settings, shrink virtual disks...
... host time and CPU speed. Use its help command to match the clock on page 10 You can display information about memory and CPU reservations and limits. n Connect or Disconnect a Virtual Device on the host. n Use Custom VMware Tools Scripts on page 14 You can use scripts to determine whether the clocks on the host. After that was previously available only in the guest operating system to modify VMware Tools settings, shrink virtual disks...
User Guide
Page 8
... on the host, VMware Tools moves the clock on the guest forward to match the clock on the host. For Mac guests, there is synchronized to match the clock on the host. VMware Tools Configuration Utility User's Guide Configure Time Synchronization Between Guest and Host When you turn on periodic time synchronization, VMware Tools sets the time of the guest operating system to turn on VMware Tools time synchronization. Option Windows Linux and Solaris FreeBSD Default Path Change directories to C:\Program Files\VMware\VMware Tools.
... on the host, VMware Tools moves the clock on the guest forward to match the clock on the host. For Mac guests, there is synchronized to match the clock on the host. VMware Tools Configuration Utility User's Guide Configure Time Synchronization Between Guest and Host When you turn on periodic time synchronization, VMware Tools sets the time of the guest operating system to turn on VMware Tools time synchronization. Option Windows Linux and Solaris FreeBSD Default Path Change directories to C:\Program Files\VMware\VMware Tools.
User Guide
Page 9
... with that its time never synchronizes with the host even if you want to enable or disable periodic time synchronization. utility-name timesync status For utility-name use enable or disable. Option Windows Linux, Solaris, and FreeBSD Action Use VMwareToolboxCmd.exe. Using the VMware Tools Configuration Utility 3 Enter the command to FALSE. Procedure 1 Open the configuration (.vmx) file of the virtual machine with a text editor. 2 Add lines for the time synchronization properties and set some properties...
... with that its time never synchronizes with the host even if you want to enable or disable periodic time synchronization. utility-name timesync status For utility-name use enable or disable. Option Windows Linux, Solaris, and FreeBSD Action Use VMwareToolboxCmd.exe. Using the VMware Tools Configuration Utility 3 Enter the command to FALSE. Procedure 1 Open the configuration (.vmx) file of the virtual machine with a text editor. 2 Add lines for the time synchronization properties and set some properties...
User Guide
Page 10
... images, USB devices, sound adapters, and network adapters. n In Windows guests, helps create the quiesced snapshots used in the virtual machine when you plan to indicate that help automate guest operating system operations. NOTE In Mac guests, the VMware Tools service only fits the screen resolution of the processes that sends a heartbeat to the VMware product to script the commands used by certain backup applications. n Audio devices are , see "Exit Codes," on the host. The service...
... images, USB devices, sound adapters, and network adapters. n In Windows guests, helps create the quiesced snapshots used in the virtual machine when you plan to indicate that help automate guest operating system operations. NOTE In Mac guests, the VMware Tools service only fits the screen resolution of the processes that sends a heartbeat to the VMware product to script the commands used by certain backup applications. n Audio devices are , see "Exit Codes," on the host. The service...
User Guide
Page 11
...driver replaces the default VGA driver, which drivers to determine whether a device is connected or disconnected, as folder sharing available, and improve sound, graphics, and networking performance. Use vmware-tools-cli. 4 (Optional) Enter the command to install. Using the VMware Tools Configuration Utility Procedure 1 Open a command prompt or terminal on the guest operating system and the VMware product. Option Windows Linux, Solaris, and FreeBSD Mac Action Use VMwareToolboxCmd.exe. Use enable or disable. Change directories to '/Library/Application Support/VMware Tools...
...driver replaces the default VGA driver, which drivers to determine whether a device is connected or disconnected, as folder sharing available, and improve sound, graphics, and networking performance. Use vmware-tools-cli. 4 (Optional) Enter the command to install. Using the VMware Tools Configuration Utility Procedure 1 Open a command prompt or terminal on the guest operating system and the VMware product. Option Windows Linux, Solaris, and FreeBSD Mac Action Use VMwareToolboxCmd.exe. Use enable or disable. Change directories to '/Library/Application Support/VMware Tools...
User Guide
Page 12
... you install VMware Tools, a VMXNet NIC driver replaces the default vlance driver. During the snapshotting process, certain processes are paused and virtual machine disks are quiesced. Developers can write client-server applications to the VMCI Sock (vsock) interface to use of some third-party tools such as deleted files) and prepares them for the virtual machine. When you configure device settings for shrinking. Excluding this case, the LSI Logic SAS driver provided...
... you install VMware Tools, a VMXNet NIC driver replaces the default vlance driver. During the snapshotting process, certain processes are paused and virtual machine disks are quiesced. Developers can write client-server applications to the VMCI Sock (vsock) interface to use of some third-party tools such as deleted files) and prepares them for the virtual machine. When you configure device settings for shrinking. Excluding this case, the LSI Logic SAS driver provided...
User Guide
Page 13
... host has free disk space equal to the size of space the virtual disk occupies on the ESX/ESXi server, however, does not change. The space occupied by the virtual disk on the host drive. Change directories to /usr/local/sbin. 3 Enter the command to shrink the disk at a specified mount point. If the disk has empty space, this procedure and need to the VMware Tools installation directory. Using the VMware Tools Configuration Utility In the shrink step, the VMware application...
... host has free disk space equal to the size of space the virtual disk occupies on the ESX/ESXi server, however, does not change. The space occupied by the virtual disk on the host drive. Change directories to /usr/local/sbin. 3 Enter the command to shrink the disk at a specified mount point. If the disk has empty space, this procedure and need to the VMware Tools installation directory. Using the VMware Tools Configuration Utility In the shrink step, the VMware application...
User Guide
Page 14
... "Default VMware Tools Scripts," on page 19. VMware Tools Configuration Utility User's Guide Use Custom VMware Tools Scripts You can also edit default scripts or associate custom scripts with power operations. On most guest operating systems, if VMware Tools is set to script the commands used in any executable format, such as a batch file. n If you can configure settings so that it cannot display graphical applications. Change directories to /usr/local/sbin. 14 VMware, Inc. IMPORTANT This utility cannot run when the power state changes. Option Windows...
... "Default VMware Tools Scripts," on page 19. VMware Tools Configuration Utility User's Guide Use Custom VMware Tools Scripts You can also edit default scripts or associate custom scripts with power operations. On most guest operating systems, if VMware Tools is set to script the commands used in any executable format, such as a batch file. n If you can configure settings so that it cannot display graphical applications. Change directories to /usr/local/sbin. 14 VMware, Inc. IMPORTANT This utility cannot run when the power state changes. Option Windows...
User Guide
Page 15
utility-name script script-name current After you created. Default VMware Tools Scripts One or more default scripts for the virtual machine. The default script that runs when you resume a virtual machine starts networking for each power state are included in the /etc/vmware-tools directory. In Windows guests, the default scripts are located in VMware Tools. Use vmware-toolbox-cmd. Use power, resume, suspend, or shutdown. 6 Enter the command to use the custom script you complete this service performs, see "VMware Tools Service," on the...
utility-name script script-name current After you created. Default VMware Tools Scripts One or more default scripts for the virtual machine. The default script that runs when you resume a virtual machine starts networking for each power state are included in the /etc/vmware-tools directory. In Windows guests, the default scripts are located in VMware Tools. Use vmware-toolbox-cmd. Use power, resume, suspend, or shutdown. 6 Enter the command to use the custom script you complete this service performs, see "VMware Tools Service," on the...
User Guide
Page 16
... virtual machine. IMPORTANT This utility cannot run scripts in as well. Default VMware Tools Scripts Script Name poweroff-vm-default poweron-vm-default resume-vm-default suspend-vm-default Description If you configured the reset operation to restart the guest, this script releases the IP address of a script, log in Windows 95, 98, Me, and NT guest operating systems. Prerequisites On Linux, Solaris, and FreeBSD guests, to use DHCP, this script stops networking...
... virtual machine. IMPORTANT This utility cannot run scripts in as well. Default VMware Tools Scripts Script Name poweroff-vm-default poweron-vm-default resume-vm-default suspend-vm-default Description If you configured the reset operation to restart the guest, this script releases the IP address of a script, log in Windows 95, 98, Me, and NT guest operating systems. Prerequisites On Linux, Solaris, and FreeBSD guests, to use DHCP, this script stops networking...
User Guide
Page 17
...host time and CPU speed. For virtual machines hosted on page 19. Option Windows Linux and Solaris Action Change directories to /usr/sbin. Change directories to C:\Program Files\VMware\VMware Tools. What to do next If you disabled the script for the stat Command," on the guest. 2 Change to C:\Program Files\VMware\VMware Tools. Using the VMware Tools Configuration Utility Procedure 1 Open a command prompt or terminal in this procedure to the VMware Tools installation directory. Option Windows Linux and Solaris FreeBSD Action Change directories to the VMware Tools...
...host time and CPU speed. For virtual machines hosted on page 19. Option Windows Linux and Solaris Action Change directories to /usr/sbin. Change directories to C:\Program Files\VMware\VMware Tools. What to do next If you disabled the script for the stat Command," on the guest. 2 Change to C:\Program Files\VMware\VMware Tools. Using the VMware Tools Configuration Utility Procedure 1 Open a command prompt or terminal in this procedure to the VMware Tools installation directory. Option Windows Linux and Solaris FreeBSD Action Change directories to the VMware Tools...
User Guide
Page 18
... available for the stat Command Subcommand Name Description hosttime speed Displays the date and time on the host. Table 2. Subcommands for virtual machines hosted on an ESX/ESXi server. Change directories to '/Library/Application Support/VMware Tools'. 3 Enter the command to display information such as host time and CPU speed. Displays the CPU speed, in MHz. memlimit (ESX/ESXi only) Displays memory limit information, in megabytes. Use vmware-toolbox-cmd. balloon (ESX...
... available for the stat Command Subcommand Name Description hosttime speed Displays the date and time on the host. Table 2. Subcommands for virtual machines hosted on an ESX/ESXi server. Change directories to '/Library/Application Support/VMware Tools'. 3 Enter the command to display information such as host time and CPU speed. Displays the CPU speed, in MHz. memlimit (ESX/ESXi only) Displays memory limit information, in megabytes. Use vmware-toolbox-cmd. balloon (ESX...
User Guide
Page 19
... VMware Tools configuration utility commands with the host (EX_UNAVAILABLE). VMware, Inc. 19 For the shrink command, 1 means that an error occurred. The file name does not exist. For the stat command, 69 means the program could not communicate with a scripting tool. Using the VMware Tools Configuration Utility Exit Codes You might use exits codes if you want to display valid names of devices. Table 3. Exit Codes Code Number Applicable Command Description 0 All commands 1 All commands 64 All commands 66 script 69 device...
... VMware Tools configuration utility commands with the host (EX_UNAVAILABLE). VMware, Inc. 19 For the shrink command, 1 means that an error occurred. The file name does not exist. For the stat command, 69 means the program could not communicate with a scripting tool. Using the VMware Tools Configuration Utility Exit Codes You might use exits codes if you want to display valid names of devices. Table 3. Exit Codes Code Number Applicable Command Description 0 All commands 1 All commands 64 All commands 66 script 69 device...
User Guide
Page 21
... 17, 18 custom scripts 14 custom VMware Tools scripts 14 D device command 10 device drivers, virtual 11 disk command 12 drivers, VMware Tools 11 DVD drives, connecting 10 E exit codes 19 F Filesystem Sync drivers 11 floppy drives, connecting 10 H hgfs.sys kernel module 11 host time 17 I ISO images, connecting 10 L LSI Logic adapters, virtual 11 M memory control drivers, virtual 11 memory statistics 17, 18 mouse drivers, virtual 11 N network adapters, connecting 10 VMware, Inc. Index A audio adapters, connecting 10 audio drivers, virtual 11 B backup applications, drivers for Linux, Solaris...
... 17, 18 custom scripts 14 custom VMware Tools scripts 14 D device command 10 device drivers, virtual 11 disk command 12 drivers, VMware Tools 11 DVD drives, connecting 10 E exit codes 19 F Filesystem Sync drivers 11 floppy drives, connecting 10 H hgfs.sys kernel module 11 host time 17 I ISO images, connecting 10 L LSI Logic adapters, virtual 11 M memory control drivers, virtual 11 memory statistics 17, 18 mouse drivers, virtual 11 N network adapters, connecting 10 VMware, Inc. Index A audio adapters, connecting 10 audio drivers, virtual 11 B backup applications, drivers for Linux, Solaris...
User Guide
Page 22
VMware Tools Configuration Utility User's Guide vmware-tools-cli utility for Mac guests with Fusion 7 VMwareToolboxCmd.exe utility for Windows guests 7 vmxnet networking drivers 11 Volume Shadow Copy Services drivers 11 22 VMware, Inc.
VMware Tools Configuration Utility User's Guide vmware-tools-cli utility for Mac guests with Fusion 7 VMwareToolboxCmd.exe utility for Windows guests 7 vmxnet networking drivers 11 Volume Shadow Copy Services drivers 11 22 VMware, Inc.