Specifications
Table Of Contents
- Virtual Machine Guide
- Contents
- Introduction and System Requirements
- VMware Server Overview
- Features of VMware Server
- Support for 32-bit and 64-bit Guest Operating Systems
- Two-Way Virtual SMP (Experimental Support)
- Connect to VMware GSX Virtual Machines and Hosts
- Upgrade and Use GSX Virtual Machines
- Move Existing Virtual Machines
- Compatible with VMware Workstation 5.x Virtual Machines
- Configure Virtual Hardware Devices to be Automatically Detected
- Take and Revert to Snapshots in the Background
- Support for VMware Virtual Machine Importer
- Support for VirtualCenter
- APIs Included with VMware Server
- Host System Requirements
- Virtual Machine Specifications
- Virtual Processor
- Virtual Chipset
- Virtual BIOS
- Virtual Memory
- Virtual Graphics
- Virtual IDE Drives
- Virtual SCSI Devices
- Virtual PCI Slots
- Virtual Floppy Drives
- Virtual Serial (COM) Ports
- Virtual Parallel (LPT) Ports
- Virtual USB ports
- Virtual Keyboard
- Virtual Mouse and Drawing Tablets
- Virtual Ethernet Card
- Virtual Networking
- Virtual Sound Adapter
- Supported Guest Operating Systems
- Technical Support Resources
- Creating a New Virtual Machine
- Using VMware Tools
- About VMware Tools
- Installing VMware Tools
- Installing VMware Tools in a Windows Virtual Machine
- To install VMware Tools in a Windows Guest Operating System
- Additional Steps When Migrating from Old Versions of Windows
- To migrate from Windows NT guest operating systems
- To migrate from Windows Me guest operating systems
- To migrate from Windows 98 guest operating systems
- To migrate from Windows 95 guest operating systems
- Automating the Installation of VMware Tools in a Windows Guest
- Installing VMware Tools in a Linux Virtual Machine
- Installing VMware Tools in a NetWare Virtual Machine
- Installing VMware Tools in a Windows Virtual Machine
- Executing Scripts When the Virtual Machine’s Power State Changes
- Configuring VMware Tools
- Configuring VMware Tools in a Windows Virtual Machine
- Configuring VMware Tools in a Linux, FreeBSD, or Solaris Virtual Machine
- Configuring VMware Tools in a NetWare Virtual Machine
- Configuring VMware Tools in a NetWare 6.5, 6.0, or NetWare 5.1 Guest
- Viewing Information About VMware Tools
- Connecting Devices with VMware Tools
- Shrinking Virtual Disks with VMware Tools
- Setting Options with VMware Tools
- Configuring VMware Tools for NetWare Guests in the System Console
- Summary of VMware Tools Commands for a NetWare Guest
- About the VMware Tools Service
- Running Virtual Machines
- Overview of the VMware Server Console Window
- Connecting to Virtual Machines and VMware Server Hosts
- Changing the Power State of a Virtual Machine
- Controlling the Virtual Machine Display
- Running Virtual Machines from DVDs or CD-ROM Discs
- Using PXE with Virtual Machines
- Installing Software in a Virtual Machine
- Cutting, Copying, and Pasting Text
- Using Devices in a Virtual Machine
- Command Reference
- Preserving the State of a Virtual Machine
- Suspending and Resuming Virtual Machines
- Taking Snapshots
- Using Disks in a Virtual Machine
- Configuring Hard Disk Storage in a Virtual Machine
- Configuring Optical and Floppy Drives
- Adding Drives to a Virtual Machine
- Using VMware Virtual Disk Manager
- Installing an Operating System onto a Physical Partition
- Disk Performance in Windows NT Guests on Multiprocessor Hosts
- Networking
- Components of the Virtual Network
- Common Networking Configurations
- Custom Networking Configurations
- Changing the Networking Configuration
- Advanced Networking Topics
- Selecting IP Addresses on a Host-Only Network or NAT Configuration
- Avoiding IP Packet Leakage in a Host-Only Network
- Maintaining and Changing the MAC Address of a Virtual Machine
- Controlling Routing for a Host-Only Network on a Linux Host
- Issues with Host-Only Networking on a Linux Host
- Setting Up a Second Bridged Network Interface on a Linux Host
- Configuring Bridged Networking When Using Teamed Network Interface Cards
- Setting Up Two Separate Host-Only Networks
- To set up the second host-only interface on a Windows host
- To set up the second host-only interface on a Linux host
- Configuring the Virtual Machines
- Configuration 1 - Connect to the Default Host-Only Interface
- Configuration 2 - Connect to the Newly Created Host-Only Interface
- Configuration 3 - Connect to Two Host-Only Interfaces
- Routing Between Two Host-Only Networks
- Setting Up the First Host-Only Interface
- To set up the second host-only interface on a Windows host
- To set up the second host-only interface on a Linux host
- Setting Up the Virtual Machines
- Virtual Machine 1 - Connected to the Default Host-Only Interface
- Virtual Machine 2 - Connected to the Newly Created Host-Only Interface
- Virtual Machine 3 - Connected to Both Host-Only Interfaces
- Using Virtual Ethernet Adapters in Promiscuous Mode on a Linux Host
- Understanding NAT
- Using Samba for File Sharing on a Linux Host
- Sample smb.conf for Host-Only Networking
- Sample smb.conf for Bridged Networking
- Adding User Names and Passwords to the VMware Server Samba Password File
- If You Are Already Running Samba
- Using a Samba Server for Both Bridged and Host-Only Networks
- Using VMware Server’s Samba with an Existing Installation
- Sample smb.conf for Running Two Samba Servers at the Same Time
- Configuring Devices
- Using Parallel Ports
- Using Serial Ports
- Keyboard Mapping on a Linux Host
- Using USB Devices in a Virtual Machine
- Connecting to a Generic SCSI Device
- Using Two-Way Virtual Symmetric Multiprocessing (Experimental)
- Video and Sound
- Performance Tuning for Virtual Machines
- Glossary
- Index
VMware, Inc. 125
Chapter 6 Using Disks in a Virtual Machine
You!can!use!SCSI!reservation!to!work!around!the!lock!file!so!that!multiple!virtual!
machines!can!access!it.!This!is!typically!done!in!conjunction!with!a!high‐availability!
configuration,!such!as!clustering.!For!more!information!about!this,!see!“Using!
High‐Availability!Configurations”!in!the!VMware!Server!Administration!Guide.
When!a
!virtual!machine!is!powered!off,!it!removes!the!lock!files!it!created.!If!it!cannot!
remove!the!lock,!a!stale!lock!file!is!left!protecting!the!.vmdk!file.!For!example,!if!the!host!
machine!crashes!before!the!virtual!machine!has!a!chance!to!remove!its!lock!file,!a!stale!
lock!
remains.
If!a!stale!lock!file!remains!when!the!virtual!machine!is!started!again,!the!virtual!machine!
tries!to!remove!the!stale!lock.!To!make!sure!that!no!virtual!machine!could!be!using!the!
lock!file,!the!virtual!machine!checks!the!lock!file!to!see!whether
1The!lock!was!created!on!the
!same!host!where!the!virtual!machine!is!running.!
2The!process!that!created!the!lock!is!not!running.
If!those!two!conditions!are!true,!the!virtual!machine!can!safely!remove!the!stale!lock.!If!
either!of!those!conditions!is!not!true,!a!dialog!box!appears,!warning!you!that!the!virtual!
machine!cannot
!be!powered!on.!If!you!are!sure!it!is!safe!to!do!so,!you!can!delete!the!lock!
files!manually.!On!Windows!hosts,!the!filenames!of!the!lock!files!end!in!.lck.!On!Linux!
hosts,!the!filenames!of!the!lock!files!end!in!.WRITELOCK.
Physical!disk!partitions!are!also!protected
!by!locks.!However,!the!host!operating!
system!is!not!aware!of!this!locking!convention!and!does!not!respect!it.!For!this!reason,!
VMware!strongly!recommends!that!the!physical!disk!for!a!virtual!machine!not!be!
installed!on!the!same!physical!disk!as!the!host!operating!system.
Defragmenting and Shrinking Virtual Disks
If!you!have!a!virtual!disk!that!grows!as!data!is!added,!you!can!defragment!and!shrink!
it!as!described!in!this!section.!If!you!allocated!all!the!space!for!your!virtual!disk!at!the!
time!you!created!it,!you!cannot!defragment!and!shrink!it.
Defragmenting Virtual Disks
Defragmenting!disks!rearranges!files,!programs,!and!unused!space!on!the!virtual!disk!
so!that!programs!run!faster!and!files!open!more!quickly.!Defragmenting!does!not!
reclaim!unused!space!on!a!virtual!disk.!To!reclaim!unused!space,!shrink!the!disk.