Professional Documents
Culture Documents
Vmware Server User'S Guide
Vmware Server User'S Guide
You can find the most up-to-date technical documentation on the VMware Web site at: http://www.vmware.com/support/ The VMware Web site also provides the latest product updates. If you have comments about this documentation, submit your feedback to: docfeedback@vmware.com
2008 VMware, Inc. All rights reserved. Protected by one or more U.S. Patent Nos. 6,397,242, 6,496,847, 6,704,925, 6,711,672, 6,725,289, 6,735,601, 6,785,886, 6,789,156, 6,795,966, 6,880,022, 6,944,699, 6,961,806, 6,961,941, 7,069,413, 7,082,598, 7,089,377, 7,111,086, 7,111,145, 7,117,481, 7,149,843, 7,155,558, 7,222,221, 7,260,815, 7,260,820, 7,269,683, 7,275,136, 7,277,998, 7,277,999, 7,278,030, 7,281,102, 7,290,253, 7,356,679, 7,409,487, 7,412,492, 7,412,702, and 7,424,710; patents pending. VMware, the VMware boxes logo and design, Virtual SMP, and VMotion are registered trademarks or trademarks of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.
Contents
AboutThisBook
13
1 IntroductionandSystemRequirements 19
VMwareServerProductBenefits 19 NewFeaturesofVMwareServer2.0 20 WebBasedInterface 20 VMwareRemoteConsole 21 IncreasedMemorySupport 21 IncreaseinNumberofNetworkAdaptersSupported 21 QuiescedBackupsofVirtualMachinesonWindows 21 SupportforHighSpeedUSB2.0Devices 21 AdditionalHostOperatingSystemSupport 22 AdditionalGuestOperatingSystemSupport 22 Improved64BitGuestSupport 22 64BitSoundDriver 22 Native64BitHostSupportonLinux 22 UpdatedVIXAPI 23 VMCISocketsInterface 23 AbouttheHostandGuestComputers 23 HostSystemRequirements 23 PCHardware 23 Memory 24 DiskDrives 24 LocalAreaNetworking 25
VMware, Inc.
WindowsHostOperatingSystems 25 LinuxHostOperatingSystemRequirements 26 VIWebAccessandVMwareRemoteConsoleClientSystemRequirements 27 VirtualMachineSpecifications 28 Processor 28 ChipSet 28 BIOS 28 Memory 29 Graphics 29 IDEDrives 29 SCSIDevices 29 PCISlots 29 FloppyDrives 30 Serial(COM)Ports 30 Parallel(LPT)Ports 30 USBPorts 30 Keyboard 30 MouseandDrawingTablets 30 EthernetCard 30 VirtualNetworking 31 Sound 31 SupportedGuestOperatingSystems 31 ProcessorSupportfor64BitGuestOperatingSystems 33
2 InstallingVMwareServer 35
InstallationPrerequisites 35 PreparingtoInstallVMwareServer 36 SharingaVMwareServerHostwithOtherVMwareProducts 36 InstallingVMwareServeronaWindowsHost 37 InstallingVMwareServerSilently 39 UninstallingVMwareServeronaWindowsHost 41 InstallingVMwareServeronaLinuxHost 41 ConfiguringVMwareServeronaLinuxHostUsingvmwareconfig.pl 42 UninstallingVMwareServeronaLinuxHost 43 UninstallingatarInstallationofVMwareServer 43 UninstallinganRPMInstallationofVMwareServer 44 UpgradingfromVMwareServer1 44 WheretoGoNext 45
VMware, Inc.
Contents
3 LearningVMwareServerBasics:UsingVIWebAccess 47
OverviewofVIWebAccess 48 UsingtheVMwareServerHostWorkspace 49 UsingtheVirtualMachineWorkspace 50 ViewingVirtualMachineSummaryInformation 51 InstallingtheVMwareRemoteConsoleAddOn 52 StartingVMwareRemoteConsolefromtheConsoleTab 53 UsingVIWebAccessMenuOptions 54 ApplicationMenu 54 VirtualMachineMenu 55 AdministrationMenu 56 ViewingVMwareServerandVirtualMachineTasks 56 ViewingVMwareServerandVirtualMachineEvents 57 LoggingOut 57
4 CreatingandUpgradingVirtualMachines 59
BeforeYouCreateaVirtualMachine 59 VirtualMachineLocation 59 GuestOperatingSystem 60 ProductCompatibility(VirtualMachineHardwareVersion) AmountofMemory 61 NumberofProcessors 62 HardDiskTypeandProperties 62 NetworkConnectionType 64 UsingtheNewVirtualMachineWizard 65 InstallingtheGuestOperatingSystem 68 UpdatingtheGuestOperatingSystem 71 UpgradingtheVirtualMachineVersion 72
61
5 InstallingandUsingVMwareTools 73
ComponentsofVMwareTools 73 VMwareToolsService 74 VMwareDeviceDrivers 74 VMwareUserProcess 75 VMwareToolsControlPanel 75 ManuallyInstallingVMwareToolsinaWindowsGuestSystem 76 ConfiguringtheVideoDriveronOlderVersionsofWindows 77 InstallingVMwareToolsinaLinuxGuestSystem 80 InstallingVMwareToolsinaSolarisGuestSystem 84 InstallingVMwareToolsinaFreeBSDGuestSystem 86
VMware, Inc.
InstallingVMwareToolsinaNetWareGuestSystem 88 StartingtheVMwareUserProcessManuallyIfYouDoNotUseaSession ManageronUNIX 89 UpdatingVMwareTools 90 UninstallingVMwareTools 91 RepairingorChangingVMwareTools 91 UsingtheVMwareToolsControlPanel 91 UsingtheWindowsControlPaneltoDisplaytheTaskbarIcon 92 OptionsTab 93 DevicesTab 94 ScriptsTab 94 SharedFoldersTab 95 ShrinkTab 95 AboutTab 95 ConfiguringVMwareToolsinaNetWareGuest 96 CustomizingVMwareTools 97 HowVMwareToolsScriptsAffectPowerStates 97 ExecutingCommandsAfterYouPowerOfforResetaVirtualMachine 101 PassingaStringfromtheHosttotheGuestatStartup 101 PassingInformationBetweentheGuestandAnotherProgram 104 UsingtheVMwareToolsCommandLineInterface 104
6 ManagingVMwareServer 107
AddingaVirtualMachinetotheInventory 108 RemovingaVirtualMachinefromtheInventory 108 PerformingPowerOperationsonVirtualMachines 109 ManagingDatastores 110 AddingDatastores 110 RenamingDatastores 111 RemovingDatastores 112 RefreshingDatastores 112 EditingHostWideMemoryandSnapshotSettings 113 ConfiguringHostMemory 113 EnablingandDisablingBackgroundSnapshots 115 ConfiguringVirtualMachineStartupandShutdownSettings 115 EnablingSystemWideStartupandShutdownSettings 116 SpecifyingtheStartupandShutdownOrderforVirtualMachines 117 CustomizingtheStartupandShutdownSettingsforIndividualVirtual Machines 117 EnablingQuiescedBackupsofVirtualMachinesonWindows 118
VMware, Inc.
Contents
7 RunningVirtualMachines 121
RunningVMwareTools 122 ChangingthePowerStateofaVirtualMachine 122 ChangingVirtualMachineSnapshotSettings 126 LockingtheSnapshot 126 SettingSnapshotPowerOffOptions 127 ChangingVirtualMachineAdvancedSettings 127 DeletingaVirtualMachine 130 UsingVMwareRemoteConsole 130 InteractingwiththeGuestOperatingSystem 131 EnteringandLeavingFullScreenMode 131 ConnectingandDisconnectingClientDevices 132 ResettingandPoweringOff 132 ViewingtheMessageLog 133 QuittingVMwareRemoteConsole 133 GeneratingandSharingVirtualMachineShortcuts 133 GeneratingaWebShortcut 133 GeneratingaVMwareRemoteConsoleDesktopShortcut 134 EditingNotesintheVirtualMachineSummaryTab 135 EditingtheHardwareConfigurationofaVirtualMachine 135 AddingHardwaretoaVirtualMachine 137 InstallingNewSoftwareinaVirtualMachine 138
8 ConfiguringVirtualMachineHardware 141
ConfiguringHardDisks 141 HardDiskTypesandProperties 142 AddingaHardDisktoaVirtualMachine 144 EditingaVirtualHardDisk 145 RemovingaHardDiskfromaVirtualMachine 146 VirtualDiskMaintenanceTasks 147 ConfiguringCD/DVDDrives 150 CD/DVDDriveTypeandProperties 150 AddingaCD/DVDDrivetoaVirtualMachine 151 EditingaVirtualCD/DVDDrive 152 RemovingaCD/DVDDrivefromaVirtualMachine 153 ConfiguringFloppyDrives 154 AddingaFloppyDrivetoaVirtualMachine 154 EditingaVirtualFloppyDrive 155 RemovingaFloppyDrivefromaVirtualMachine 156
VMware, Inc.
ConfiguringPassthrough(Generic)SCSIDevices 156 AddingaPassthrough(Generic)SCSIDevicetoaVirtualMachine 157 EditingaVirtualPassthrough(Generic)SCSIDevice 158 RemovingaPassthrough(Generic)SCSIDevicefromaVirtualMachine 158 ConfiguringSCSIControllers 159 ConfiguringUSBControllersandDevices 159 AddingaUSBControllertoaVirtualMachine 159 RemovingaUSBControllerfromaVirtualMachine 160 ConnectingUSBDevices 160 UsingUSBDevicesinaVirtualMachine 161 DisconnectingUSBDevicesfromaVirtualMachine 164 ConfiguringSound 164 AddingaSoundAdaptertoaVirtualMachine 165 EditingaVirtualSoundAdapter 165 RemovingaSoundAdapterfromaVirtualMachine 166 ConfiguringSerialPorts 166 AddingaSerialPorttoaVirtualMachine 166 EditingaVirtualSerialPort 169 RemovingaSerialPortfromaVirtualMachine 170 SerialPortGeneralUsageExamples 170 SerialPortDebuggingUsageExamples 174 ConfiguringParallelPorts 177 AddingaParallelPorttoaVirtualMachine 177 EditingaVirtualParallelPort 178 RemovingaParallelPortfromaVirtualMachine 179 UsingParallelPorts 179 ConfiguringaParallelPortonaWindowsHost 179 ConfiguringaParallelPortonaLinuxHost 180 NotesforUsingtheIomegaZipDrive 184 KeyboardMappingonLinuxHosts 184
9 PreservingtheStateofaVirtualMachine 193
SuspendingandResumingVirtualMachines 193 ConfiguringHardSuspendorSoftSuspend 194 SuspendingorResumingaVirtualMachine 195 UsingSnapshots 195 WhattoUseSnapshotsFor 195 WhatIsCapturedbyaSnapshot 196 ActivitiesThatConflictwithSnapshots 196 EnablingandDisablingBackgroundSnapshotsforAllVirtualMachines 197 SnapshotsandaVirtualMachinesHardDisks 197
8 VMware, Inc.
Contents
ExcludingVirtualDisksfromSnapshots 198 TakingaSnapshot 198 RevertingtoaSnapshot 199 RemovingaSnapshot 199 LockingaSnapshot 199
10 ManagingRolesandPermissions 201
AccessElements 201 ManagingUsers 203 ManagingGroups 203 ManagingRoles 203 CreatingRoles 204 EditingandRenamingRoles 205 RemovingRoles 205 ManagingPermissions 206 CreatingPermissions 206 EditingPermissions 207 RemovingPermissions 208 RulesforPermissionPropagation 208
11 ConfiguringaVirtualNetwork 211
NetworkBasics 212 ComponentsoftheVirtualNetwork 213 VirtualNetworkSwitch 213 InternalDHCPServer 214 VirtualNetworkAdapter 214 HostVirtualAdapter 214 CommonNetworkingConfigurations 215 BridgedNetworking 215 NetworkAddressTranslation(NAT) 216 HostOnlyNetworking 218 ExampleCustomNetworkingConfiguration 219 ChangingtheNetworkingConfiguration 222 RefreshingtheNetwork 223 AddingaNetworkAdaptertoaVirtualMachine 223 EditingaVirtualNetworkAdapter 224 RemovingaNetworkAdapterfromaVirtualMachine 225 ConfiguringBridgedNetworkingOptionsonaWindowsHost 225 Enabling,Disabling,Adding,andRemovingHostVirtualAdapters 227
VMware, Inc.
AdvancedNetworkingTopics 230 SelectingIPAddressesonaHostOnlyNetworkorNATConfiguration 230 AvoidingIPPacketLeakageinaHostOnlyNetwork 232 MaintainingandChangingtheMACAddressofaVirtualMachine 234 ControllingRoutingforaHostOnlyNetworkonaLinuxHost 235 PotentialIssueswithHostOnlyNetworkingonaLinuxHost 236 SettingUpaSecondBridgedNetworkInterfaceonaLinuxHost 237 ConfiguringBridgedNetworkingWhenUsingTeamedNetworkInterface Cards 238 SettingUpTwoSeparateHostOnlyNetworks 240 RoutingBetweenTwoHostOnlyNetworks 243 UsingVirtualNetworkAdaptersinPromiscuousModeonaLinuxHost 247 UnderstandingNAT 248 UsingNAT 248 TheHostComputerandtheNATNetwork 249 DHCPontheNATNetwork 249 DNSontheNATNetwork 249 ExternalAccessfromtheNATNetwork 250 AdvancedNATConfiguration 251 CustomNATandDHCPConfigurationonaWindowsHost 254 ConsiderationsforUsingNAT 255 UsingNATwithNetLogon 255 SampleLinuxvmnetnat.confFile 257 UsingSambaforFileSharingonaLinuxHost 258 UsingtheVirtualNetworkEditor 267 SummaryTab 267 AutomaticBridgingTab 268 HostVirtualNetworkMappingTab 268 HostVirtualAdaptersTab 269 DHCPTab 269 NATTab 270
12 PerformanceTuningforVMwareServer 273
ConfiguringandMaintainingtheHostSystem 273 DefragmentingHardDisks 274 MaintainingAdequateFreeDiskSpace 274 EnablingDiskWriteCachingonWindowsHosts 274 ConfiguringSwapSpaceonLinuxHosts 274 IncreasingNICInterruptCoalescing 275
10
VMware, Inc.
Contents
CalculatingMemoryRequirementstoAllowforVirtualMachine Overhead 275 ConfiguringHostWideVirtualMachineMemoryUsage 275 AllocatingMemorytoaVirtualMachine 277 EditingVirtualMachineMemory 277 UsingTwoWayVirtualSymmetricMultiprocessing 278 EditingVirtualProcessors 279 ConfiguringandMaintainingGuestOperatingSystems 279 InstallingLinuxGuestOperatingSystemsinTextMode 279 SelectingtheCorrectGuestOperatingSystem 279 InstallingVMwareTools 280 TemporarilyDisablingAccelerationintheGuestOperatingSystem 280 AvoidingRemoteDiskAccess 280 ManagingSnapshotsandVirtualDisks 280 DisablingDebuggingMode 281 DisablingCD/DVDDrivePolling 281 DisablingFadeEffectsinWindows2000,WindowsXP,andWindowsServer 2003 282 DisablingVisualEffectsinWindows98 282 ConfiguringSwapFileUsageinWindows95andWindows98 282 EnablingHardwareAccelerationinWindowsServer2003 282 ConfiguringDirectMemoryAccess(DMA)DiskSettings 283 UsingDMAinWindowsNTGuestsonMultiprocessorHostSystems 284 MonitoringVirtualMachinePerformanceonWindowsHosts 284
13 ConfiguringClusteringonWindowsHosts 287
OverviewofClusteringwithVMwareServer 287 ClusteringSoftwareRequirements 288 ApplicationsThatCanUseClustering 288 UsingSCSIReservationtoShareVirtualSCSIDisks 288 SCSIReservationPrerequisitesandRestrictions 289 EnablingSCSIReservation 289 CreatingaClusterinaBox 291 ConfiguringVirtualMachinesforClusterinaBox 292 CreatingaTwoNodeClusterwithMicrosoftClusteringServices 293
VMware, Inc.
11
A DefinedPrivileges 299
Alarms 300 Datacenter 301 Datastore 301 Extensions 302 Folders 303 Global 303 HostCIM 305 HostConfiguration 306 HostInventory 308 HostLocalOperations 309 Network 310 Performance 310 Permissions 311 Resource 311 ScheduledTask 313 Sessions 313 Tasks 314 VirtualMachineConfiguration 314 VirtualMachineInteraction 317 VirtualMachineInventory 319 VirtualMachineProvisioning 319 VirtualMachineState 321
B FilesThatMakeUpaVirtualMachine 323
FilesThatMakeUpaVirtualMachine 323
Glossary
327
Index 335
12
VMware, Inc.
TheVMwareServerUsersGuideprovidesinformationaboutinstallingandusing VMwareServer2.
Revision History
Thismanualisrevisedwitheachreleaseoftheproductorwhennecessary.Arevised versioncancontainminorormajorchanges.Table 1summarizesthesignificant changesineachversionofthismanual. Table 1. Revision History
Revision 20080828 Description FirstversionoftheVMwareServer2.0documentation.
Toviewthemostcurrentversionofthemanual,seetheVMwareWebsite: http://www.vmware.com/support/pubs/server_pubs.html
Intended Audience
Thisbookisintendedforanyonewhoneedstoinstall,upgrade,configure,oruse VMwareServer.VMwareServeruserstypicallyworkinsmallandmediumsized businesses,doingsoftwaredevelopmentandtestingorworkingwithmultiple operatingsystemsorcomputingenvironments.Usersincludesoftwaredevelopers,QA engineers,trainers,salespeoplewhorundemos,andanyonewhowantstocreate virtualmachines.
VMware, Inc.
13
Document Feedback
VMwarewelcomesyoursuggestionsforimprovingourdocumentation.Ifyouhave comments,sendyourfeedbackto: docfeedback@vmware.com
Support Offerings
FindouthowVMwaresupportofferingscanhelpmeetyourbusinessneeds.Goto: http://www.vmware.com/support/services
14
VMware, Inc.
Reporting Problems
IfyouhaveproblemswhilerunningVMwareServer,reportthemtotheVMware supportteam.Youmustfirstregisteryourserialnumber.Thenyoucanreportyour problemsbysubmittingasupportrequestto: http://www.vmware.com/requestsupport Logfilesareneededtodiagnoseandreportproblems.Therequiredlogfilesdependon theproblemyouencounter. Youcansimplifytheprocessofcollectingtheinformationbyrunningthesupportscript tocollectthelogfilesandsysteminformation.Followtheprocedurethatappliesto yourhostcomputer. NOTEThesupportscriptrunsonlyontheVMwareServerhost.Ifyouencounter problemsonaremoteclient,youmustcollectthelogfilesmanually. To run the support script on a Linux host 1 2 Openaterminalwindow. Runthesupportscriptastherootuser:
vm-support
Ifyoudonotrunthescriptasroot,thescriptdisplaysmessagesindicatingthatit cannotcollectsomeinformation.Thisisnormal.IftheVMwaresupportteam needsthatinformation,asupportrepresentativemightaskyoutorunthescript again,asroot. Thescriptcreatesacompressed.tgzfileinthecurrentdirectory. 3 Includetheoutputfilewithyoursupportrequest. Ifyourvirtualmachinesareinstalledinanonstandardlocation,thescriptmight notpickupalltherequireddata.Makesurethatthe*.log and*.vmxfilesfrom yourvirtualmachinefoldersareincludedwiththefilesyousend.
VMware, Inc.
15
Runthesupportscript:
cscript vm-support.vbs
Afterthescriptruns,itdisplaysthenameandlocationofthezippedoutput.
Log Files
ThefollowinglogfilesaregeneratedbyVMwareServerandcollectedbythesupport script.
Forexample:
C:\Documents and Settings\All Users\Application Data\VMware\VMware Server
OnLinuxhostsystems,thefilesarelocatedinthedirectory/var/log/vmware.