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.
VMware, Inc.
3401 Hillview Ave.
Palo Alto, CA 94304
www.vmware.com
2 VMware, Inc.
Contents
AboutThisBook 13
RevisionHistory 13
IntendedAudience 13
DocumentFeedback 14
TechnicalSupportandEducationResources 14
OnlineandTelephoneSupport 14
SupportOfferings 14
VMwareProfessionalServices 14
ReportingProblems 15
LogFiles 16
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. 3
VMware Server Users Guide
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
4 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) 61
AmountofMemory 61
NumberofProcessors 62
HardDiskTypeandProperties 62
NetworkConnectionType 64
UsingtheNewVirtualMachineWizard 65
InstallingtheGuestOperatingSystem 68
UpdatingtheGuestOperatingSystem 71
UpgradingtheVirtualMachineVersion 72
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. 5
VMware Server Users Guide
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
6 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. 7
VMware Server Users Guide
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. 9
VMware Server Users Guide
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
VMware Server Users Guide
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.
About This Book
TheVMwareServerUsersGuideprovidesinformationaboutinstallingandusing
VMwareServer2.
Revision History
Thismanualisrevisedwitheachreleaseoftheproductorwhennecessary.Arevised
versioncancontainminorormajorchanges.Table 1summarizesthesignificant
changesineachversionofthismanual.
20080828 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
VMware Server Users Guide
Document Feedback
VMwarewelcomesyoursuggestionsforimprovingourdocumentation.Ifyouhave
comments,sendyourfeedbackto:
docfeedback@vmware.com
http://www.vmware.com/support/pubs
http://www.vmware.com/support
Customerswithappropriatesupportcontractsshouldusetelephonesupportforthe
fastestresponseonpriority1issues.Goto:
http://www.vmware.com/support/phone_support.html
Support Offerings
FindouthowVMwaresupportofferingscanhelpmeetyourbusinessneeds.Goto:
http://www.vmware.com/support/services
http://www.vmware.com/services
14 VMware, Inc.
About This Book
Reporting Problems
IfyouhaveproblemswhilerunningVMwareServer,reportthemtotheVMware
supportteam.Youmustfirstregisteryourserialnumber.Thenyoucanreportyour
problemsbysubmittingasupportrequestto:
http://www.vmware.com/requestsupport
Logfilesareneededtodiagnoseandreportproblems.Therequiredlogfilesdependon
theproblemyouencounter.
Youcansimplifytheprocessofcollectingtheinformationbyrunningthesupportscript
tocollectthelogfilesandsysteminformation.Followtheprocedurethatappliesto
yourhostcomputer.
NOTEThesupportscriptrunsonlyontheVMwareServerhost.Ifyouencounter
problemsonaremoteclient,youmustcollectthelogfilesmanually.
1 Openaterminalwindow.
2 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
VMware Server Users Guide
1 Openacommandprompt.
2 ChangetotheVMwareServerprogramdirectory.Thedefaultdirectoryis:
C:\Program Files\VMware\VMware Server
3 Runthesupportscript:
cscript vm-support.vbs
Afterthescriptruns,itdisplaysthenameandlocationofthezippedoutput.
Log Files
ThefollowinglogfilesaregeneratedbyVMwareServerandcollectedbythesupport
script.
Thevirtualmachinelogfilesarelocatedinthesamedirectoryasthevirtualmachine
configuration(.vmx)file.IntheCommandssectionofthevirtualmachinesSummary
tab,clickConfigureVM.ThepathtotheconfigurationfileisshownintheGeneraltab.
OnWindowsandLinuxhosts,thefilesarenamedvmware-<n>.log.
Alsosaveanydump(Windows)orcore(Linux)files.
OnaWindowsandLinuxhosts,thefilesarenamedhostd-<n>.log.
OnWindowshosts,thefilesarelocatedinthedirectory
<%ALLUSERSPROFILE%>\VMware\VMware Server.
Forexample:
C:\Documents and Settings\All Users\Application Data\VMware\VMware Server
OnLinuxhostsystems,thefilesarelocatedinthedirectory/var/log/vmware.
16 VMware, Inc.
About This Book
1 Inatexteditor,editthefollowingfile:
Windowsconfig.ini,locatedinthedirectory
<%ALLUSERSPROFILE%>\VMware\VMware Server
Forexample:
C:\Documents and Settings\All Users\Application
Data\VMware\VMware Server
Linux/etc/vmware/config
2 Addthefollowinglinestotheconfigurationfile:
vmauthd.logEnabled = TRUE
log.vmauthdFileName = "vmauthd.log"
pref.hardLimitDebug = 2
3 Toenablelogging:
OnaWindowshost,selectStart>AdministrativeTools>Services,rightclick
VMwareAuthorizationService,andselectRestart.
OnaLinuxhost,thelogfileisenabledwhenyousaveandclosethe
configurationfile.
OnWindowshosts,thevmauthd.logfileiscreatedinC:\Windows\system32or
C:\WINNT\system32.
OnLinuxhosts,thevmauthd.logfileiscreatedin/var/log/vmware.
Forexample:
C:\Documents and Settings\All Users\Application Data\VMware\tomcat-logs
OnLinuxhosts,logfilesarelocatedinthedirectory/var/log/vmware/WebAccess.
OnLinuxclients,theVMwareRemoteConsolelogfilesarenamedvmrc-<nnnn>.log
and<nnnn>.log,locatedinthedirectory/tmp/vmware-<username>.
VMware, Inc. 17
VMware Server Users Guide
18 VMware, Inc.
1
VMwareServerProductBenefitsonpage 19
NewFeaturesofVMwareServer2.0onpage 20
HostSystemRequirementsonpage 23
VIWebAccessandVMwareRemoteConsoleClientSystemRequirementson
page 27
VirtualMachineSpecificationsonpage 28
SupportedGuestOperatingSystemsonpage 31
VMwareServersupportsthefollowinghardwareandsoftware:
Anystandardx86compatibleorx8664compatiblepersonalcomputer
AwidevarietyofWindows,Linux,Solaris,andotherguestoperatingsystems,
including64bitoperatingsystems
VMware, Inc. 19
VMware Server Users Guide
TwowayVirtual SMP
IntelVirtualizationTechnology(IntelVT)
AMDVirtualization(AMTV)
WithVMwareServer,youcandothefollowing:
Provisionanewserverwithoutpurchasingmorehardwarebylocatingmultiple
virtualmachinesonthesamehost.
RunWindows,Linux,andotheroperatingsystemsandapplicationswithout
softwareconflictsbecausevirtualmachinesarecompletelyisolatedfromone
anotherandfromthephysicalhost.
Movevirtualmachinesfromonephysicalhosttoanotherwithouthavingto
reconfigurethem.
Web-Based Interface
UseVMwareInfrastructureWebAccess(VIWebAccess)toperformhostandvirtual
machineconfigurationforVMwareServer2.0.Thisintuitivewebbasedinterface
providesasimpleandflexibletoolforvirtualmachinemanagement.Using
VI Web Access,youcandothefollowing:
Create,configure,anddeletevirtualmachines
Addandremovevirtualmachinesfromtheinventory
Performpoweroperations(start,stop,reset,suspend,andresume)onvirtual
machines
Monitortheoperationofvirtualmachines
GenerateaWebshortcuttocustomizetheVI WebAccessuserinterfaceforusers,
withtheoptiontolimittheirviewtotheconsoleorasinglevirtualmachine
GenerateaVMwareRemoteConsoledesktopshortcutthatallowsvirtualmachine
userstointeractdirectlywiththeguestoperatingsystemoutsideofaWebbrowser
ConfigurehostwideVMwareServersettings
VI WebAccessandVMwareRemoteConsolereplacetheVMwareManagement
InterfaceandVMwareServerConsole.SeeChapter 3,LearningVMwareServer
Basics:UsingVIWebAccess,onpage 47.
20 VMware, Inc.
Chapter 1 Introduction and System Requirements
YoucanrunVMwareRemoteConsoleonthehostoraremoteclientsystem.Afteryou
installitasaWebbrowseraddonfromVI Web Access,VMware Remote Consolecan
runindependentlyfromVI Web Access.
SeeUsingVMwareRemoteConsoleonpage 130.
USB2.0supportisavailableonlyforVMwareproductsthatsupportvirtualmachine
hardwareversions6and7,suchasVMwareServer2andWorkstation6.ForUSB2.0
support,yourhostmachinemustalsosupportUSB2.0.
VMware, Inc. 21
VMware Server Users Guide
WindowsServer2008StandardEditionandEnterpriseEdition
RedHatEnterpriseLinux4.5,5.0,and5.1
UbuntuLinux6.10Edgy,7.04Fiesty,7.10Gutsy,and8.04Hardy
SUSELinuxEnterpriseServer10,10SP1,and10.1
Forafulllistofsupported32bitand64bithostoperatingsystems,seeHostSystem
Requirementsonpage 23.
WindowsServer2008StandardEditionandEnterpriseEdition
WindowsVistaBusinessEditionandUltimateEdition
RedHatEnterpriseLinux4.5,5.0,and5.1
UbuntuLinux6.10Edgy,7.04Fiesty,7.10Gutsy,and8.04Hardy
SUSELinuxEnterpriseServer10,10SP1,and10.1
SeeSupportedGuestOperatingSystemsonpage 31.
22 VMware, Inc.
Chapter 1 Introduction and System Requirements
ThisreleaseoftheVIXAPIisavailableintheClanguage.APIfunctionsallowyouto
registervirtualmachines,powervirtualmachinesonoroff,andrunprogramsinthe
guestoperatingsystems.AdditionallanguagebindingsforPerl,COM,andshellscripts
(vmrun)areavailable.SeetheVMwareVIXAPI1.6ReleaseNotes.
ThephysicalcomputeronwhichyouinstalltheVMwareServersoftwareiscalled
thehostcomputer,anditsoperatingsystemiscalledthehostoperatingsystem.
Theoperatingsystemrunninginsideavirtualmachineiscalledaguestoperating
system.
PC Hardware
Thenumberofvirtualmachinesyoucanrunconcurrentlydependsontheresources
theyrequire.VMwareServersupportsupto16waymultiprocessorservers,witha
maximumoffourvirtualmachinesrunningconcurrentlyperprocessor.
VMwareServerhostsmustmeetthefollowingrequirements:
Standardx86compatibleorx8664compatibleserverwithupto16processors.
Hostswith32bitIA32processorsandIA32processorswith64bitextensionsare
supported.
733MHzorfasterCPUminimum.
VMware, Inc. 23
VMware Server Users Guide
Compatibleprocessorsinclude:
IntelXeon:
DualCore,including5000series(Dempsey),5100series(Woodcrest),
3000series(Conroe),7000series(PaxvilleMP),and7100series(Tulsa)
QuadCore,including5300series(Clovertown)
IntelCore2,includingE6300,E6400,E6600,andE6700(Conroe),Q6600
andQ6700/E(Kentsfield),andE4300(Allendale)Series
AMDOpteron1000/2000/8000series(SantaAna,SantaRosa)
AMDOpteron100/200/800series(Venus,Troy,Athens,Denmark,Italy,Egypt)
AMDAthlon64(Clawhammer,Newcastle,Winchester,Venice,SanDiego,
Orleans,Lima)
AMDAthlon64X2/X2(Manchester,Toledo,Windsor,Brisbane)
Memory
Youmusthaveaminimumof512MBofmemory(2GBisrecommended).Thetotal
amountofmemoryyoucanassigntoallvirtualmachinesrunningonasinglehostis
limitedonlybytheamountofmemoryonthehostcomputer.
Youmusthaveenoughmemorytorunthehostoperatingsystem,plusthememory
requiredforeachguestoperatingsystemandforapplicationsonthehostandguest
systems.SeeVirtualMachineSpecificationsonpage 28andyourguestoperating
systemandapplicationdocumentationforadditionalmemoryrequirements.The
maximumamountofmemorypervirtualmachineis8GB.
Disk Drives
Guestoperatingsystemstypicallyresideinvirtualdiskfiles,althoughyoucanalso
bootfromCDROMorfromaPrebootExecutionEnvironment(PXE)server.
Hard Disk
IDEandSCSIharddrivesaresupported.
Atleast1.7GBfreediskspaceisrequiredforbasicinstallation.Youcandeletethe
installerafterwardstoreclaimapproximately600MBdiskspace.
Ifyouuseadefaultsetup,thediskspaceneedsareapproximatelythesameas
thoseforinstallingandrunningtheguestoperatingsystemandapplicationsona
physicalcomputer.
24 VMware, Inc.
Chapter 1 Introduction and System Requirements
CDROMandDVDROMdrivesaresupported.
ISOdiskimagefilesaresupported.
Floppy Drives
Virtualmachinescanconnecttothehostsfloppydrives.Floppydiskimagefilesare
alsosupported.
StaticIPaddressforyourhostmachine(recommended)
NOTEOperatingsystemsandservicepacksthatarenotlistedarenotsupportedfor
useasahostoperatingsystemforVMwareServer.
64bithostcomputerscanrunthefollowingoperatingsystemsfor64bitextended
systems:
WindowsServer2008x64StandardEdition
WindowsServer2008x64EnterpriseEdition
NOTEWindows2008ServerCoreinstallationsarenotsupported.
WindowsServer2003x64StandardEdition,SP1,SP2,R2
WindowsServer2003x64WebEdition,SP1,SP2
WindowsServer2003x64EnterpriseEdition,SP1,SP2,R2
32bithostcomputerscanrunthefollowingoperatingsystems:
WindowsServer2008StandardEdition
WindowsServer2008EnterpriseEdition
NOTEWindows2008ServerCoreinstallationsarenotsupported.
VMware, Inc. 25
VMware Server Users Guide
WindowsServer2003StandardEdition,SP1,SP2,R2
WindowsServer2003WebEdition,SP1,SP2
WindowsServer2003EnterpriseEdition,SP1,SP2,R2
WindowsSmallBusinessServer2003StandardEdition,R2
WindowsSmallBusinessServer2003PremiumEdition,R2
Windows2000ServerSP3,SP4
Windows2000AdvancedServer,SP3,SP4
NOTEAsnewLinuxkernelsanddistributionsarereleased,VMwaremodifiesand
testsitsproductsforstabilityandreliabilityonthosehostplatforms.VMwaremakes
everyefforttoaddsupportfornewkernelsanddistributionsinatimelymanner,but
untilakernelordistributionisaddedtothelist,itsuseisnotsupported.Lookfornewer
prebuiltmodulesintheDownloadsectionofVMwareWebsiteat
http://www.vmware.com/download.
64bithostcomputerscanrunthefollowingoperatingsystemsfor64bitextended
systems:
MandrivaCorporateServer4
RedHatEnterpriseLinux5.1
RedHatEnterpriseLinux5.0
RedHatEnterpriseLinuxAS4.5
RedHatEnterpriseLinuxES4.5
RedHatEnterpriseLinuxWS4.5
SUSELinuxEnterpriseServer10.1
SUSELinuxEnterpriseServer10SP1
SUSELinuxEnterpriseServer10
SUSELinuxEnterpriseServer9SP4
UbuntuLinux8.04
UbuntuLinux7.10
UbuntuLinux7.04
UbuntuLinux6.10
UbuntuLinux6.06
26 VMware, Inc.
Chapter 1 Introduction and System Requirements
32bithostcomputerscanrunthefollowingoperatingsystems:
MandrakeLinux10.1
MandrivaCorporateServer4
RedHatEnterpriseLinux5.1
RedHatEnterpriseLinux5.0
RedHatEnterpriseLinuxAS4.5
RedHatEnterpriseLinuxES4.5
RedHatEnterpriseLinuxWS4.5
SUSELinuxEnterpriseServer10.1
SUSELinuxEnterpriseServer10SP1
SUSELinuxEnterpriseServer10
SUSELinuxEnterpriseServer9SP4
TurboLinuxEnterpriseServer10
UbuntuLinux8.04
UbuntuLinux7.10
UbuntuLinux7.04
UbuntuLinux6.10
UbuntuLinux6.06
VMwareRemoteConsoleenablesyoutointeractwiththeguestoperatingsystemon
thehostoraremoteclient.ItisinstalledasaWebbrowseraddon.
TouseVIWebAccessorinstallVMwareRemoteConsole,runoneofthefollowingWeb
browsers:
MozillaFirefox2.0or3.0forLinux
MozillaFirefox2.0or3.0forWindows
InternetExplorer6.0or7.0(7.0recommended)
NOTEOtherbrowsersarenotexcluded,butarenotcertifiedbyVMware.Pleaserefer
toyourbrowservendorsdocumentationforadditionalrequirements.Forthebest
experience,makesurethatyourbrowserincludesallofthesecurityandstability
updatesrecommendedbythevendor.
VMware, Inc. 27
VMware Server Users Guide
JavaScript,XMLHttpRequest,andcookiesmustbeenabledinyourWebbrowser
settingstouseVIWebAccess.Thesefeaturesareenabledbydefault.
Toavoidperformancedegradation,disabletheFirebugextensiontoFirefoxwhenusing
VIWebAccess.
TheVMwareRemoteConsoleaddonmightconflictwithotherFirefoxaddons.Ifyou
experienceproblemswhenyouattempttoinstalltheVMwareRemoteConsoleaddon,
trydisablingotheraddonsyouhaveenabled.Specifically,youmighthavetodisable
thethirdpartyLeakMonitoraddonbeforeyouinstalltheVMwareRemoteConsole
addon.
Processor
Sameprocessorasthehostcomputer
Onevirtualprocessoronahostsystemwithoneormorelogicalprocessors
Twovirtualprocessors(twowayvirtualsymmetricmultiprocessingor
Virtual SMP)onahostsystemwithatleasttwologicalprocessors
Thefollowingareallconsideredtohavetwologicalprocessors:
AmultiprocessorhostwithtwoormorephysicalCPUs
AsingleprocessorhostwithamulticoreCPU
Asingleprocessorhostwithhyperthreadingenabled
SeeUsingTwoWayVirtualSymmetricMultiprocessingonpage 278.
Chip Set
Intel440BXbasedmotherboard
NS338SIO
82093AAIOAPIC
BIOS
PhoenixBIOS4.0Release6withVESABIOS
28 VMware, Inc.
Chapter 1 Introduction and System Requirements
Memory
Upto8GB,dependingonhostmemory,virtualmachinehardwareversion,and
guestoperatingsystemsupport.
Totalmemoryavailableforallvirtualmachinesislimitedonlybytheamountof
memoryonthehostcomputer.
Graphics
VGA
SVGA
IDE Drives
Uptofourdevices.AnyofthesedevicescanbeavirtualharddiskorCD/DVD
drive.
IDEvirtualdisksupto950GB.
CD/DVDdrivecanbeaphysicaldeviceonthehostorclientsystem,oranISO
imagefile.
SCSI Devices
Upto60devices.AnyofthesedevicescanbeavirtualharddiskorCD/DVDdrive.
SCSIvirtualdisksupto950GB.
LSILogicLSI53C10xxUltra320SCSII/Ocontroller.ForWindowsXPguest
systems,thisrequiresanaddondriverfromtheLSILogicWebsite.Formore
information,seetheVMwareGuestOperatingSystemInstallationGuideat
http://pubs.vmware.com/guestnotes/.
Mylex(BusLogic)BT958compatiblehostbusadapter.ForWindowsXPand
WindowsServer2003guestsystems,thisrequiresanaddondriverfromthe
VMwareWebsite.Formoreinformation,seetheVMwareGuestOperatingSystem
InstallationGuideathttp://pubs.vmware.com/guestnotes/.
PCI Slots
SixvirtualPCIslotscanbedividedamongthevirtualSCSIcontrollers,virtualEthernet
cards,virtualdisplayadapter,andvirtualsoundadapter.
VMware, Inc. 29
VMware Server Users Guide
Floppy Drives
Uptotwo1.44MBfloppydevices
Physicaldrivesorfloppyimagefiles
Outputtoserialports,hostoperatingsystemfiles,ornamedpipes
Outputtoparallelportsorhostoperatingsystemfiles
USB Ports
USB2.0supportisavailableonlyforVMwareproductsthatsupportvirtual
machinehardwareversions6and7,suchasVMwareServer2andWorkstation6.
ForUSB2.0support,yourhostmachinemustsupportUSB2.0.
Supportsmostdevices,includingUSBprinters,scanners,PDAs,harddiskdrives,
memorycardreadersanddigitalcameras,aswellasstreamingdevicessuchas
webcams,speakers,andmicrophones.
Keyboard
104keyWindows95/98enhanced
Serialtablets
USBtablets
Ethernet Card
Upto10virtualEthernetcardsinhardwareversion6and7virtualmachines.
AMDPCnetPCIIIcompatible.
For64bitguests:IntelPro/1000MTServerAdaptercompatible.
30 VMware, Inc.
Chapter 1 Introduction and System Requirements
Virtual Networking
Supportfor10virtualnetworkswitchesonWindowshostoperatingsystems.
Supportfor255virtualnetworkswitchesonLinuxhosts.Threeswitchesare
configuredbydefaultforbridged,hostonly,andNATnetworking.
SupportformostEthernetbasedprotocols,includingTCP/IP,Microsoft
Networking,Samba,NovellNetware,andNetworkFileSystem(NFS).
BuiltinNATsupportsclientsoftwareusingTCP/IP,FTP,DNS,HTTP,andTelnet,
includingVPNsupportforPPTPoverNAT.
Sound
Soundoutputandinputonhostsystemonly.
EmulatesCreativeLabsSoundBlasterAudioPCI.MIDIinput,gamecontrollers,
andjoysticksarenotsupported,exceptforUSBdevices.
OperatingsystemsthatarenotlistedarenotsupportedforuseinaVMwareServer
virtualmachine.
WindowsVistax64BusinessEdition
WindowsVistax64UltimateEdition
WindowsXPProfessionalx64
WindowsServer2003x64StandardEdition
WindowsServer2003x64WebEdition
WindowsServer2003x64EnterpriseEdition
VMware, Inc. 31
VMware Server Users Guide
WindowsVistaBusinessEdition
WindowsVistaUltimateEdition
WindowsXPProfessional
WindowsServer2003StandardEdition
WindowsServer2003WebEdition
WindowsServer2003EnterpriseEdition
WindowsSmallBusinessServer2003StandardEdition
WindowsSmallBusinessServer2003PremiumEdition
Windows2000Server
Windows2000AdvancedServer
MandrivaLinux
RedHatEnterpriseLinux
SUSELinux
SUSELinuxEnterpriseServer
openSUSELinux
OpenEnterpriseServer(OES)
UbuntuLinux
MandrivaLinux
RedHatEnterpriseLinux
SUSELinux
SUSELinuxEnterpriseServer
32 VMware, Inc.
Chapter 1 Introduction and System Requirements
openSUSELinux
OpenEnterpriseServer(OES)
UbuntuLinux
Whenyoupoweronavirtualmachinewitha64bitguestoperatingsystem,
VMware Serverperformsaninternalcheck.IfthehostCPUisnotasupported64bit
processor,youcannotpoweronthevirtualmachine.
VMwarealsoprovidesastandaloneutilitythatyoucanusewithoutVMwareServerto
performthesamecheckanddeterminewhetheryourCPUissupportedfor
VMware Servervirtualmachineswith64bitguestoperatingsystems.Youcan
downloadthe64bitprocessorcheckutilityfromhttp://www.vmware.com/download.
VMware, Inc. 33
VMware Server Users Guide
34 VMware, Inc.
2
InstallationPrerequisitesonpage 35
InstallingVMwareServeronaWindowsHostonpage 37
UninstallingVMwareServeronaWindowsHostonpage 41
InstallingVMwareServeronaLinuxHostonpage 41
ConfiguringVMwareServeronaLinuxHostUsingvmwareconfig.plon
page 42
UninstallingVMwareServeronaLinuxHostonpage 43
UpgradingfromVMwareServer1onpage 44
WheretoGoNextonpage 45
Installation Prerequisites
InstallingVMwareServerisusuallyasimpleprocessofrunningastandardinstallation
wizard.Thissectionoutlinesthetasksyouneedtoperformbeforestartingan
installationandwhichVMwareproductscanbeinstalledonthesamecomputeras
VMwareServer.
VMware, Inc. 35
VMware Server Users Guide
CompatiblehostVerifythatthecomputerandhostoperatingsystemmeetthe
systemrequirementsforrunningVMwareServer,asdescribedinHostSystem
Requirementsonpage 23.
VMwareServerinstallationsoftwareVMwareServerisavailableforboth
WindowsandLinuxhostcomputers.Theinstallationsoftwareisinthefileyou
download.
VMwareServerserialnumberYourserialnumberissentbyemail.
YourserialnumberallowsyoutouseVMwareServeronlyonthehostoperating
systemforwhichyoulicensedthesoftware.Forexample,ifyouhaveaserial
numberforaWindowshost,youcannotrunthesoftwareonaLinuxhost.Make
surethatyouentertheserialnumberforthecorrectoperatingsystem.
GuestoperatingsystemAfterVMwareServerisinstalled,youneedthe
operatingsysteminstallationCDsorOSimagestosetupyourguestsystems.You
canalsodownloadavirtualappliancefromtheVirtualApplianceMarketplaceor
useabootableCDorPXEimagefile.
WebbrowserTomanageVMwareServerusingVIWebAccess,useasupported
Webbrowser,asdescribedinVIWebAccessandVMwareRemoteConsoleClient
SystemRequirementsonpage 27.
TheonlyVMwareproductsthatcanshareahostmachinewithVMwareServerarethe
VMwareVirtualCenterclient(VMwareInfrastructureClient)andserversoftwareand
VMwareConverter.IfyouplantoinstallVMwareServeronahostmachinethatalready
containsanotherVMwareproduct,youmustuninstallthatproductfirst.
NOTEYoucannotcurrentlymanageVMwareServer2.0usingVirtualCenter.
OnaWindowshost,uninstallusingAdd/RemoveProgramsintheControlPanel.The
uninstalleraskswhetheryouwanttokeeplicensesinyourregistry.Donotremovethe
licenses.IfyoureinstalltheVMwareproductthatyouuninstalled,youdonotneedto
entertheserialnumberagain.
36 VMware, Inc.
Chapter 2 Installing VMware Server
OnaLinuxhost,followtheprocedureinthischaptertouninstalltheproduct.The
licensesremaininplace.Youdonotneedtotakeanyspecialaction.
Afteryouhavecompletedtheprerequisitesanddeterminedwhichcomputeryouwant
tousetohostVMwareServer,followtheprocedureinthischaptertoinstallVMware
Serveronyourhostsystem.
ThefollowingproceduredescribeshowtoruntheVMwareServerinstallationwizard.
NOTEYoureceivetheserialnumbersinanemailmessagefromVMware.Themessage
includesoneserialnumbertouseonaWindowshostandanotherserialnumbertouse
onaLinuxhost.Entertheserialnumberthatisappropriateforyourhostoperating
system.Todownloadthesoftwareagainorrequestadditionalserialnumbers,goto
http://www.vmware.com/download/server/.
Ifyouwanttousethecommandlineinterfacetoperformasilentinstallationonmany
computers,seeInstallingVMwareServerSilentlyonpage 39.
1 LoginastheAdministratoruserorasauserwhoisamemberoftheWindows
Administratorsgroup.
Loginasalocaladministrator(thatis,donotlogintothedomain,unlessyour
domainaccountisalsoalocaladministrator).
AlthoughanadministratormustinstallVMwareServer,auserwithout
administrativeprivilegescanuseVMwareServer.
2 Browsetothedirectorywhereyousavedthedownloadedfile,andrunthe
installer.ThefilenameissimilartoVMware-server-<xxxx-xxxx>.exe,where
<xxxx-xxxx>isaseriesofnumbersrepresentingtheversionandbuildnumbers.
IfyouhaveanearlierversionofVMwareServerinstalledonyoursystem,the
installerremovesthatversionbeforeinstallingthenewversion.Afterthe
uninstallationiscomplete,youmightbepromptedtorestartyourcomputerbefore
theinstallercaninstallthenewversion.
VMware, Inc. 37
VMware Server Users Guide
3 Whenthewizardfinishescomputingspacerequirements,clickNexttoclosethe
Welcomepage.
4 OntheLicenseAgreementpage,readandacceptthelicenseagreementtocontinue
theinstallation.
5 OntheDestinationFolderpage,ifyoudonotwantVMwareServerinstalledinthe
directorythatisshown,clickChangeandspecifyanalternateinstallation
directory.
WindowsandtheMicrosoftInstallerlimitthelengthofapathtoadirectoryona
localdriveto255characters.Forapathtoadirectoryonamappedorshareddrive,
thelimitis240characters.Ifthepathexceedsthislimit,anerrormessageappears,
andyoumustselectorenterashorterpath.
Ifyouspecifyadirectorythatdoesnotexist,theinstallercreatesitforyou.
YoucannotinstallVMwareServeronanetworkdrive.
6 ClickNext.
7 OntheServerConfigurationInformationpage,ifyoudonotwantvirtualmachine
filesstoredinthedirectorythatisshown,clickChangeandspecifyanalternate
virtualmachinedirectory.
Ifyouspecifyadirectorythatdoesnotexist,theinstallercreatesitforyou.
8 AlsoontheServerConfigurationInformationpage,acceptorchangethedefault
valuesforFQDN,ServerHTTPPort,andServerHTTPSPort.
Thefullyqualifieddomainname(FQDN)includesthehostnameandthedomain
name.Forexample,intheFQDNmyserverhost.companydomain.com,
myserverhostisthehostname,andcompanydomain.comisthedomain.The
FQDNisusedtocreatethedesktopshortcutthatopensVI WebAccess.
IfyoudonotsetServerHTTPPortto80,youmustincludetheportnumberwhen
youconnecttoVMwareServerusingVI WebAccess.SeeLoggingIntoVMware
ServerUsingVIWebAccessonpage 48.
9 AlsoontheServerConfigurationInformationpage,selectAllowvirtualmachines
tostartandstopautomaticallywiththesystemifyouwanttoconfigurevirtual
machinestostartupandshutdownautomaticallywhenthehostoperatingsystem
startsandshutsdown.Formoreinformation,seeConfiguringVirtualMachine
StartupandShutdownSettingsonpage 115.
10 ClickNext.
11 OntheConfigureShortcutspage,deselectanyshortcutsyoudonotwantthe
installertocreate.
38 VMware, Inc.
Chapter 2 Installing VMware Server
12 OntheReadytoInstalltheProgrampage,clickInstallorclickBacktomake
changes.
13 (Optional)AfteryouclickInstall,ontheRegistrationInformationpage,enteryour
name,companyname,andserialnumberandclickNext.Ifyouskipthisstep,you
mustenteryourserialnumberlaterinVIWebAccess,beforeyoucanpowerona
virtualmachine.
YourserialnumberisinanemailsenttoyouwhenyouobtainVMwareServer
online.
14 WhenthewizarddisplaystheInstallationWizardCompletedpage,clickFinish.
Someinstallationsmightrequirethatyourebootyourcomputer.Whenyourestart,
youdontneedtologinasauserwithAdministratorprivileges.
BeforeinstallingVMwareServersilently,makesurethatthehostcomputerhasversion
2.0orhigheroftheMSIruntimeengine,whichisavailableinWindowsbeginningwith
WindowsXPandseparatelyfromMicrosoft.Foradditionaldetailsonusingthe
MicrosoftWindowsInstaller,seetheMicrosoftWebsite.
1 ExtracttheadministrativeinstallationimagefromtheVMwareServerinstaller:
ThefilenameissimilartoVMware-server-<xxxxx>.exe,where<xxxxx>isa
seriesofnumbersrepresentingtheversionandbuildnumbers.Anexample
commandis:
VMware-server-<xxxx>.exe /a /s /v TARGETDIR="C:\temp\server" /qn
2 Runtheinstallationusingmsiexecandtheinstallationimagethatyouextracted
inthepreviousstep.Enterthecommandononeline.
msiexec /i "<InstallTempPath>\VMware Server.msi"
[INSTALLDIR="<PathToProgramDirectory>"] ADDLOCAL=ALL
[REMOVE=<featurename,featurename>] /qn
ToinstallVMwareServerinalocationotherthanthedefault,changethe
INSTALLDIRpath.
VMware, Inc. 39
VMware Server Users Guide
UsetheoptionalREMOVEsettingtoskipinstallationofcertainfeatures.TheREMOVE
settingcantakeoneormoreofthevalueslistedinTable 21.
Network Networkingcomponentsincludingthevirtualbridgeandthehostadapters
forhostonlyandNATnetworking.Donotremovethiscomponentifyou
wanttouseNATorDHCP.
DHCP VirtualDHCPserver.
NAT VirtualNATdevice.
Ifyouspecifymorethanonevalue,useacommatoseparatethevalues,for
example,REMOVE=DHCP,NAT.IfyouspecifyREMOVE=Network,youdonotneedto
specifyDHCPorNATseparately.
Youcancustomizetheinstallationfurtherbyaddinganyofthefollowing
installationpropertiestothecommandusingtheformat<property>="<value>".
Avalueof1meanstrue.Avalueof0meansfalse.Ifyouusetheserialnumber
property,entertheserialnumberwithhyphens(xxxxxxxxxxxxxxxxxxxx).
DESKTOP_SHORTCUT Installsashortcutonthedesktop. 1
DISABLE_AUTORUN DisablesCDautorunonthehost. 1
REMOVE_LICENSE (Uninstallonly)Removesallstoredlicensesat 0
uninstall.
SERIALNUMBER Enterstheserialnumber.
3 Checktheinstallationlogfiletoverifythattheinstallationcompletedsuccessfully.
Thelogfileindicateswhetheryouneedtorebootthehostsystemorifanyerrors
occurred.Thefileislocatedintheadministratoruserstemporarydirectory,inthe
format:
vminst.log_<date_and_time_stamp>_<Success_or_Failed>.log
40 VMware, Inc.
Chapter 2 Installing VMware Server
TherealtimeclockfunctionmustbecompiledinyourLinuxkernel.
TheparallelportPCstylehardwareoption(CONFIG_PARPORT_PC)mustbe
builtandloadedasakernelmodule(thatis,itmustbesettomwhenthekernelis
compiled).
1 LoginwiththeusernameyouplantousewhenrunningVMwareServer.
2 Inaterminalwindow,usethecommandtobecomeroot,forexample:
su -
OnUbuntuhosts,usethecommand:
sudo -s -H
3 Ifyouhaveaprevioustarinstallation,deletethevmware-server-distrib
directorybeforeinstallingfromatarfileagain.
Thelocationofthisdirectoryisusually/tmp/vmware-server-distrib.
4 Changetothetemporarydirectorywhereyoucopiedorsavedtheinstallationfile:
cd /tmp
5 Unpackthearchive:
tar zxpf VMware-server-<xxxx>.tar.gz
6 Changetotheinstallationdirectory:
cd vmware-server-distrib
7 Runtheinstallationscript:
./vmware-install.pl
8 Respondtothepromptsforthedirectorylocationsforbinaryfiles,initialization
scripts,daemonfiles,libraryfiles,manualfiles,anddocumentationfiles.
Inmostcases,thedefaultresponseisappropriate.
VMware, Inc. 41
VMware Server Users Guide
9 EnterYeswhenpromptedtorunvmware-config.pl.
10 Respondtotheprompts,asdescribedinConfiguringVMwareServeronaLinux
HostUsingvmwareconfig.plonpage 42.
1 LoginwiththeusernameyouplantousewhenrunningVMwareServer.
2 Inaterminalwindow,usethecommandtobecomeroot,forexample:
su -
3 RunRPMandspecifytheinstallationfile:
rpm -Uhv VMware-server-<xxxx>.rpm
Inplaceof<xxxx>thefilenamecontainsnumbersthatcorrespondtotheversion
andbuild.
4 Runtheconfigurationscript:
./vmware-config.pl
5 Respondtotheprompts,asdescribedinConfiguringVMwareServeronaLinux
HostUsingvmwareconfig.plonpage 42.
Configurationwithvmware-config.plisrequiredinthefollowingcircumstances:
WhenyouinstallVMwareServerforthefirsttime.
WhenyouupgradeyourversionofVMwareServer.
Whenyouupgradeyourhostoperatingsystemkernel.(Itisnotnecessaryto
reinstallVMwareServerafteryouupgradeyourkernel.)
ToreconfigurethenetworkingoptionsforVMwareServer.Forexample,toaddor
removeavirtualnetwork.
NOTEIfyouusetheRPMinstaller,youneedtoruntheconfigurationprogram
separatelyfromthecommandline.Ifyouinstallfromthetararchive,theinstalleroffers
tolaunchtheconfigurationprogramforyou.AnswerYeswhenyouseetheprompt.
42 VMware, Inc.
Chapter 2 Installing VMware Server
Ifyouhavenotalreadydoneso,openaterminalwindowandloginastherootuser
beforeperformingthefollowingprocedure.
Thescriptislocatedin/usr/bin.Ifthisdirectoryisnotinyourdefaultpath,enter
thefollowingcommandtorunthescript:
/usr/bin/vmware-config.pl
2 Respondtotheprompts.Inmostcases,thedefaultresponseisappropriate.
Thefollowingportsareusedbydefault:port902forthe
VMware Authorization Service,port8222forhttpconnections,andport8333for
securehttp(https)connections.Ifyoudonotwanttousethedefaultvalue,
changetheportnumberwhenprompted.
Ifyoudonotspecifyport80forhttpconnections,youmustincludetheport
numberwhenyouconnecttoVMwareServerusingVI WebAccess.SeeLogging
IntoVMwareServerUsingVIWebAccessonpage 48.
Iftheconfigurationprogramdoesnotdisplayamessagesayingthatthe
configurationcompletedsuccessfully,runtheconfigurationprogramagain.
3 Whendone,exitfromtherootaccount:
exit
VMware, Inc. 43
VMware Server Users Guide
Inplaceof<xxxx>thefilenamecontainsnumbersthatcorrespondtotheversionand
build.IfyouhaveVMwareServerproperlyinstalled,youcanfindtheVMwareServer
buildnumberbyrunning:
rpm -qa | grep VM
Therearesomefeaturedifferencesbetweentheseproductversions:
VI WebAccessandVMwareRemoteConsolereplacethe
VMware Management InterfaceandVMwareServerConsole.SeeChapter 3,
LearningVMwareServerBasics:UsingVIWebAccess,onpage 47.
VMwareServer2doesnotsupportphysical(raw)disks.
VMwareServer2usesdatastorestomanagevirtualmachinelocations.Adatastore
isastoragelocationforVMwareServervirtualmachinefiles.Thestoragelocation
canbethelocalfilesystem,aCIFSstore(Windowsonly),oranNFSmountedfile
system(Linuxonly).
VirtualmachinesthatwereregisteredinVMwareServer1areautomatically
registeredinVMwareServer2.However,thelocationsforexistingvirtual
machinesarenotautomaticallyaddedasdatastores.Itisrecommendedthatyou
addthemmanually.SeeManagingDatastoresonpage 110.
VMwareServer2createshardwareversion7virtualmachinesbydefault.Ifyou
wanttouseallfeaturesofVMwareServer2,itisrecommendedthatyouupgrade
virtualmachinestohardwareversion7.
Youcanimporthardwareversion3andabovevirtualmachines.However,theonly
tasksVIWebAccesscanperformonhardwareversion3virtualmachinesare
poweroperationsandupgrade.Toupgradethehardwareversionofoldervirtual
machines,seeUpgradingtheVirtualMachineVersiononpage 72.
44 VMware, Inc.
Chapter 2 Installing VMware Server
VMwareServer2usesadifferentpermissionsmodelfromVMwareServer1.After
youinstallVMwareServer2,loginasanadministratorusertocreateandmanage
permissionsfornonadministratorusers.SeeChapter 10,ManagingRolesand
Permissions,onpage 201.
VMwareServer2automaticallynamesbothdefaultandcustomvirtualnetworks.
TheNetworkssectionoftheVIWebAccesshostSummarytabshowsthename,
virtualnetwork(VMnet),andnetworktypeofeachvirtualnetwork.Ifyou
customizevirtualnetworkingafterinstallation,youmustrefreshthenetwork,as
describedinChangingtheNetworkingConfigurationonpage 222.
ForupgradesfromVMwareServer1,ifyoubridged(mapped)virtualnetworksto
specificphysicalorvirtualadapters,writedownthesettingsyouused.
AlthoughVMwareServer2generallypreservesnetworksettingsduringthe
upgrade,itcannotpreservebridgedsettingscreatedwithVMwareServer1.
Where to Go Next
AfteryouhaveinstalledtheVMwareServersoftwareontheserver,typicalnextsteps
include:
1 Createavirtualmachine.SeeChapter 4,CreatingandUpgradingVirtual
Machines,onpage 59.
2 Installaguestoperatingsystem.Youneedtheinstallationmediaforyourguest
operatingsystem.SeeInstallingtheGuestOperatingSystemonpage 68andthe
VMwareGuestOperatingSystemInstallationGuide.
3 InstalltheVMwareToolspackageinyourguestoperatingsystemforenhanced
performanceandfeatures.SeeInstallingVMwareToolsonpage 76.
4 Createadditionaldatastoresandaddexistingvirtualmachinestoyourinventory.
SeeChapter 6,ManagingVMwareServer,onpage 107.
5 Startusingthevirtualmachines.SeeRunningVirtualMachinesonpage 121.
VMware, Inc. 45
VMware Server Users Guide
46 VMware, Inc.
3
Thischapterincludesthefollowingtopics:
LoggingIntoVMwareServerUsingVIWebAccessonpage 48
OverviewofVIWebAccessonpage 48
UsingtheVMwareServerHostWorkspaceonpage 49
UsingtheVirtualMachineWorkspaceonpage 50
UsingVIWebAccessMenuOptionsonpage 54
LoggingOutonpage 57
Typically,yournextstepafterfamiliarizingyourselfwithVI WebAccessistocreatea
virtualmachine.Theinformationandstepsyouneedtocreateavirtualmachineare
describedinChapter 4,CreatingandUpgradingVirtualMachines,onpage 59.
VMware, Inc. 47
VMware Server Users Guide
1 LaunchyourWebbrowser.
2 EntertheURLofyourVMwareServerinstallation:
http://<host_name>/
Ifyouarenotusingport80toconnecttoVMwareServer,youmustincludetheport
numberyouspecifiedduringinstallationintheconnectionURL,forexample:
http://<host_name>:8222
Whenyouconnectremotely,youareautomaticallyredirectedtothesecurehttp
(https)port.
TheVI WebAccessloginpageappears.
NOTEIftheconnectionfails,enterthecorrecthostname,IPaddress,or
localhost,asappropriate,intheconnectionURL.Youcanalsomanuallyenter
theshortnameandtheFQDN,orlocalhost,inthe/etc/hostsfile.
3 Entertheusernameandpasswordyouusetologintothehost,andclickLog In.
Afteryourusernameandpasswordareauthorized,themainapplicationpage
appears.
Youruserroledetermineswhatyoucanseeandwhichactionsyoucanperformin
VI WebAccess.SeeChapter 10,ManagingRolesandPermissions,onpage 201.
InventorypanelAppearingontheleft,thisareadisplaysthevirtualmachine
inventory.
ClickthehosttoviewsummaryinformationaboutVMwareServerinthe
workspace.
Clickavirtualmachinetoviewsummaryinformationaboutthevirtual
machineintheworkspace.
48 VMware, Inc.
Chapter 3 Learning VMware Server Basics: Using VI Web Access
WorkspaceAppearingontheright,thisisthemainpartofthewindow.
WhenthehostisselectedintheInventorypanel,theworkspaceincludesthe
Summary,VirtualMachines,Tasks,Events,andPermissionstabs.Thesetabs
containdetailedinformationabouttheVMwareServerhostandallowyouto
configurehostwidesettings.SeeUsingtheVMwareServerHost
Workspaceonpage 49.
WhenavirtualmachineisselectedintheInventorypanel,theworkspace
includestheSummary,Console,Tasks,Events,andPermissionstabs.These
tabscontaindetailedinformationaboutvariousaspectsofthevirtualmachine
andallowyoutoconfigurethem.SeeUsingtheVirtualMachineWorkspace
onpage 50.
MenubarThemenusabovetheInventorypanelprovideaccesstocommon
applicationandvirtualmachineoperations,includingpoweroperationsand
snapshotandconsolecommands.SeeUsingVIWebAccessMenuOptionson
page 54.
ToolbarAppearingalongthetopofthepage,thesebuttonsallowyoutoacton
theselectedvirtualmachine,offeringoneclickaccesstopoweroperations.See
ChangingthePowerStateofaVirtualMachineonpage 122.
TaskareaAppearingalongthebottomofthepage,thisareadisplaystasks
recentlyexecutedbyVMwareServer,includinghostlevelconfigurationchanges.
Youcansorttasksbyclickingthecolumnheaders.Bydefault,tasksappearin
reversechronologicalorder(mostrecenttasksfirst).Youcandoubleclickataskto
getmoredetailedinformation.
SummaryTheGeneralsectiondisplaysthehostsystemsmanufacturer,name,
model,processortypeandutilization,andmemorycapacityandutilization.The
Datastoressectionshowsthename,capacity,freespace,andlocationofeach
datastore.TheNetworkssectionshowsthename,virtualnetwork(VMnet),and
networktypeofeachvirtualnetwork.
FromtheCommandssection,youcanmanageyourvirtualmachineinventory,
add,rename,orremovedatastores,createvirtualmachines,andconfigureglobal
memory,snapshot,andvirtualmachinestartupandshutdownsettings.For
informationabouthowtoperformtheseandotherhostwidemanagementtasks,
seeChapter 6,ManagingVMwareServer,onpage 107.
VMware, Inc. 49
VMware Server Users Guide
TasksDisplaystasksthatareperformedbyusersintheVMwareServerhost.
SeeViewingVMwareServerandVirtualMachineTasksonpage 56.
EventsDisplayseventsthatoccurredintheVMwareServerhost.SeeViewing
VMwareServerandVirtualMachineEventsonpage 57.
VirtualMachinesDisplayshighlevelinformationabouttheallthevirtual
machinesintheinventory,includingprocessorandmemoryutilizationwhenthe
virtualmachineispoweredon.Fromthistab,youcancreateavirtualmachine,
addavirtualmachinetotheinventory,anddeleteorperformpoweroperationson
aselectedvirtualmachine.SeeAddingaVirtualMachinetotheInventoryon
page 108andPerformingPowerOperationsonVirtualMachinesonpage 109.
PermissionsDisplaysandallowsyoutoconfigurepermissionsforthehost.See
Chapter 10,ManagingRolesandPermissions,onpage 201.
SummaryDisplaysperformanceandstatusinformation.Youcanviewa
summaryofthevirtualmachinesstate,includinginformationaboutvirtual
devicesandconfigurationoptions.Fromthistab,youcanmodifytheselected
virtualmachineshardwareandperformothervirtualmachinemanagementtasks.
TasksDisplaystasksthatusersperforminthevirtualmachine.SeeViewing
VMwareServerandVirtualMachineTasksonpage 56.
EventsDisplayseventsthatoccurredinthevirtualmachine.SeeViewing
VMwareServerandVirtualMachineEventsonpage 57.
ConsoleAllowsyoutointeractdirectlywiththeguestoperatingsystem.See
InstallingtheVMwareRemoteConsoleAddOnonpage 52andStarting
VMwareRemoteConsolefromtheConsoleTabonpage 53.
PermissionsDisplaysandallowsyoutoconfigurepermissionsforthevirtual
machine.SeeChapter 10,ManagingRolesandPermissions,onpage 201.
50 VMware, Inc.
Chapter 3 Learning VMware Server Basics: Using VI Web Access
TheSummarytabincludesthefollowingsections:
ThePerformancesectiondisplaysthevirtualmachineprocessorandmemory
capacityandcurrentutilization.
TheNotessectiondisplays,andallowsyoutoedit,texttodescribethevirtual
machine.
TheHardwaresectiondisplays,andallowsyoutoeditorremove,thevirtual
machineshardware.Tochangemostsettings,youmustpoweroffthevirtual
machine.SeeEditingtheHardwareConfigurationofaVirtualMachineon
page 135.
TheStatussectiondisplaysthefollowing:
Thecurrentpowerstateofthevirtualmachine:whetheritispoweredon,
poweredoff,orsuspended.
Theguestoperatingsysteminstalledinthevirtualmachine.
VMwareToolsstatus,indicatingwhetherVMwareToolsisinstalledand
running,andwhetheryouneedtoupgradetothelatestversion.See
Chapter 5,InstallingandUsingVMwareTools,onpage 73.
TheDNSnameandIPaddressofthevirtualmachine.
TheCommandssectiondisplays:
Poweroperationscommands.SeeChangingVirtualMachinePower
Settingsonpage 125.
AcommandtostarttheAddHardwarewizard.SeeAddingHardwaretoa
VirtualMachineonpage 137.
Snapshotcommands.SeeUsingSnapshotsonpage 195.
Acommandtoopenthevirtualmachineconfigurationdialogbox.See
Chapter 7,RunningVirtualMachines,onpage 121.
Acommandtocreateavirtualmachineshortcutthatenablesuserstointeract
directlywiththeguestoperatingsystem.SeeGeneratingandSharingVirtual
MachineShortcutsonpage 133.
TheRelationshipssectiondisplaysthecurrentrelationshipsofthevirtualmachine:
thehostname,datastores,andnetworks.
VMware, Inc. 51
VMware Server Users Guide
YoumustinstallVMwareRemoteConsoleasaWebbrowseraddonthefirsttimeyou
wanttousetheconsolewithaWebbrowserthatdoesnotalreadyhavetheaddon
installed.Whenanewversionoftheaddonisavailable,youarepromptedtoinstall
thenewversion.
AfterVMwareRemoteConsoleisinstalled,youcancontinuetouseitifyoucloseyour
Webbrowser.
1 ClicktheConsoletab.
Iftheaddonisnotinstalledoranewversionoftheaddonisavailable,thetext
showninFigure 31appears.
2 ClickInstallplugin.
IfyouareusingInternetExplorer,theFileDownloadSecurityWarningdialog
boxisdisplayed.
i CloseallinstancesofInternetExplorerbeforecontinuing.
TheaddoncannotbeinstalledifanyInternetExplorerwindowsare
open.
ii ClickRun.
52 VMware, Inc.
Chapter 3 Learning VMware Server Basics: Using VI Web Access
iii TheInternetExplorerSecurityWarninginstallationdialogboxis
displayed.
iv ClickRun.
NOTEDependingonyourInternetExplorersecuritysettings,youmight
seeamessageatthetopofthebrowser:Thiswebsitewantstorunthe
followingaddon.Ifyouseethismessage,clickitandallowtheaddon
torun.
Theaddonisinstalled.Skiptheremainingstepsofthisprocedure.
IfyouareusingFirefox,amessageappearsatthetopofthebrowserindicating
thatFirefoxpreventedthesitefromaskingyoutoinstallthesoftwareonyour
computer.
i ClickEditOptionsnexttotheFirefoxmessage.
TheAllowedSitesAddonsInstallationpageappears.
ii ClickAllowtoallowtheaddontobeinstalledfromtheVMwareServer
hostsystem,andclickClose.
YouarereturnedtotheConsoletabasshowninFigure 31.
iii ClickInstallplugin.
TheSoftwareInstallationpageappears.
iv ClickInstallNow.
Theaddonisinstalled.
Firefoxrequiresyoutorestartyourbrowser.
IftheVMwareRemoteConsoleaddonisnotinstalledintheWebbrowseroranew
versionoftheaddonisavailable,youarepromptedtoinstallit,asdescribedin
InstallingtheVMwareRemoteConsoleAddOnonpage 52.
Whenavirtualmachineispoweredoff,suspended,orunavailable,theConsoletab
displaysamessageandpossibleactions.Forexample,whenthevirtualmachineis
poweredoff,thepoweronoptionisavailable.
VMware, Inc. 53
VMware Server Users Guide
Whenthevirtualmachineispoweredon,youcanclickanywhereintheConsolescreen
toopenVMwareRemoteConsole.TheVMwareRemoteConsolestartupscreenis
displayedforafewmomentsbeforetheguestoperatingsystembeginstorun.
ForinformationaboutusingVMwareRemoteConsole,seeUsingVMwareRemote
Consoleonpage 130.
YoucancontinuetouseVMwareRemoteConsoleifyoucloseyourWebbrowser.
ApplicationOptionsrelevanttotheVIWebAccessapplicationinterface.
VirtualMachineVirtualmachinecommands.Mostvirtualmachineoperations
areenabledonlywhenavirtualmachineisselectedintheInventorypanel.
Theavailablemenuoptionsaredescribedinthefollowingsections.
Application Menu
TheApplicationmenuincludesgeneralVIWebAccessoptionsforgettingversion
information,browsingtheVirtualApplianceMarketplace,viewingonlinehelp,and
loggingout.
AboutDisplaystheVIWebAccessversionnumber,VMwareServerversion
number,andVMwarecopyrightinformation.
EnterSerialNumberAllowsyoutoenteranewVMwareServerserialnumber
ifyourcurrentserialnumberisexpiring.
VirtualApplianceMarketplaceOpenstheVirtualApplianceMarketplaceWeb
page.Virtualappliancesareprebuilt,preconfigured,readytorunenterprise
applicationspackagedwithanoperatingsysteminsideavirtualmachine.
CheckforUpdatesOpenstheVMwareServerdownloadpage.
HelpDisplaysonlinehelp.
LogOutLogsyououtofVI WebAccess.
54 VMware, Inc.
Chapter 3 Learning VMware Server Basics: Using VI Web Access
Themenuincludesthefollowingcommands,whichcanalsobeperformedusingthe
buttonsandothervisualelementsofthemanagementinterface:
CreateVirtualMachineStartstheNewVirtualMachinewizard.SeeChapter 4,
CreatingandUpgradingVirtualMachines,onpage 59.
AddVirtualMachinetoInventoryAddsavirtualmachinetothehost
inventory.SeeManagingtheVirtualMachineInventoryonpage 108.
RemoveVirtualMachineRemovesavirtualmachinefromtheinventory,and
optionallydeletesthevirtualmachinefiles.Thisoptionisenabledifthevirtual
machineispoweredoff.SeeManagingtheVirtualMachineInventoryon
page 108.
PowerOn/ResumePowersonapoweredoffvirtualmachineorresumesa
suspendedvirtualmachine.
PowerOffPowersoffthevirtualmachineimmediately.Thisisthesameas
pullingtheplugonaphysicalcomputer.
SuspendSuspendsapoweredonvirtualmachine.
SuspendGuestSuspendstheguestoperatingsystem.VMwareToolsexecutes
thescriptassociatedwiththispowerstatechange,ifany.
ResetResetsthevirtualmachineimmediately.Thisisthesameaspressingthe
resetbuttononaphysicalcomputer.
ShutDownGuestShutsdowntheguestoperatingsystem.VMwareTools
executesthescriptassociatedwiththispowerstatechange,ifany.
RestartGuestRestartstheguestoperatingsystemandthevirtualmachine.
VMwareToolsexecutesthescriptassociatedwiththispowerstatechange,ifany.
TakeSnapshotTakesasnapshotofthevirtualmachine.
ReverttoSnapshotRevertstoanexistingsnapshot.
RemoveSnapshotRemovesanexistingsnapshot.
EnterFullScreenModeStartsVMwareRemoteConsoleinfullscreenmode.
OpeninaNewWindowOpensanewVMwareRemoteConsoleinstance.
FordetailedinformationaboutusingVI WebAccesstoperformvirtualmachinetasks,
seeChapter 7,RunningVirtualMachines,onpage 121.
VMware, Inc. 55
VMware Server Users Guide
Administration Menu
TheAdministrationmenuincludestheManageRolesoptionformanagingVMware
Serverroles.SeeChapter 10,ManagingRolesandPermissions,onpage 201.
TheTaskstabdisplaysasortedlogofthemostrecentuserinitiatedtasks,suchasa
requesttopoweronavirtualmachineortochangeavirtualmachineorhostsetting.
Youcansorttasksbyclickingthecolumnheaders.Bydefault,tasksappearinreverse
chronologicalorder.
TheTaskstabfieldsaredescribedinthefollowingtable.
Field Description
Triggered Dateandtimetheeventoccurred.
Status Indicatestaskssuccessorfailure.
Object Theobjectonwhichthetaskwasperformed.
Name Thenameofthetask,suchasPower on this Virtual Machine.
TriggeredBy Entitythattriggeredtheevent,suchasAdministrator.
SelectataskandclickViewDetailstoseeadditionalinformation.Theadditionalfields
aredescribedinthefollowingtable.
Field Description
TaskID Theidentifierforthetypeoftask.
Target Thehostorvirtualmachinename.
Triggeredat Thetimethatthetaskwasrequested.
Completedat Thetimethatthetaskwascompleted.
56 VMware, Inc.
Chapter 3 Learning VMware Server Basics: Using VI Web Access
TheEventstabdisplaysasortedlogofthemostrecenthostorvirtualmachine
transactions,suchasaddinganewrole,andothereventslikepoweroperations.
Youcansorteventsbyclickingthecolumnheaders.Bydefault,eventsappearinreverse
chronologicalorder.
TheEventstabfieldsaredescribedinthefollowingtable.
Field Description
Triggered Dateandtimetheeventoccurred.
Severity Indicatesthewarninglevel,suchasInformationorAlert.
Description Textexplanationoftheevent.
SelectaneventandclickViewDetailstoseeadditionalinformation.Theadditional
fieldsaredescribedinthefollowingtable.
Field Description
Object Theobjectonwhichthetaskwasperformed.
TriggeredBy Entitythattriggeredtheevent.
Type Typeofeventthatoccurred.
Message Textexplanationofaction.
Logging Out
LogoutofVIWebAccessbyclickingLogOutintheupperrightcornerofanypage.
VMware, Inc. 57
VMware Server Users Guide
58 VMware, Inc.
4
BeforeYouCreateaVirtualMachineonpage 59
UsingtheNewVirtualMachineWizardonpage 65
InstallingtheGuestOperatingSystemonpage 68
UpdatingtheGuestOperatingSystemonpage 71
UpgradingtheVirtualMachineVersiononpage 72
AdefaultdatastorecalledstandardiscreatedwhenyouinstallVMwareServer,but
youcanspecifyanyexistingdatastore.Toaddanewdatastore,seeAdding
Datastoresonpage 110.
VMware, Inc. 59
VMware Server Users Guide
Thedefaultlocationofvirtualmachinefilesinthestandarddatastoredependsonthe
host:
Windowshosts:ThedefaultlocationofavirtualmachinecalledMy Windows XP
is:
<installdrive>:\Virtual Machines\My Windows XP
Virtualmachineperformancemightbeslowerifyourdatastoreisonanetworkdrive.
Forbestperformance,useadatastoreonalocaldrive.However,ifremoteusersneed
accesstothevirtualmachine,considerplacingthevirtualmachinefilesinalocation
thatisaccessibletothem.
Selectappropriatedefaultvalues,suchastheamountofmemoryneeded
Namefilesassociatedwiththevirtualmachine
Adjustsettingsforoptimalperformance
Workaroundspecialbehaviorsandknownissueswithinaguestoperatingsystem
SupportedguestoperatingsystemsarelistedinSupportedGuestOperatingSystems
onpage 31.
Donotinstalla64bitoperatingsystemifyouselecta32bitguestoperatingsystem
type.
Iftheoperatingsystemyouwanttouseisnotlisted,selectOtherandselecta32bitor
64bitsystem.
NOTEVMwareServersupports64bitguestoperatingsystemsonlyonhostcomputers
withsupportedprocessors.ForthelistofprocessorsVMwareServersupportsfor64bit
guestoperatingsystems,seeProcessorSupportfor64BitGuestOperatingSystems
onpage 33.
60 VMware, Inc.
Chapter 4 Creating and Upgrading Virtual Machines
Upto8GBmemorypervirtualmachine,insteadofthepreviousmaximumof
3.6GB
Uptotenvirtualnetworkadapters,insteadofthepreviousmaximumofthree
TheabilitytoaddandremoveSCSIvirtualharddiskswhilethevirtualmachineis
poweredon
IfyoumigrateavirtualmachinewithnewfeaturestoWorkstation6.x,allthelatest
VMwareServer2featuresaresupported.However,youcannotmigratethevirtual
machinetomostotherVMwareproducts.
Ifyouselecthardwareversion4,thevirtualmachineiscompatiblewithmanyother
VMwareproducts,includingWorkstation5and6,ESX3,andVMwareServer1and2.
Formoreinformation,seetheVirtualMachineMobilityPlanningGuide.
Amount of Memory
OntheMemoryandProcessorspage,thememorysizeissettotheRecommendedSize
bydefault.Therecommendedvalueisbasedontheselectedguestoperatingsystem
andtheamountofmemoryinthehostcomputer.
Forbestperformance,selectRecommendedMaximum.Optimalmemorysizeis
determinedbyanumberoffactors,describedinAllocatingMemorytoaVirtual
Machineonpage 277.
Tominimizethehostmemoryresourcesallocatedtothisvirtualmachine,select
RecommendedMinimum.
NOTEDonotenteravaluelowerthantherecommendedminimumbecauseitcould
preventtheguestoperatingsystemfromrunning.
Themaximumamountofmemorypervirtualmachineis8GBforahardwareversion6
or7virtualmachine.Theamountofmemorythatcanbeusedbyallvirtualmachines
combinedislimitedonlybytheamountofmemoryonthehostcomputer.
VMware, Inc. 61
VMware Server Users Guide
Number of Processors
Multipleprocessorsaresupportedonlyforhostmachineswithatleasttwological
processors.
Thefollowingareallconsideredtohavemultiplelogicalprocessors:
MultiprocessorhostwithtwoormoreCPUs,regardlessofwhethertheyare
multicoreorhavehyperthreadingenabled
SingleprocessorhostwithamulticoreCPU
Singleprocessorhostwithhyperthreadingenabled
ForinformationaboutVMwareServersupportforVirtualSMP,seeUsingTwoWay
VirtualSymmetricMultiprocessingonpage 278.
Ifyouwanttoreuseorshareanexistingvirtualdisk,selectUseanExistingVirtual
Disk.ThewizarddisplaysthePropertiespage,fromwhichyoucanbrowsetoavirtual
disk(.vmdk)fileyoucreatedpreviously.Afteryouselecttheexistingdiskfileusingthe
datastorebrowser,itscurrentpropertiesaredisplayed.Youcanmodifythediskmode,
virtualdevicenode,andcachingpolicysettingsofanexistingdisk.
Ifyoudonotneedtocreateavirtualdisk(forexample,ifyouplantouseabootableCD
orPXEimagefile),selectDontAddaHardDisk.
Bydefault,agrowablediskiscreated.Thediskfilesuselessdiskspaceinitiallyand
growtotheirmaximumsizeonlyasadditionalspaceisneeded.However,ittakes
longertowritedatatogrowabledisks.
62 VMware, Inc.
Chapter 4 Creating and Upgrading Virtual Machines
IfyouselectAllocatealldiskspacenow,alldiskspaceispreallocatedatthetimethe
diskiscreated.Thisprovidesbetterperformanceforyourvirtualmachine.However,
youcannotshrinkthedisklater.
NOTEPreallocatingdiskspaceisatimeconsumingoperationthatcannotbecanceled
andrequiresasmuchphysicaldiskspaceasyouspecifyforthevirtualdisk.
YoucanalsoselectSplitdiskinto2GBfiles.Selectthisoptionifyourvirtualdiskis
storedonafilesystemthatdoesnotsupportfileslargerthan2GB,suchasFAT16.
IfyouselectIndependentMode,alsoselectoneofthefollowing:
PersistentDisksinpersistentmodebehavelikeconventionaldiskdriveson
yourphysicalcomputer.Alldatawrittentoadiskinpersistentmodearewritten
outpermanentlytothedisk.
NonpersistentChangestodisksinnonpersistentmodearediscardedwhenyou
powerofforresetthevirtualmachine.Nonpersistentmodeenablesyoutorestart
thevirtualmachinewithavirtualdiskinthesamestateeverytime.Exampleuses
includeprovidingknownenvironmentsforsoftwaretesting,technicalsupport,
anddemonstratingsoftware.
VirtualdiskscanbeconfiguredasIDEdisksforanyguestoperatingsystem.Theycan
beconfiguredasSCSIdisksforanyguestoperatingsystemthathasadriverforthe
LSI LogicorBusLogicSCSIadapteravailableinavirtualmachine.ThecorrectSCSI
adapterischosenbasedonyourselectedguestoperatingsystem.
NOTETouseSCSIdisksina32bitWindowsXPguest,youneedaspecialSCSIdriver
availablefromtheDownloadsectionoftheVMwareWebsiteat
http://www.vmware.com/download.FollowtheinstructionsontheWebsitetousethe
driverwithanewinstallationofWindowsXP.
VMware, Inc. 63
VMware Server Users Guide
Eithertypeofvirtualdiskcanbestoredoneithertypeofphysicalharddisk.For
example,thefilesthatmakeupanIDEvirtualdiskcanbestoredoneitheranIDEhard
diskoraSCSIharddisk.Virtualdiskscanalsobestoredonothertypesoffastaccess
storagemedia.
OptimizeforsafetySavesallchangestothevirtualdiskimmediately.
OptimizeforperformanceAcknowledgeschangestothevirtualdisk
immediately,butsavesthematalatertime.
Foradefaultinstallationwithnocustomnetworks,youhavethefollowingoptions:
BridgedConfiguresyourvirtualmachineasauniqueidentityonthenetwork,
separatefromandunrelatedtoitshost.Othercomputersonthenetworkcanthen
communicatedirectlywiththevirtualmachine.Ifyourhostcomputerisona
networkandyouhaveaseparateIPaddressforyourvirtualmachine(orcanget
oneautomaticallyfromaDHCPserver),selectBridged.
NATConfiguresyourvirtualmachinetosharetheIPandMACaddressesofthe
host.Thevirtualmachinesharesthehostspublicnetworkidentity,andhasa
privateidentitythatisnotvisiblebeyondthehost.NATcanbeusefulwhenyou
areallowedasingleIPaddressorMACaddressbyyournetworkadministrator.
YoumightalsouseNATtoconfigureseparatevirtualmachinesforhandlingHTTP
andFTPrequests,withbothvirtualmachinesrunningoffthesameIPaddressor
domain.
HostOnlyConfiguresyouvirtualmachinetocommunicateonlywiththehost
andothervirtualmachinesinthehostonlynetwork.Thiscanbeusefulwhenyou
wantasecurevirtualmachinethatisconnectedtothehostnetwork,butavailable
onlythroughthehostmachine.Inthisconfiguration,thevirtualmachinecannot
connecttotheInternet.
Tocustomizeyourvirtualnetwork,seeChapter 11,ConfiguringaVirtual
Network,onpage 211.
64 VMware, Inc.
Chapter 4 Creating and Upgrading Virtual Machines
NOTEBeforeyoucreatethevirtualmachine,checktheinstallationnotesfortheguest
operatingsystemyouintendtoinstall.Youcanfindthisinformationinthe
VMware GuestOperatingSystemInstallationGuideat
http://pubs.vmware.com/guestnotes/.
1 InyourWebbrowser,entertheURLofyourVMwareServerinstallation:
http://<host name>/
Ifyouarenotusingport80toconnecttoVMwareServer,youmustincludetheport
numberyouspecifiedduringinstallationintheconnectionURL,forexample:
http://<host name>:8222
Whenyouconnectremotely,youareautomaticallyredirectedtothesecurehttp
(https)port.
TheVI WebAccessloginpageappears.
2 Enteryourusernameandpassword,andclickLogIn.
3 IntheCommandssectionofthehostworkspace,clickCreateVirtualMachine.
4 OntheNameandLocationpage,enterthenameofthevirtualmachine.
Thenameyouenterhereisusedinthevirtualmachineinventorylist.Asubfolder
withthisnameisalsocreatedinthedatastoretostoreallthefilesassociatedwith
thisvirtualmachine.
5 AlsoontheNameandLocationpage,selectadatastorefromthelistofexisting
datastoresandclickOK.
Formoreinformation,seeVirtualMachineLocationonpage 59.
6 ClickNext.
7 OntheGuestOperatingSystempage,selectthetypeofoperatingsystemthatyou
intendtoinstallinthenewvirtualmachine,andselecttheoperatingsystem
versionfromthedropdownmenu.
Formoreinformation,seeGuestOperatingSystemonpage 60.
VMware, Inc. 65
VMware Server Users Guide
8 (Optional)AlsoontheGuestOperatingSystempage,expandtheProduct
Compatibilityheadingtoselectthevirtualmachineproductcompatibilitylevel.
Formoreinformation,seeProductCompatibility(VirtualMachineHardware
Version)onpage 61.
9 ClickNext.
10 OntheMemoryandProcessorspage,youcanadjustthememorysettingsoraccept
therecommendedsize.
Inmostcases,itisbesttokeepthedefaultmemorysetting.Ifyouplantousethe
virtualmachinetorunmanyapplicationsorapplicationsthatneedlargeamounts
ofmemory,youmightwanttouseahighermemorysetting.Formoreinformation,
seeAmountofMemoryonpage 61.
11 AlsoontheMemoryandProcessorspage,selectthenumberofprocessorsforthe
virtualmachine.
Formoreinformation,seeNumberofProcessorsonpage 62.
12 ClickNext.
13 OntheHardDiskpage,selectoneofthefollowing:
CreateaNewVirtualDiskSelecttoaddanewblankharddisktoyour
virtualmachine.
ThewizarddisplaysthePropertiespageforyoutoenterthediskcapacity,
datastore,fileallocationoptions,diskmode,virtualdeviceadaptertypeand
node,andcachingpolicysettings.Makeanyrequiredchangestothedefault
valuesonthePropertiespage,andclickNext.Fordetailedinformationabout
settingsyoucanconfigureonthePropertiespage,seeHardDiskTypeand
Propertiesonpage 62.
UseanExistingVirtualDiskSelecttoreuseorshareavirtualharddisk
thathasalreadybeencreated.
ThewizarddisplaysthePropertiespageforyoutoenterthepathorbrowseto
theexistingvirtualdisk(.vmdk)file.Selectthevirtualdisktoviewthe
capacityandfileallocationoptions,whichcannotbechanged.Youcanmodify
thediskmode,virtualdevicenode,andcachingpolicysettings.Makeany
requiredchangestothedefaultvaluesonthePropertiespage,andclickNext.
FordetailedinformationaboutsettingsyoucanconfigureontheProperties
page,seeHardDiskTypeandPropertiesonpage 62.
DontAddaVirtualDiskSelectonlyifyoucanuseabootableCDorPXE
imagefileanddonotneedaharddisktoinstalltheoperatingsystem.
66 VMware, Inc.
Chapter 4 Creating and Upgrading Virtual Machines
14 OntheNetworkAdapterpage,selectwhethertoaddanetworkadapter.
AddaNetworkAdapterSelecttoaddanetworktoyourvirtualmachine.
ThewizarddisplaysthePropertiespage.Selectthevirtualnetworkforthe
virtualmachinefromthedropdownmenuofexistingnetworks.
Optionally,deselectConnectatPowerOnifyoudonotwantthisnetworkto
beconnectedwhenthevirtualmachineispoweredon.
ClickNext.
DontAddaNetworkAdapterYoucancreateavirtualmachinewithout
networking,oraddavirtualnetworklater.
Formoreinformation,seeNetworkConnectionTypeonpage 64.
15 OntheReadytoCompletepage:
ClickBackornavigateusingthePagespaneltomakechanges.
ExpandtheMoreHardwareheadingtoaddmorehardwaretothevirtual
machinebeforeyoufinishcreatingit:
Toaddaharddisk,seeAddingaHardDisktoaVirtualMachineon
page 144.
Toaddanetworkadapter,seeAddingaNetworkAdaptertoaVirtual
Machineonpage 223.
ToaddaCD/DVDdrive,seeAddingaCD/DVDDrivetoaVirtual
Machineonpage 151.
Toaddafloppydrive,seeAddingaFloppyDrivetoaVirtualMachine
onpage 154.
Toaddapassthrough(generic)SCSIdevice,seeAddingaPassthrough
(Generic)SCSIDevicetoaVirtualMachineonpage 157.
ToaddaUSBcontroller(onepervirtualmachine),seeAddingaUSB
ControllertoaVirtualMachineonpage 159.
Toaddasoundadapter(onepervirtualmachine),seeAddingaSound
AdaptertoaVirtualMachineonpage 165.
Toaddaserialport,seeAddingaSerialPorttoaVirtualMachineon
page 166.
Toaddaparallelport,seeAddingaParallelPorttoaVirtualMachine
onpage 177.
VMware, Inc. 67
VMware Server Users Guide
Eachtimeyoufinishaddinganewdevice,youreturntotheReadyto
Completepage.
Ifyouwanttopoweronthevirtualmachineimmediatelyaftercreatingit,
selectPoweronyourvirtualmachinenow.
ClickFinishtocreatethevirtualmachinewiththelistedhardware.
Thewizardcreatesthefilesandhardwareforyourvirtualmachine.
Afterthevirtualmachineiscreated,continuewithInstallingtheGuestOperating
Systemonpage 68.
Youcanmakechangestotheconfigurationofanexistingvirtualmachinefromthe
HardwareandCommandssectionsoftheVIWebAccessvirtualmachineworkspace.
NOTEIfyouplantouseaPXEservertoinstalltheguestoperatingsystemovera
networkconnection,youdonotneedtheoperatingsysteminstallationmedia.When
youpoweronthevirtualmachine,thevirtualmachinedetectsthePXEserver.
Installingaguestoperatingsysteminsideyourvirtualmachineisessentiallythesame
asinstallingitonaphysicalcomputer.
Insomehostconfigurations,thevirtualmachinecannotbootfromtheinstallationCD.
YoucanworkaroundthatproblembycreatinganISOimagefromtheinstallationCD
andinstallingfromtheISOimage.Thissectiondescribesbothinstallationprocedures.
Forinformationaboutyourspecificguestoperatingsystem,seetheVMwareGuest
OperatingSystemInstallationGuide,availablefromtheVMwareWebsite.
NOTEVMwareServersupports64bitguestoperatingsystemsonlyonhostmachines
withsupportedprocessors.ForthelistofprocessorsVMwareServersupportsfor64bit
guestoperatingsystems,seeProcessorSupportfor64BitGuestOperatingSystems
onpage 33.
68 VMware, Inc.
Chapter 4 Creating and Upgrading Virtual Machines
1 LogintoVIWebAccess.
2 Selectthevirtualmachineintowhichyouareinstallingtheguestoperatingsystem
fromtheInventorypanel.
3 InserttheinstallationCDforyourguestoperatingsystem.
4 IntheHardwaresectionoftheSummarytab,clicktheCD/DVDdrivesiconand
selectEdit.
5 SelectHostMediatoconfigureaphysicaldriveonthehostsystem.
IfyouwanttouseaCD/DVDdriveonaclientsystem,selectClientMediaanduse
VMwareRemoteConsoletoselectandconnectordisconnecttheclientdevice.See
ConnectingandDisconnectingClientDevicesonpage 132.InVI WebAccess,
youcanonlychangethedevicenodeforclientdevices,asdescribedinEditinga
VirtualHardDiskonpage 145.
6 SelectConnectatpoweron.
7 SelectPhysicalDrive.
8 EnterthelocationofthedriveinthePhysicalDrivetextbox.
Forexample,d:(Windows)or/dev/cdrom(Linux).
9 SelecttheSCSIorIDEdevicenodeintheVirtualDeviceNodesection.
10 ClickOKtosaveyourchanges.
11 ClickPowerOntopoweronyourvirtualmachine.
12 ClicktheConsoletabtocompletetheguestoperatingsysteminstallationusing
VMwareRemoteConsole.
Followtheinstructionsprovidedbytheoperatingsystemvendor.
NOTEYoumightneedtochangethebootorderinthevirtualmachineBIOSso
thatthevirtualmachinewillattempttobootfromtheCD/DVDdevicebefore
tryingotherbootdevices.Tochangethebootorder,configurethevirtualmachine
toentertheBIOSsetuputilitywhenitboots,asdescribedinChangingVirtual
MachinePowerSettingsonpage 125,orpressF2whenpromptedduringvirtual
machinestartup.
13 InstallVMwareTools,asdescribedinInstallingVMwareToolsonpage 76.
VMware, Inc. 69
VMware Server Users Guide
1 LogintoVIWebAccess.
2 Selectthevirtualmachineintowhichyouareinstallingtheguestoperatingsystem
fromtheInventorypanel.
3 IntheHardwaresectionoftheSummarytab,clicktheCD/DVDdrivesiconand
selectEdit.
4 SelectHostMediatoconfigureanISOimagefileonthehostsystem.
IfyouwanttouseanISOimagefileonaclientsystem,selectClientMediaanduse
VMwareRemoteConsoletoselectandconnectordisconnecttheclientdevice.See
ConnectingandDisconnectingClientDevicesonpage 132.InVI WebAccess,
youcanonlychangethedevicenodeforclientdevices,asdescribedinEditinga
VirtualHardDiskonpage 145.
5 SelectConnectatpoweron.
6 SelectISOImage.
ClickBrowsetonavigatetoafilewiththe.isoextensioninanexistingdatastore.
Ifyouenterthepathmanually,youmustusetheformat:
[ datastore_name ] path_and_filename.iso
7 SelecttheSCSIorIDEdevicenodeintheVirtualDeviceNodesection.
8 ClickOKtosaveyourchanges.
9 ClickPowerOntopoweronyourvirtualmachine.
10 ClicktheConsoletabtocompletetheguestoperatingsysteminstallationusing
VMwareRemoteConsole.
Followtheinstructionsprovidedbytheoperatingsystemvendor.
NOTEYoumightneedtochangethebootorderinthevirtualmachineBIOSso
thatthevirtualmachinewillattempttobootfromtheCD/DVDdevicebefore
tryingotherbootdevices.Tochangethebootorder,configurethevirtualmachine
toentertheBIOSsetuputilitywhenitboots,asdescribedinChangingVirtual
MachinePowerSettingsonpage 125,orpressF2whenpromptedduringvirtual
machinestartup.
70 VMware, Inc.
Chapter 4 Creating and Upgrading Virtual Machines
11 IftheISOimagespansmultiplefiles,whenyouarepromptedtoinsertthenextCD:
a ClicktheSummarytab.
b IntheHardwaresection,edittheCDsettingsbyclickingtheCD/DVDdrives
iconandchoosingEdit.
c BrowsetothelocationofthenextISOimagefile,andkeepallotherselections
astheyare.
d ClickOK.
e ClicktheConsoletabtoreturntoVMwareRemoteConsole.
f Intheguestoperatingsystem,clickOKorotherwiserespondtotheprompt
sothatinstallationcancontinue.
g Repeatthisprocessforadditionalfiles.
12 InstallVMwareTools,asdescribedinInstallingVMwareToolsonpage 76.
Whenyouwanttoupgradeaguestoperatingsystemtoanewerversion,youmustdo
bothofthefollowing:
Updatethevirtualmachineinformationabouttheguestoperatingsystemtype
andversion,asdescribedinthissection.
Followtheinstructionsprovidedbytheoperatingsystemvendortoupdatethe
guestoperatingsystem.
1 InVIWebAccess,selectthevirtualmachinefromtheInventorypanel.
2 Makesurethatthevirtualmachineispoweredoff.
3 IntheCommandssectionoftheworkspace,clickConfigureVM.
VMware, Inc. 71
VMware Server Users Guide
4 IntheGuestOperatingSystemsectionoftheGeneraltab,selectthenewguest
operatingsystemtypeandversion.
Thesettingyouspecifyhereiswrittentothevirtualmachinesconfigurationfile.
NOTEThissettingdoesnotchangetheguestoperatingsystemitself.
5 Poweronthevirtualmachine.
1 Followtheinstructionsprovidedbytheoperatingsystemvendortoupdatethe
guestoperatingsystem.
2 Aftertheguestoperatingsystemisinstalled,usethestandardtoolswithinthe
operatingsystemtoconfigureitssettings.
IfavirtualmachinewithnewfeaturesismigratedtoWorkstation6,allthelatest
VMwareServer2featuresaresupported.However,youcannotmigratethevirtual
machinetomostotherVMwareproducts.
Formoreinformation,seeProductCompatibility(VirtualMachineHardware
Version)onpage 61.
1 InVIWebAccess,selectthevirtualmachinefromtheInventorypanel.
2 Makesurethatthevirtualmachineispoweredoff.
3 ClickUpgradeVirtualMachineintheStatussectionoftheworkspace.
4 ClickOKtoconfirmthatyouwanttoupgradethevirtualmachine.
Afterthevirtualmachineversionisupdated,youcanconfigureittousethefeatures
supportedwiththenewversion.
72 VMware, Inc.
5
ComponentsofVMwareToolsonpage 73
InstallingVMwareToolsonpage 76
UpdatingVMwareToolsonpage 90
UninstallingVMwareToolsonpage 91
RepairingorChangingVMwareToolsonpage 91
UsingtheVMwareToolsControlPanelonpage 91
CustomizingVMwareToolsonpage 97
UsingtheVMwareToolsCommandLineInterfaceonpage 104
VMwareToolsincludesthefollowingcomponents:
VMwareToolsservice
VMwaredevicedrivers
VMwareUserprocess
VMwareToolscontrolpanel
VMware, Inc. 73
VMware Server Users Guide
Thisserviceperformsvariousdutieswithintheguestoperatingsystem:
Passesmessagesfromthehostoperatingsystemtotheguestoperatingsystem.
Executescommandsintheoperatingsystemtocleanlyshutdownorrestarta
Linux,FreeBSD,orSolarissystemwhenyouselectpoweroperationsin
VMware Server.
SendsaheartbeattoVMwareServer.
OnWindowsguests,allowsthemousecursortomovefreelybetweentheguest
andhostoperatingsystems.
OnWindowsguests,matchestheguestsscreenresolutiontothehostsscreen
resolutionandthereverse.
Synchronizesthetimeintheguestoperatingsystemwiththetimeinthehost
operatingsystem.
Runsscriptsthathelpautomateguestoperatingsystemoperations.Thescriptsrun
whenthevirtualmachinespowerstatechanges.
Theservicestartswhentheguestoperatingsystemboots.
TheVMwareToolsserviceisnotinstalledonNetWareoperatingsystems.Instead,the
vmwtoolprogramisinstalled.ItsynchronizestimeandallowsyoutoturntheCPU
idleronoroff.
SVGAdisplaydriverthatprovideshighdisplayresolutionandsignificantlyfaster
overallgraphicsperformance.
Thevmxnetnetworkingdriverforsomeguestoperatingsystems.
BusLogicSCSIdriverforsomeguestoperatingsystems.
VMwaremousedriver.
74 VMware, Inc.
Chapter 5 Installing and Using VMware Tools
Akernelmoduleforhandlingsharedfolders,calledhgfs.sysonWindowsand
vmhgfsonLinuxandSolaris.VMwareServerdoesnotsupportsharedfolders.The
moduleisincludedforproductcompatibility.
TheVirtualMachineCommunicationInterface(VMCI)driverforcreating
clientserverapplicationsthatareoptimizedforfastandefficientcommunication
betweenvirtualmachines.
Thisserviceperformsthefollowingtaskswithintheguestoperatingsystem:
Enablesyoutocopyandpasteupto64Kofplaintextbetweentheguestandhost
operatingsystems.
OnLinuxandSolarisguests,grabsandreleasesthemousecursorwhentheSVGA
driverisnotinstalled.
OnLinuxandSolarisguests,matchestheguestsscreenresolutiontothehosts
screen.
ThisprocessstartswhenyoubeginanX11session.Touseadifferentmechanismto
starttheprocess,seeStartingtheVMwareUserProcessManuallyIfYouDoNotUse
aSessionManageronUNIXonpage 89.
TheVMwareToolsuserprocessisnotinstalledonNetWareoperatingsystems.Instead,
thevmwtoolprogramisinstalled.Itcontrolsthegrabbingandreleasingofthemouse
cursor.Italsoallowsyoucopyandpastetext.
VMware, Inc. 75
VMware Server Users Guide
ClickthecommandtoinstallorupgradeVMwareTools.Theinstallationprocedure
variesdependingontheoperatingsystem.
BeforeyouclicktheInstallVMwareToolscommandtoinstallVMwareTools,perform
thefollowingtasks,asnecessary:
IfyouarerunningVMwareServeronaWindowshostandyourvirtualmachine
hasonlyoneCD/DVDdrive,makesurethattheCD/DVDdriveisconfiguredasan
IDEorSCSICD/DVDdrive.ItcannotbeconfiguredasagenericSCSIdevice.If
necessary,addanIDEorSCSICD/DVDdrivetothevirtualmachine.SeeAdding
aCD/DVDDrivetoaVirtualMachineonpage 151.
MakesurethatthevirtualCD/DVDdriveisconfiguredtoautodetectaphysical
drive.ThistaskisnecessaryifyouconnectedthevirtualmachinesCD/DVDdrive
toanISOimagefilewhenyouinstalledtheoperatingsystem.Changethe
connectionfromtheISOimagetoautodetectaphysicaldrive.
WhenyouinstallVMwareTools,makesurethatthevirtualmachineispowered
on.
IftheguestoperatingsystemisaWindowsNT,Windows2000,WindowsXP,
WindowsServer2003,orWindowsVistaoperatingsystem,loginasan
administrator.AnyusercaninstallVMwareToolsinaWindows 95,Windows98,
orWindowsMeguestoperatingsystem.
76 VMware, Inc.
Chapter 5 Installing and Using VMware Tools
1 InVIWebAccess,clickInstallVMwareToolsintheStatussectionofthevirtual
machineSummarytab.
IfanearlierversionofVMwareToolsisinstalled,clickUpgradeVMwareTools.
2 ClicktheConsoletab.
Theremainingstepstakeplaceinsidethevirtualmachine.
Dependingonwhetherautorunisenabledintheguestoperatingsystem,oneof
thefollowingoccurs:
Ifautorunisenabledintheguestoperatingsystem,adialogboxappearsafter
afewsecondsaskingwhetheryouwanttoinstallVMwareTools.
Ifautorunisnotenabled,thedialogboxdoesnotappearautomatically.Click
Start>RunandenterD:\setup\setup.exe,whereD:isyourfirstvirtual
CD/DVDdrive.
3 ClickYestolaunchtheInstallShieldwizard.
4 Followtheonscreeninstructions.
OnsomeWindowsoperatingsystems,aftertheSVGAdriverisinstalled,youare
promptedtoreboottousethisnewdriver.
5 Rebootthevirtualmachineifnecessary.
Tochangethedefaultconfigurationoptions,seeUsingtheVMwareToolsControl
Panelonpage 91.
ANotebookwindow,theDisplayProperties/Settingsdialogbox,andamessagebox
appear,promptingyoutorebootthemachine.
VMware, Inc. 77
VMware Server Users Guide
1 Whenyouarepromptedtoreboot,clickNo.
2 FollowtheinstructionsintheNotebookfile.
Theinstructionsarespecifictoeachoperatingsystem.Theyprovidestepsfor
selectingtheVMwareSVGAdriver,usuallyintheDisplayProperties/Settings
dialogbox,andinstallingitfromtheVMwareToolsISOimage.
TheEnglishversionoftheinstructionsfromtheNotebookfilearereprintedin
KnowledgeBasearticle1001819attheVMwareWebsite.
MakesurethattheMicrosoftWindowsInstallerruntimeengineversion2.0orhigheris
installedintheguestoperatingsystem.
Version2.0orhigherisincludedwithnewerversionsofWindows.Ifyouareinstalling
VMwareToolsinolderWindowsguestoperatingsystems,checktheversionofthe
%WINDIR%\system32\msiexec.exefile.
Ifthefileversionisnot2.0orhigher,upgradetheenginebyrunninginstmsiw.exe
(instmsia.exeforWindows95orWindows98guests),whichisincludedwiththe
VMwareToolsinstaller.
FormoreinformationaboutusingtheMicrosoftWindowsInstaller,including
commandlineoptions,gototheWindowsInstallerpageontheMSDNWebsite:
http://msdn2.microsoft.com/enus/library/aa367449.aspx.
1 MakesurethatthevirtualmachinesCD/DVDdriveisconnectedtothe
VMware ToolsISOimageandthatitisconfiguredtoconnectwheneveryoupower
onthevirtualmachine:
a Selectthevirtualmachine.
b IntheHardwaresectionofthevirtualmachineSummarytab,clickthe
CD/DVDdrivetomodifyandselectEdit.
c IntheDevicestatussection,selecttheConnectatpoweroncheckbox.
d IntheConnectionsection,selectISOImageandbrowsetothewindows.iso
file,locatedinthedirectorywhereyouinstalledVMwareServer.
e ClickOK.
78 VMware, Inc.
Chapter 5 Installing and Using VMware Tools
2 (Optional)Intheguestoperatingsystem,suppresspromptsaboutinstalling
unsigneddrivers.
IfyouareinstallingVMwareToolsfromabetaorRC(releasecandidate)versionof
VMwareServer,youareaskedtoconfirmtheinstallationofunsigneddrivers.
Followthesestepstosuppresstheseconfirmationprompts.
ForallWindowssystemsexceptWindowsVista:
a OnthevirtualmachinesdesktoporStartmenu,rightclickMyComputerand
selectProperties.
b ClicktheHardwaretabandclickDriverSigning.
c IntheDriverSigningOptionsdialogbox,clickIgnoreandclickOK.
d ClickOKintheSystemPropertiesdialogbox.
ForWindowsVista:
a OntheStartmenu,rightclickComputerandselectProperties.
b ClickAdvancedsystemsettings>Hardware>WindowsUpdateDriver
Settings.
c ClickNevercheckfordriverswhenIconnectanewdeviceandclickOK.
d ClickOKintheSystemPropertiesdialogbox.
3 Openacommandpromptandusethefollowingcommandtoinstallsomeorallof
theVMwareToolscomponents:
msiexec -i "D:\VMware Tools.msi" ADDLOCAL=ALL [REMOVE=<component>] /qn
Inthiscommand,youcanoptionallyuse REMOVE=<component>ifyoudonot
wanttoinstallaparticularcomponent:
ToolboxVMwareToolscontrolpanelanditsutilities.Excludingthis
featurepreventsyoufromusingVMwareToolsintheguestoperatingsystem.
VMwaredoesnotrecommendexcludingthisfeature.
DriversIncludestheSVGA,mouse,BusLogic,andvmxnetdrivers.
SVGAVMwareSVGAdriver.Excludingthisfeaturelimitsthedisplay
capabilitiesofyourvirtualmachine.
MouseVMwaremousedriver.Excludingthisfeaturedecreasesmouse
performanceinyourvirtualmachine.
VMware, Inc. 79
VMware Server Users Guide
BuslogicVMwareBusLogicdriver.Ifyourvirtualmachineis
configuredtousetheLSILogicdriver,youmightwanttoremovethis
feature.
VMXNetVMwarevmxnetnetworkingdriver.
MemCtlVMwarememorycontroldriver.Recommendedifyouplantouse
thisvirtualmachinewithESX.Excludingthisfeaturehindersthememory
managementcapabilitiesofthevirtualmachinerunningonanESXsystem.
HgfsVMwaresharedfoldersdriver.Thesharedfoldersfeatureisnot
supportedinVMwareServer.Recommendedifyouplantousethisvirtual
machinewithWorkstationoranotherproductthatsupportssharedfolders.
Forexample,toinstalleverythingbutthesharedfoldersdriver,typethefollowing
command:
msiexec -i "D:\VMware Tools.msi" ADDLOCAL=ALL REMOVE=Hgfs /qn
TheSVGA,Mouse,BusLogic,VMXnet,andMemCtlfeaturesarechildrenofthe
Driversfeature.Thismeansthatthefollowingcommandskipsinstallationofthe
SVGA,mouse,BusLogic,vmxnet,andMemCtldrivers:
msiexec -i "D:\VMware Tools.msi" ADDLOCAL=ALL REMOVE=Drivers /qn
Toincludeafeature,useitwiththeADDLOCALoption.Toexcludeafeature,use
itwiththeREMOVEoption.
Installing VMware Tools in a Linux Guest Within X Using the RPM Installer
YoucanuseagraphicaluserinterfacetoinstallVMwareToolsinaLinuxguest.For
informationabouthowtoinstallVMwareToolfromthecommandline,seeInstalling
VMwareToolsfromtheCommandLinewiththeTarorRPMInstalleronpage 82.
Beforeyoubegin,makesurethatthevirtualmachineispoweredonandtheguest
operatingsystemisrunning.
80 VMware, Inc.
Chapter 5 Installing and Using VMware Tools
To install VMware Tools in a Linux Guest Within X Using the RPM Installer
1 InVIWebAccess,clickInstallVMwareToolsintheStatussectionofthevirtual
machineSummarytab.
IfanearlierversionofVMwareToolsisinstalled,clickUpgradeVMwareTools.
2 ClicktheConsoletab.
Theremainingstepstakeplaceinsidethevirtualmachine.
TheguestoperatingsystemmountstheVMwareToolsinstallationvirtualCD.A
windowmanagerdisplayingtwofilesmightappear.OnefileisfortheRPM
installerandoneisforthetarinstaller.Alternatively,aVMwareToolsCDicon
mightappearonthedesktop.
3 Dooneofthefollowing:
IfyouseeaVMwareToolsCDicononthedesktop,doubleclickit,andafter
itopens,doubleclicktheRPMinstallerintherootoftheCDROM.
Ifyouseeafilemanagerwindow,doubleclicktheRPMinstallerfile.
InsomeLinuxdistributions,theVMwareToolsCDiconmightfailtoappear.In
thiscase,installVMwareToolsfromthecommandline,asdescribedinInstalling
VMwareToolsfromtheCommandLinewiththeTarorRPMInstalleronpage 82.
4 Whenprompted,entertherootpasswordandclickOK.
Theinstallerpreparesthepackages.
5 ClickContinuewhentheinstallerpresentsadialogboxthatshowsCompleted
SystemPreparation.
Whentheinstallerisdone,noconfirmationwindoworfinishbuttonappears,but
VMwareToolsisinstalled.
6 InanXterminal,asroot(su),runthescripttoconfigureVMwareTools:
vmware-config-tools.pl
Respondtothequestionsdisplayedonthescreen.PressEntertoacceptthedefault
value.
7 Exitfromtherootaccount:
exit
VMware, Inc. 81
VMware Server Users Guide
8 InanXterminal,starttheVMwareUserprocess:
vmware-user
9 (Optional)TostarttheVMwareToolscontrolpanel,enterthefollowingcommand:
vmware-toolbox &
TochangethedefaultVMwareToolsconfigurationoptions,seeUsingtheVMware
ToolsControlPanelonpage 91.
YoucanrunVMwareToolsasrootorasanormaluser.Toshrinkvirtualdisksorto
changeanyVMwareToolsscripts,youmustrunVMwareToolsasroot.
Installing VMware Tools from the Command Line with the Tar or RPM
Installer
YoucaninstallVMwareToolsfromthecommandlineinaLinuxguest.Forinformation
abouthowtoinstallVMwareToolfromagraphicaluserinterface,seeInstalling
VMwareToolsinaLinuxGuestWithinXUsingtheRPMInstalleronpage 80.
Beforeyoubegin,makesurethatthevirtualmachineispoweredonandthattheguest
operatingsystemisrunning.
To install VMware Tools from the command line with the tar or RPM installer
1 InVIWebAccess,clickInstallVMwareToolsintheStatussectionofthevirtual
machineSummarytab.
IfanearlierversionofVMwareToolsisinstalled,clickUpgradeVMwareTools.
2 ClicktheConsoletab.
Theremainingstepstakeplaceinsidethevirtualmachine.
3 Intheguest,loginasroot(su).
4 Ifnecessary,mounttheVMwareToolsvirtualCDROMimagebyenteringa
commandsimilartothefollowing:
mount /dev/cdrom /mnt/cdrom
SomeLinuxdistributionsautomaticallymountCDROMs.Ifyourdistribution
usesautomounting,youcanskipthisstep.
SomeLinuxdistributionsusedifferentdevicenamesororganizethe/dev
directorydifferently.IfyourCDROMdriveisnot/dev/cdromorifthemount
pointforaCDROMisnot/mnt/cdrom,modifythecommandtoreflectthe
conventionsusedbyyourdistribution.
82 VMware, Inc.
Chapter 5 Installing and Using VMware Tools
5 Changetoaworkingdirectorybyenteringacommandsuchasthefollowing:
cd /tmp
6 Ifapreviousinstallationexists,deletethepreviousvmware-tools-distrib
directorybeforeinstalling.
Thelocationofthisdirectorydependsonwhereyouplaceditduringtheprevious
installation.Oftenitisplacedin:
/tmp/vmware-tools-distrib
7 RuntheinstallerandunmounttheCDROMimage.
DependingonwhetheryouareusingthetarinstallerortheRPMinstaller,doone
ofthefollowing:
Forthetarinstaller,atthecommandprompt,enter:
tar zxpf /mnt/cdrom/VMwareTools-<xxxx>.tar.gz
umount /dev/cdrom
Where<xxxx>isthebuildnumberoftheproductrelease.
FortheRPMinstaller,atthecommandprompt,enter:
rpm -Uhv /mnt/cdrom/VMwareTools-<xxxx>.i386.rpm
umount /dev/cdrom
Where<xxxx>isthebuildnumberoftheproductrelease.
IfyourLinuxdistributionautomaticallymountedtheCDROMs,youdonotneed
tousetheunmountportionofthecommand.
IfyouattempttoinstallanRPMinstallationoveratarinstallationorthereverse,
theinstallerdetectsthepreviousinstallationandmustconverttheinstaller
databaseformatbeforecontinuing.
8 ConfigureVMwareTools.
DependingonwhetheryouareusingthetarinstallerortheRPMinstaller,doone
ofthefollowing:
Forthetarinstaller,enterthefollowingcommandstoruntheinstaller:
cd vmware-tools-distrib
./vmware-install.pl
Respondtothequestionsthecommandlinewizarddisplays.PressEnterto
acceptthedefaultvalues.Theconfigurationfile,vmware-config-tools.pl,
runsaftertheinstallerfilefinishesrunning.
VMware, Inc. 83
VMware Server Users Guide
FortheRPMinstaller,enterthefollowingcommandtoruntheconfiguration
file:
vmware-config-tools.pl
Respondtothequestionsthecommandlinewizarddisplays.PressEnterto
acceptthedefaultvalues.
9 Logoutoftherootaccount.
exit
10 (Optional)Startyourgraphicalenvironment.
11 InanXterminal,tostarttheVMwareUserprocess,enterthefollowingcommand:
vmware-user
12 (Optional)TostarttheVMwareToolscontrolpanel,enterthefollowingcommand:
vmware-toolbox &
TochangethedefaultVMwareToolsconfigurationoptions,seeUsingthe
VMwareToolsControlPanelonpage 91.
YoucanrunVMwareToolsasrootorasanormaluser.Toshrinkvirtualdisksor
tochangeanyVMwareToolsscripts,youmustrunVMwareToolsasroot.
1 InVIWebAccess,clickInstallVMwareToolsintheStatussectionofthevirtual
machineSummarytab.
IfanearlierversionofVMwareToolsisinstalled,clickUpgradeVMwareTools.
2 ClicktheConsoletab.
Theremainingstepstakeplaceinsidethevirtualmachine.
3 Intheguest,loginasroot(su).
84 VMware, Inc.
Chapter 5 Installing and Using VMware Tools
4 Ifnecessary,mounttheVMwareToolsvirtualCDROMimage.
Usually,theSolarisvolumemanagervoldmountstheCDROMunder
/cdrom/vmwaretools.IftheCDROMisnotmounted,restartthevolume
managerusingthefollowingcommands:
/etc/init.d/volmgt stop
/etc/init.d/volmgt start
5 AftertheCDROMismounted,changetoaworkingdirectory(forexample,/tmp)
andextractVMwareToolsbyenteringthefollowingcommands:
cd /tmp
gunzip -c /cdrom/vmwaretools/vmware-solaris-tools.tar.gz | tar xf -
6 RuntheVMwareToolstarinstaller:
cd vmware-tools-distrib
./vmware-install.pl
Respondtotheconfigurationquestionsonthescreen.PressEntertoacceptthe
defaultvalues.
7 Logoutoftherootaccount:
exit
8 (Optional)Startyourgraphicalenvironment.
9 InanXterminal,tostarttheVMwareUserprocess,enterthefollowingcommand:
vmware-user
10 (Optional)TostarttheVMwareToolscontrolpanel,enterthefollowingcommand:
vmware-toolbox &
TochangethedefaultVMwareToolsconfigurationoptions,seeUsingtheVMware
ToolsControlPanelonpage 91.
YoucanrunVMwareToolsasrootorasanormaluser.Toshrinkvirtualdisksorchange
VMwareToolsscripts,youmustrunVMwareToolsasroot.
VMware, Inc. 85
VMware Server Users Guide
1 InVIWebAccess,clickInstallVMwareToolsintheStatussectionofthevirtual
machineSummarytab.
IfanearlierversionofVMwareToolsisinstalled,clickUpgradeVMwareTools.
2 ClicktheConsoletab.
Theremainingstepstakeplaceinsidethevirtualmachine.
3 Makesurethattheguestoperatingsystemisrunningintextmode.
YoucannotinstallVMwareToolswhileXisrunning.
4 Intheguest,loginasroot(su).
5 Ifnecessary,mounttheVMwareToolsvirtualCDROMimagebyenteringa
commandsimilartothefollowing:
mount /cdrom
SomeFreeBSDdistributionsautomaticallymountCDROMs.Ifyourdistribution
usesautomounting,skipthisstep.
6 Changetoaworkingdirectorybyenteringacommandsuchasthefollowing:
cd /tmp
7 UntartheVMwareToolstarfile:
tar zxpf /cdrom/vmware-freebsd-tools.tar.gz
8 Ifnecessary,unmounttheVMwareToolsvirtualCDROMimagebyenteringa
commandsimilartothefollowing:
umount /cdrom
Ifyourdistributionusesautomounting,skipthisstep.
9 RuntheVMwareToolsinstaller:
cd vmware-tools-distrib
./vmware-install.pl
10 Logoutoftherootaccount:
exit
86 VMware, Inc.
Chapter 5 Installing and Using VMware Tools
11 (Optional)Startyourgraphicalenvironment.
12 InanXterminal,tostarttheVMwareUserprocess,enterthefollowingcommand:
vmware-user
13 (Optional)TostarttheVMwareToolscontrolpanel,enterthefollowingcommand:
vmware-toolbox &
InminimalinstallationsoftheFreeBSD4.5guestoperatingsystem,sometimes
VMwareToolsdoesnotstart.SeeInstalltheMissingFreeBSDLibraryon
page 87.
TochangethedefaultVMwareToolsconfigurationoptions,seeUsingtheVMware
ToolsControlPanelonpage 91.
YoucanrunVMwareToolsasrootorasanormaluser.Toshrinkvirtualdisksorchange
VMwareToolsscripts,youmustrunVMwareToolsasroot.
Beforeyoubegin,makesurethatyouhavetheFreeBSD4.5installationCDoraccessto
theISOimagefile.
1 Reboottheguestoperatingsystem.
2 Intheguest,inanXterminal,enterthefollowingcommandtostartthe
VMware Toolscontrolpanel:
vmware-toolbox &
Ifthefollowingerrormessageappears,therequiredlibrarywasnotinstalled:
Shared object 'libc.so.3' not found.
3 InsertandmounttheFreeBSD4.5installationCDoraccesstheISOimagefile.
4 Changedirectoriesandruntheinstallationscript:
cd /cdrom/compat3x
./install.sh
VMware, Inc. 87
VMware Server Users Guide
1 InVIWebAccess,clickInstallVMwareToolsintheStatussectionofthevirtual
machineSummarytab.
IfanearlierversionofVMwareToolsisinstalled,clickUpgradeVMwareTools.
2 ClicktheConsoletab.
Theremainingstepstakeplaceinsidethevirtualmachine.
3 Intheguest,loadtheCDROMdriversothattheCDROMdevicemountstheISO
imageasavolumebydoingoneofthefollowing:
ForaNetWare6.5virtualmachine,inthesystemconsole,enter:
LOAD CDDVD
ForaNetWare6.0orNetWare5.1virtualmachine,inthesystemconsole,
enter:
LOAD CD9660.NSS
ForaNetWare4.2virtualmachine,inthesystemconsole,enter:
load cdrom
MounttheVMwareToolsCDROMimagebyentering:
cd mount vmwtools
4 Inthesystemconsole,enteroneofthefollowing:
ForNetWare5.1,6.0,or6.5:
vmwtools:\setup.ncf
ForNetWare4.2:
vmwtools:\setup
88 VMware, Inc.
Chapter 5 Installing and Using VMware Tools
5 IfyouhaveaNetWare4.2guest,restarttheguestoperatingsystem,asfollows:
a Toshutdownthesystem,inthesystemconsole,enter:
down
b Torestarttheguestoperatingsystem,inthesystemconsole,enter:
restart server
6 MakesurethattheVMwareToolsvirtualCDROMimage(netware.iso)isnot
attachedtothevirtualmachine.
Ifitisattached,disconnectit.
Normally,vmware-userisstartedautomaticallyafteryouconfigureVMwareTools
andthenlogoutofthedesktopenvironmentandlogbackin.
However,ifyourunanXsessionwithoutasessionmanager(forexample,byusing
startxandgettingadesktopandnotusingxdm,kdm,orgdm),youmuststartthe
VMwareUserprocessmanually.
Youmustalsostartvmware-usermanuallyafteryouupdatetoanewversionof
VMwareTools.
To start the VMware User process manually if you do not use a session manager
Dooneofthefollowing:
Tohavevmware-userstartwhenyoustartanXsession,addvmware-usertothe
appropriateXstartupscript,suchasthe.xsessionor.xinitrcfile.
Thevmware-userprogramislocatedinthedirectorywhereyouselectedtoinstall
binaryprograms,whichdefaultsto/usr/bin.Thestartupscriptthatneedstobe
modifieddependsonyourparticularsystem.
Tostartvmware-userafteraVMwareToolssoftwareupdateorifyounotice
certainfeaturesarenotworking,openaterminalwindowandenterthefollowing
command:
vmware-user
VMware, Inc. 89
VMware Server Users Guide
TheguestoperatingsystemchecksforVMwareToolsupdatesonlywhenyoupoweron
avirtualmachine.ItcomparesitsversionofVMwareToolsagainsttheversionthatis
installedonthehost.ForVMwareToolsupdatesonLinuxandWindowsguests,you
cansettheguesttoupdateautomatically(seeOptionsTabonpage 93)oryoucan
performamanualupdate.Onotherguests,youmustmanuallyupdate.
WhenyouupdateVMwareTools,anychangesyoumadetothedefaultscriptsare
overwritten.Anycustomscriptsyoucreatedremainuntouched,butdonotbenefit
fromanyunderlyingchangesthatenhancethedefaultscripts.
IntheOptionstaboftheVMwareToolsControlPanelclicktheUpdatebutton.
InVIWebAccess,clickUpgradeVMwareToolsintheStatussectionofthevirtual
machineSummarytab.
Adialogboxenablesyoutoselectautomaticorinteractiveupgrade:
IfyouselectAutomaticVMwareToolsUpgradeandclickUpgrade,VMware
Toolsisupgradedwithoutfurtheruserinteraction.
IfyouselectInteractiveVMwareToolsUpgradeandclickUpgrade,the
remainingstepstakeplaceinsidethevirtualmachine.
UsethesameprocedurethatyouusedforinstallingVMwareToolsthefirst
time.Forplatformspecificinstallationinstructions,seeInstallingVMware
Toolsonpage 76.
YouarepromptedtoselecttheVMwareToolscomponentstoupgrade.
90 VMware, Inc.
Chapter 5 Installing and Using VMware Tools
Dependingontheguestoperatingsystem,dooneofthefollowing:
OnaWindowsguest,usetheguestoperatingsystemsAdd/RemovePrograms
itemtoremoveVMwareTools.
OnanyUNIXguest,loginasroot(su)andenterthefollowingcommand:
vmware-uninstall-tools.pl
OnaLinuxguestthathasVMwareToolsinstalledusinganRPMinstaller,enterthe
followingcommand:
rpm -e VMwareTools
1 UninstalltheoldversionofVMwareToolsasdescribedinUninstallingVMware
Toolsonpage 91.
2 InstallthenewversionofVMwareToolsasdescribedinInstallingVMware
Toolsonpage 76.
Beforeyoubegin,makesurethatVMwareToolsisinstalledintheguestoperating
system.
OnWindowsVistaguests,logintotheoperatingsystemasanAdministratoruser.
VMware, Inc. 91
VMware Server Users Guide
Dooneofthefollowing:
InWindowsguests,doubleclickVMwareToolsiconinthenotificationareaofthe
guestsWindowstaskbar.
IfyoucannotfindtheVMwareToolsiconinthenotificationarea,usetheguests
WindowsControlPaneltodisplayit.SeeUsingtheWindowsControlPanelto
DisplaytheTaskbarIcononpage 92.
InLinux,FreeBSD,andSolarisguests,openaterminalwindowandenterthe
command:
/usr/bin/vmware-toolbox &
InNetWareguests,dooneofthefollowing:
InaNetWare5.1orhigherguest,selectNovell>Settings>VMwareToolsfor
NetWare.
InaNetWare4.2guest,useVMwareToolscommandsinthesystemconsole.
TheVMwareToolsprogramiscalledvmwtool.
1 GotoStart>ControlPanel.
2 DoubleclicktheVMwareToolsicon.
3 OntheOptionstab,selectShowVMwareToolsinthetaskbarandclickApply.
92 VMware, Inc.
Chapter 5 Installing and Using VMware Tools
Options Tab
TheOptionstaboftheVMwareToolscontrolpanelprovidesthefollowingoptions:
Timesynchronizationbetweenthevirtualmachineandthehostoperating
systemPeriodically(everyminute)checkswhethertheguestoperatingsystems
timeislaggingbehindthehosts.Ifso,theguestsclockismovedforwardtomatch
thehostsclock.Ifyouusethisoption,disableallothertimesynchronization
mechanisms.Forexample,someguestsmighthaveNTPorCMOSclock
synchronizationturnedonbydefault.
Regardlessofwhetheryouenablethissetting,timesynchronizationoccurswhen
theVMwareToolsdaemonisstarted(suchasduringareboot),whenresuming
fromasuspendoperation,andaftershrinkingadisk.Whentheoperatingsystem
startsorreboots,synchronizationcanbeeitherforwardorbackwardintime.For
otherevents,synchronizationisforwardintime.
Todisabletimesynchronizationcompletely,seeDisablingTimeSynchronization
byEditingtheVirtualMachineConfigurationFileonpage 93.
ShowVMwareToolsinthetaskbar(Windowsguestsonly)Displaysthe
VMwareToolsiconinthenotificationareaofthetaskbar.Theiconindicates
whetherVMwareToolsisrunningandwhetheranupdateisavailable.
Notifyifupdateisavailable(Windowsguestsonly)Displaysthe
VMware Toolsiconwithayellowcautioniconwhenanupdateisavailable.
Updatebutton(Windowsguestsonly)Becomesenabledwhenanupdateis
available.ClickingthisbuttonhasthesameeffectasclickingtheUpgrade
VMware ToolscommandintheStatussectionoftheVIWebAccessSummarytab.
Youcanfollowthesestepstokeepafictitioustimeinyourguest,sothattheguestis
neversynchronizedwiththehost.
VMware, Inc. 93
VMware Server Users Guide
1 Poweroffthevirtualmachine.
2 Editthevirtualmachinesconfigurationfile(seeChangingVirtualMachine
AdvancedSettingsonpage 127)andsettheoptionslistedinTable 51toFALSE.
time.synchronize.tools.startup Poweringonavirtualmachine.Controls
whetheraoneshottimesynchronizationoccurs
thenexttimetheguestoperatingsystemis
booted.
tools.syncTime Thevirtualmachineisrunning.Controls
whethertheguestoperatingsystemsclockis
checkedonceaminuteandsynchronizedifitis
foundtobelaggingbehindthehostsclock.
time.synchronize.restore Revertingtoasnapshot.
time.synchronize.resume.disk Resumingasuspendedvirtualmachine.
time.synchronize.continue Takingasnapshot.
time.synchronize.shrink Shrinkingavirtualdisk.
Devices Tab
TheDevicestaboftheVMwareToolscontrolpanelprovidesoptionsforenablingand
connectingtocertaindevices.
Thecontrolsforconnectinganddisconnectingcertaindevicesmightnotbeavailable.
ToconnectanddisconnectremovabledevicesusingVMwareRemoteConsole,see
ConnectingandDisconnectingClientDevicesonpage 132.
Scripts Tab
FromtheScriptstaboftheVMwareToolscontrolpanel,youcanedit,disable,orrun
scriptsthathelpautomateguestoperatingsystemoperationswhenyouchangethe
virtualmachinespowerstate.
Fromthistab,youcanalsospecifythelocationofcustomscriptsfortheSuspend,
Resume,PowerOn,PowerOff,andResetbuttons.
Onmostguestoperatingsystems,ifVMwareToolsisinstalledandifyouconfigurea
virtualmachinespowercontrolstousetheguestoptions,oneormoredefaultscripts
runontheguestwheneveryouchangethepowerstateofthevirtualmachine.
94 VMware, Inc.
Chapter 5 Installing and Using VMware Tools
Forexample,ifyouusethevirtualmachineconfigurationsettings(clickConfigureVM
intheCommandssectionofthevirtualmachineworkspace,andclickthePowertab)
andsetthePowerOffcontroltouseShutDownGuest,thenthe
poweroff-vm-defaultscriptrunswhenyouclickthePowerOffbuttoninthetoolbar.
Thisscriptcausestheguestoperatingsystemtoshutdowngracefully.Adescriptionof
eachscriptisprovidedlaterinthissection,inHowVMwareToolsScriptsAffectPower
Statesonpage 97.
Forinformationaboutcreatingacustomscript,seeCreatingScriptstoOverride
DefaultVMwareToolsScriptsonpage 99.
Shrink Tab
TheShrinktaboftheVMwareToolscontrolpanelprovidesoptionsforreclaiming
unusedspaceinavirtualdisk.Ifyourvirtualmachinecannotbeshrunk,thistab
displaysinformationexplainingwhyyoucannotshrinkyourvirtualdisks.
Shrinkingadiskisatwostepprocess:apreparationstepandtheshrinkstep.Inthefirst
step,VMwareToolsreclaimsallunusedportionsofdiskpartitions(suchasdeleted
files)andpreparesthemforshrinking.Thissteptakesplaceintheguestoperating
system.
Theshrinkprocessisthesecondstep,andittakesplaceoutsidethevirtualmachine.
TheVMwareapplicationreducesthesizeofthediskbasedonthediskspacereclaimed
duringthepreparationstep.Ifthediskhasemptyspace,thisprocessreducesthe
amountofspacethevirtualdiskoccupiesonthehostdrive.SeeShrinkingVirtual
Disksonpage 147.
OnUNIXguests,runVMwareToolsastherootuser(su)toshrinkvirtualdisks.Ifyou
shrinkthevirtualdiskasanonrootuser,youcannotpreparetoshrinkthepartsofthe
virtualdiskthatrequirerootlevelpermissions.
About Tab
TheAbouttabdisplaysversion(buildnumber)andcopyrightinformation.In
Windowsguests,thistabalsoshowsthestatusoftheVMwareToolsservice.
VMware, Inc. 95
VMware Server Users Guide
1 Openaterminalwindow(systemconsole)intheNetWareguest.
2 Enteracommandthatusesthefollowingformat:
vmwtool <command>
<command>isoneofthecommandslistedinTable 52.
partitonlist Displaysalistofalldiskpartitionsinthevirtualdisk
andwhetherornotapartitioncanbeshrunk.
devicelist Listseachremovabledeviceinthevirtualmachine,
itsdeviceID,andwhetherthedeviceisenabledor
disabled.Removabledevicesincludethevirtual
networkadapter,CD/DVDdrives,andfloppy
drives.
disabledevice [<device Disablesthespecifieddeviceordevicesinthevirtual
name>] machine.Ifnodeviceisspecified,allremovable
devicesinthevirtualmachinearedisabled.
enabledevice [<device Enablesthespecifieddeviceordevicesinthevirtual
name>] machine.Ifnodeviceisspecified,allremovable
devicesinthevirtualmachineareenabled.
96 VMware, Inc.
Chapter 5 Installing and Using VMware Tools
Whatthedefaultscriptsdodependsinpartontheguestoperatingsystem:
OnmostMicrosoftWindowsguests,butnotwindowsNTandWindowsMe,the
defaultscriptexecutedwhenyoususpendavirtualmachinereleasestheIP
addressofthevirtualmachine.Thedefaultscriptexecutedwhenyouresumea
virtualmachinerenewstheIPaddressofthevirtualmachine(thisaffectsonly
virtualmachinesconfiguredtouseDHCP).ScriptscannotberunonWindows95
guests.
InWindowsguests,thedefaultscriptsarelocatedinthe
Program Files\VMware\VMware Toolsfolder.
VMware, Inc. 97
VMware Server Users Guide
OnmostUNIXguests,thedefaultscriptexecutedwhenyoususpendavirtual
machinestopsnetworkingforthevirtualmachine.Thedefaultscriptexecuted
whenyouresumeavirtualmachinestartsnetworkingforthevirtualmachine.
ScriptscannotberunonNetWareandFreeBSDguests.
OnUNIX,thedefaultscriptsarelocatedinthe/etc/vmware-toolsdirectory.
Youcancreateyourownscriptsandusetheminsteadofthedefaultscriptsshownin
Table 53.
poweroff-vm-default Ifyouconfiguredthepoweroffoperationtoshutdowntheguest,
thisscriptrunswhenthevirtualmachineisbeingpoweredoff.
Ifyouconfiguredtheresetoperationtorestarttheguest,thisscript
runswhenthevirtualmachineisbeingreset.
Thisscripthasnoeffectonnetworkingforthevirtualmachine.
poweron-vm-default Ifyouconfiguredthepoweronoperationtostarttheguest,this
scriptrunswhenthevirtualmachineisbeingpoweredonrather
thanresumed.
Ifyouconfiguredtheresetoperationtorestarttheguest,thisscript
runsaftervirtualmachinerestarts.
Thisscripthasnoeffectonnetworkingforthevirtualmachine.
resume-vm-default Ifyouconfiguredthepoweronoperationtostarttheguest,orthe
resetoperationtorestarttheguest,thisscriptrunswhenthevirtual
machineisresumedafteritwassuspended.
OnWindowsguests,ifthevirtualmachineisconfiguredtouse
DHCP,thisscriptrenewstheIPaddressofthevirtualmachine.
OnLinux,FreeBSD,andSolarisguests,thisscriptstartsnetworking
forthevirtualmachine.
suspend-vm-default Ifyouconfiguredthesuspendoperationtosuspendtheguest,this
scriptrunswhenthevirtualmachineisbeingsuspended.
OnWindowsguests,ifthevirtualmachineisconfiguredtouse
DHCP,thisscriptreleasestheIPaddressofthevirtualmachine.
OnLinux,FreeBSD,andSolarisguests,thisscriptstopsnetworking
forthevirtualmachine.
98 VMware, Inc.
Chapter 5 Installing and Using VMware Tools
ScriptsarerunbytheVMwareToolsdaemon(VMwareService.exe onWindowsand
vmware-guestdonUNIX).Becausevmware-guestdisrunasrootonUNIXandas
SystemonWindows,thescriptsareruninaseparatesessionfromtheloggedinusers
session.TheVMwareToolsdaemonhasnoknowledgeofdesktopsessions,which
meansthatitcannotdisplaygraphicalapplications.Donotattempttousecustom
scriptstodisplaygraphicalapplications.
Beforecreatingcustomscripts,makesurethatthefollowingconditionsaremetinthe
guestoperatingsystem:
ThevirtualmachineisusingthelatestversionofVMwareTools.
TheVMwareToolsserviceisrunninginthevirtualmachine.
Dependingontheoperationthatthescriptperforms,thevirtualmachinehasa
virtualnetworkadapterconnected.Ifnot,thepoweroperationfails.
(UNIXguestsonly)ToeditascriptusingtheEditbuttonontheScriptstab,xterm
andvimustbeinstalledintheguestoperatingsystemandmustbeinyourPATH.
Youmustbearootusertoeditthescript.
1 Determinewhetheryouwanttocreateyourcustomscriptbymakingchangesto
thedefaultscriptandsavingittoanewlocation.
InWindowsguests,thedefaultscriptsarelocatedinthe
Program Files\VMware\VMware Toolsfolder.
OnUNIX,thedefaultscriptsarelocatedinthe/etc/vmware-toolsdirectory.
2 Modifythedefaultscriptandsaveitwithadifferentnameorwriteadifferent
script.
OnWindowsguests,ifyouwriteanewscript,createthescriptasabatchfile.For
UNIX,createthescriptinanyexecutableformat(suchasshellorPerlscripts).
YoucanalsousetheEditbuttonontheScriptstaboftheVMwareToolscontrol
paneltoeditacustomscript.Youcanalsoeditscriptsmanuallyusinganytext
editor.
VMware, Inc. 99
VMware Server Users Guide
3 Associateeachcustomscriptwithitsparticularpoweroperation:
a OntheScriptstaboftheVMwareToolscontrolpanel,selecttheappropriate
scriptevent.
b SelecttheUseScriptcheckbox,selectCustomscript,andusetheBrowse
buttontopointtothescriptthatyouwanttouse.
c ClickOK.
WhenyoureinstallVMwareToolsafteryouupdatetheVMwareServersoftware,any
changesthatyoumadetothedefaultscriptsareoverwritten.Anycustomscriptsthat
youcreatedremainuntouched,butdonotbenefitfromanyunderlyingchangesthat
enhancethedefaultscripts.
1 OntheScriptstaboftheVMwareToolscontrolpanel,selecttheappropriatescript
event.
2 Dooneofthefollowing:
Todisablethescript,cleartheUseScriptcheckboxandclickOK.
Defaultscriptsforsuspendingandresumingworktogether.Ifyoudisablethe
scriptofoneoftheseactions,disablethescriptfortheotheractionaswell.
Torunascriptimmediately,clickRunNow.
YoucansuccessfullyrunascriptbyclickingtheRunNowbuttoninthe
VMwareToolscontrolpanel,butthissamescriptcanfailwhenrunaspartof
aVMwareServerpoweroperation.ThisisbecausescriptsrunbyclickingRun
Nowarerunastheloggedinuserandhaveadifferentworkingdirectorythan
whenscriptsarerunbytheVMwareToolsdaemon duringapoweroperation.
1 Useatexteditortoopenthefollowingfile:
/etc/vmware-tools/tools.conf
2 Addoneorbothofthefollowingcommandstothefile:
halt-command = <command>
<command>isthecommandtoexecutewhenyoushutdowntheguest
operatingsystem.
reboot-command = <command>
<command>isthecommandtoexecutewhenyourestarttheguestoperating
system.
YoucanpassitemsliketheWindowssystemID(SID),amachinename,oranIP
address.Insidetheguestoperatingsystemstartupscript,youcanhavetheservice
retrievethisstring.Thestringcanthenbeusedinanotherscripttosetyourvirtual
machinessystemID,machinename,orIPaddress.
Forexample,usethisstrategytomakecopiesofthesameconfigurationfile,adda
differentstringtoeach(eitherintheconfigurationfileitselforatthecommandline),
andusethesevariationsofthesameconfigurationfiletolaunchthesamevirtualdisk
innonpersistentmodemultipletimesinatrainingortestingenvironment.
Passingastringisalsousefulwhenyouwanttodeployvirtualmachinesonanetwork
usingacommonconfigurationfilewhileprovidingeachmachinewithitsownunique
identity.
Youcanpassstringstoavirtualmachinesguestoperatingsysteminoneoftwoways:
placingthestringinthevirtualmachinesconfigurationfileorpassingthestringtothe
guestfromthecommandline.
Usethisfeatureonlyifyouhaveagoodunderstandingofascriptinglanguage(for
example,PerlorNetShell)andknowhowtomodifysystemstartupscripts.
Followingisanexampleofportionsoftwoconfigurationfilesthatpointtothesame
virtualdisk.Eachconfigurationfilecontainsitsownuniquestringforthemachine.id
parameter.
config_file_1.vmxcontains:
ide0:0.present = TRUE
ide0:0.fileName = "my_common_virtual_hard_drive.vmdk"
machine.id = "the_string_for_my_first_vm"
config_file_2.vmxcontains:
ide0:0.present = TRUE
ide0:0.fileName = "my_common_virtual_hard_drive.vmdk"
machine.id = "the_string_for_my_second_vm"
Topreventastringfrombeingpassedfromthehosttotheguestthroughtheservice,
setthefollowinglineinyourvirtualmachinesconfigurationfile:
isolation.tools.getMachineID.disable = "TRUE"
Usethismethodtodeployvirtualmachinesonanetworkusingacommon
configurationfilewhileprovidingeachmachinewithitsownuniqueidentity.
Launcheachvirtualmachinewiththevmware -scommand.Eachvirtualmachinedisk
filemustbecopiedintoitsowndirectoryifitsharesitsfilenamewithanothervirtual
machinediskfile.
OnaLinuxhost,themachineIDpassedonthecommandlinetakesprecedenceandis
passedtotheguestoperatingsystemifthefollowingconditionsaremet:
AvirtualmachineIDspecifiedinthevirtualmachinesconfiguration(.vmx)fileis
usedtoopenthevirtualmachine.
YouspecifyamachineIDonthecommandline.
1 Definethestringbyusingoneofthefollowingmethods:
Onthehostmachine,addthefollowinglinetoyourvirtualmachines
configuration(.vmx)file:
machine.id = "W2K-VM 148.30.16.24"
Openthevirtualmachineusingthisconfigurationfile.
Openthevirtualmachinefromthecommandlinebyenteringthefollowing
ononeline:
C:\Program Files\VMware\VMware Server\vmware -s 'machine.id=W2K-VM
148.30.16.24' C:\Virtual Machines\win2000\win2000.vmx
2 Dooneofthefollowingtoretrievethestringinthevirtualmachine:
InaWindowsguest,enterthefollowingcommandtoretrievethestring:
VMwareService --cmd machine.id.get
InaLinuxguest,intheoperatingsystemsstartupscript,addthefollowing
commandbeforethenetworkstartupsection:
/usr/sbin/vmware-guestd --cmd 'machine.id.get'
Thelocationofvmware-guestddependsonthedirectoryyouspecifyatthe
timeofinstallation.
3 Furthercustomizethisstartupscriptsothatitusesthestringtheserviceretrieved
duringstartuptosetthevirtualmachinesnetworknametoW2KVManditsIP
addressto148.30.16.24.
4 Placethisstringinthescriptbeforethecommandtostartthenetworkservices.
IfyouareusingaWindows2000guestoperatingsystem,forexample,youcancall
theNetShellutility(netsh)andpassitthecontentsofthestring,whichusesthe
stringaccordingly.Thatis,itcansetanewIPaddressforthevirtualmachine,if
thatiswhatwaspassedinthestringoriginally.
FormoreinformationabouttheVMwareInfrastructureSDK,gototheVMwareAPIs
andSDKsDocumentationpageoftheVMwareWebsite.
ConfiguretimesynchronizationinyourLinuxguestoperatingsystemwithout
runningX.
InstallanduninstallVMwareTools,determinetheversion,andsoon.
1 Intheguestoperatingsystem,changetothedirectorythatcontainsthe
VMware Toolsdaemon.
Dependingontheoperatingsystem,thenameanddefaultlocationofthedaemon
areasfollows:
OnMicrosoftWindowssystems,thedaemoniscalledVMwareService.exe
andthelocationis:
C:\Program Files\VMware\VMware Tools\VMwareService.exe
OnUNIXsystems,thedaemoniscalledvmware-guestd.Thelocationof
vmware-guestddependsonthedirectorythatyouspecifiedatthetimeof
installation.Thedefaultlocationis:
/usr/sbin/vmware-guestd
2 Toconfigureperiodictimesynchronization,usethevmx.set_optioncommand:
<daemon> --cmd "vmx.set_option synctime <old_val> <new_val>"
<daemon>isvmware-guestdonUNIXsystemsorVMwareService.exeon
Windowssystems.
<old_val>and<new_val>aretheoldandnewvalues,respectively.Use0tomean
FALSEand1tomeanTRUE.
FollowingisanexampleofsettingtimesynchronizationtoTRUEonaLinuxguest:
./vmware-guestd --cmd "vmx.set_option synctime 0 1"
Thenewsettingiswrittentothetools.syncTimepropertyinthevirtual
machinesconfiguration(.vmx)file.Usingthisoptionisequivalenttousingthe
timesynchronizationoptionontheOptionstaboftheVMwareToolscontrol
panel.
Tousecommandsotherthan--cmd,usethe--helpcommandlinecommand.
Forinformationaboutmanagingindividualvirtualmachines,seeChapter 7,Running
VirtualMachines,onpage 121.
ForinformationaboutconfiguringVMwareServernetworking,seeChapter 11,
ConfiguringaVirtualNetwork,onpage 211.
Thischapterincludesthefollowingtopics:
ManagingtheVirtualMachineInventoryonpage 108
ManagingDatastoresonpage 110
EditingHostWideMemoryandSnapshotSettingsonpage 113
ConfiguringVirtualMachineStartupandShutdownSettingsonpage 115
EnablingQuiescedBackupsofVirtualMachinesonWindowsonpage 118
Thissectiondescribeshowtoaddandremovevirtualmachinesintheinventory.
Beforeyoucanaddavirtualmachinetotheinventory,thefilesthatmakeupthevirtual
machinemustbelocatedinadatastore.SeeManagingDatastoresonpage 110.
1 SelectthehostintheInventorypanel.
2 IntheCommandssectionofthehostSummarytab,clickAddVirtualMachineto
Inventory.
3 ClickBrowsetolocatetheconfigurationfile(.vmxfileextension)forthevirtual
machinethatyouwanttoaddtotheinventory.
UsetheInventorycolumntonavigatethefilesystem.
TheContentscolumnliststhecontentsofthecurrentdirectory.
TheInformationcolumnshowsdetailedinformationabouttheselecteddirectory
orfile.
4 SelecttheconfigurationfileintheContentscolumnandclickOK.
Thevirtualmachineisaddedtotheinventory.
Beforeyoucandeleteavirtualmachineorremoveitfromtheinventory,itmustbe
poweredofforsuspended.
1 SelectthehostintheInventorypanel.
2 ClicktheVirtualMachinestab.
3 Selectthevirtualmachinetodelete.
Whenthevirtualmachineispoweredoff,theRemoveVirtualMachinecommand
appearsintheCommandssectionoftheworkspace.
4 ClickRemoveVirtualMachine.
Aconfirmationdialogboxappears.
5 (Optional)Todeleteallthevirtualmachinefilesfromdisk,selectDeletethis
virtualmachinesfilesfromthedisk.
IfyoudonotselectDeletethisvirtualmachinesfilesfromthedisk,thevirtual
machineisremovedfromtheinventory,butallthevirtualmachinefilesremain
intactonthedatastore.
6 ClickOK.
Thevirtualmachineisdeletedorremovedfromtheinventory.
YoucanalsodeleteavirtualmachineorremoveitfromtheinventoryfromtheVirtual
Machinemenu.SeeDeletingaVirtualMachineonpage 130.
To change the power state of a virtual machine from the host workspace
1 SelectthehostintheInventorypanel.
2 ClicktheVirtualMachinestab.
3 Inthelistofvirtualmachines,selectthevirtualmachineforwhichyouwantto
changethepowerstate.
4 Clicktheappropriatepowerbuttoninthetoolbar.
Youcanalsochangethepowerstateofavirtualmachinefromitsownworkspace.
Foradetaileddescriptionofhowpoweroperationsaffectvirtualmachines,see
ChangingthePowerStateofaVirtualMachineonpage 122.
Managing Datastores
Thissectiondescribeshowtoadd,rename,andremovedatastores.
Adding Datastores
AdatastoreisastoragelocationforVMwareServervirtualmachinefiles.Thestorage
locationcanbethelocalfilesystem,aCIFSstore(Windowsonly),oranNFSmounted
filesystem(Linuxonly).
Insomecases,toprotectNFSvolumesfromunauthorizedaccess,NFSadministrators
mightexportvolumeswiththeroot squashoptionturnedon.Whenroot squashis
on,theNFSservertreatsaccessbyrootasaccessbyanyunprivilegedusersandmight
refusetheVMwareServerhostaccesstotheNFSvolume.Tomakesurethatyoucan
createandmanagedatastoresfromyourhost,theNFSadministratormustturnoffthe
root squashfeatureoraddtheVMwareServerhostsphysicalnetworkadaptertothe
listoftrustedhosts.
To add a datastore
1 SelectthehostintheInventorypanel.
2 IntheCommandssectionoftheSummarytab,clickAddDatastore.
3 EnteranameforthedatastoreintheNametextbox.
4 Entertheinformationforthelocal(hostsystem)orremotedirectory.
Toaddalocaldatastore:
i SelectLocalDatastore.
ii EnterthepathintheDirectoryPathtextbox.
iii ClickOKtoaddthedatastore.
ToaddaCIFSdatastore(Windowshostonly):
i SelectCIFS.
ii EnteravalidservernameorIPaddress.
iii Enterthelocationofthesharedfolder.
iv Enteravalidusername.
Includethedomainorservername,forexample:
<domain_name>\<username>
or
<server_name>\<username>
v Enterthecorrespondingpassword.
vi ClickOKtoaddthedatastore.
.
NOTEVMwareServerusestheWindowscredentialmanagerforuser
authentication.Becausethiscredentialmanagerfeatureisnotsupported
onWindows2000Server,youcannotaddaCIFSdatastoreifVMware
ServerisinstalledonaWindows2000Serverhost.
ToaddanNFSdatastore(Linuxhostonly):
i SelectNetworkFileSystem.
ii EnteravalidNFSservernameorIPaddress.
iii Enterthelocationofthesharedfolder.
iv ClickOKtoaddthedatastore.
Thedatastoreappearsinthelistofdatastores.
Renaming Datastores
Youcanrenameanexistingdatastore.
To rename a datastore
1 SelectthehostintheInventorypanel.
2 IntheDatastoressectionoftheSummarytab,clickthedatastoretorename.
3 IntheCommandssectionoftheSummarytab,clickRenameDatastore.
4 EnteranewnameforthedatastoreintheNametextbox.
5 ClickOK.
Therenameddatastoreappearsinthelistofdatastores.
Removing Datastores
Ifyounolongerwanttoaccessadatastore,youcanremoveitfromVMwareServer.
Beforeyoucanremoveadatastore,youmustremoveallvirtualmachinesinthe
datastore.
To remove a datastore
1 SelectthehostintheInventorypanel.
2 IntheDatastoressectionoftheSummarytab,clickthedatastoretoremove.
3 IntheCommandssectionoftheSummarytab,clickRemoveDatastore.
Aconfirmationdialogboxappears.
4 ClickOKtoremovethedatastore.
Thedatastorenolongerappearsinthelistofdatastores.
Refreshing Datastores
Whenyourefreshadatastore,VMwareServerupdatesthecapacityandfreespace
available.Therefreshcommandallowsyoutoseechangesindiskcapacityandfree
spacecausedbyoperationsperformeddirectlyonthehostsystem.Thesevaluesare
automaticallyupdatedwhenyouperformVMwareServeroperationssuchascreating
ordeletingavirtualmachine.
To refresh a datastore
1 SelectthehostintheInventorypanel.
2 IntheDatastoressectionoftheSummarytab,clickthedatastoretorefresh.
3 IntheCommandssectionoftheSummarytab,clickRefreshDatastore.
Thevaluesforcapacityandfreespaceareupdatedforthatdatastore.
Howmuchofthehostsystemsmemorycanbeusedforallrunningvirtual
machines
Theextenttowhichthehostoperatingsystemsmemorymanagercanswapvirtual
machinesoutofphysicalRAM
Thesesettingsaffectbothvirtualmachineandoverallsystemperformance.See
ConfiguringHostWideVirtualMachineMemoryUsageonpage 275.
1 SelectthehostintheInventorypanel.
2 IntheCommandssectionofthehostSummarytab,clickEditHostSettings.
3 IntheReservedMemorysection,enteravaluefortheSize.
Theminimumandmaximumsettingsaredisplayed.
Ifyouentertoohighavalue,thehostmightperformpoorlywhenother
applicationsarerunningonthehost.Ifyouentertoolowavalue,virtualmachines
mightperformpoorlyandyoucannotrunasmanyvirtualmachinesatonce.For
moreinformation,seeReservingHostMemoryforVirtualMachineUseon
page 276.
4 ClickOKorfollowthestepsinthenextsectiontoconfigureadditionalhost
memorysettings.
1 SelectthehostintheInventorypanel.
2 IntheCommandssectionofthehostSummarytab,clickEditHostSettings.
3 IntheAdditionalMemorysection,selectoneofthefollowingoptions:
FitallvirtualmachinememoryintoreservedhostRAMStrictlyapplies
thereservedmemorylimit.Thissettingimposesthetightestrestrictionsonthe
numberandmemorysizeofvirtualmachinesthatcanrunatagiventime.
BecausethevirtualmachinesarerunningentirelyinRAM,theyhavethebest
possibleperformance.
AllowsomevirtualmachinememorytobeswappedAllowsthehost
operatingsystemtoswapamoderateamountofvirtualmachinememoryto
diskifnecessary.Thissettingallowsyoutoincreasethenumberormemory
sizeofvirtualmachinesthatcanrunonthehostsystematagiventime.It
mightalsoresultinreducedperformanceifvirtualmachinememorymustbe
swappedbetweenRAManddisk.
AllowmostvirtualmachinememorytobeswappedAllowsthehost
operatingsystemtoswapthemaximumamountofvirtualmachinememory
todisk.Thissettingallowsyoutorunmorevirtualmachinesandusemore
memorythanthemoderatesettingdoes.Performancemightbefurther
decreasedifvirtualmachinememorymustbeswappedbetweenRAMand
disk.
4 ClickOK.
Ifyoutrytopoweronavirtualmachinewheninsufficientmemoryisavailable,
VMwareServerdisplaysawarningdialogbox.Themessageshowshowmuchmemory
thevirtualmachineisconfiguredtouseandhowmuchmemoryisavailable.Toattempt
topoweronthevirtualmachineusingtheavailablememory,clickOK.Otherwise,click
Cancel.
Foradditionalinformationonmanagingsnapshots,seeUsingSnapshotson
page 195.
1 SelectthehostintheInventorypanel.
2 IntheCommandssectionofthehostSummarytab,clickEditHostSettings.
3 IntheSnapshotssection,dooneofthefollowing:
Toenablebackgroundsnapshots,selectthecheckbox.
Todisablebackgroundsnapshots,deselectthecheckbox.
4 ClickOK.
Thesettingtakeseffectafterthevirtualmachinesarerestarted.
Youcanalsoconfiguresystemwidesettingsthatspecifyadelaybetweeneachvirtual
machinesstartupandshutdown,andwhatkindofactionisperformedatshutdown
(suspend,poweroff,orshutdownguest).Youcanoptionallyoverridethesystemwide
settingsforindividualvirtualmachines.
1 SelectthehostintheInventorypanel.
2 IntheCommandssectionofthehostSummarytab,click
Edit Virtual Machine Startup/ShutdownSettings.
3 SelectAllowvirtualmachinestostartandstopautomaticallywiththesystem.
Ifthisoptionisdisabled,youcannotconfigurestartupandshutdownsettingsfor
anyofthevirtualmachinesonthehost.
NOTEToallowvirtualmachinestobestartedandshutdownonaWindowshost
system,youmustalsoselectAllowvirtualmachinestostartandstop
automaticallywiththesystemduringtheinstallationofVMwareServer.
4 (Optional)Configureoneormoreofthefollowingsettings:
DefaultStartupDelayEntertheamountoftimeinsecondstowaitaftera
virtualmachineisstartedbeforestartingthenextvirtualmachineinthelist.
Thisdelaypreventsplacinganexcessiveburdenonthehostresources.
StartnextVMimmediatelyiftheVMwareToolsstartSelecttostartthe
nextvirtualmachineinthestartuplistimmediatelyafterVMwareToolsstarts
inthecurrentvirtualmachine.
DefaultShutdownDelayEntertheamountoftimeinsecondstowaitafter
shuttingdownavirtualmachinebeforeshuttingdownthenextvirtual
machineinthelist.
Thisdelaypreventsplacinganexcessiveburdenonthehostresources.
ShutdownActionSelectPowerOff,Suspend,orShutdownguest.
1 MakesurethatsystemwidesettingsareenabledasdescribedinEnabling
SystemWideStartupandShutdownSettingsonpage 116.
2 Movevirtualmachinesbetweenandwithinthefollowinglistsbyselectingoneor
morevirtualmachinesandclickingMoveUporMoveDown:
SpecifiedOrderThesevirtualmachinesarelistedintheorderinwhich
theyareconfiguredtostartup.Thevirtualmachinesareshutdowninthe
reverseorderfromwhichtheyarestarted.
AnyOrderThesevirtualmachinesarestartedandshutdown
automatically,butnotinaspecificorder.Thevirtualmachinesinthiscategory
donotstartorshutdownuntilallthevirtualmachineslistedintheSpecified
Orderlistarestartedorshutdown.
ManualStartupThesevirtualmachinesarenotstartedautomaticallywhen
thehostisbroughtup.Whenthehostisshutdown,thesevirtualmachinesare
shutdownaccordingtotheshutdownactionindicated.
3 ClickOKtosaveyoursettings.
Youcanchangethestartupsettingsforvirtualmachinesthatarestartedautomatically,
butnotforvirtualmachinesthatarestartedmanually.Youcanchangetheshutdown
settingsforanyvirtualmachine.
1 MakesurethatsystemwidesettingsareenabledasdescribedinEnabling
SystemWideStartupandShutdownSettingsonpage 116.
2 Selectthevirtualmachineforwhichyouwanttooverridethesystemsettingsand
clickEdit.
3 (Optional)Tooverridethedefaultsystemsettingforstartup,selectUsespecified
settingsandchangeoneorbothofthefollowing:
StartupDelayEntertheamountoftimeinsecondstowaitafteravirtual
machineisstartedbeforestartingthenextvirtualmachineinthestartuplist.
ContinueimmediatelyiftheVMwareToolsstartSelecttostartthenext
virtualmachineinthestartuplistimmediatelyafterVMwareToolsstartsin
thecurrentvirtualmachine.
4 (Optional)Tooverridethedefaultsystemsettingforshutdown,selectUse
specifiedsettingsandchangeoneorbothofthefollowing:
ShutdownDelayEntertheamountoftimeinsecondstowaitaftershutting
downavirtualmachinebeforeshuttingdownthenextvirtualmachineinthe
shutdownlist.
PerformShutdownActionSelectSystemDefault,PowerOff,Suspend,or
ShutDownGuest.
5 ClickOK.
NOTEVMwarehastestedquiescedbackupsusingWindowsBackup(NTBackup).For
informationaboutsupportforthirdpartybackupapplications,contactyourbackup
applicationvendor.
YoucanperformquiescedbackupsonhostoperatingsystemsrunningWindowsServer
2003andWindowsServer2008.Only32bitWindowsServer2008hostsaresupported.
TheguestoperatingsystemmustberunningWindowsServer2003orWindowsServer
2008.AnuptodateversionofVMwareToolsmustbeinstalledintheguestoperating
system.
ForWindowsServer2003guestsystems,theVSSWriterusesapplicationVSSwriters
sothattheVSSsnapshotisapplicationconsistent.Thesnapshotrepresentstheentire
stateoftheVSSawareapplicationsregardlessoftheirbackuphistoryanddoesnot
modifythebackuphistory.
ForWindowsServer2008guestsystems,theVSSWriterdoesnotuseapplication
writersand,asaresult,thesnapshotisfilesystemconsistent.
NOTEVMwareServerallowsonesnapshotforeachvirtualmachine.Ifasnapshot
exists,theVSSwriterdoesnotquiescethevirtualmachines,unlessyouoverridethis
defaultbehavior.
1 (Optional)ToallowtheVSSWritertooverwriteanexistingsnapshot:
a Createthefilevmvsswriter.cfgintheVMwareServerinstallationdirectory,
typicallyC:\Program Files\VMware\VMware Server.
b Addthefollowingparametertothevmvsswriter.cfgfiletospecifythatan
existingsnapshotcanbeoverwrittensovirtualmachinescanbequiesced
beforebackup:
vmwriter.overwriteSnapshots = "TRUE"
IfsettoTRUE,anyexistingsnapshotsareoverwrittenwithoutwarning,and
thevirtualmachinesarebackedupusingquiescedsnapshots.
Ifnotset,orsettoFALSE,thevirtualmachinesarenotquiescedifasnapshot
existswhenthebackupistaken.
2 StarttheVMwareVSSWriterServiceusingtheWindowsServicescontrolpanel.
TheuserrunningtheVSSWriterServicemusthavepermissiontoperform
administrativetasksonvirtualmachines,suchascreatingsnapshots.Theuser
mustalsobeabletowritetothevirtualmachinediskfiledirectory.Youcanverify
orchangetheusernameandpasswordintheLogOntabofthePropertiesdialog
boxfortheVSSWriterService.
YoumustrestarttheVSSWriterServiceanytimeyoumakechangestothe
vmvsswriter.cfgfile.
1 Makesurethatthevirtualmachinesyouwanttorestorearepoweredoff.
2 Dooneofthefollowing:
Usethebackupsoftwaretorestorethevirtualmachines.
Restoreanindividualvirtualmachinebyrevertingtothesnapshot.For
informationaboutrevertingtoasnapshot,seeRevertingtoaSnapshoton
page 199.
Toperformvirtualmachineoperations,youmusthavetherequiredpermissions.Many
configurationmodificationsaredisabledwhenthevirtualmachineispoweredon.
NOTETheonlytasksVIWebAccesscanperformonhardwareversion3virtual
machinesarepoweroperationsandupgrade.
Thischapterdescribesthemostcommontaskstomanageandusevirtualmachinesand
includesthefollowingtopics:
RunningVMwareToolsonpage 122
ChangingthePowerStateofaVirtualMachineonpage 122
ChangingVirtualMachinePowerSettingsonpage 125
ChangingVirtualMachineNameandGuestSystemSettingsonpage 124
ChangingVirtualMachineSnapshotSettingsonpage 126
ChangingVirtualMachineAdvancedSettingsonpage 127
DeletingaVirtualMachineonpage 130
UsingVMwareRemoteConsoleonpage 130
GeneratingandSharingVirtualMachineShortcutsonpage 133
EditingNotesintheVirtualMachineSummaryTabonpage 135
EditingtheHardwareConfigurationofaVirtualMachineonpage 135
AddingHardwaretoaVirtualMachineonpage 137
InstallingNewSoftwareinaVirtualMachineonpage 138
AdvancedOptionsforApplicationDevelopersonpage 139
AfterVMwareToolsisinstalledinaWindowsvirtualmachine,theVMwareTools
servicesstartwhenyoustarttheguestoperatingsystem.TheVMwareToolsicon
appearsintheguestsnotificationarea,unlessyoudisabletheicon.
OnWindowsguests,iftheVMwareToolsiconincludesayellowcautionicon,an
updateisavailable.Toperformtheupdate,doubleclicktheicon,andclicktheUpdate
buttonontheOptionstabthatappears.
IftheVMwareToolsiconappearswitharedcircleandslashoverit,theVMwareTools
serviceisnotrunning.Tostarttheservice,selectRunfromtheWindowsStartmenu,
andenterservices.msc.Inthewindowthatappears,starttheservicecalled
VMware ToolsService.
IftheVMwareToolsicondoesnotappearinthenotificationareaoftheWindows
gueststaskbar,usetheVMwareToolscontrolpanelintheguesttodisplayit.See
UsingtheWindowsControlPaneltoDisplaytheTaskbarIcononpage 92.
TochangeotherVMwareToolsproperties,seeUsingtheVMwareToolsControl
Panelonpage 91.Formoreinformationabouttheproperties,clickHelp.
SelectthevirtualmachinefromtheInventorypanel,andclickthebuttoninthe
toolbarforthedesiredpowerstate.
FromthehostworkspaceVirtualMachinestab,selectthevirtualmachine,and
clickthebuttoninthetoolbarforthedesiredpowerstate.
Table 71describeswhathappenswhenyouchangethepowerstateofavirtual
machine.
Powersoffthevirtualmachine.Dependingonhowyouhaveconfiguredthe
poweroptionsforthisvirtualmachine,VMwareServermightshutdownthe
guestoperatingsystemandexecuteanyscriptsassociatedwiththispowerstate
change.
Whenthisiconisdepressed,thevirtualmachineispoweredoff.
Suspendsarunningvirtualmachine.Dependingonhowyouhaveconfiguredthe
poweroptionsforthisvirtualmachine,VMwareServermightputtheguest
operatingsystemonstandbyandexecuteanyscriptsassociatedwiththispower
statechange.
Whenthisiconisdepressed,thevirtualmachineissuspended.
Powersonastoppedvirtualmachineorresumesasuspendedvirtualmachine.
Dependingonhowyouhaveconfiguredthepoweroptionsforthisvirtual
machine,VMwareServermightrestartorresumetheguestoperatingsystemand
executeanyscriptsassociatedwiththispowerstatechange.
Whenthisiconisdepressed,thevirtualmachineisrunning.
Resetsthevirtualmachine.Dependingonhowyouhaveconfiguredthepower
optionsforthisvirtualmachine,VMwareServermightshutdownandrestartthe
guestoperatingsystemandexecuteanyscriptsassociatedwiththispowerstate
change.
NOTEShuttingdownorrestartingaguestoperatingsystemworksonlywhen
VMwareToolsisinstalled.Otherwise,thepoweristurnedofforthevirtualmachineis
resetexactlyasifyouhadpushedthepowerorresetbuttononaphysicalmachine.For
informationaboutinstallingVMwareTools,seeChapter 5,InstallingandUsing
VMwareTools,onpage 73.ForinformationabouthowtouseVMwareToolsscripts
toaffectpowerstatebehavior,seeChangingVirtualMachinePowerSettingsonpage 125
andHowVMwareToolsScriptsAffectPowerStatesonpage 97.
1 IntheCommandssectionofthevirtualmachinesSummarytab,clickConfigure
VM.
2 IntheGeneraltab,changethenameorguestoperatingsystemsetting:
(Optional)Tochangethedisplayname,typeanewnameintheVirtual
MachineNametextbox.
(Optional)Tochangetheguestoperatingsystemsetting(forexample,ifyou
areupgradingtheguestoperatingsystemversion),selectthetypeof
operatingsystemandthenselecttheoperatingsystemversionfromthe
dropdownmenu.
Whenyouchangetheoperatingsystemversionhere,thesettingfortheguest
operatingsystemischangedinthevirtualmachinesconfigurationfile.The
guestoperatingsystemitselfisnotchanged.Forinformationaboutupdatingthe
guestoperatingsystem,seeUpdatingtheGuestOperatingSystemon
page 71.
3 ClickOKtosaveyourchangesandreturntotheSummarytab.
TheGeneraltabalsodisplaysthelocationofthevirtualmachineworkingdirectoryand
thevirtualmachineconfigurationfile.Donoteditthevirtualmachineconfigurationfile
directly.Instead,usetheAdvancedtaboftheConfigureVMdialogbox.SeeChanging
VirtualMachineAdvancedSettingsonpage 127.
1 IntheCommandssectionofthevirtualmachinesSummarytab,clickConfigure
VM.
2 ClickthePowertab.
3 (Optional)Selectthedefaultpoweroffoptionforthevirtualmachine.
SettingsforpoweringoffvirtualmachinesincludePowerOffandShutDown
Guest.WhenVMwareToolsisnotinstalled,thedefaultactionistopoweroffthe
virtualmachinewithoutshuttingdowntheguest.WhenVMwareToolsis
installed,thedefaultactionistoshutdowntheguestbeforepoweringoffthe
virtualmachine.
4 (Optional)Selectthedefaultsuspendoptionforthevirtualmachine.
SettingsforsuspendingvirtualmachinesincludeSuspendandSuspendGuest.
WhenVMwareToolsisnotinstalled,thedefaultactionistosuspendthevirtual
machinewithoutsuspendingtheguest.WhenVMwareToolsisinstalled,the
defaultactionistosuspendtheguestbeforesuspendingthevirtualmachine.
5 (Optional)Selectthedefaultrebootoptionforthevirtualmachine.
SettingsforrebootingvirtualmachinesincludeResetandRestartGuest.When
VMwareToolsisnotinstalled,thedefaultactionistoresetthevirtualmachine
withoutshuttingdowntheguest.WhenVMwareToolsisinstalled,thedefault
actionistoshutdowntheguestbeforeresettingthevirtualmachine.
6 (Optional)IntheVMwareToolsScriptssection,selectoneormorecheckboxesto
runaVMwareToolsscriptAfterpoweringon,Afterresuming,Before
suspending,andBeforepoweringoff.SeeHowVMwareToolsScriptsAffect
PowerStatesonpage 97.
7 (Optional)IntheBIOSSetupsection,selectEntertheBIOSsetupscreenthenext
timethevirtualmachinebootsifyouwanttogodirectlytotheBIOSsetupscreen
thenexttimethevirtualmachineispoweredon.
Afterthenextpoweron,thissettingisdeselected.
8 (Optional)IntheAdvancedsection,selectoneorbothoftheVMwareTools
options:
SelectCheckandUpgradeVMwareToolsbeforepoweringonifyouwantto
automaticallyupgradeVMwareToolswheneveranewversionisavailable.
SelectSynchronizeguesttimewithhosttosynchronizethetimeintheguest
operatingsystemwiththetimeinthehostoperatingsystem.SeeOptions
Tabonpage 93.
9 ClickOKtosaveyourchangesandreturntotheSummarytab.
Lockthecurrentsnapshotsothatitcannotbeupdated
Reverttothecurrentsnapshotwhenpoweringoff
Forinformationaboutusingsnapshotstopreservethestateofthevirtualmachine,see
UsingSnapshotsonpage 195.
1 IntheCommandssectionofthevirtualmachinesSummarytab,clickConfigure
VM.
2 ClicktheSnapshottab.
3 IntheCurrentSnapshotsection,selectLockthissnapshot.
Ifthischeckboxcannotbeselected,itmeansthatnosnapshotexists.
4 ClickOKtosaveyourchangesandreturntotheSummarytab.
1 IntheCommandssectionofthevirtualmachinesSummarytab,clickConfigure
VM.
2 ClicktheSnapshottab.
3 SelectoneofthefollowingoptionsintheWhenpoweringoffsection:
JustpoweroffPowersoffwithoutmakinganychangestothesnapshot.
ReverttosnapshotRevertstothecurrentsnapshot,sothevirtualmachine
alwaysstartsinthestateitwasinwhenthecurrentsnapshotwastaken.
Revertingtothesnapshotdiscardschanges.Forexample,aninstructormight
needtodiscardstudentanswersforacomputerlessonwhenavirtualmachine
ispoweredoffattheendofclass.
AskmeEverytimeyoupoweroffavirtualmachine,youarepromptedto
specifywhetheryouwanttojustpowerofforreverttothecurrentsnapshot.
4 ClickOKtosaveyourchangesandreturntotheSummarytab.
WhatkindofinformationiscollectedwhileVMwareServerisrunning.
Enablinganddisablinglogging.
Disablingaccelerationifaprogramcannotberuninyourvirtualmachine.
EnablingVirtualMachineInterface(VMI)paravirtualizationtoincrease
performanceonhoststhatsupportparavirtualization.
SpecifyingwhetherandhowvirtualizedMMUsupportisused
Modifyingvirtualmachineconfigurationfileparameters.
NOTEDonotchangeanyconfigurationfileparametersunlessyouareinstructed
todosointhedocumentationorbyVMwaretechnicalsupport.
1 IntheCommandssectionofthevirtualmachinesSummarytab,clickConfigure
VM.
2 ClickAdvanced.
3 IntheSettingssection,selectanoption:
RecordruntimeinformationWhenselected,youcanselectoneofthe
following:
DebugginginformationCollectsdebugginginformation.Youcan
providethisinformationtoVMwaresupporttotroubleshootany
problemsyouareexperiencing.
StatisticsinformationCollectsperformancestatistics.Youcanprovide
thisinformationtoVMwaresupporttotroubleshootperformance
problems.
OnWindowshosts,thefilesarestoredinthedirectory
<%ALLUSERSPROFILE%>\VMware\VMware Server\hostd\stats.
OnLinuxhostsystems,thefilesarestoredinthedirectory
/var/log/vmware.
EnableloggingEnablesloggingforthevirtualmachine.Youcanprovide
thistoVMwaresupporttotroubleshootanyproblemsyouareexperiencing.
VMwarerecommendsthatyoukeeploggingenabled.Thereisminimal
overheadforthislogging.
DisableaccelerationDisablesaccelerationinthevirtualmachine.Itis
sometimesnecessarytotemporarilydisableaccelerationinavirtualmachine
toresolveproblemswithaguestoperatingsystemapplicationthatcrashesor
seemstohangorreportsthatitisrunningunderadebugger.Usuallyitis
possibletoreenableaccelerationafterinstallingorstartingtheapplication.
SupportVMIParavirtualizationIfyouhaveaVMwareVMI3.0enabled
kernelinaLinuxguestoperatingsystem,youcanenableVMI
paravirtualizationsupporttoimproveperformanceinthevirtualmachine.
AvailableVMIenabledkernelsincludeUbuntu7.04(Feisty)orlater.
Usethestandardimagefor32bitIntelx86systems.VMIcurrentlysupports
only32bitguests.
Formoreinformationaboutparavirtualization,see:
http://www.vmware.com/interfaces/paravirtualization.html
ConfigureVirtualizedMMUSettingsRecentCPUsarecapableof
virtualizingtheMemoryManagementUnit(MMU).Thiscapabilityalmost
alwaysimprovesvirtualmachineperformance.However,theremightbe
caseswhereitispreferablenottovirtualizetheMMU.
Selectoneofthefollowingchoices:
Allowthehosttodetermineautomatically(thedefault)
Forceuseofthesefeatureswhenavailable
Donotusethesefeatures
4 ClickOKtosaveyourchangesandreturntotheSummarytab.
1 IntheCommandssectionofthevirtualmachinesSummarytab,clickConfigure
VM.
2 ClickAdvanced.
3 IntheConfigurationParameterssection,clickAddNewEntry.
4 EnterthenameoftheparameterintheNametextbox.
5 EnterthevaluefortheparameterintheValuetextbox.
6 ClickOK.
7 ClickOKtosaveyourchangesandreturntotheSummarytab.
1 IntheCommandssectionofthevirtualmachinesSummarytab,clickConfigure
VM.
2 ClickAdvanced.
3 IntheConfigurationParameterssection,selecttheparameterandclickEdit.
4 EnterthenewvaluefortheparameterintheValuetextbox.
5 ClickOK.
6 ClickOKtosaveyourchangesandreturntotheSummarytab.
Beforeyoucandeleteavirtualmachineorremoveitfromtheinventory,itmustbe
poweredofforsuspended.
1 SelectthevirtualmachineyouwanttodeleteintheInventorypanel.
2 SelectVirtualMachine>RemoveVirtualMachine.
Youcanonlyselectthismenuoptionifthevirtualmachineispoweredoff.
3 (Optional)Todeleteallthevirtualmachinefilesfromdisk,selectDeletethis
virtualmachinesfilesfromthedisk.
IfyoudonotselectDeletethisvirtualmachinesfilesfromthedisk,thevirtual
machineisremovedfromtheinventory,butallvirtualmachinefilesremainintact
onthedatastore.
4 ClickOK.
Thevirtualmachineisdeletedorremovedfromtheinventory.
Youcanalsodeleteavirtualmachineorremoveitfromtheinventoryfromthehost
workspace.SeeRemovingaVirtualMachinefromtheInventoryonpage 108.
VMwareRemoteConsoleisinstalledasaWebbrowseraddonandexecutedfromthe
addondirectory.YoumustinstalltheVMwareRemoteConsoleaddonthefirsttime
youuseitwithaWebbrowserthatdoesnotalreadyhavetheaddoninstalled,and
whenanewversionoftheaddonisavailable.Formoreinformation,seeInstallingthe
VMwareRemoteConsoleAddOnonpage 52andStartingVMwareRemoteConsole
fromtheConsoleTabonpage 53.
YoucancontinuetouseVMwareRemoteConsoleifyoucloseyourWebbrowser.
To interact with the guest operating system using your mouse or keyboard
ClickinsidetheVMwareRemoteConsolewindow.
PressCtrl+Alt.IfVMwareToolsisinstalledinthevirtualmachine,youcanmovethe
cursorinandoutofthevirtualmachinetoquicklyswitchmouseandkeyboardcontrol
betweenthevirtualmachineandyourcomputer.
PressCtrl+Alt+InsertinsteadofCtrl+Alt+DeleteinthevirtualmachineonWindows
clientsystems.
YoucanalsoselectVMwareRemoteConsole>Troubleshooting>
Send Ctrl+Alt+Delete.
ClickthemaximizebuttonontheVMwareRemoteConsolewindow.
Thedesktopexpandstofillthescreen,leavingatoolbarvisibleatthetopofthescreen.
Clickthepushpinonthetoolbarsothatitisinadiagonalposition.
Clickthepushpinonthetoolbarsothatitisinahorizontalposition.Afterafewseconds
withnouse,mostofthetoolbardisappears.
Movethemousepointertothetopmiddleofthescreenwherethethinhorizontalarea
isvisible.
Clicktherestorebuttononthetoolbar.
PressCtrl+Alt.
YoucanconnectanddisconnecthostdevicesfromVMwareRemoteConsole.Devices
thatareconnectedtothehostsystemincludeonServerafterthenameintheDevices
menu.
YoucanalsouseVMwareRemoteConsoletoconnectvirtualmachinestoCD/DVDand
floppydrivesattachedtotheclientsystem.YoucanalsoconnecttoCD/DVD(.iso)and
floppy(.flp)imagefilesontheclientsystem.
SelectfromtheoptionsintheDevicesmenuandsubmenustoconnectanddisconnect
physicaldrives,ortobrowsetoanimagefile.Acheckmarknexttothenameofadevice
indicatesthatitisconnected.Ifthereisnocheckmark,thedeviceisnotconnected.
Onlyonemachinetheclientcomputer,hostcomputer,orvirtualmachinecanuse
CD/DVDorfloppydrivesatanyonetime.Ifyourvirtualmachineisconfiguredtouse
thedevice,andifyouwanttousethatdevicedirectlyonyourclientorhostcomputer,
makesureitisdisconnectedfromthevirtualmachine.
ResetAffectsyourvirtualmachineinthesamewaythatpressingthereset
buttonaffectsaphysicalcomputer.Sendingtheresetcommandturnsthepoweroff
andimmediatelyturnsitonagain.
SuspendandExitSuspendsthevirtualmachine.VMwareRemoteConsole
closes.
PowerOffandExitAffectsyourvirtualmachineinthesamewaythatturning
offthepoweraffectsaphysicalcomputer.Sendingthepoweroffcommandturns
thepoweroffandleavesitoff.VMwareRemoteConsolecloses.
SelectVMwareRemoteConsole>Troubleshoot>MessageLog.
SelectVMwareRemoteConsole>DisconnectandExit(Windows)or
VMware RemoteConsole>DisconnectandQuit(Linux).
ClicktheXintheupperrightcornerofthetoolbar.
WhenyouquitVMwareRemoteConsoleusingeitherofthesemethods,thevirtual
machineisnotpoweredofforsuspended.
QuittingVMwareRemoteConsoledisconnectsanyconnectedclientdevices.Ifyou
haveactiveclientdeviceconnections,youarepromptedtoconfirmthatyouwantto
quit.
VMwareRemoteConsoleclosesautomaticallywhenthevirtualmachineissuspended
orpoweredoff.
TheWebshortcutislikeanyWebbrowserURL,soyoucandoanyofthefollowing:
AddittoalistofWebpages
Shareitwithoneormoreusersinanemailmessage
NOTETotestaWebshortcut,useadifferentbrowserorcomputer.Ifyouuseyour
activeVI WebAccessbrowsersessiontotesttheWebshortcut,allinstancesofthat
browsermustbeclosedbeforeyoucanlogbackintoVI WebAccesswithfulluser
interfacecapabilities.
1 SelectthevirtualmachinefromwhichtogenerateaWebshortcutintheInventory
panel.
2 IntheStatussectionoftheSummarytab,clickGenerateVirtualMachine
Shortcut.
3 IntheWebShortcutsection,asampleURLisdisplayed.
4 (Optional)ExpandCustomizeWebShortcuttoselecttheuserinterfacefeatures:
SelectLimitworkspaceviewtotheconsoletoprovideaccesstotheConsole
tabwhilehidingotherdetailslikeeventlogs.
SelectLimitviewtoasinglevirtualmachinetodisableinventorynavigation.
SelectObfuscatethisURLtogenerateaURLthatobscurestheconnection
information.
5 CopytheWebshortcutforfutureuse.
6 ClickOKtoreturntotheSummarytab.
NOTEWhenusingInternetExplorer,youmustrestarttheWebbrowserafterinstalling
theVMwareRemoteConsoleaddonandbeforecreatingtheVMwareRemoteConsole
desktopshortcut.IfyoudonotrestartInternetExplorer,shortcutcreationwillfailwith
aJavaScripterror.
1 Selectthevirtualmachinefromwhichtogenerateadesktopshortcutinthe
Inventorypanel.
2 IntheStatussectionoftheSummarytab,clickGenerateVirtualMachine
Shortcut.
3 IntheDesktopShortcutsection,clickInstallDesktopShortcutto
<Virtual Machine>.
4 Confirmthatyouwanttocreatetheshortcutwhenprompted.
Theshortcutiscreatedonthedesktop.
5 ClickOKtoreturntotheSummarytab.
Savednotescanbeviewedbyotherusersofthevirtualmachine,soyoucanusethis
sectiontocommunicateinformationaboutthecurrentstateofthevirtualmachine.
1 SelectthevirtualmachineyouwanttoenternotesforintheInventorypanel.
2 IntheNotessectionoftheSummarytab,clickEdit.
3 Tosaveyourtext,clickSave.
Ifyoudonotwanttosaveyourchanges,clickCancel.
AnysavedtextappearsintheNotessectionoftheSummarytab.
Youcaneditexistinghardwareincluding:
ProcessorsForinformationabouteditingtheprocessorcount,seeEditing
VirtualProcessorsonpage 279andUsingTwoWayVirtualSymmetric
Multiprocessingonpage 278.
MemoryForinformationaboutoptimalvirtualmachinememoryallocation,see
AllocatingMemorytoaVirtualMachineonpage 277.Forinformationabout
howtoeditmemoryallocationforavirtualmachine,seeEditingVirtualMachine
Memoryonpage 277.
HardDisksForinformationaboutchangingthesettingsforanexistinghard
disk,seeEditingaVirtualHardDiskonpage 145.Forinformationabout
removingaharddisk,seeRemovingaHardDiskfromaVirtualMachineon
page 146.
NetworkAdaptersForinformationaboutchangingthesettingsforanexisting
virtualnetworkadapter,seeEditingaVirtualNetworkAdapteronpage 224.
CD/DVDDrivesForinformationaboutchangingthesettingsforanexisting
CD/DVDdrive,seeEditingaVirtualCD/DVDDriveonpage 152.For
informationaboutremovingaCD/DVDdrive,seeRemovingaCD/DVDDrive
fromaVirtualMachineonpage 153.
FloppyDrivesForinformationaboutchangingthesettingsforanexisting
CD/DVDdrive,seeEditingaVirtualFloppyDriveonpage 155.Forinformation
aboutremovingafloppydrive,seeRemovingaFloppyDrivefromaVirtual
Machineonpage 156.
Passthrough(Generic)SCSIDevicesForinformationaboutchangingthe
settingsforanexistingpassthroughSCSIdevice,seeEditingaVirtual
Passthrough(Generic)SCSIDeviceonpage 158.Forinformationaboutremoving
apassthroughSCSIdevice,seeRemovingaPassthrough(Generic)SCSIDevice
fromaVirtualMachineonpage 158.
USBControllerForinformationaboutconfiguringUSBdevices,see
ConfiguringUSBControllersandDevicesonpage 159.Forinformationabout
removingaUSBcontroller,seeRemovingaUSBControllerfromaVirtual
Machineonpage 160.
SoundAdapterForinformationaboutchangingthesettingsforasound
adapter,seeEditingaVirtualSoundAdapteronpage 165.Forinformation
aboutremovingasoundadapter,seeRemovingaSoundAdapterfromaVirtual
Machineonpage 166.
SerialPortsForinformationaboutchangingthesettingsforserialports,see
EditingaVirtualSerialPortonpage 169.Forinformationaboutremovinga
serialport,seeRemovingaSerialPortfromaVirtualMachineonpage 170.
ParallelPortsForinformationaboutchangingthesettingsforparallelports,see
EditingaVirtualParallelPortonpage 178.Forinformationaboutremovinga
parallelport,seeRemovingaParallelPortfromaVirtualMachineonpage 179.
Thevirtualmachinemustbepoweredofftoaddmosttypesofhardware.Youcanadd
aSCSIvirtualdisktoahardwareversion7virtualmachinewhenthevirtualmachine
ispoweredon.Insomecircumstances,youcanalsohotaddavirtualmachinewith
anearlierhardwareversion.SeeAddingaHardDisktoaVirtualMachineon
page 144.
1 SelectthevirtualmachinetomodifyfromtheInventorypanel.
2 Makesurethevirtualmachineispoweredoff,unlessyouareaddingaSCSIvirtual
harddisk.
Ifthevirtualmachineisnotalreadypoweredoff,shutdowntheguestoperating
system,andclickPowerOffontheVIWebAccesstoolbar.
3 IntheCommandssectionoftheSummarytab,clickAddHardware.
TheAddHardwarewizardopens.
4 Addhardwaretoanexistingvirtualmachine:
HardDisksSeeAddingaHardDisktoaVirtualMachineonpage 144.
NetworkAdaptersSeeAddingaNetworkAdaptertoaVirtualMachine
onpage 223.
CD/DVDDrivesSeeAddingaCD/DVDDrivetoaVirtualMachineon
page 151.
FloppyDrivesSeeAddingaFloppyDrivetoaVirtualMachineon
page 154.
Passthrough(Generic)SCSIDevicesSeeAddingaPassthrough(Generic)
SCSIDevicetoaVirtualMachineonpage 157.
USBControllerSeeAddingaUSBControllertoaVirtualMachineon
page 159.
SoundAdapterSeeAddingaSoundAdaptertoaVirtualMachineon
page 165.
SerialPortsSeeAddingaSerialPorttoaVirtualMachineonpage 166.
ParallelPortsSeeAddingaParallelPorttoaVirtualMachineon
page 177.
5 OntheReadytoCompletepage,dooneofthefollowing:
ClickBackornavigateusingthePagespaneltomakechanges.
Ifyouwanttopoweronthevirtualmachineimmediatelyafteraddingthenew
hardware,selectPoweronyourvirtualmachinenow.
ExpandMoreHardwaretoaddmorevirtualhardwaretothevirtualmachine
beforeyoufinish.
Eachtimeyoufinishaddinganewdevice,youreturntotheReadyto
Completepage.
ClickFinishtocreatethevirtualmachinewiththelistedhardware.
Thewizardaddsthehardwaretoyourvirtualmachine.
MakesurethatVMwareServercanaccessthemediaforinstallingthesoftware.
VerifythatthevirtualmachinehasaccesstotheCDROMdrive,ISOimagefile,or
floppydrive,asneeded.SeeChapter 8,ConfiguringVirtualMachineHardware,
onpage 141.
SetthefinalmemorysizeforyourvirtualmachineandinstallVMwareTools
beforeyouactivatethesoftware.
Someapplicationsuseaproductactivationfeaturethatcreatesakeybasedonthe
virtualhardwareinthevirtualmachinewhereitisinstalled.Changesinthe
configurationofthevirtualmachinemightrequireyoutoreactivatethesoftware.
Tominimizethenumberofsignificantchanges,setthememorysizeandinstall
VMwareTools.
IntherareinstancethatVMwareServerappearstohangwhenyouinstallorrun
softwareinsideavirtualmachine,considertemporarilydisablingaccelerationin
thevirtualmachine,asdescribedinChangingVirtualMachineAdvanced
Settingsonpage 127.Generally,theproblemoccursearlyintheprograms
execution.
VIXAPIforwritingprogramstoautomatevirtualmachineoperations TheAPI
ishighlevel,easytouse,andpracticalforbothscriptwritersandapplication
programmers.APIfunctionsallowyoutoregister,poweronoroffvirtual
machines,andrunprogramsintheguestoperatingsystems.Additionallanguage
bindingsareavailableforPerl,COM,andshellscripts(vmrun).Formore
information,seetheVMwareVIXAPIReleaseNotes.
Tolaunchthevmrunapplication,fromthecommandprompt,enter:
vmrun COMMAND [OPTION]
OnLinux,vmrunisinthedirectoryforVIXAPIbinaryfiles,typically/usr/bin.
BeforeusingthevmruncommandonaWindowshost,youmustdooneofthe
following:
ChangeyourworkingdirectorytotheVMwareServerdirectory.Thedefault
locationis:
AddtheVMwareVIXdirectorytothesystempath.OnWindows2000Server,
youcanchangethissettingfromtheWindowscontrolpanel:
ControlPanel>System>Advanced>EnvironmentVariables>
System variables>Path
VMCISocketsinterface ThisfeatureisasocketsinterfacefortheVirtual
MachineCommunicationInterface,whichprovidesafastermeansof
communicationamongapplicationsrunningonthehostandinvirtualmachines.
Thisfeatureiswellsuitedfordeveloperswhowanttowriteclientserver
applications.Formoreinformation,seetheVMCISocketsProgrammingGuide.
Toallowavirtualmachinetocommunicatewithothervirtualmachinesand
applicationsonthehost,youmustaddthevmci0.unrestricted configuration
fileparameterandsetittoTRUE,asdescribedinChangingVirtualMachine
AdvancedSettingsonpage 127.Ifvmci0.unrestrictedisnotsetorsetto
FALSE,thevirtualmachinecannotcommunicatewithothervirtualmachinesor
applicationsonthehost.
ConfiguringHardDisksonpage 141
ConfiguringCD/DVDDrivesonpage 150
ConfiguringFloppyDrivesonpage 154
ConfiguringPassthrough(Generic)SCSIDevicesonpage 156
ConfiguringSCSIControllersonpage 159
ConfiguringUSBControllersandDevicesonpage 159
ConfiguringSoundonpage 164
ConfiguringSerialPortsonpage 166
ConfiguringParallelPortsonpage 177
KeyboardMappingonLinuxHostsonpage 184
Thissectiondescribeshowtoadd,edit,andremovevirtualharddisks,andhowto
configuredisksettings.
Thissectiondescribesthesettingsyoucanconfigurewhenyouaddoreditavirtual
disk.
Ifthevirtualmachinedoesnothaveasnapshot,youcanincreasethemaximumdisk
sizewhenyoueditaSCSIvirtualdisk.
Agrowablediskiscreatedbydefault.Growablediskfilesuselessdiskspaceinitially
andgrowtotheirmaximumsizeonlyasadditionalspaceisneeded.However,ittakes
longertowritedatatogrowabledisks.
IfyouselectAllocatealldiskspacenow,alldiskspaceispreallocatedatthetimethe
diskiscreated.Thisprovidesbettervirtualmachineperformance.However,you
cannotshrinkthedisklater.
NOTEPreallocatingdiskspaceisatimeconsumingoperationthatcannotbecanceled
andrequiresasmuchphysicaldiskspaceastheamountyouspecifyforvirtualdisk
capacity.
YouarealsogiventheoptionSplitdiskinto2GBfiles.Selectthisoptionifyourvirtual
diskisstoredonafilesystem(suchasFAT16)thatdoesnotsupportfileslargerthan
2GB.
Ifyouhaveasnapshot,youmustremoveitbeforeyoucanchangethediskmodewhen
youeditavirtualdisk.SeeRemovingaSnapshotonpage 199.
IfyouselectIndependentMode,alsoselectoneofthefollowing:
PersistentDisksinpersistentmodebehavelikeconventionaldisksonyour
physicalcomputer.Alldatawrittentoadiskinpersistentmodearewritten
permanentlytothedisk.
NonpersistentChangestodisksinnonpersistentmodearediscardedwhenyou
powerofforresetthevirtualmachine.Nonpersistentmodeenablesyoutorestart
thevirtualmachinewithavirtualdiskinthesamestateeverytime.Changestothe
diskareactuallywrittentoandreadfromaredologfilethatisdeletedwhenyou
powerofforreset.
VirtualdiskscanbeconfiguredasIDEdisksforanyguestoperatingsystem.Theycan
besetupasSCSIdisksforanyguestoperatingsystemthathasadriverfortheLSILogic
(parallel),BusLogic(parallel),orLSILogicSASadapter.ThecorrectSCSIadapteris
automaticallychosenbasedonyourguestoperatingsystem.Ifyouneedtochangethe
adaptertype,followtheprocedureinConfiguringSCSIControllersonpage 159.
NOTEForWindowsXPguestsystems,theLSILogicadapterrequiresanaddondriver
fromtheLSILogicWebsite.ForWindowsXPandWindowsServer2003guestsystems,
theBusLogicadapterrequiresanaddondriverfromtheVMwareWebsite.Seethe
VMwareGuestOperatingSystemInstallationGuide.
Eithertypeofvirtualdiskcanbestoredoneithertypeofphysicalharddisk.For
example,thefilesthatmakeupanIDEvirtualdiskcanbestoredoneitheranIDEhard
diskoraSCSIharddisk.Virtualdiskscanalsobestoredonothertypesoffastaccess
storagemedia.
Anavailabledevicenodeisselectedbydefault.
OptimizeforsafetySavesallchangestothevirtualdiskimmediately.
OptimizeforperformanceAcknowledgeschangestothevirtualdisk
immediately,butsavesthematalatertime.
ItdoesnotmatterwhetherthedatastorelocationisonanIDEorSCSIphysicaldisk.An
IDEvirtualdiskcanbestoredoneitheranIDEphysicalharddiskoronaSCSIphysical
harddisk.SocanaSCSIvirtualdisk.
YoucanaddaSCSIvirtualdisktoahardwareversion7virtualmachinewhenthe
virtualmachineispoweredon.Forearliervirtualmachinehardwareversions,itis
possibletoaddaSCSIvirtualdiskwhenthevirtualmachineispoweredononlyifa
SCSIcontrollerwithanavailableslotalreadyexists.SCSIcontrollersarecreatedas
needed,butcannotbecreatedwhenthevirtualmachineispoweredonforvirtual
machineswithhardwareversionsearlierthan7.
ItisnotpossibletoaddanIDEvirtualdiskwhenthevirtualmachineispoweredon.
NOTEIfyouhaveaWindowsNT4.0guestwithaSCSIvirtualdisk,youcannotadd
bothanadditionalSCSIdiskandanIDEdisktotheconfiguration.
1 FromtheAddHardwareorNewVirtualMachinewizard,clickHardDisk.
ForinformationabouthowtostarttheAddHardwarewizard,seeAdding
HardwaretoaVirtualMachineonpage 137.
2 OntheHardDiskpage,clickoneofthefollowing:
CreateaNewVirtualDiskSelecttoaddanewblankharddisktoyour
virtualmachine.ThewizarddisplaysthePropertiespage,fromwhichyoucan
acceptorchangethedefaultvaluesfordiskcapacity,datastorelocation,file
allocationoptions,diskmode,virtualdevicenode,andcachingpolicy
settings.
UseanExistingVirtualDiskSelectifyouwanttoreuseorshareavirtual
harddiskthathasalreadybeencreated.ThewizarddisplaystheProperties
page,fromwhichyoucanbrowsetoavirtualdisk(.vmdk)fileyoucreated
previously.Afteryouselecttheexistingdiskfileusingthedatastorebrowser,
itscurrentpropertiesaredisplayed.Youcanmodifythediskmode,virtual
devicenode,andcachingpolicysettings.
3 MakeanyrequiredchangestothedefaultvaluesonthePropertiespage,andclick
Next.
FordetailedinformationaboutsettingsyoucanconfigureonthePropertiespage,
seeHardDiskTypesandPropertiesonpage 142.
TheReadytoCompletepagedisplaysthehardwaresettings.
4 Reviewtheconfigurationsummary,andclickFinishtocompletethewizard.
Thewizardcreatesthenewvirtualdisk.
Thevirtualdiskappearstoyourguestoperatingsystemasanewblankharddisk.Use
theguestoperatingsystemsutilitiestopartitionandformatthenewdisk.
Thefileallocationoptionsaredisplayedandcannotbechanged.Whenthevirtual
machineispoweredoff,youcanmodifythevirtualdevicenode.
Ifthevirtualmachinedoesnothaveasnapshot,youcanalsodothefollowing:
IncreasethediskcapacityforaSCSIvirtualdisk.Thevirtualmachinemustbe
poweredoff.
Changethediskmode.
1 SelectthevirtualmachineintheInventorypanel.
2 Ifrequiredtochangethesetting,makesurethatthevirtualmachineispoweredoff.
3 IntheHardwaresectionoftheSummarytab,clicktheharddisktomodifyand
selectEdit.
TheHardDiskdialogboxdisplaysinformationaboutthedisk,includingthe
datastoreitisin,thelocationofthefirstfileassociatedwiththedisk,thedisk
capacity,whetherthediskisgrowableorpreallocated,andwhetherthediskspans
multiplefiles.
4 (Optional)Forvirtualdiskswithsettingsthatallowyoutoincreasethedisk
capacity,clickIncreaseCapacityandenteranewvalueintheIncreaseByor
New Capacityfield.Theotherfieldisautomaticallyadjustedtoreflectthechange.
Ifyouhaveasnapshot,youmustremoveitbeforeyoucanchangethedisk
capacity.YoucanonlychangethediskcapacityforSCSIvirtualdisks.Thevirtual
machinemustbepoweredoff.
SeeDiskCapacitySettingonpage 142.
5 (Optional)IntheVirtualDeviceNodesection,selectanadapteranddevicenode
fromthedropdownmenus.
SeeDeviceTypeandNodeSettingsonpage 143.
6 (Optional)IntheDiskModesection,selectwhetherornottorunthediskin
IndependentMode.Anindependentdiskcanbepersistentornonpersistent.
DisksinIndependentModearenotaffectedbysnapshots.
Ifyouhaveasnapshot,youmustremoveittochangethediskmode.See
RemovingaSnapshotonpage 199.
AlsoseeDiskModeSettingsonpage 142.
7 (Optional)InthePoliciessection,selectthewritecachingpolicyforthedisk.
SeeDiskWriteCachingPolicySettingonpage 143.
8 ClickOKtosaveyourchanges.
1 SelectthevirtualmachineintheInventorypanel.
2 Makesurethatthevirtualmachineispoweredoff.
3 IntheHardwaresectionoftheSummarytab,clicktheharddisktoremoveand
selectoneofthefollowing:
RemoveRemovestheharddiskfromthevirtualmachine.
DeletefromDiskRemovestheharddiskfromthevirtualmachineand
deletestheassociateddiskfilesfromthehostsystem.
4 Adialogboxasksyoutoconfirmthatyouwanttoremovethedisk.Ifyouwantto
removeit,clickYes.
Thevirtualdiskisremoved.
Beforeyoubegin,makesurethatyouhaveadequatefreeworkingspaceonthehost
system.Ifyourvirtualdiskiscontainedinasinglefile,forexample,youneedfreespace
equaltothesizeofthevirtualdisk.Othervirtualdiskconfigurationsrequirelessfree
space.
Defragmentationdoesnotreclaimunusedspaceonavirtualdisk.Forinformation
abouthowtoreclaimunusedspace,seeShrinkingVirtualDisksonpage 147.
1 Runadiskdefragmentationutilityinsidetheguestoperatingsystem.
Forexample,inaWindowsXPguestoperatingsystem,usetheWindowsXPDisk
Defragmenterutility.
2 Runadiskdefragmentationutilityonthehostsystem.
Defragmentingdiskscantakeconsiderabletime.
Onlyshrinkvirtualdiskswhentheamountofusedspaceonthevirtualharddiskis
significantlylowerthanthesizeofthe.vmdkfilesassociatedwiththevirtualdisk.For
informationaboutthefilesassociatedwithavirtualdisk,seeAppendix B,FilesThat
MakeUpaVirtualMachine,onpage 323.
Beforeshrinkingavirtualdisk,makesurethatthefollowingprerequisitesaremet:
VMwareToolsisinstalledintheguestoperatingsystem.
Thehostsystemhasfreediskspaceequaltothesizeofthevirtualdiskyouplanto
shrink.
Thediskspaceisnotpreallocatedforthevirtualdisk.Ifthediskspaceis
preallocated,youcannotshrinkthedisk.(ClicktheharddiskandselectEditto
determinehowdiskspaceisallocated.)
Thevirtualmachinedoesnothaveasnapshot.Toremoveanexistingsnapshot,see
RemovingaSnapshotonpage 199.
Ifthevirtualdiskisanindependentdisk,itmustbepersistent.SeeDiskMode
Settingsonpage 142.
NOTETheshrinkprocessappliestoallvirtualdisks,evenifyoudonotprepareallthe
virtualdisksinavirtualmachineforshrinking.
1 LaunchtheVMwareToolscontrolpanel:
ForaWindowsguest,doubleclicktheVMwareToolsiconinthenotification
areaofthetaskbar.
Iftheiconisnotavailable,selectStart>Settings>ControlPanel,and
doubleclickVMwareTools.
ForaLinux,Solaris,orFreeBSDguest,openaterminalwindow,becomeroot,
andrunvmware-toolbox.
Ifyoushrinkdisksasanonrootuser,youcannotwipethepartsofthevirtual
diskthatrequirerootlevelpermissions.
2 IntheVMwareToolscontrolpanel,clicktheShrinktab.
Ifthevirtualmachinedoesnotallowshrinking,theShrinktabshowsthereason.
3 SelectthevirtualdiskstoshrinkandclickPreparetoShrink.
Ifyoudeselectsomepartitions,thewholediskisstillshrunk.However,those
partitionsarenotwipedforshrinking,andtheshrinkprocessdoesnotreducethe
sizeofthevirtualdiskasmuchasitwouldwithallpartitionsselected.
VMwareToolsreclaimsallunusedportionsofdiskpartitions(suchasdeletedfiles)
andpreparesthemforshrinking.Duringthisphase,youcanstillinteractwiththe
virtualmachine.
WhenVMwareToolsfinisheswipingtheselecteddiskpartitions,apromptto
shrinkthedisksappears.
4 ClickYes.
Shrinkingdiskscantakeconsiderabletime.
5 ClickOK.
Unlikeaphysicaldisk,youcanenlargeavirtualdisksothatthemaximumcapacityis
largerthanitwaswhenyoucreatedit.Thisisusefulifyouneedmorediskspaceina
givenvirtualmachine,butdonotwanttoaddanothervirtualdiskorifyouuse
ghostingsoftwaretotransferthedataonavirtualdisktoalargervirtualdisk.
Youcanalsochangedisktypes.Whenyoucreateavirtualmachine,youspecifyhow
diskspaceisallocated,asfollows:
Allspaceforthevirtualdiskisallocatedinadvance.Thiscorrespondstothe
preallocateddisktypeforVirtualDiskManager.
Spaceallocatedforthevirtualdiskgrowsasneeded.Thiscorrespondstothe
growabledisktypeforVirtualDiskManager.
Ifyouallocateallthediskspaceforavirtualdiskbutlaterneedtoreclaimsomehard
diskspaceonthehost,youcanconvertthepreallocatedvirtualdiskintoagrowable
disk.Thenewvirtualdiskisstilllargeenoughtocontainallthedataintheoriginal
virtualdisk.
Youcanalsochangewhetherthevirtualdiskisstoredinasinglefileorsplitinto2GB
files.
SeetheVMwaretechnicalnoteaboutusingVirtualDiskManager.
Thissectiondescribeshowtoadd,edit,andremoveCD/DVDdrivesonthehost,and
howtoconfiguredrivesettings.
YoucanuseCD/DVDdrivestoreaddataDVDROMdiscs.DVDvideoisnot
supported.
YoucanconfigureuptofourbootablevirtualCDROMs.
Ifyourunmorethanonevirtualmachineatatime,andiftheirCD/DVDdrivesarein
emulationmode,startthevirtualmachineswiththeirCD/DVDdrivesdisconnected.
ThisensuresthatyoudonothavemultiplevirtualmachinesconnectedtotheCD/DVD
driveatthesametime.
1 FromtheAddHardwareorNewVirtualMachinewizard,clickCD/DVDDrive.
ForinformationabouthowtostarttheAddHardwarewizard,seeAdding
HardwaretoaVirtualMachineonpage 137.
2 SelectanoptionunderHostMediatoconnecttoadriveorISOimageonthe
VMwareServerhost.
ClickUseaPhysicalDrivetoconnectthevirtualmachinesdrivetoaphysical
driveonthehostsystem.
ClickUseanISOImagetoconnectthevirtualmachinesdrivetoanISOimage
fileonthehostsystem.
3 ClickNext.
4 DooneofthefollowingonthePropertiespage:
IfyouselectedUseaPhysicalDrive,specifythedrivetouse.
IfyouselectedUseanISOImage,clickBrowsetonavigatetoafilewiththe
.isoextensioninanexistingdatastore.Toenterthepathmanually,youmust
usetheformat:
[ datastore_name ] path_and_filename.iso
5 (Optional)Tohavethedriveconnecttothevirtualmachinewhenyoupoweron,
selectConnectatpoweron(thedefault).
6 (Optional)IntheVirtualDeviceNodesection,selectanadapteranddevicenode
fromthedropdownmenus.
Formoreinformation,seeChoosingaDeviceTypefortheCD/DVDDriveon
page 150.
7 ClickNext.
TheReadytoCompletepagedisplaysthehardwaresettings.
8 Reviewtheconfigurationsummary,andclickFinishtocompletethewizard.
1 SelectthevirtualmachineintheInventorypanel.
2 IntheHardwaresectionoftheSummarytab,clicktheCD/DVDdrivetomodify
andselectEdit.
3 SelectHostMediatoconfigureaphysicaldriveorISOimagefileonthehost
system.
IfyouwanttouseaCD/DVDdriveonaclientsystem,selectClientMedia.Using
VI WebAccess,youcanonlychangethedevicenodeforclientdevices,as
describedinStep 6.UseVMwareRemoteConsoletoselectandconnector
disconnecttheclientdevice.SeeConnectingandDisconnectingClientDevices
onpage 132.
4 (Optional)IntheDeviceStatussection,selectConnectatpowerontohavethe
driveconnecttothevirtualmachinewhenyoupoweron.
5 IntheConnectionsection,selectPhysicalDriveorISOImage.
IfyouselectPhysicalDrive,selectthedrivetouseandselectoneofthe
following:
ATAPIEmulationSelectiftheguestoperatingsystemdoesnotwork
correctlywhencommunicatingdirectlywiththeCD/DVDdrive.For
moreinformation,seeUsingATAPIEmulationforCD/DVDDriveson
page 150.
AccessthedrivedirectlySelecttohavetheguestoperatingsystem
communicatedirectlywiththeCD/DVDdrive.Formoreinformation,see
AccessingtheCD/DVDDriveDirectlyonpage 151.
IfyouselectISOImage,clickBrowsetonavigatetoafilewiththe.iso
extensioninanexistingdatastore.ToentertheISOpathmanually,youmust
usetheformat:
[ datastore_name ] path_and_filename.iso
6 (Optional)IntheVirtualDeviceNodesection,selectanadapteranddevicenode
fromthedropdownmenus.
Formoreinformation,seeChoosingaDeviceTypefortheCD/DVDDriveon
page 150.
7 ClickOKtosaveyourchanges.
1 SelectthevirtualmachineintheInventorypanel.
2 Makesurethatthevirtualmachineispoweredoff.
3 IntheHardwaresectionoftheSummarytab,clicktheCD/DVDdrivetoremove
andselectRemove.
4 Adialogboxasksyoutoconfirmthatyouwanttoremovethedevice.Ifyouwant
toremoveit,clickYes.
Thedeviceisremoved.
Thissectiondescribeshowtoadd,edit,andremovefloppydrivesonthehost,andhow
toconfiguredrivesettings.
Youcanadduptotwofloppydrivestoyourvirtualmachine.Avirtualfloppydrivecan
connecttoaphysicalfloppydriveonthehostsystem,anexistingfloppyimagefile,or
anewblankfloppyimagefile.
1 FromtheAddHardwareorNewVirtualMachinewizard,clickFloppyDrive.
ForinformationabouthowtostarttheAddHardwarewizard,seeAdding
HardwaretoaVirtualMachineonpage 137.
2 SelectanoptionunderHostMediatoconnecttoafloppydriveorfloppyimageon
theVMwareServerhost.
ClickUseaPhysicalDrivetoconnectthevirtualfloppydrivetoaphysical
driveonthehostsystem.
ClickUseaFloppyImagetoconnectthevirtualfloppydrivetoafloppy
imagefileonthehostsystem.
3 ClickNext.
4 DooneofthefollowingonthePropertiespage:
IfyouselectedUseaPhysicalDrive,selectthedrivetouse.
IfyouselectedUseanexistingfloppyimageorCreateablankfloppyimage,
clickBrowsetonavigatetoafilewiththe.flpextensioninanexisting
datastore.Toenterthepathmanually,youmustusetheformat:
[ datastore_name ] path_and_filename.flp
5 (Optional)Tohavethedriveconnecttothevirtualmachinewhenyoupoweron,
selectConnectatpoweron(thedefault).
6 ClickNext.
TheReadytoCompletepagedisplaysthehardwaresettings.
7 Reviewtheconfigurationsummary,andclickFinishtocompletethewizard.
NOTEBydefault,onlyonefloppydriveisenabledinthevirtualmachinesBIOS.Ifyou
areaddingasecondfloppydrivetothevirtualmachine,configurethevirtualmachine
toentertheBIOSsetuputilitywhenitboots,asdescribedinChangingVirtual
MachinePowerSettingsonpage 125.Onthemainscreen,selectLegacyDisketteB:
andusetheplus(+)andminus()keysonthenumericalkeypadtoselectthetypeof
floppydriveyouwanttouse.PressF10tosaveyourchangesandclosetheBIOSsetup
utility.
Youcanconnectonlyonevirtualfloppydrivetoeachphysicaldriveonthehostsystem.
Thephysicaldevicecanbeconnectedtoonlyonevirtualmachineatatime.
1 SelectthevirtualmachineintheInventorypanel.
2 IntheHardwaresectionoftheSummarytab,clickthefloppydrivetomodifyand
selectEdit.
3 SelectHostMediatoconfigureaphysicaldriveorfloppyimagefileonthehost
system.
Ifyouwanttouseafloppydriveonaclientsystem,selectClientMedia.Use
VMwareRemoteConsoletoselectandconnectordisconnecttheclientdevice.See
ConnectingandDisconnectingClientDevicesonpage 132.
4 (Optional)IntheDeviceStatussection,selectConnectatpowerontohavethe
driveconnecttothevirtualmachinewhenyoupoweron.
5 IntheConnectionsection,specifywhethertoconnecttoaphysicaldriveora
floppyimage.SelectPhysicalDrive,FloppyImage,orNewFloppyImage.
IfyouselectPhysicalDrive,selectaphysicaldriveonthehostsystemfrom
thedropdownmenu.
IfyouselectFloppyImage,clickBrowsetonavigatetoafilewiththe.flp
extensioninanexistingdatastore.Toenterthepathmanually,youmustuse
theformat:
[ datastore_name ] path_and_filename.flp
IfyouselectNewFloppyImage,clickBrowsetonavigatetoanewblank
floppyimagefilewiththe.flpextensioninanexistingdatastore.Toenterthe
pathmanually,youmustusetheformat:
[ datastore_name ] path_and_filename.flp
6 ClickOKtosaveyourchanges.
1 SelectthevirtualmachineintheInventorypanel.
2 Makesurethatthevirtualmachineispoweredoff.
3 IntheHardwaresectionoftheSummarytab,clickthefloppydriveandselect
Remove.
4 Adialogboxasksyoutoconfirmthatyouwanttoremovethedevice.Ifyouwant
toremoveit,clickYes.
Thedeviceisremoved.
Intheory,genericSCSIiscompletelydeviceindependent,butVMwarehasdiscovered
thatitissensitivetotheguestoperatingsystem,deviceclass,andspecificSCSI
hardware.TryanySCSIhardwareandreportproblemstoVMwaretechnicalsupport.
Youcanadd,edit,andremovegenericSCSIdevices.
Beforeyoubegin,makesurethatyouhavethefollowingrequiredpermissions:
OnWindowshosts,youmustrunVMwareServerasauserwithadministrator
access.
OnLinuxhosts,youmustbeloggedonasauserwhohasreadandwrite
permissionstousethedevice.
1 FromtheAddHardwareorNewVirtualMachinewizard,clickPassthroughSCSI
Device.
ForinformationabouthowtostarttheAddHardwarewizard,seeAdding
HardwaretoaVirtualMachineonpage 137.
2 SelectaSCSIdevicetouse.
AphysicalSCSIdevicemustbeattachedtothedevice,anditmustbeconnectedto
thevirtualmachine.
3 (Optional)IntheVirtualDeviceNodesection,selectaSCSIadapteranddevice
nodefromthedropdownmenus.
4 ClickOK.
1 SelectthevirtualmachineintheInventorypanel.
2 IntheHardwaresectionoftheSummarytab,clicktheSCSIdevicetomodifyand
selectEdit.
3 (Optional)UnderConnection,selectthephysicaldevicetouse.
4 (Optional)UnderVirtualDeviceNode,selectaSCSIdeviceadapterandan
availablenodefromthedropdownmenus.
5 ClickOKtosaveyourchanges.
1 SelectthevirtualmachineintheInventorypanel.
2 Makesurethatthevirtualmachineispoweredoff.
3 IntheHardwaresectionoftheSummarytab,clicktheSCSIdeviceandselect
Remove.
4 Adialogboxasksyoutoconfirmthatyouwanttoremovethedevice.Ifyouwant
toremoveit,clickYes.
Thedeviceisremoved.
YoucanedittheSCSIcontrollerdevicetype.
CAUTIONChangingthedevicetypebeforeyouinstallthecorrespondingdriverinthe
guestoperatingsystemmightpreventthevirtualmachinefrombooting.SeeDevice
TypeandNodeSettingsonpage 143.
1 SelectthevirtualmachineintheInventorypanel.
2 IntheHardwaresectionoftheSummarytab,clicktheSCSIcontrollerandselect
Edit.
3 ClickModifydevicetypetochangetheSCSIcontrollerdevicetype.
ThechoicesareBusLogicorLSILogicparallelinterfaces.Forhardwareversion7
virtualmachines,youcanalsoselectLSISASserialinterface.
4 ClickOK.
ForinformationabouthowtostarttheAddHardwarewizard,seeAdding
HardwaretoaVirtualMachineonpage 137.
TheReadytoCompletepagedisplaysthehardwaresetting.
2 Reviewtheconfigurationsummary,andclickFinishtocompletethewizard.
Whenthevirtualmachineispoweredon,aUSBcontrollermenuappearsinthetoolbar.
UseittoconnecttoUSBdevices,asdescribedinConnectingUSBDeviceson
page 160.
1 SelectthevirtualmachineintheInventorypanel.
2 Makesurethatthevirtualmachineispoweredoff.
3 IntheHardwaresectionoftheSummarytab,clicktheUSBcontrollerandselect
Remove.
4 Adialogboxasksyoutoconfirmthatyouwanttoremovethecontroller.Ifyou
wanttoremoveit,clickYes.
TheUSBcontrollerisremoved.
WhenyouphysicallypluganewUSBdeviceintothehostsystem,thedeviceisinitially
connectedtothehost.ThedevicenameisalsoaddedtothePluggedintoHostlistin
theUSBcontrollertoolbarmenusothatyoucanconnectittothevirtualmachine,as
describedinthissection.
IfthephysicalUSBdeviceisconnectedtothehostsystemthroughahub,thevirtual
machineseesonlytheUSBdevice,notthehub.
1 SelectthevirtualmachineintheInventorypanel.
2 FromtheUSBcontrollermenuinthetoolbar,selectthedeviceyouwanttoconnect
tointhePluggedintoHostlist.
WhentheUSBdeviceisconnectedtothevirtualmachine,itappearsasselectedinthe
toolbarmenu.
1 SelectthevirtualmachineintheInventorypanel.
2 FromtheUSBcontrollermenuinthetoolbar,deselectthedeviceyouwantto
disconnect.
TheUSBdevicereturnstothedeselectedstateinthetoolbarmenu.
USB2.0supportisavailableonlyforVMwareproductsthatsupportvirtualmachine
hardwareversion6or7,suchasVMwareServer2andWorkstation6.Yourhost
machinemustalsosupportUSB2.0.
Onthehostsystem,whenaUSB2.0deviceconnectstoaport,thedeviceconnectsto
theEHCIcontrollerandoperatesinUSB2.0mode.AUSB1.1deviceisautomatically
connectedtoaUHCIcontrollerandoperatesinUSB1.1mode.Thisenablesyouto
connecttohighspeedorisochronousUSBdevicessuchaswebcams,speakers,and
microphones.
AlthoughyourhostoperatingsystemmustsupportUSB,youdonotneedtoinstall
devicespecificdriversforyourUSBdevicesinthehostoperatingsystemtousethose
devicesonlyinthevirtualmachine.
NOTEWindowsNTandLinuxkernelsolderthan2.2.17donotsupportUSB.
OnWindowsXPguests,besuretoinstallthelatestservicepackifyouwanttouseUSB
2.0.IfyouuseWindowsXPwithnoservicepacks,thedriverfortheEHCIcontroller
cannotbeloaded.
VMwarehastestedavarietyofUSBdeviceswiththisrelease.Withtheappropriate
guestoperatingsystemdrivers,youcanusePDAs,printers,storage(disk)devices,
scanners,MP3players,digitalcameras,andmemorycardreaders.
OnsomeWindowshostsystems,confirmationisrequiredintheFoundNewHardware
wizard.Selectthedefaultaction,Installthesoftwareautomatically.Afterthesoftware
isinstalled,theguestoperatingsystemdetectstheUSBdeviceandsearchesfora
suitabledriver.
WhenyouaresynchronizingaPDAtoavirtualmachineforthefirsttime,thetotaltime
requiredtoloadtheVMwareUSBdevicedriverinthehostandthePDAdriverinthe
guestmightexceedthedevicesconnectiontimeoutvalue.Thiscausesthedeviceto
disconnectitselffromthecomputerbeforetheguestcansynchronizewithit.Ifthis
occurs,lettheguestfinishinstallingthePDAdriver,dismissanyconnectionerror
warnings,andtrysynchronizingthePDAagain.Thesecondattemptusuallysucceeds.
1 OpentheDeviceManager,asfollows:
a RightclickMyComputerandselectProperties.
b ClicktheHardwaretabandclickDeviceManager.
2 ExpandthelistingforUniversalSerialBuscontrollers.
3 RightclickthelistingforthecontrollerandselectProperties.
4 ClicktheDrivertab.
IfthedriverprovidershownonthatpageisMicrosoft,youhavethecorrectdriver
already.
IfthedriverproviderisnotMicrosoft,downloadthelatestUSBdriverforyourhost
operatingsystemfromtheMicrosoftWebsiteandfollowtheMicrosoftinstructionsto
installit.DetailsareavailableinMicrosoftknowledgebasearticle319973.
IfyourhostoperatingsystemusesadifferentpathtotheUSBdevicefilesystem,run
thefollowingcommandasroottomountthefilesystemtotheexpectedlocation:
mount -t usbfs none /proc/bus/usb
DonotattempttoaddaUSBdrivesdevicenode(forexample,/dev/sda)directoryto
thevirtualmachineasaharddisk.
CAUTIONOnWindows2000andWindowsServer2003hosts,youneedtotakea
specialsteptodisconnectUSBnetworkandstoragedevicesfromthehostbefore
connectingthemtoavirtualmachine.Usetheappropriatesystemtrayiconto
disconnectthedevicefromthehost.OnWindows2000,theiconiscalledEject
Hardware,andonWindowsServer2003,itiscalledSafelyRemoveHardware.
OnWindowshosts,whenyouconnectaUSBnetworkorstoragedevicetoavirtual
machine,youmightseeamessageonyourhostthatsaysthedevicecanberemoved
safely.Thisisnormalbehavior,andyoucandismissthedialogbox.However,donot
removethedevicefromyourphysicalcomputer.
Undersomecircumstances,ifaUSBstoragedeviceisinuseonthehost(forexample,
oneormorefilesstoredonthedeviceareopenonthehost),anerrorappearsinthe
virtualmachinewhenyoutrytoconnecttothedevice.Youmustletthehostcomplete
itsoperationorcloseanyapplicationconnectedtothedeviceonthehost,andthen
connecttothedeviceinthevirtualmachineagain.
Ifyourdeviceisinusebythehost,youcanunloadthedevicedrivermanuallyasroot
(su -)byusingthermmodcommand.Or,ifthedriverwasautomaticallyloadedby
hotplug,youcandisableitinthehotplugconfigurationfilesinthe/etc/hotplug
directory.SeeyourLinuxdistributionsdocumentationfordetailsoneditingthese
configurationfiles.
Sometimesdevicesthatrelyonautomaticconnection(asPDAsoftendo)experience
connectionproblems.Ifyouhavesuccessfullyusedautoconnectiontoconnectthe
devicetoyourvirtualmachinebutlaterexperienceproblemswiththeconnectiontothe
device,trythefollowingprocedure.
1 Disconnectandreconnectthedevicebyunpluggingitphysicallyandpluggingit
backin.
2 Ifyouseeadialogboxwarningthatthedeviceisinuse,disableitinthehotplug
configurationfilesinthe/etc/hotplugdirectory.
Followtheproceduresthatthedevicemanufacturerspecifiesforunpluggingthedevice
fromaphysicalcomputer.Thisisrequiredwhetheryouarephysicallyunpluggingit,
movingitfromhosttovirtualmachine,movingitbetweenvirtualmachines,ormoving
itfromvirtualmachinetohost.Thisisespeciallyimportantwithdatastoragedevices
(suchasaZipdrive).Ifyoumoveadatastoragedevicetoosoonaftersavingafile,and
theoperatingsystemhasnotactuallywrittenthedatatothedisk,youcanlosedata.
Configuring Sound
VMwareServerprovidesasounddevicecompatiblewiththeCreativeLabsSound
BlasterAudioPCIadapterandsupportssoundinavarietyofWindowsandLinuxguest
operatingsystems.
SoundsupportincludesPCM(pulsecodemodulation)outputandinput.Forexample,
youcanplay.wavfiles,MP3audio,andRealMediaaudio.MIDIoutputfromWindows
guestsissupportedthroughtheWindowssoftwaresynthesizer.MIDIinputisnot
supported,andnoMIDIsupportisavailableforLinuxguests.
Windows2000,WindowsXP,andmostrecentLinuxdistributionsautomaticallydetect
thesounddeviceandinstallappropriatedriversforit.
WhenyouinstallVMwareToolsina64bitWindowsVistaguestoperatingsystem,a
sounddriverisinstalled.For32bitWindowsVistaguestsandWindows2003Server
guests,useWindowsUpdatetoinstalla32bitdriver.Windows95,Windows98,
Windows98SE,andWindowsNT4.0donothavedriversfortheSoundBlaster
AudioPCIadapter.Tousesoundintheseguestoperatingsystems,downloadthedriver
fromtheCreativeLabsWebsite(www.creative.com)andinstallitintheguest
operatingsystem.CreativeLabshasanumberofWebsitesservingvariousregionsof
theworld.Theadapternamevaries,dependingontheregion,butusuallyincludes
PCI 128.
1 FromtheAddHardwareorNewVirtualMachinewizard,clickSoundAdapter.
ForinformationabouthowtostarttheAddHardwarewizard,seeAdding
HardwaretoaVirtualMachineonpage 137.
2 OnthePropertiespage,selectthephysicalsoundadapteronthehostmachine,or
selectAutoDetect(thedefault)todetectthesoundadapterautomatically.
3 (Optional)Toconnectthisvirtualmachinetothesoundadapterwhenthevirtual
machineispoweredon,selectConnectatpoweron(thedefault).
4 ClickNext.
TheReadytoCompletepagedisplaysthehardwaresettings.
5 Reviewtheconfigurationsummary,andclickFinishtocompletethewizard.
1 SelectthevirtualmachineintheInventorypanel.
2 IntheHardwaresectionoftheSummarytab,clickthesoundadaptertomodify
andselectEdit.
3 (Optional)Toconnectthisvirtualmachinetothesoundadapterwhenthevirtual
machineispoweredon,selectConnectatpoweron.
4 Selectthephysicalsoundadapteronthehostmachine,orselectAutoDetectto
detectthesoundadapterautomatically.
5 ClickOKtosaveyourchanges.
1 SelectthevirtualmachineintheInventorypanel.
2 Makesurethatthevirtualmachineispoweredoff.
3 OntheSummarytab,clickthesoundadapterandselectRemove.
4 Adialogboxasksyoutoconfirmthatyouwanttoremovethedevice.Ifyouwant
toremoveit,clickYes.
Thedeviceisremoved.
Aphysicalserialportonthehostsystem
Anoutputfileonthehostsystem
Anamedpipe
1 FromtheAddHardwareorNewVirtualMachinewizard,clickSerialPort.
ForinformationabouthowtostarttheAddHardwarewizard,seeAdding
HardwaretoaVirtualMachineonpage 137.
2 ClickUsePhysicalSerialPorttoconnecttoaphysicalportonthehostmachine.
3 OnthePropertiespage,selectaphysicalportfromthedropdownmenu.
4 (Optional)Toconnecttothehostsserialportwhenthevirtualmachineispowered
on,selectConnectatpoweron(thedefault).
5 (Optional)ExpandI/OModetoselectYieldCPUonpoll,whichisdeselectedby
default.
Thekernelinthetargetvirtualmachineusesthevirtualserialportinpolledmode,
notinterruptmode.Formoreinformation,seeYieldingCPUonPolltoImprove
PerformanceWhenDebuggingonpage 176.
6 ClickNext.
TheReadytoCompletepagedisplaysthehardwaresettings.
7 Reviewtheconfigurationsummary,andclickFinishtocompletethewizard.
1 FromtheAddHardwareorNewVirtualMachinewizard,clickSerialPort.
ForinformationabouthowtostarttheAddHardwarewizard,seeAdding
HardwaretoaVirtualMachineonpage 137.
2 ClickUseOutputFiletosendtheoutputofanapplicationrunningintheguest
systemtoafileonthehostsystem.
3 OnthePropertiespage,enterthepathandfilenamefortheoutputfileorclick
Browsetonavigatetoafileinanexistingdatastore.Toenterthepathmanually,
youmustusetheformat:[ datastore_name ] path_and_filename
4 (Optional)Toconnecttothehostsoutputfilewhenthevirtualmachineispowered
on,selectConnectatpoweron(thedefault).
5 (Optional)ExpandI/OModetoselectYieldCPUonpoll,whichisdeselectedby
default.
Thekernelinthetargetvirtualmachineusesthevirtualserialportinpolledmode,
notinterruptmode.Formoreinformation,seeYieldingCPUonPolltoImprove
PerformanceWhenDebuggingonpage 176.
6 ClickNext.
TheReadytoCompletepagedisplaysthehardwaresettings.
7 Reviewtheconfigurationsummary,andclickFinishtocompletethewizard.
ForinformationabouthowtostarttheAddHardwarewizard,seeAdding
HardwaretoaVirtualMachineonpage 137.
2 ClickUseNamedPipetoconnectthisvirtualmachinetoanapplicationoranother
virtualmachinerunningonthehostmachine.
3 OnthePropertiespage,enterthepathandfilenameforthepipe.Dependingonthe
hostsystem,enteroneofthefollowing:
OnWindowshosts:Thepipenamemustbeintheformat
\\.\pipe\<namedpipe>.Thenamemustbeginwith\\.\pipe\.
OnLinuxhosts:Thepipenamemustbe/tmp/<socket>oranotherUNIX
socketnameofyourchoice.
4 ForNearEnd,selectwhethertheapplicationrunningintheguestoperating
systemwillfunctionasaserveroraclient.
SelectIsaservertostartthisendoftheconnectionfirst.
SelectIsaclienttostartthefarendoftheconnectionfirst.
5 ForFarEnd,specifywheretheapplicationthatthevirtualmachinewillconnectto
islocated.
SelectIsavirtualmachineiftheapplicationthatthevirtualmachinewill
connecttoislocatedonanothervirtualmachineonthehostsystem.
SelectIsanapplicationiftheapplicationthatthevirtualmachinewillconnect
toisrunningdirectlyonthehostsystem.
6 (Optional)Toconnecttothenamedpipewhenthevirtualmachineispoweredon,
selectConnectatpoweron(thedefault).
7 (Optional)ExpandI/OModetoselectYieldCPUonpoll,whichisdeselectedby
default.
Thekernelinthetargetvirtualmachineusesthevirtualserialportinpolledmode,
notinterruptmode.Formoreinformation,seeYieldingCPUonPolltoImprove
PerformanceWhenDebuggingonpage 176.
8 ClickNext.
TheReadytoCompletepagedisplaysthehardwaresettings.
9 Reviewtheconfigurationsummary,andclickFinishtocompletethewizard.
1 SelectthevirtualmachineintheInventorypanel.
2 Makesurethatthevirtualmachineispoweredoff.
3 IntheHardwaresectionoftheSummarytab,clicktheserialporttomodify.
4 (Optional)Toconnecttotheserialportwhenthevirtualmachineispoweredon,
selectConnectatpoweron.
5 Selecttheconnectiontypeandconfigureitasfollows:
PhysicalSelectthehostserialportfromthedropdownmenu.
FileEnterthepathandfilenamefortheoutputfileorclickBrowseto
navigatetoafileinanexistingdatastore.Toenterthepathmanually,youmust
usetheformat:[ datastore_name ] path_and_filename
NamedPipeEnterthepathandfilenameforthepipe.
UnderNearEnd,specifywhethertheapplicationrunningintheguest
operatingsystemwillfunctionasaserveroraclient.
SelectIsaservertostartthisendoftheconnectionfirst.
SelectIsaclienttostartthefarendoftheconnectionfirst.
UnderFarEnd,specifywheretheapplicationthatthevirtualmachinewill
connecttoislocated.
SelectIsavirtualmachineiftheapplicationthatthevirtualmachinewill
connecttoislocatedonanothervirtualmachineonthehost.
SelectIsanapplicationiftheapplicationthatthevirtualmachinewill
connecttoisrunningdirectlyonthehostmachine.
6 (Optional)SelectYieldCPUonpoll.
Thekernelinthetargetvirtualmachineusesthevirtualserialportinpolledmode,
notinterruptmode.Formoreinformation,seeYieldingCPUonPolltoImprove
PerformanceWhenDebuggingonpage 176.
7 ClickOKtosaveyourchanges.
1 SelectthevirtualmachineintheInventorypanel.
2 Makesurethatthevirtualmachineispoweredoff.
3 IntheHardwaresectionoftheSummarytab,clicktheserialportandselect
Remove.
4 Adialogboxasksyoutoconfirmthatyouwanttoremovethedevice.Ifyouwant
toremoveit,clickYes.
Thedeviceisremoved.
Connectavirtualserialporttoaphysicalserialportonthehostsystem
Connectavirtualserialporttoafileonthehostsystem
Connectavirtualmachinewithanapplicationrunningonthehostsystem
Connecttwovirtualmachinesonthesamehostsystem
Thissectionprovidesspecificexamplesofthelattertwoconfigurations.
1 FromtheAddHardwareorNewVirtualMachinewizard,clickSerialPort.
ForinformationabouthowtostarttheAddHardwarewizard,seeAdding
HardwaretoaVirtualMachineonpage 137.
2 ClickUseNamedPipe.
3 OnthePropertiespage,enterthepathandfilenameforthepipe.Dependingonthe
hostsystem,enteroneofthefollowing:
OnWindowshosts:Thepipenamemustbeintheformat
\\.\pipe\<namedpipe>.Thenamemustbeginwith\\.\pipe\.
OnLinuxhosts:Thepipenamemustbe/tmp/<socket>oranotherUNIX
socketnameofyourchoice.
4 FortheNearEnd,selectIsaserverorIsaclient.
SelectIsaserverifyouplantostartthisendoftheconnectionfirst.
5 FortheFarEnd,selectIsanapplication.
6 (Optional)Toconnecttothenamedpipewhenthevirtualmachineispoweredon,
selectConnectatpoweron(thedefault).
7 (Optional)ExpandI/OModetoselectYieldCPUonpoll,whichisdeselectedby
default.
Thekernelinthetargetvirtualmachineusesthevirtualserialportinpolledmode,
notinterruptmode.Formoreinformation,seeYieldingCPUonPolltoImprove
PerformanceWhenDebuggingonpage 176.
8 ClickNext.
TheReadytoCompletepagedisplaysthehardwaresettings.
9 Reviewtheconfigurationsummary,andclickFinishtocompletethewizard.
10 Onyourhostsystem,configuretheapplicationthatcommunicateswiththevirtual
machinetousethesamepipename(foraWindowshost)ortheUNIXsocketname
(foraLinuxhost).
11 Poweronthevirtualmachine.
Thefollowingproceduresdescribehowtosetuptheserverandtheclienttoconnectto
eachotherusingvirtualserialports.
1 FromtheAddHardwareorNewVirtualMachinewizard,clickSerialPort.
ForinformationabouthowtostarttheAddHardwarewizard,seeAdding
HardwaretoaVirtualMachineonpage 137.
2 ClickUseNamedPipe.
3 OnthePropertiespage,enterthepathandfilenameforthepipe.Dependingonthe
hostsystem,enteroneofthefollowing:
OnWindowshosts:Thepipenamemustbeintheformat
\\.\pipe\<namedpipe>.Thenamemustbeginwith\\.\pipe\.
OnLinuxhosts:Thepipenamemustbe/tmp/<socket>oranotherUNIX
socketnameofyourchoice.
4 SelectThisendistheserver.
5 SelectTheotherendisavirtualmachine.
6 (Optional)Toconnecttothenamedpipewhenthevirtualmachineispoweredon,
selectConnectatpoweron(thedefault).
7 (Optional)ExpandI/OModetoselectYieldCPUonpoll,whichisdeselectedby
default.
Thekernelinthetargetvirtualmachineusesthevirtualserialportinpolledmode,
notinterruptmode.Formoreinformation,seeYieldingCPUonPolltoImprove
PerformanceWhenDebuggingonpage 176.
8 ClickNext.
TheReadytoCompletepagedisplaysthehardwaresettings.
9 Reviewtheconfigurationsummary,andclickFinishtocompletethewizard.
10 Poweronthevirtualmachine.
1 FromtheAddHardwareorNewVirtualMachinewizard,clickSerialPort.
ForinformationabouthowtostarttheAddHardwarewizard,seeAdding
HardwaretoaVirtualMachineonpage 137.
2 ClickUseNamedPipe.
3 OnthePropertiespage,enterthepathandfilenameforthepipe.Dependingonthe
hostsystem,enteroneofthefollowing:
OnWindowshosts:Thepipenamemustbeintheformat
\\.\pipe\<namedpipe>.Thenamemustbeginwith\\.\pipe\.
OnLinuxhosts:Thepipenamemustbe/tmp/<socket>oranotherUNIX
socketnameofyourchoice.
4 SelectThisendistheclient.
5 SelectTheotherendisavirtualmachine.
6 (Optional)Toconnecttothenamedpipewhenthevirtualmachineispoweredon,
selectConnectatpoweron(thedefault).
7 (Optional)ExpandI/OModetoselectYieldCPUonpoll,whichisdeselectedby
default.
Thekernelinthetargetvirtualmachineusesthevirtualserialportinpolledmode,
notinterruptmode.Formoreinformation,seeYieldingCPUonPolltoImprove
PerformanceWhenDebuggingonpage 176.
8 ClickNext.
TheReadytoCompletepagedisplaysthehardwaresettings.
9 Reviewtheconfigurationsummary,andclickFinishtocompletethewizard.
10 Poweronthevirtualmachine.
Thefollowingexamplesillustratehowtouseavirtualserialporttodebugkernelcode:
WiththedebuggingapplicationontheVMwareServerhost(Windowshostonly)
Withthedebuggingapplicationinanothervirtualmachineonthesame
VMware Serverhost(LinuxorWindows)
Eitherofthesemethodsenablesyoutodebugkernelcodeonasinglesystem,instead
ofrequiringtwophysicalcomputers,amodem,oraserialcable.
FollowthestepsinConnectingaVirtualMachinewithanApplicationontheHost
Systemonpage 170,andconfigurethevirtualmachinesvirtualserialportasfollows:
FortheNearEnd,selectIsaserver.
SelectYieldCPUonpoll.Thekernelinthetargetvirtualmachineusesthevirtual
serialportinpolledmode,notinterruptmode.
Beforeyoubegin,makesurethatyouhaveaversionofDebuggingToolsforWindows
thatsupportsdebuggingoverapipe.Youmusthaveversion4.0.18.0orhigher.
1 Poweronthevirtualmachine.
2 Edittheserialport.
3 Makesurethattheserialportisconnected.
4 Confirmthepathandfilenameforthepipe.Dependingonthehostsystem,enter
oneofthefollowing:
OnWindowshosts:Thepipenamemustbeintheformat
\\.\pipe\<namedpipe>.Thenamemustbeginwith\\.\pipe\.
OnLinuxhosts:Thepipenamemustbe/tmp/<socket>oranotherUNIX
socketnameofyourchoice.
5 Atthecommandpromptonthehostsystem,dooneofthefollowing:
IfyouareusingWinDbg,enterthefollowing:
windbg -k com:port=\\.\pipe\<namedpipe>,pipe
IfyouareusingKD,enterthefollowing:
kd -k com:port=\\.\pipe\<namedpipe>,pipe
6 PressEntertostartdebugging.
ThissetupisusefulifyouarerunningVMwareServeronaLinuxhost.Thedebugger
virtualmachinemustberunningDebuggingToolsforWindows(WinDbg)orKernel
Debugger(KD)inaWindowsguestoperatingsystem.
1 FollowthestepsfortheservervirtualmachineinConnectingTwoVirtual
Machinesonpage 172.
2 Whenyouconfigurethetargetvirtualmachinesvirtualserialport,youmustselect
YieldCPUonpoll.Thekernelinthetargetvirtualmachineusesthevirtualserial
portinpolledmode,notinterruptmode.
1 MakesurethatyouhavedownloadedDebuggingToolsforWindows.
2 FollowthestepsfortheclientvirtualmachineinConnectingTwoVirtual
Machinesonpage 172.
1 Poweronbothvirtualmachines.
2 Makesurethattheserialportisconnected.
3 Inthedebuggervirtualmachine,startdebuggingwithWinDbgorKD.
Thisoptionisusefulwhentheserialportisbeingusedbytheguestoperatingsystem
inpolledmodeasopposedtointerruptmode.Polledmodecausesthevirtualmachine
toconsumeadisproportionateshareofCPUtime,whichcancausethehostandother
gueststorunsluggishly.
1 Usetheguestoperatingsystemtoconfiguretheserialportforthehighestsetting
supportedbytheapplicationyouarerunninginthevirtualmachine.
2 Poweroffthevirtualmachine.
3 Addtheserial<n>.pipe.charTimePercentparametertoyourvirtual
machinesconfiguration(.vmx)fileasdescribedinChangingVirtualMachine
AdvancedSettingsonpage 127,andsetittoapositiveintegervalue,asfollows:
nisthenumberoftheserialport,startingfrom0.Sothefirstserialportis
serial0.
Thevalueisapositiveintegerthatspecifiesthetimetakentotransmita
character,expressedasapercentageofthedefaultspeedsetfortheserialport
intheguestoperatingsystem.Forexample,asettingof200forcestheportto
taketwiceaslongpercharacter,orsenddataathalfthedefaultspeed.A
settingof50forcestheporttotakehalfaslongpercharacter,orsenddataat
twicethedefaultspeed.
Tosettheserialportspeedappropriatelyintheguestoperatingsystem,
experimentwiththissetting.Startwithavalueof100andgraduallydecrease
ituntilyoufindthehighestspeedatwhichyourconnectionworksreliably.
4 Poweronthevirtualmachine.
Avirtualparallelportcanconnecttoaparallelportorafileonthehostsystem.
1 FromtheAddHardwareorNewVirtualMachinewizard,clickParallelPort.
ForinformationabouthowtostarttheAddHardwarewizard,seeAdding
HardwaretoaVirtualMachineonpage 137.
2 ClickUseaphysicalparallelporttoconnecttoaphysicalportonthehost
machine.
3 OnthePropertiespage,selectaphysicalportfromthedropdownmenu.
4 (Optional)Toconnecttothehostsserialportwhenthevirtualmachineispowered
on,selectConnectatpoweron(thedefault).
5 ClickNext.
TheReadytoCompletepagedisplaysthehardwaresettings.
6 Reviewtheconfigurationsummary,andclickFinishtocompletethewizard.
1 SelectthevirtualmachineintheInventorypanel.
2 FromtheAddHardwareorNewVirtualMachinewizard,clickParallelPort.
ForinformationabouthowtostarttheAddHardwarewizard,seeAdding
HardwaretoaVirtualMachineonpage 137.
3 ClickOutputfile.
4 OnthePropertiespage,typethepathandfilenamefortheoutputfileorclick
Browsetonavigatetoafileinanexistingdatastore.Toenterthepathmanually,
youmustusetheformat:[ datastore_name ] path_and_filename
5 (Optional)Toconnecttothehostsserialportwhenthevirtualmachineispowered
on,selectConnectatpoweron(thedefault).
6 ClickNext.
TheReadytoCompletepagedisplaysthehardwaresettings.
7 Reviewtheconfigurationsummary,andclickFinishtocompletethewizard.
1 SelectthevirtualmachineintheInventorypanel.
2 Makesurethatthevirtualmachineispoweredoff.
3 IntheHardwaresectionoftheSummarytab,clicktheparallelporttomodify.
4 Toconnecttotheparallelportwhenthevirtualmachineispoweredon,select
Connectatpoweron.
5 Selecttheconnectiontypeandconfigureitasfollows:
PhysicalSelectthehostparallelportfromthedropdownmenu.
FileEnterthepathandfilenamefortheoutputfileorclickBrowseto
navigatetoafileinanexistingdatastore.Toenterthepathmanually,youmust
usetheformat:[ datastore_name ] path_and_filename
6 ClickOKtosaveyourchanges.
1 SelectthevirtualmachineintheInventorypanel.
2 Makesurethatthevirtualmachineispoweredoff.
3 IntheHardwaresectionoftheSummarytab,clicktheparallelporttoremoveand
selectRemove.
4 Adialogboxasksyoutoconfirmthatyouwanttoremovethedevice.Ifyouwant
toremoveit,clickYes.
Thedeviceisremoved.
Currently,VMwareServerprovidesonlypartialemulationofPS/2hardware.
Interruptsrequestedbyadeviceconnectedtothephysicalportarenotpassedtothe
virtualmachine.Also,theguestoperatingsystemcannotuseDMA(directmemory
access)tomovedatatoorfromtheport.Forthisreason,notalldevicesthatattachto
theparallelportareguaranteedtoworkcorrectly.
Youcanattachuptothreeparallelportstoavirtualmachine.Thevirtualparallelport
canconnecttoaparallelportorafileonthehostoperatingsystem.
InaWindows95orWindows98guest,afteryouaddtheport,runtheguestoperating
systemsAddNewHardwarewizard(Start>Settings>ControlPanel>AddNew
Hardware)soWindowscandetectthenewdevice.
Linuxkernelversion
Deviceaccesspermissions
Requiredmodules
ThevmppusermoduleissuppliedbyVMwareServertoallowvirtualmachines
userlevelaccesstotheparallelport.
1 Determinewhethertheparport,parport_pc,andvmppusermodulesare
installedandrunningonyoursystembyrunningthelsmodcommandastheroot
user.
Allthreemodulesmustbeincludedinthelistingofrunningmodules.Youcanalso
lookatthe/proc/modulesfileforthesamelist.
2 Toloadthepropermodules,runthiscommand:
insmod <modulename>
3 Ifnoneofthelistedparallelportmodulesisloaded,enterthiscommand:
insmod parport_pc
Thiscommandinsertsthethreemodulesneededforaparallelport.
Ifyoucontinuetohaveproblems,itispossiblethatthelpmoduleisrunning.Ifit
is,thevirtualmachinecannotusetheparallelportcorrectly.
4 Ifthelpmoduleisloaded,runthefollowingcommandastherootusertoremove
it:
rmmod lp
5 Verifythatthelinereferringtothelpmoduleinthe/etc/modules.confor
/etc/conf.modulesfileisremovedorcommentedoutbyinsertingahash
character(#)atthebeginningoftheline.Thenameoftheconfigurationfile
dependsontheLinuxdistributionyouareusing.
Whenyourebootthehostafterremovingthisline,theconfigurationfilenolonger
startsthelpmodule.
6 Toensurethatthepropermodulesfortheparallelportareloadedatboottime,add
thefollowinglinetothe/etc/modules.confor/etc/conf.modulesfile:
alias parport_lowlevel parport_pc
Alsomakesurethatyouenablesupportforuserspaceparalleldevicedrivers
(CONFIG_PPDEV).
1 Determinewhethertheparport,parport_pc,andppdevmodulesareinstalled
andloadedonyoursystembyrunningthelsmodcommandastherootuser.
Allthreemodulesmustbeincludedinthelistingofloadedmodules.Youcanalso
lookatthe/proc/modulesfileforthesamelist.
2 Toloadthepropermodules,runthiscommand:
insmod <modulename>
3 Ifnoneofthelistedparallelportmodulesisloaded,usethiscommand:
insmod parport_pc
4 Usethiscommandtoloadtheppdevmodule:
insmod ppdev
Ifyoucontinuetohaveproblems,itispossiblethatthelpmoduleisloaded.Ifit
is,thevirtualmachinecannotusetheparallelportcorrectly.
5 Ifthelpmoduleisloaded,runthiscommandastherootusertoremoveit:
rmmod lp
6 Verifythatthelinereferringtothelpmoduleinthe/etc/modules.confor
/etc/conf.modulesfileisremovedorcommentedoutbyinsertingahash
character(#)atthebeginningoftheline.Thenameoftheconfigurationfile
dependsontheLinuxdistributionyouareusing.
Whenyourebootthehostafterremovingthisline,theconfigurationfilenolonger
startsthelpmodule.
7 Toensurethatthepropermodulesfortheparallelportareloadedatboottime,add
thislinetothe/etc/modules.confor/etc/conf.modulesfile:
alias parport_lowlevel parport_pc
Linuxkernelsinthe2.4.xseriesalsouseaspecialarbitratorthatallowsaccesstothe
parallelporthardware.Iftheparallelportisinusebythehost,theguestcannotuseit.
Ifavirtualmachineisusingtheparallelport,thehostandanyusersaccessingthehost
arenotgivenaccesstothedevice.VMwareServerputsalockonthedevice,andthis
lockrestrictsaccesssothatonlythevirtualmachinecanusetheport.
In2.6.xkernels,loadingparport_pcdoesnotloadallmodules.
2 Ifnoneofthelistedparallelportmodulesisloaded,usethiscommand:
modprobe parport_pc && modprobe ppdev
Thiscommandinsertsthemodulesneededforaparallelport.
Ifyoucontinuetohaveproblems,itispossiblethatthelpmoduleisloaded.Ifit
is,thevirtualmachinecannotusetheparallelportcorrectly.
3 Ifthelpmoduleisloaded,runthiscommandastherootusertoremoveit:
rmmod lp
4 Verifythatthelinereferringtothelpmoduleinthe/etc/modules.confor
/etc/conf.modulesfileisremovedorcommentedoutbyinsertingahash
character(#)atthebeginningoftheline.Thenameoftheconfigurationfile
dependsontheLinuxdistributionyouareusing.
Whenyourebootthehostafterremovingthisline,theconfigurationfilenolonger
startsthelpmodule.
5 Toensurethatthepropermodulesfortheparallelportareloadedatboottime,add
thislinetothe/etc/modules.confor/etc/conf.modulesfile:
alias parport_lowlevel parport_pc
Linuxkernelsinthe2.6.xseriesalsouseaspecialarbitratorthatallowsaccesstothe
parallelporthardware.Iftheparallelportisinusebythehost,theguestcannotuseit.
Ifavirtualmachineisusingtheparallelport,thehostandanyusersaccessingthehost
arenotgivenaccesstothedevice.VMwareServerputsalockonthedevice,andthis
lockrestrictsaccesssothatonlythevirtualmachinecanusetheport.
Device Permissions
SomeLinuxdistributionsdonotgrantthevirtualmachineaccesstothelpand
parportdevicesbydefault.Inmostofthesecases,theownerofthedeviceisrootand
theassociatedgroupislp.ToallowtheVMwareusertoaccessthedevice,addtheuser
totheassociatedgroup.Toviewtheownerandgroupofthedevice,runthiscommand:
ls la /dev/parport0
Thethirdandfourthcolumnsoftheoutputshowtheownerandgroup,respectively.
Toaddtheusertothedevicegroup,editthe/etc/groupfile.Onthelinebeginning
withlp,whichdefinesthelpgroup,addtheVMwareServerusersusername.You
mustmakethischangeastherootuser.Thefollowinglineprovidesanexamplefora
userwhoseusernameisuserj.
lp::7:daemon,lp,userj
Thenexttimetheuserlogsontothehost,thechangestakeeffect.
Somelanguagespecifickeyboardsdonotappeartobesupportedby
VMware Server.
Someofthekeysonthekeyboarddontworkcorrectlyinthevirtualmachine.
Thekeyboardworksfinewhenyourunavirtualmachinelocally,butnotwhen
yourunthesamevirtualmachinewitharemoteXserver.
IfyourkeyboardworkscorrectlywithalocalXserver,andyouwantthesamebehavior
witharemoteXserver(whichisalsoanXFree86serverrunningonaPC),poweroffthe
virtualmachineandclosetheVMwareServerwindow.Addthefollowingsettingtothe
virtualmachineconfiguration(.vmx)fileorto~/.vmware/config:
xkeymap.usekeycodeMapIfXFree86 = "TRUE"
Makethischangeonthehostmachine,whereyourunthevirtualmachine,notonthe
machinewiththeremoteXserver.
IfyouareusinganXFree86basedserverthatVMwareServerdoesnotrecognizeasan
XFree86server,usethissettinginstead:
xkeymap.usekeycodeMap = "TRUE"
IfyouareusinganXFree86serverrunninglocally,andthekeyboarddoesnotwork
correctly,reporttheproblemtoVMwaretechnicalsupport.
Internally,VMwareServerusesasimplifiedversionofthePCscancodethatisasingle
ninebitnumericvalue,calledavscancode.Avscancodeiswrittenasathreedigit
hexadecimalnumber.Thefirstdigitis0or1.Forexample,thelefthandCtrlkeyhasa
onebytescancode(0x1d);itsvscancodeis0x01d.TherighthandCtrlkeyscancode
istwobytes(0xe0,0x1d);itsvscancodeis0x11d.
AnXserverusesatwolevelencodingofkeys.AnXkeycodeisaonebytevalue.The
assignmentofkeycodestokeysdependsontheXserverimplementationandthe
physicalkeyboard.Asaresult,anXapplicationcannotusekeycodesdirectly.Instead,
thekeycodesaremappedintokeysymsthathavenameslikespace,escape,x,and2.
ThemappingcanbecontrolledbyanXapplicationusingthe
XChangeKeyboardMapping functionorthexmodmapprogram.Youcanusexevtoview
thekeycodesandkeysymsforkeystypedintoitswindow.
Akeycodecorrespondsroughlytoaphysicalkey,whileakeysymcorrespondstothe
symbolonthekeytop.Forexample,withanXFree86serverrunningonaPC,theZkey
ontheGermankeyboardhasthesamekeycodeastheYkeyonanEnglishkeyboard.
TheGermanZkeysym,however,isthesameastheEnglishZkeysym,anddifferent
fromtheEnglishYkeysym.
ForanXFree86serveronaPC,thereisaonetoonemappingfromXkeycodestoPC
scancodes(orvscancodes,whichiswhatVMwareServerreallyuses).VMwareServer
takesadvantageofthisfact.WhenitisusinganXFree86serveronthelocalhost,ituses
thebuiltinmappingfromXkeycodestovscancodes.Thismappingiskeyboard
independentandiscorrectformost,ifnotall,languages.Whenyouarenotusingan
XFree86serveroralocalserver,VMwareServermustmapkeysymstovscancodesby
usingasetofkeyboardspecifictables.
xkeymap.usekeycodeMapIfXFree86 = "TRUE"
UsekeycodemappingifyouareusinganXFree86server,evenifitisremote.
xkeymap.usekeycodeMap = "TRUE"
Alwaysusekeycodemappingregardlessofservertype.
xkeymap.nokeycodeMap = "TRUE"
Neverusekeycodemapping.
Ifyouareusingkeycodemapping,mapkeycode<code>to<v-scan code>.In
thisexample,<code>mustbeadecimalnumberand<v-scan code>isaCsyntax
hexadecimalnumber(forexample,0x001).
TheeasiestwaytofindtheXkeycodeforakeyistorunxevorxmodmap -pk.Mostof
thevscancodesarecoveredinVScanCodeTableonpage 188.Thekeysym
mappingtablesdescribedinthissectionarealsohelpful.
Usethisfeaturetomakesmallmodificationstothemapping.Forexample,toswapleft
CtrlandCapsLock,usethefollowingsettings:
xkeymap.keycode.64 = "0x01d # X Caps_Lock -> VM left ctrl"
xkeymap.keycode.37 = "0x03a # X Control_L -> VM caps lock"
TheseconfigurationlinescanbeaddedtoyourpersonalVMwareServerconfiguration
(~/.vmware/config),oreventothehostwide(/etc/vmware/config)or
installationwide(usually/usr/lib/vmware/config)configuration.
Whichtableyouusedependsonthekeyboardlayout.Thenormaldistributionincludes
tablesforPCkeyboardsfortheUnitedStatesandanumberofEuropeancountriesand
languages.Andformostofthese,thereareboththe101key(or102key)andthe
104key(or105key)variants.
VMwareServerautomaticallydetermineswhichtabletousebyexaminingthecurrent
Xkeymap.However,itsmappingmightnotbecorrect.Inaddition,eachmappingis
fixedandmightnotbecompletelycorrectforagivenkeyboardandXkey
codetokeysymmapping.Forexample,ausermighthaveswappedCtrlandCaps
Lockusingxmodmap.Thismeansthekeysareswappedinthevirtualmachinewhen
usingaremoteserver(keysymmapping),butarenotswappedwhenusingalocal
server(keycodemapping).
Therefore,keysymmappingisnecessarilyinexact.Tomakeupforthis,youcancontrol
mostofthebehaviorusingconfigurationsettings:
xkeymap.language = "<keyboard-type>"
UsethissettingifVMwareServerhasatableinxkeymapforyourkeyboardbut
cannotdetectit.<keyboard-type>mustbeoneofthetablesinthexkeymap
directory.(Seeaboveforlocation.)However,thefailuretodetectthekeyboard
probablymeansthatthetableisnotcompletelycorrectforyou.
Ifyouusekeysymmapping,mapkeysym<sym>to<v-scan code>.Whenyoudo,
<sym>mustbeanXkeysymnameand<v-scan code>isaCsyntaxhexadecimal
number(forexample,0x001).
Theeasiestwaytofindthekeysymnameforakeyistorunxevorxmodmap -pk.
TheXheaderfile/usr/include/X11/keysymdef.hhasacompletelistof
keysyms.(ThenameofakeysymisthesameasitsCconstantwithouttheXK_
prefix.)MostvscancodesareinVScanCodeTableonpage 188.
Thexkeymaptablesthemselvesarealsohelpful.Usethemtofixsmallerrorsinan
existingmapping.
xkeymap.fileName = "<file-path>"
Usethekeysymmappingtablein<file-path>.Atableisasequenceof
configurationlinesusingthefollowingformat:
<sym> = "<v-scan code>"
where<sym>isanXkeysymname,and<v-scan code>isaCsyntaxhexadecimal
number(forexample,0x001).(Seetheexplanationofxkeymap.keysymabovefor
tipsonfindingthekeysymsandvscancodesforyourkeyboard.)
Compilingacompletekeysymmappingisdifficult.Itisbesttostartwithan
existingtableandmakesmallchanges.
Esc 0x001
1 ! 0x002
2 @ 0x003
3 # 0x004
4 $ 0x005
5 % 0x006
6 ^ 0x007
7 & 0x008
8 * 0x009
9 ( 0x00a
0 ) 0x00b
_ 0x00c
= + 0x00d
Backspace 0x00e
Tab 0x00f
Q 0x010
W 0x011
E 0x012
Table 8-1. V-Scan Codes for the 104-Key U.S. Keyboard (Continued)
Symbol Shifted Symbol Location V-Scan Code
R 0x013
T 0x014
Y 0x015
U 0x016
I 0x017
O 0x018
P 0x019
[ { 0x01a
] } 0x01b
Enter 0x01c
A 0x01e
S 0x01f
D 0x020
F 0x021
G 0x022
H 0x023
J 0x024
K 0x025
L 0x026
; 0x027
0x028
` 0x029
\ | 0x02b
Z 0x02c
X 0x02d
C 0x02e
V 0x02f
Table 8-1. V-Scan Codes for the 104-Key U.S. Keyboard (Continued)
Symbol Shifted Symbol Location V-Scan Code
B 0x030
N 0x031
M 0x032
, < 0x033
. > 0x034
/ ? 0x035
Spacebar 0x039
CapsLock 0x03a
F1 0x03b
F2 0x03c
F3 0x03d
F4 0x03e
F5 0x03f
F6 0x040
F7 0x041
F8 0x042
F9 0x043
F10 0x044
ScrollLock 0x046
5 numericpad 0x04c
Table 8-1. V-Scan Codes for the 104-Key U.S. Keyboard (Continued)
Symbol Shifted Symbol Location V-Scan Code
F12 0x058
/ numericpad 0x135
Menu 0x15d
The84keykeyboardhasaSysReqkeyonthenumericpad.Itsvscancodeis0x054.
KeyboardsoutsidetheU.S.usuallyhaveanextrakey(often<>or<>|)nexttotheleft
shiftkey.Thevscancodeforthiskeyis0x056.
Thischapterincludesthefollowingtopics:
SuspendingandResumingVirtualMachinesonpage 193
UsingSnapshotsonpage 195
Thespeedofthesuspendandresumeoperationsdependsonhowmuchdatahas
changedduringthetimethatthevirtualmachinewasrunning.Thefirstsuspend
operationtypicallytakeslongerthanlatersuspendoperations.
Whenyouresumeanddoadditionalworkinthevirtualmachine,youcannotreturnto
thestatethatthevirtualmachinewasinatthetimeitwassuspended.Topreservethe
stateofthevirtualmachinesothatyoucanreturntothesamestaterepeatedly,takea
snapshot,asdescribedinUsingSnapshotsonpage 195.
Beforeyoubegin,makesurethatVMwareToolsisinstalledintheguestoperating
system.SeeChapter 5,InstallingandUsingVMwareTools,onpage 73.
OnWindowsguests,whenyoudoasoftsuspend,ascriptreleasestheIPaddressifthe
guestoperatingsystemisusingDHCP.OnLinux,FreeBSD,andSolarisguests,the
scriptstopsnetworkingforthevirtualmachine.WhenyouresumeaWindowsguest,a
scriptgetsanewIPaddressfromDHCP.OnLinux,FreeBSD,andSolarisguests,
networkingrestarts.
1 IntheCommandssectionofthevirtualmachinesSummarytab,clickConfigure
VM.
2 ClickthePowertab.
3 InthePowerControlssection,specifyahardsuspend(Suspend),softsuspend
(SuspendGuest),ordefault(SystemDefault)operation.
WhenVMwareToolsisnotinstalled,theSystemDefaultactionistosuspendthe
virtualmachinewithoutsuspendingtheguest.WhenVMwareToolsisinstalled,
theSystemDefaultactionistosuspendtheguestbeforesuspendingthevirtual
machine.
4 IntheVMwareToolsScriptssection,selectoneormorecheckboxestoruna
VMwareToolsscriptbeforesuspendingorafterresumingtheguest.SeeScripts
Tabonpage 94.
5 ClickOK.
Forinformationonadditionalhardandsoftpoweroperationsandotherpowercontrol
settings,seeChangingVirtualMachinePowerSettingsonpage 125.
Beforesuspendingavirtualmachine,configurethehardsuspendorsoftsuspend
settings.SeeConfiguringHardSuspendorSoftSuspendonpage 194.
1 SelectthevirtualmachinethatispoweredonintheInventorypanel.
2 ClicktheSuspendbuttononthetoolbar.
Whenyoususpendavirtualmachine,afilewitha.vmssextensioniscreatedin
theworkingdirectory.Thisfilecontainstheentirestateofthevirtualmachine.See
FilesThatMakeUpaVirtualMachineonpage 323.
1 SelectthesuspendedvirtualmachineintheInventorypanel.
2 ClickthePlaybuttononthetoolbar.
Whenyouresumethevirtualmachine,itsstateisrestoredfromthe.vmssfile.
Using Snapshots
Snapshotsallowyoutopreservethestateofthevirtualmachinesoyoucanreturnto
thesamestaterepeatedly.Forexample,youmightusesnapshotstotestsoftware.You
cantakeasnapshotbeforeinstallingdifferentversionsofanapplicationtoensurethat
eachtestinstallationbeginsfromtheidenticalbaseline.
Tosavethecurrentstateofyourvirtualmachinetemporarily,seeSuspendingand
ResumingVirtualMachinesonpage 193.
Snapshotscanminimizelostworkifsomethinggoeswrong.Ifyourriskyactionscause
noproblems,youcantakeanewsnapshotofthevirtualmachineinitsnewstate.
MemorystateContentsofthevirtualmachinesmemory.
ConfigurationstateVirtualmachinesettings.
DiskstateStateofthevirtualmachinesvirtualdisks.
NOTEThestateoftheindependentdisksisnotpreservedwhenyoutakea
snapshot.SeeExcludingVirtualDisksfromSnapshotsonpage 198.
Whenyoureverttoasnapshot,youreturnthevirtualmachinesmemory,settings,and
diskstothestatetheywereinwhenyoutookthesnapshot.Ifyouwantthevirtual
machinetobesuspended,poweredon,orpoweredoffwhenyoulaunchit,besureitis
inthestateyouwantwhenyoutakethesnapshot.
Consideracaseinwhichyoutakeasnapshotwhilethevirtualmachineisdownloading
afilefromaserveronthenetwork.Afteryoutakethesnapshot,thevirtualmachine
continuesdownloadingthefile,communicatingitsprogresstotheserver.Ifyourevert
tothesnapshot,communicationsbetweenthevirtualmachineandtheserverarelost
andthefiletransferfails.
Orconsideracaseinwhichyoutakeasnapshotwhileanapplicationinthevirtual
machineissendingatransactiontoadatabaseonaseparatemachine.Ifyourevertto
thatsnapshotafterthetransactionstartsbutbeforeithasbeencommitted,thedatabase
couldbeinconsistent.
Theproceduretoconfigurethehostwidesettingtoenableanddisablebackground
snapshotsisdescribedinEnablingandDisablingBackgroundSnapshotson
page 115.
RemoveasnapshotWhenyouremovethesnapshot,thechangesaccumulated
intheredologfilesarewrittenpermanentlytothebasevirtualdiskfiles.
ReverttoasnapshotWhenyoureverttothesnapshot,thecontentsoftheredo
logfilesarediscarded.
TakeasnapshotIfyoutakeasnapshotwhenthevirtualmachinealreadyhasa
snapshot,thechangesaccumulatedintheredologfilesarewrittenpermanentlyto
thebasevirtualdiskfiles.Anysubsequentchangesaccumulateinnewredologs.
Redologfilesandvirtualdiskfileshavea.vmdkextensionandarestoredinthevirtual
machinesworkingdirectory.Formoreinformationaboutthefilesthatmakeupa
virtualmachine,includingsnapshotfiles,seeAppendix B,FilesThatMakeUpa
VirtualMachine,onpage 323.
Whenyouaddanewvirtualdisk,settheDiskModetoIndependentModeifyoudo
notwantittobeaffectedbysnapshots,asdescribedinAddingaHardDisktoaVirtual
Machineonpage 144.
Youcanexcludeexistingvirtualdisksfromasnapshotbychangingthediskmode.If
youhaveasnapshot,youmustremoveitbeforeyoucanchangethediskmode.See
EditingaVirtualHardDiskonpage 145.
Taking a Snapshot
Youcantakeasnapshotwhileavirtualmachineispoweredon,poweredoff,or
suspended.Ifyouaresuspendingavirtualmachine,waituntilthesuspendoperation
hasfinishedbeforetakingasnapshot.AsdescribedinActivitiesThatConflictwith
Snapshotsonpage 196,donottakeasnapshotwhenthevirtualmachineis
communicatingwithanothercomputer.
NOTEIfyouruseofvirtualmachinesisstronglyperformanceoriented,consider
defragmentingtheguestoperatingsystemsdrivesbeforetakingasnapshot.Usethe
guestoperatingsystemsdefragmentationutility.SeeVirtualDiskMaintenanceTasks
onpage 147.
To take a snapshot
1 IntheCommandssectionofthevirtualmachinesSummarytab,expandthe
Snapshotcommand(ifnotalreadyexpanded)andclickTakeSnapshot.
2 Ifasnapshotalreadyexists,adialogboxasksyouifyouwanttooverwritethe
existingsnapshot.Ifyouwanttooverwriteit,clickYes.
Anewsnapshotiscreated.
Reverting to a Snapshot
Youcanrestorethevirtualmachinetothepointintimethatasnapshotwastaken.The
currentdisk,settings,andmemorystatesarediscarded,andthevirtualmachinereverts
tothedisk,settings,andmemorystatesofthesnapshot.SeeWhatIsCapturedbya
Snapshotonpage 196.
To revert to a snapshot
1 IntheCommandssectionofthevirtualmachinesSummarytab,expandthe
Snapshotcommand(ifnotalreadyexpanded)andclickReverttoSnapshot.
2 Adialogboxasksyoutoconfirmthatyouwanttoreverttothesnapshot.Ifyou
wanttoreverttothesnapshot,clickYes.
Youcanalsoconfigureavirtualmachinetoautomaticallyreverttothesnapshot,orto
askyouwhetheryouwanttoreverttothesnapshot,wheneveryoupoweroffthevirtual
machine.SeeSettingSnapshotPowerOffOptionsonpage 127.
Removing a Snapshot
Removingthesnapshotwritesthecontentsofthesnapshottothevirtualdisk.This
actiondoesnotdestroyanydatainthevirtualmachine.Movingforward,anychanges
youmakeasyourunthevirtualmachinearewrittentothevirtualdisk.Youcannot
reverttoapreviousstatebecausethesnapshotnolongerexists.
Removingasnapshotwhenthevirtualmachineispoweredoffcantakealongtime,
dependingonthesizeofthesnapshotfile.
2 IntheCommandssectionofthevirtualmachinesSummarytab,expandthe
Snapshotcommand(ifnotalreadyexpanded)andclickRemoveSnapshot.
3 Adialogboxasksyoutoconfirmthatyouwanttoremovethesnapshot.Ifyou
wanttoremoveit,clickYes.
Thesnapshotisremoved.
Locking a Snapshot
Lockingthecurrentsnapshotpreventsitfrombeingoverwritten.Youcanlocka
snapshotafterithasbeentaken.SeeLockingtheSnapshotonpage 126.
Thischapterincludesthefollowingtopics:
AccessElementsonpage 201
ManagingUsersonpage 203
ManagingGroupsonpage 203
ManagingRolesonpage 203
ManagingPermissionsonpage 206
RulesforPermissionPropagationonpage 208
Access Elements
AccesstoVMwareServerobjectsandactionsisdeterminedbasedonthefollowing:
LogininformationUsernameandpassword.
Usersarecreatedandmanagedusingthemechanismsprovidedbythehost
operatingsystem.
GroupMembershipAgroupiscollectionofusers.Ausercanbeamemberof
oneormoregroups.
Groupsprovideaconvenientwaytomanageacollectionofusers.Groupsare
createdandmanagedusingthemechanismsprovidedbythehostoperating
system.
PrivilegesAprivilegeisarighttoperformanindividualactiononanobjector
categoryofobjects.
Forexample,theabilitytopoweronavirtualmachineisaprivilege,inthecategory
ofinteractionswiththevirtualmachineobject.Thisprivilegeistypicallygrouped
inarolewithotherpoweroperationsonvirtualmachines.Foracompletelistof
availableprivileges,organizedforconveniencebycategory,seeAppendix A,
DefinedPrivileges,onpage 299.Privilegescannotbemodified.
RolesAroleisanamedcollectionofprivileges.Rolescanbeassignedtousers
andgroupsonanobjectorcategoryofobjects.
Rolescontroluserandgroupaccesstoobjects.VMware Serverprovidessystem
roles,listedinTable 101,SystemRoles,onpage 204.Youcanalsocreateand
manageuserdefinedroles.
PermissionsApermissionisarulethatdeterminesaccesscontrol.Itspecifies
whichrole(collectionofprivileges)isassignedtoauserorgrouponanobjector
categoryofobjects.
Theroleandauserorgroupnamemakeapair.Thispairisassignedtoan
inventoryobject.Youcanchoosewhetherornotthepermissionispropagatedto
thechildobjectsintheinventoryhierarchy.
user group
role
inventory object
Managing Users
AuserisanindividualauthorizedtologintoVMwareServer.Userscanaccess
VMwareServerusingVIWebAccess,thevmruncommand,theVIXAPI,ora
thirdpartyclient.
Tocreate,remove,ormodifyusersonaVMwareServersystem,usethemechanisms
providedbythehostoperatingsystem.UsersremovedfromaVMwareServerhostlose
accesstoallVMwareServerobjectsandarenotabletologonagain.Usersthatare
loggedinwhentheyareremovedfromthehostretaintheirVMwareServer
permissionsonlyuntilthenextvalidationperiod(thedefaultisevery24hours).
VIWebAccessdisplaysalistofexistingusersthatyoucanselectfromwhenyou
configurepermissions.
Managing Groups
Agroupisacollectionofusersthatyouwanttomanagethroughacommonsetofrules.
Youcanefficientlymanageusersthatrequirethesameprivilegesbycreatinggroups.
Usinggroupscansignificantlyreducethetimeittakestoconfigureyourpermissions
model.
Tocreate,remove,ormodifygroupsonaVMwareServersystem,usethemechanisms
providedbythehostoperatingsystem.Groupmembershipischeckedeachtimeauser
logsin.ThegroupsareretrievedeitherfromtheWindowsdomain(forVMwareServer
runningonWindows)orfromtheLinuxoperatingsystemgrouplist(forVMware
ServerrunningonLinux).Removingagroupdoesnotaffectthepermissionsgranted
individuallytotheusersinthatgroup,orthosegrantedaspartofinclusioninanother
group.
Whenyouassignaroletoagroup,itappliestoalltheusersinthegroup.VI WebAccess
displaysalistofexistinggroupsthatyoucanselectfromwhenyouconfigure
permissions.
Managing Roles
Aroleisanamedcollectionofprivileges.VMwareServergrantsaccesstoobjectsonly
tousersthathaveprivilegesfortheobject.Bypairingauserorgroupwitharole,you
granttheuserorgroupaccessrightstotheobject.
VMwareServerprovidesbuiltinsystemroles.Theprivilegesassociatedwithsystem
rolescannotbechanged.
Table 101liststhepredefinedsystemroles.
NoAccessUser Cannotvieworchangetheassociatedobject.
Tabsassociatedwiththeobjectdisplaywithoutcontent.
Thisisthedefaultroleforallusers,exceptforusersinthe
Administratorsgroup.
ReadOnlyUser Canviewtheobjectstateanddetailsabouttheobject.
Canviewalltabs,exceptfortheConsoletab.
Cannotperformanyactionsthroughthemenusandtoolbars.
Administrator Grantedallprivilegesforallobjects.
Canadd,remove,andsetaccessrightsandprivilegesforallobjectsin
theVMwareServerenvironment.
ThisisthedefaultroleforallmembersoftheAdministratorsgroup.
Youcancreateuserdefinedroleswithprivilegesetsthatmatchyouruserneeds.These
rolescanbemodified,renamed,orremoved.Allchangestakeeffectimmediately.Users
donotneedtologoutandloginforchangestorolestotakeeffect.
Creating Roles
Youcancreateuserdefinedrolesifyouhavesituationsthatrequireacombinationof
accessprivilegesotherthanthosedefinedinthesystemroles.
Youcanalsomodifyexistinguserdefinedrolestosuityourneeds.SeeEditingand
RenamingRolesonpage 205.
To create a role
1 FromtheVIWebAccessmenubar,selectAdministration>ManageRoles.
2 Enteranamefortherole.
Thereisnowaytoenteradescriptionfortherole.Adescriptionfortheroleis
automaticallycreated,butitisidenticaltotherolename.Enteradescriptivename
foreachroletohelpidentifyit.
3 InthePrivilegestree,selecttheprivilegestoincludeintherole.Expandthetreeas
necessarytoviewtheprivilegesineachcategory.
4 ClickOK.
Theroleiscreated.
Systemrolescannotbeeditedorrenamed.
To edit a role
1 FromtheVIWebAccessmenubar,selectAdministration>ManageRoles.
2 IntheRoleslist,selecttheroleyouwanttomodify.
3 ClickModify.
4 Ifyouwanttorenametherole,enterthenewrolenameintheNametextbox.
Thereisnowaytoenteradescriptionfortherole,sothedescriptionintheRoles
listischangedtomatchthenewrolename.Enteradescriptivenameforeachrole
tohelpidentifyit.
5 Ifyouwanttochangetheprivilegesincludedintherole,selectordeselectthe
appropriateprivilegesinthePrivilegestree.Expandthetreeasnecessarytoview
theprivilegesineachcategory.
6 ClickOK.
Thechangestotherolearesaved.
Removing Roles
Whenyouremoveauserdefinedrole,thedefinitionisremovedfromthelistofroles.
Whenyouremovearolethatisassignedtousersorgroups,youcanremoveallrole
assignmentsorreplacethemwithanassignmenttoanotherrole.
CAUTIONMakesurethatyouunderstandhowuserswillbeaffectedbeforeremoving
roleassignmentsorreplacingthem.
Systemrolescannotberemoved.
1 FromtheVIWebAccessmenubar,selectAdministration>ManageRoles.
2 IntheRoleslist,selecttheroleyouwanttoremove.
3 ClickRemove.
4 Toconfirmthatyouwanttodeletetheselectedrole,clickOK.
5 Iftheroleisassignedtooneormoreusersorgroups,awarningdialogbox
appears,andyoumustselectoneoffollowingtheoptions:
RemoveroleRemovestheroleandallassociatedpermissions.Usersand
groupsthathavenootherpermissionsassignednolongerhaveanyprivileges.
ConvertroleReassignsanyassociatedpermissionstotheroleyouselect
fromthedropdownmenu.
6 ClickOK.
Theroleisremovedfromthelistandisnolongeravailabletoassigntousersor
groups.
Managing Permissions
InVMwareServer,apermissionconsistsofauserorgroupsassignedrolefora
VMwareServerobject,suchasavirtualmachine.
Anewpermissioniscreatedbypairingauserorgroupandaroleandassigningthis
pairtoaninventoryobject.Permissionsgrantuserstherighttoperformactionsonan
objectorcategoryofobjects.Forexample,toconfigurememoryforVMware Server,
youmusthavehostconfigurationpermissions.
Allchangestakeeffectimmediately.Youdonotneedtologoutandloginforchanges
topermissionstotakeeffect.
NOTEBydefault,allusersthataremembersoftheAdministratorsgroupona
Windowshostaregrantedthesameaccessrightsasanyuserassignedtothe
Administratorrole.MembersoftheAdministratorsgroupcanloginasindividual
usersandhavefullaccess.
Creating Permissions
YoucanassignsystemoruserdefinedrolestousersorgroupsonVMwareServer
inventoryobjects.
To create a permission
1 LogintoVIWebAccessasauserwithAdministratorprivileges.
2 SelectahostorvirtualmachinefromtheInventorypanel,andclickthe
Permissionstab.
3 IntheCommandssection,clickNewPermission.
4 Selecttheuserorgrouptowhichyouwanttoassignaroleonthisobject.
Whenyouhavealargenumberofusersandgroups,onlysomeofthemare
displayed.Tofindasubsetofusersorgroups,enterasearchvalueintheQuick
Findtextbox.
5 Selecttheroleyouwanttoassignfromthedropdownlist.
Whenyouselectarole,theprivilegesgrantedwiththeroleareselectedinthe
Privilegetreeforyourreference.
6 (Optional)Ifyouwanttoapplythepermissiontoallchildobjectsoftheselected
inventoryobject,selectGrantthissetofpermissionstochildobjects.
7 ClickOK.
Thepermissionisaddedtothelistofpermissionsfortheobject.Thelistof
permissionsincludesallusersandgroupsthathaverolesassignedtotheobject,
andindicatesthelevelatwhichthepermissionisdefined.
Editing Permissions
Whenyoueditapermission,youcanchangetheroletopairwiththeuserorgroupand
whetherthepermissionispropagatedtochildobjects.
1 ClickthehostsorvirtualmachinesPermissionstab.
2 InthePermissionslist,selectthepermissionyouwanttomodify.
3 IntheCommandssection,clickEditPermission.
4 Selecttheuserorgrouptowhichyouwanttoassignaroleonthisobject.
5 Selectaroletoassignfromthedropdownlist.
Whenyouselectarole,theprivilegesgrantedwiththeroleareselectedinthe
Privilegetreeforyourreference.
6 (Optional)Ifyouwanttoapplythepermissiontoallchildobjectsoftheselected
inventoryobject,selectGrantthissetofpermissionstochildobjects.
7 ClickOK.
Thechangestothepermissionaresaved.
Removing Permissions
Removingapermissionforauserorgroupdoesnotremovetheuserorgroup.Itdoes
notremovetheroleeither.Itremovesthepairingoftheroleandtheuserorgroupfrom
theselectedinventoryobject.
1 ClickthehostsorvirtualmachinesPermissionstab.
2 InthePermissionslist,selectthepermissionyouwanttoremove.
3 IntheCommandssection,clickRemovePermission.
4 ClickOKtoconfirmthatyouwanttoremovethepermission.
Thepermissionisremoved.
Multiplepermissionscanbedefinedonanobject,andpermissionscanbeinherited
fromparentobjects.Permissionsdefinedonachildobjectalwaysoverridethose
definedonaparentobject.InVMwareServer,thehostistheparentobjectfor
individualvirtualmachines.
Whenmultiplepermissionsaredefinedonthesameobjectthroughgroup
membership,thefollowingrulesapply:
Ifauserisamemberofmultiplegroupswithdifferentpermissions,foreachobject
thegrouphaspermissionson,thesamepermissionsapplyasifgrantedtotheuser
directly.
Ifmultiplegrouppermissionsaredefinedonthesameobjectandtheuserbelongs
totwoormoreofthegroups,permissionsaredeterminedasfollows:
Ifthereisnopermissiondefinedexplicitlyfortheuseronthatobject,theuser
isassignedtheunionofprivilegesassignedtothegroupsforthatobject.
Ifthereisapermissiondefinedexplicitlyfortheuseronthatobject,that
permissiontakesprecedenceoverallgrouppermissions.
Thefollowingexampleshowshowauserspermissionscanbeexpanded:
Role1includestheprivilegetopoweronvirtualmachines.
Role2includestheprivilegetotakesnapshotsofvirtualmachines.
GroupAisassignedRole1onvirtualmachineVM.
GroupBisassignedRole2onvirtualmachineVM.
User1belongstogroupsAandB.
User1isnotassignedindividualpermissions.
Inthisexample,whenUser1logson,theusercanbothpoweronandtakesnapshots
ofthevirtualmachine.
Thefollowingexampleshowshowauserspermissionscanbelimitedbyoverriding
grouppermissions:
Rolesandgroupsaredefinedasinthepreviousexample.
User1sreadonlypermissionisremovedonthevirtualmachine.(Readonly
permissionisrequiredtopoweronavirtualmachine.)
Inthisexample,User1canstilltakesnapshotsbutcannolongerpoweronthevirtual
machine.
Whensettingpermissions,verifythatusershavetheappropriateprivilegesforeach
actiononeachobjectandcategoryofobjects.
Configuring a Virtual
Network 11
Thefirsttopicsinthischapterintroducethevirtualnetworkingcomponentsthat
VMwareServerprovidesanddescribehowyoucanusethemwithyourvirtual
machine.Therestofthechapterprovidesmoredetailonnetworkingcapabilitiesand
specializedconfigurations.
Thischapterincludesthefollowingtopics:
NetworkBasicsonpage 212
ComponentsoftheVirtualNetworkonpage 213
CommonNetworkingConfigurationsonpage 215
ExampleCustomNetworkingConfigurationonpage 219
ChangingtheNetworkingConfigurationonpage 222
AdvancedNetworkingTopicsonpage 230
UnderstandingNATonpage 248
UsingSambaforFileSharingonaLinuxHostonpage 258
UsingtheVirtualNetworkEditoronpage 267
Network Basics
VMwareServerprovidesmultiplewaysyoucanconfigureavirtualmachineforvirtual
networking:
BridgednetworkingConfiguresyourvirtualmachineasauniqueidentityon
thenetwork,separatefromandunrelatedtoitshost.Othercomputersonthe
networkcancommunicatedirectlywiththevirtualmachine.Bridgednetworking
workswithEthernet,DSL,cable,wireless,andlegacyphonemodems.See
BridgedNetworkingonpage 215.
Networkaddresstranslation(NAT)Configuresyourvirtualmachinetoshare
theIPandMACaddressesofthehost.Thevirtualmachinesharesthehostspublic
networkidentity,andhasaprivateidentitythatisnotvisiblebeyondthehost.NAT
canbeusefulwhenyouareallowedasingleIPaddressorMACaddressbyyour
networkadministrator.YoumightalsouseNATtoconfigureseparatevirtual
machinesforhandlingHTTPandFTPrequests,withbothvirtualmachines
runningoffthesameIPaddressordomain.
NATworkswithEthernet,DSL,andlegacyphonemodems.SeeNetwork
AddressTranslation(NAT)onpage 216.
HostonlynetworkingConfiguresyourvirtualmachinetoallownetwork
accessonlytoaprivatenetworkonthehost.Withhostonlynetworking,the
virtualmachinecancommunicateonlywiththehostandothervirtualmachinesin
thehostonlynetwork.Thiscanbeusefulwhenyouwantasecurevirtualmachine
thatisconnectedtothehostnetwork,butavailableonlythroughthehostmachine.
Inthisconfiguration,thevirtualmachinecannotconnecttotheInternet.See
HostOnlyNetworkingonpage 218.
YoucansetupspecializedconfigurationsusingthevirtualnetworkeditoronWindows
hostsandvmware-config.plonLinuxhosts.SeeExampleCustomNetworking
Configurationonpage 219.
OnaWindowshost,thesoftwareneededforbridged,NAT,andhostonlynetworking
configurationsisinstalledwhenyouinstallVMwareServer.TheNewVirtualMachine
wizardconnectsthevirtualmachinetothevirtualnetworkyouselect:thebridged
VMnet0virtualnetwork(namedBridged)isthedefaultselection.Youcanlatersetup
morespecializedconfigurationsbyconfiguringtheappropriatesettingsinthevirtual
networkeditorandonyourhostcomputer.
OnaLinuxhost,whenyouinstallandconfigureVMwareServer,youcanchooseto
havebridged,hostonly,andNATnetworkingavailabletoyourvirtualmachinesby
configuringeachoptionwhenyourunvmware-config.pl.Youcanlaterreconfigure
networkingtoadd,delete,ormodifyvirtualnetworksbyrerunning
vmware-config.pl.
Youcanconnectoneormorevirtualmachinestoaswitch.OnaWindowshost,youcan
connectanunlimitednumberofportstoavirtualswitch.OnaLinuxhost,youcan
connectupto32ports.
Afewnetworkshavedefaultnamesandswitchesassociatedwiththem:
TheBridgednetworkusesVMnet0,asdescribedinBridgedNetworkingon
page 215.
TheHostOnlynetworkusesVMnet1,asdescribedinHostOnlyNetworkingon
page 218.
TheNATnetworkusesVMnet8,asdescribedinNetworkAddressTranslation
(NAT)onpage 216.
TheotheravailableswitchesareVMnet2,VMnet3,VMnet4,andsoon.
TofindoutwhatnetworksareconfiguredontheVMwareServerhost,selectthehostin
VI WebAccess.TheNetworkssectionofthehostsSummarytabliststhename,VMnet
number,andnetworktypeforeachvirtualnetwork.
Tofindoutwhichnetworksavirtualmachineisusing,selectthevirtualmachine.The
networknameandtypearedisplayedintheHardwaresectionoftheSummarytab.
Toviewormodifynetworkproperties,clicktheNetworkAdapteryouwanttomodify
andselectEdit.Foradditionalinformation,seeEditingaVirtualNetworkAdapter
onpage 224.Toaddanotheradapter,seeAddingaNetworkAdaptertoaVirtual
Machineonpage 223.
ThenetworkadapterappearstotheguestoperatingsystemasanAMDPCNetAdapter
adapterfor32bitguestsorasanIntelPro/1000MTServerAdapterfor64bitand
WindowsVistaguests.VMwareServerautomaticallyselectsthenetworkdriverbased
ontheconfigurationonyourvirtualmachine.
For32bitguestsystems,VMwareServersupportsnetworkadaptermorphingto
dynamicallyselectthedriver.Thevlancedriverisautomaticallyinstalledwhenyou
installaguestoperatingsystem.Thevmxnetdriverisautomaticallyinstalledwhenyou
reboottheguestafterinstallingVMwareTools.Whenyoueditthenetworkadapter,the
devicetypeisdisplayedasFlexible.
For64bitandWindowsVistaguestsystems,thenetworkadapterusesthee1000
devicedriver.
Youcancreateandconfigureupto10virtualnetworkadaptersinVMwareServer2and
Workstation6virtualmachines.ThelimitisfouradaptersforVMwareServer1and
otheroldervirtualmachineversions.Formoreinformation,seeAddingaNetwork
AdaptertoaVirtualMachineonpage 223.
WhenyouinstallVMwareServer,twonetworkadaptersareaddedtotheconfiguration
ofyourhostoperatingsystemonethatallowsthehosttoconnecttothehostonly
virtualnetworkandonethatallowsthehosttoconnecttotheNATvirtualnetwork.
Thehostvirtualadapterisnotconnectedtoanyexternalnetworkunlessyousetup
specialsoftwareonthehostcomputersuchasaproxyservertoconnectthe
hostonlyadaptertothephysicalnetworkadapter.
OnaWindowshost,thesoftwarethatcreatesthehostvirtualadapterisinstalledwhen
youinstallVMwareServer.OnaLinuxhost,youmustselecthostonlynetworking
whenyourunvmware-config.pltoinstallthehostvirtualadapter.
Bridged Networking
Bridgednetworkingconnectsavirtualmachinetoanetworkbyusingthehost
computersnetworkadapter.IfyourhostcomputerisonanEthernetnetwork,thisis
oftentheeasiestwaytogiveyourvirtualmachineaccesstothatnetwork.Thevirtual
networkadapterinthevirtualmachineconnectstothephysicalnetworkadapterin
yourhostcomputer,allowingittoconnecttotheLANusedbythehostcomputer.
Bridgednetworkingmakesthevirtualmachinevisibletoothercomputersonthe
network,andtheycancommunicatedirectlywiththevirtualmachine.
Ifyouusebridgednetworking,thevirtualmachineisafullparticipantinthenetwork.
Ithasaccesstoothermachinesonthenetworkandcanbecontactedbyothermachines
onthenetworkasifitwereaphysicalcomputeronthenetwork.
Beawarethatifthehostcomputerissetuptobootmultipleoperatingsystemsandyou
runoneormoreoftheminvirtualmachines,youneedtoconfigureeachoperating
systemwithauniquenetworkaddress.Peoplewhobootmultipleoperatingsystems
oftenassignallsystemsthesameaddress,becausetheyassumeonlyoneoperating
systemwillberunningatatime.Ifyouuseoneormoreoftheoperatingsystemsina
virtualmachine,thisassumptionisnolongertrue.
NAT network
device
IfyouselectNAT,thevirtualmachinecanusemanystandardTCP/IPprotocolsto
connecttoothermachinesontheexternalnetwork.Forexample,youcanuseHTTPto
browseWebsites,FTPtotransferfiles,andTelnettologontoothercomputers.NAT
alsoallowsyoutoconnecttoaTCP/IPnetworkusingaTokenRingadapteronthehost
computer.
InthedefaultNATconfiguration,computersontheexternalnetworkcannotinitiate
connectionstothevirtualmachine.Thatmeans,forexample,thatthedefault
configurationdoesnotletyouusethevirtualmachineasaWebservertosendWeb
pagestocomputersontheexternalnetwork.Thisconfigurationhastheadvantageof
protectingtheguestoperatingsystemfrombeingcompromisedbeforeyouhavea
chancetoinstallsecuritysoftware.Forexample,itisoftenrecommendedthatfor
Windowsguestoperatingsystems,youuseNATuntilyouinstallantivirussoftware.
ForamorethoroughdiscussionofNAT,seeUnderstandingNATonpage 248.
Host-Only Networking
Hostonlynetworkingcreatesanetworkthatiscompletelycontainedwithinthehost
computer.Hostonlynetworkingprovidesanetworkconnectionbetweenthevirtual
machineandthehostcomputer,usingahostnetworkadapterthatisvisibletothehost
operatingsystem.Thisapproachcanbeusefulifyouneedtosetupanisolatedvirtual
network.
AhostonlynetworkissetupautomaticallyifyouselectHostOnlyintheNewVirtual
Machinewizard.OnLinuxhosts,thisselectionisavailableonlyifyouenablethe
hostonlynetworkingoptionwhenyourunvmware-config.pl.
OnaWindowshostcomputer,youcanusehostonlynetworkingincombinationwith
theInternetconnectionsharingfeatureinWindowstoallowavirtualmachinetouse
thehostsdialupnetworkingadapterorotherconnectiontotheInternet.Seeyour
WindowsdocumentationfordetailsonconfiguringInternetconnectionsharing.
Beforeattemptingtosetupcomplexvirtualnetworks,youmusthaveagood
understandingofhowtoconfigurenetworkdevicesinyourhostandguestoperating
systems.
Theexampledescribedinthissectionillustratesmanyofthewaysyoucancombine
devicesonavirtualnetwork.OthercustomconfigurationsaredescribedinAdvanced
NetworkingTopicsonpage 230andUnderstandingNATonpage 248.
Inthisconfiguration,aWebserverconnectsthroughafirewalltoanexternalnetwork.
AnadministratorscomputerconnectstotheWebserverthroughasecondfirewall.
virtual bridge
virtual network switch virtual virtual
virtual (VMnet0)
network network network
adapter adapter adapter
virtual machine 2
Web server virtual network switch virtual machine 1
(VMnet2) firewall
virtual machine 4
virtual machine 3 internal PC
firewall
Inadditiontousingthedefaultbridgednetwork,VMnet0,thisconfigurationrequires
youtoconfigureVMnet2andVMnet3hostonlyvirtualnetworks.Youwillalsocreate
fourvirtualmachinesandinstalltheappropriateguestoperatingsystemsand
applicationsoftwareineachvirtualmachineandmaketheappropriatenetworking
settingschangesineachvirtualmachine.
1 ConfigureVMnet2andVMnet3hostonlynetworks.
OnWindows,usethevirtualnetworkeditor(fromtheWindowsStartmenu,
selectPrograms>VMwareServer>ManageVirtualNetworks)toaddhost
virtualadaptersforVMnet2andVMnet3.
Afteryoumakechangesusingthevirtualnetworkeditor,youmustrestart
yournetworkusingtheRefreshNetworkSystemcommandintheHost
SummarytabofVI WebAccess.Thenyoucanaddthesenetworkstovirtual
machines.
OnLinux,runvmware-config.pltoconfigureVMnet2andVMnet3
networks.Thescriptautomaticallyrefreshesthenetworkwhenitcompletes
theconfigurationchanges.
2 SetupfourvirtualmachinesusingtheNewVirtualMachinewizardasdescribed
inChapter 4,CreatingandUpgradingVirtualMachines,onpage 59:
a Createthefirstvirtualmachineusingthedefaultbridgednetwork(VMnet0),
soitcanconnecttoanexternalnetworkwiththehostcomputersnetwork
adapter.ThisvirtualmachineactsastheoutsidefirewallfortheDMZ,andis
namedFW1inthisprocedure.
b Createtheotherthreevirtualmachineswithoutnetworking.Thevirtual
machinewiththeWebServerisnamedWSinthisprocedure.Thevirtual
machinethatactsasaninternalfirewallisnamedFW2inthisprocedure.
Youwillsetuptheirvirtualnetworkadaptersinlatersteps.
YouwillnotinstalltheoperatingsystemsuntilStep 8.
3 Configurenetworksettingsforthefirstvirtualmachine,FW1:
a SelectvirtualmachineFW1inVI WebAccess,butdonotpoweriton.
b UsetheAddHardwarewizardtoaddtheVMnet2network(HostOnly1)to
thevirtualmachine.
SeeAddingaNetworkAdaptertoaVirtualMachineonpage 223.
4 ConfigurenetworksettingsfortheWebServervirtualmachine,asfollows:
a SelectWSinVI WebAccess,butdonotpoweriton.
b UsetheAddHardwarewizardtoaddtheVMnet2(HostOnly1)network
adaptertothevirtualmachine.
SeeAddingaNetworkAdaptertoaVirtualMachineonpage 223.
5 Configurenetworksettingsfortheinsidefirewallvirtualmachine,asfollows:
a SelectFW2inVI WebAccess,butdonotpoweriton.
b UsetheAddHardwarewizardtoaddtheVMnet2(HostOnly1)network
adaptertothevirtualmachine.
SeeAddingaNetworkAdaptertoaVirtualMachineonpage 223.
c UsetheAddHardwarewizardtoaddtheVMnet3(HostOnly2)connectionto
thevirtualmachine.
6 Configurenetworksettingsforthefourthvirtualmachine,asfollows:
UsetheAddHardwarewizardtoaddtheVMnet3connectiontothevirtual
machine.
SeeAddingaNetworkAdaptertoaVirtualMachineonpage 223.
7 DeterminethenetworkaddressesusedforVMnet2andVMnet3:
OnWindowshosts,openacommandpromptandrun:
ipconfig /all
Notethenetworkaddressesusedbyeachvirtualadapter.
OnLinuxhosts,openaterminalandrun:
ifconfig
Notethenetworkaddressesusedbyeachvirtualswitch.
8 Poweroneachvirtualmachineinturnandinstalltheappropriateguestoperating
system.
NOTEOnaWindowshost,forStep 9,youarenotrequiredtoconfigurenetwork
addressesmanually.YoucaninsteaduseVMwareServersDHCPserver.Inthe
virtualnetworkeditorsDHCPtab,addVMnet2andVMnet3tothelistofvirtual
networksservedbytheVMwareinternalDHCPserver.
9 Configurethenetworkingineachguestoperatingsystem:
Machine1Forthebridgednetworkadapterinvirtualmachine1,usethe
networkingsettingsneededforaconnectiontotheexternalnetwork.Ifthe
virtualmachinegetsitsIPaddressfromaDHCPserverontheexternal
network,thedefaultsettingswillwork.
Forthesecondnetworkadapterinvirtualmachine1,manuallyassignanIP
addressintherangeyouareusingwithVMnet2.
Machine2AssignanIPaddressintherangeyouareusingwithVMnet2.
Machine3NetworkadaptersareconnectedtoVMnet2andVMnet3.Assign
eachadapteranIPaddressintherangeyouareusingwiththevirtualnetwork
towhichitisconnected.
Machine4AssignanIPaddressintherangeyouareusingwithVMnet3.
10 Installthenecessaryapplicationsoftwareineachvirtualmachine.
1 SelectthehostintheInventorypanel.
1 SelectthevirtualmachinetomodifyfromtheInventorypanel.
2 Makesurethatthevirtualmachineispoweredoff.
3 IntheCommandssectionoftheSummarytab,clickAddHardware.
TheAddHardwarewizardopens.
4 ClickNetworkAdapter,andclickNext.
5 Selectthenameofthevirtualnetworkadapter.SelectBridged,NAT,HostOnly,or
acustomnetworkyouhaveconfiguredinthevirtualnetworkeditor(Windows)or
vmware-config.pl(Linux).
Ifyouselectacustomnetworkyouconfiguredinthevirtualnetworkeditor,select
namethatcorrespondstotheVMnetvirtualnetworktousefromthedropdown
list.
NOTEVMnet0,VMnet1,andVMnet8arenormallyusedforbridged,hostonly,
andNATconfigurations,respectively.Specialstepsarerequiredtomakethem
availableforuseincustomconfigurations.Selectoneoftheotherswitches.
6 (Optional)Tohavethenetworkadapterconnectedtothevirtualmachinewhen
youpoweriton,selectConnectatpoweron(thedefault).
7 ClickNext.
TheReadytoCompletepageappearsanddisplaysthehardwaresettings.
8 Reviewtheconfigurationsummary,andclickFinishtocompletethewizard.
1 SelectthevirtualmachinetomodifyfromtheInventorypanel.
2 IntheHardwaresectionoftheSummarytab,clickthenetworkadaptertomodify
andselectEdit.
3 (Optional)Toconnectthevirtualmachinetothisnetworkwhenthevirtual
machineispoweredon,selectConnectatpoweron.
4 IntheNetworkConnectionlist,selectthevirtualnetworkname.
SelectBridged,NAT,HostOnly,orthenameofyourcustomVMnetvirtual
networkfromthedropdownlist.
5 (Optional)IntheMACAddresssection,thecurrentMACaddressisdisplayedin
atextbox.Initially,theMACaddressisgeneratedbythehost.Youmightwantto
changetheMACaddressmanuallyif,forexample:
Virtualnetworkadaptersondifferentphysicalserverssharethesamesubnet
andareassignedthesameMACaddress,causingaconflict.
YouwanttoensurethatavirtualnetworkadapteralwayshasthesameMAC
address.
IfyouselectManual,youcaneditthevalueoftheMACaddressinthetextbox.
Thevalueyouentermustbebetween00:50:56:00:00:00and
00:50:56:3F:FF:FF.
SeeMaintainingandChangingtheMACAddressofaVirtualMachineon
page 234.
6 ClickOKtosaveyourchanges.
7 MakesuretheguestoperatingsystemisconfiguredtouseanappropriateIP
addressonthenewnetwork.
IftheguestisusingDHCP,releaseandrenewthelease.IftheIPaddressisset
statically,makesuretheguesthasanaddressonthecorrectvirtualnetwork.
1 SelectthevirtualmachinetomodifyfromtheInventorypanel.
2 OntheSummarytab,clickthenetworkadaptertoremoveandselectRemove.
3 Adialogboxpromptsyoutoconfirmthatyouwanttoremovetheadapter.Ifyou
wanttoremoveit,clickYes.
Thenetworkadapterisdeleted.
Youcanchoosewhichnetworkadaptersonyourhosttouseforbridgednetworking.
Youcanmapspecificanetworkadaptertoaspecificvirtualnetwork(VMnet).
1 Startthevirtualnetworkeditor(fromtheWindowsStartmenu,selectPrograms >
VMwareServer>ManageVirtualNetworks).
ThevirtualnetworkeditordisplaystheSummarytab.
2 Bydefault,theVMnet0virtualnetworkissetupinbridgedmodeandisbridged
tooneoftheactivenetworkadaptersonthehostcomputer.
Thechoiceofwhichadapteritusesisarbitrary.VMwarerecommendsthatyoulet
VMwareServerselectanavailablephysicalnetworkadapterforbridging,to
providefaulttolerance.Ifanetworkadapterbecomesunavailable(forexample,if
itisunpluggedorremovedfromthehost),thenetworkbridgeautomatically
switchestoanothernetworkadapteronthehost.
YoucanrestricttherangeofchoicesusingtheoptionsontheAutomaticBridging
tab.
(VMnet1isthedefaultvirtualnetworkforhostonlynetworkingandVMnet8isthe
defaultvirtualnetworkforNAT,iftheyareenabledinVMware Server.)
3 ToexcludeoneormorephysicalnetworkadaptersfromthelisttowhichVMnet0
canbebridged,clicktheAutomaticBridgingtab.
Toexcludeanetworkadapter,clickAddtoaddittothelistofexcludeddevices.
IntheChooseNetworkAdaptersdialogbox,selectthelistingfortheadapteryou
wanttoexclude,andclickOK.
Toremoveanadapterfromthelistofexcludedadapters,selectitsnameinthelist,
andclickRemove.
Ifyouareusingteamednetworkadaptersonyourhost,youcanexcludethe
physicalnetworkadaptersfrombridgednetworking.Forinformationabout
teamednetworkadapters,seeConfiguringBridgedNetworkingWhenUsing
TeamedNetworkInterfaceCardsonpage 238.
4 Todesignateaphysicalnetworkadaptertobeusedforbridgednetworkingon
virtualswitchesnamedVMnet2VMnet7,clicktheHostVirtualNetwork
Mappingtab.
Selectanadapterfromthedropdownlistbesidethenameofthevirtualswitch
youwanttouse.
Ifyouareusingteamednetworkadaptersonyourhost,youcanselecttheteamed
networkadapterforVMnet0.
CAUTIONBecarefulwhenyouchangethebridgedadaptermappings.Ifyou
reassignaphysicalnetworkadaptertoadifferentvirtualnetwork,anyvirtual
machineusingtheoriginalnetworklosesitsnetworkconnectivitythroughthat
network.Youmustthenchangethesettingforeachaffectedvirtualmachines
networkadapterindividually.Thiscanbeespeciallytroublesomeifyourhosthas
onlyonephysicalnetworkadapterandyoureassignittoaVMnetotherthan
VMnet0.EventhoughtheVMnetstillappearstobebridgedtoanautomatically
chosenadapter,theonlyadapteritcanusehasbeenassignedtoanotherVMnet.
5 TomakechangestothesubnetortheDHCPsettingsforavirtualnetwork,clickthe
buttonontherightthatcorrespondstothevirtualnetworkyouwanttoconfigure,
andselectSubnetorDHCP.
IntheSubnetdialogbox,youcanchangethesubnetsIPaddressandthesubnet
mask.Theaddressmustbeavalidnetworkaddressthatissuitableforusewiththe
subnetmask.
Thedefaultsubnetmaskis255.255.255.0(aclassCnetwork).Typically,thismeans
youshouldmodifyonlythethirdnumberintheIPaddressforexample,xin
192.168.x.0or172.16.x.0.Ingeneral,youshouldnotchangethesubnetmask.
Certainvirtualnetworkservicesmightnotworkaswellwithacustomizedsubnet
mask.
Whenyoumodifythenetworkaddressorsubnetmask,VMwareServer
automaticallyupdatestheIPaddresssettingsforothercomponentssuchas
DHCP,NAT,andhostvirtualadapteronthatvirtualnetworktoreflectthenew
settings.ThespecificsettingsthatareautomaticallyupdatedincludeDHCPlease
range,DHCPserveraddress,NATgatewayaddress,andhostvirtualadapterIP
address.However,ifyouchangeanyofthesesettingsfromitsdefaultvalue
evenifyoulaterchangethesettingbacktothedefaultVMware Serverdoesnot
updatethatcustomsetting.
IntheDHCPsettingsdialogbox,youcanchangetherangeofIPaddresses
providedbytheDHCPserveronaparticularvirtualnetwork.Youcanalsosetthe
durationofleasesprovidedtoclientsonthevirtualnetwork.
6 Whenyouhavemadeallthechangesyouwanttomakeinthevirtualnetwork
editor,clickOK.
Ifyouarenotusingtheseadapters,youcanremovethem.OnWindowshosts,youcan
disabletheadaptersinsteadofremovingthem.Thepresenceoftheseadaptershasa
slightperformancecost,becausebroadcastpacketsmustgototheextraadapters.On
Windowsnetworks,browsingyournetworkcanbeslowerthanusual.Andinsome
cases,theseadaptersinteractwiththehostcomputersnetworkingconfigurationin
undesirableways.
1 Startthevirtualnetworkeditor(fromtheWindowsStartmenu,selectPrograms>
VMwareServer>ManageVirtualNetworks).
2 SelecttheHostVirtualAdapterstab.
3 Selecttheadapteryouwanttodisable.
4 ClickDisableadapter.
5 ClickOK.
1 Startthevirtualnetworkeditor(fromtheWindowsStartmenu,selectPrograms>
VMwareServer>ManageVirtualNetworks).
2 ClickHostVirtualAdapters.
3 Selectthedisabledadapteryouwanttoenable.
4 ClickEnableadapter.
5 ClickOK.
1 Startthevirtualnetworkeditor(fromtheWindowsStartmenu,selectPrograms>
VMwareServer>ManageVirtualNetworks).
2 ClickHostVirtualAdapters.
3 ClickAddnewadapter.
4 Selectthevirtualnetworkonwhichyouwanttousetheadapter,andclickOK.
5 ClickApply.
6 ClickOKtoclosethevirtualnetworkeditor.
1 FromtheWindowsStartmenu,selectPrograms>VMwareServer>Manage
VirtualNetworks.
2 ClickHostVirtualAdapters.
3 Selecttheadapteryouwanttoremove,thenclickRemoveadapter.
4 ClickApply.
5 ClickOKtoclosethevirtualnetworkeditor.
1 Asroot(su -),runtheVMwareServerconfigurationprogram.
vmware-config.pl
ToconfigureVMwareServercorrectly,thevmware-config.plconfiguration
programrequiresallvirtualmachinestobeshutdown.Theprogramshutsdown
anyrunningvirtualmachinesautomatically.
Ifyoustillwanttouseanynetworkinginyourvirtualmachines,respondyesto
thefollowingprompt:
Do you want networking for your Virtual Machines? (yes/no/help) [yes]
Otherwise,typenotoremoveallnetworking.
2 Ifyourespondyestousenetworking,thescriptpromptsyoutoselectthewizard
ortheeditortoedityournetworkconfiguration.Selecteditor.Thisistheonly
waytodeletevirtualnetworkadapterswithoutremovingallofthem.
Would you prefer to modify your existing networking configuration using
the wizard or the editor? (wizard/editor/help) [wizard]
editor
3 Alistofvirtualnetworksthathavebeenconfiguredisdisplayed.Selectthe
networkcorrespondingtotheadapteryouwanttodisable.Forexample:
The following virtual networks have been defined:
. vmnet0 is bridged to eth0
. vmnet1 is a host-only network on subnet 172.16.155.0.
. vmnet8 is NAT network on a private subnet 172.16.107.0.
Which virtual network do you wish to configure? (0-99) 1
4 Youmightbepromptedtokeepthisvirtualnetwork.Ifyouaresureyouwantto
removeit,typeyeswhenprompted:
The network vmnet1 has been reserved for a host-only network. You may
change it, but it is highly recommended that you use it as a host-only
network. Are you sure you want to modify it? (yes/no) [no] yes
5 Whenpromptedaboutthetypeofvirtualnetwork,selectnonetoremovethe
virtualnetwork.
What type of virtual network do you wish to set vmnet1?
(bridged,hostonly,nat,none) [hostonly] none
Anetworkaddresstranslation(NAT)configurationalsosetsupaprivatenetwork,
whichmustbeaTCP/IPnetwork.ThevirtualmachinesconfiguredforNATare
connectedtothatnetworkthroughavirtualswitch.Thehostcomputerisalso
connectedtotheprivatenetworkusedforNATthroughahostvirtualadapter.
Eachvirtualmachineandthehostmustbeassignedaddressesontheprivatenetwork.
ThisistypicallydoneusingtheDHCPserverthatcomeswithVMwareServer.This
serverdoesnotservicevirtual(orphysical)machinesresidingonbridgednetworks.
Addressescanalsobeassignedstaticallyfromapoolofaddressesthatarenotassigned
bytheDHCPserver.
IfhostonlynetworkingisenabledwhenVMwareServerisinstalled,thenetwork
numbertouseforthevirtualnetworkisautomaticallyselectedasanunusedprivateIP
networknumber.TofindoutwhichnetworkisusedonaWindowshost,select
Programs>VMwareServer>ManageVirtualNetworksandcheckthesubnetnumber
associatedwiththevirtualnetwork.OnaLinuxhost,runifconfiginaterminal.
ANATconfigurationalsousesanunusedprivatenetworkautomaticallyselectedwhen
youinstallVMwareServer.TofindoutwhichnetworkisusedonaWindowshost,
selectPrograms>VMwareServer>ManageVirtualNetworksandcheckthesubnet
numberassociatedwiththevirtualnetwork.OnaLinuxhost,runifconfigina
terminal.
UsingDHCPtoassignIPaddressesissimplerthanstaticallyassigningthem.Most
Windowsoperatingsystems,forexample,comepreconfiguredtouseDHCPatboot
time,soWindowsvirtualmachinescanconnecttothenetworkthefirsttimetheyare
booted,withoutadditionalconfiguration.Ifyouwantyourvirtualmachinesto
communicatewitheachotherusingnamesinsteadofIPaddresses,however,youmust
setupanamingconvention,anameserverontheprivatenetwork,orboth.Inthatcase
itmightbesimplertousestaticIPaddresses.
Ingeneral,ifyouhavevirtualmachinesyouintendtousefrequentlyorforextended
periodsoftime,itisprobablymostconvenienttoassignthemstaticIPaddressesorto
configuretheVMwareDHCPservertoalwaysassignthesameIPaddresstoeachof
thesevirtualmachines.
1 OnaLinuxhost,configurethehostonlyDHCPserverbyeditingtheDHCP
configurationfileforVMnet1(/etc/vmware/vmnet1/dhcp/dhcp.conf).
2 ToconfiguretheDHCPserverfortheNATnetwork,edittheconfigurationfilefor
VMnet8(/etc/vmware/vmnet8/dhcp/dhcp.conf).
EditingtheDHCPserverconfigurationfilerequiresinformationthatisbest
obtaineddirectlyfromtheDHCPserverdocumentation.
3 Consultthemanualpagesdhcpd(8)anddhcpd.conf(8).
1 OnaWindowshost,youconfiguretheDHCPserverusingthevirtualnetwork
editor.
2 FromtheWindowsStartmenu,selectPrograms>VMwareServer>Manage
VirtualNetworks.
3 ClickDHCP.
4 Selectthevirtualnetworkforwhichyouwanttochangesettingsandclick
Properties.
5 Makethedesiredchanges,thenclickOK.
ForeachhostonlyorNATnetwork,theavailableIPaddressesaresplitupusingthe
conventionsshowninthetablesbelow,where<net>isthenetworknumberassignedto
yourhostonlyorNATnetwork.VMwareServeralwaysusesaClassCaddressfor
hostonlyandNATnetworks.
Windows Hosts
SystemsusingserverversionsofWindows2000arecapableofforwardingIPpackets
thatarenotaddressedtothem.Bydefault,however,thesesystemscomewithIPpacket
forwardingdisabled.
IfyoufindpacketsleakingoutofahostonlynetworkonaWindows2000host
computer,checktoseewhetherforwardinghasbeenenabledonthehostmachine.Ifit
isenabled,disableit.
SelectStart>Programs>AdministrativeTools>RoutingandRemoteAccess.Anicon
ontheleftislabeledwiththehostname.Ifagreendotappearsovertheicon,IP
forwardingisturnedon.Toturnitoff,rightclicktheiconanddisableRoutingand
RemoteAccess.Areddotappears,indicatingthatIPforwardingisdisabled.
Linux Hosts
IfyoufindpacketsleakingoutofahostonlynetworkonaLinuxhostcomputer,check
toseewhetherforwardinghasmistakenlybeenenabledonthehostmachine.Ifitis
enabled,disableit.
FormanyLinuxsystems,disableforwardingbywritinga0(zero)tothespecialfile
/proc/sys/net/ipv4/ip_forward.Asroot,enterthiscommand:
echo 0>/proc/sys/net/ipv4/ip_forward
OtherLinuxsystemshaveasystemconfigurationoptionthatyoucanset.Themethod
dependsonyourLinuxdistribution.Youcanuseacontrolpanel,specifyasettingatthe
timeyoucompileyourkernel,orpossiblyenteraspecificationwhenyoubootyour
system.Consultyouroperatingsystemdocumentationfordetailsonthemethodtouse
withyourparticulardistribution.
Using Filtering
Ifthehostcomputerhasmultiplenetworkadapters,itmightbeintentionally
configuredtodoIPforwarding.Inthiscase,youdonotwanttodisableforwarding.To
avoidpacketleakage,youmustenableapacketfilteringfacilityandspecifythat
packetsfromthehostonlynetworkshouldnotbesentoutsidethehostcomputer.
Consultyouroperatingsystemdocumentationfordetailsonhowtoconfigurepacket
filtering.
Topreventtheleakage,makesurepacketforwardingisdisabledinyourguest
operatingsystem.
ThesoftwareguaranteesthatvirtualmachinesareassigneduniqueMACaddresses
withinagivenhostsystem.ThevirtualmachineisassignedthesameMACaddress
everytimeitispoweredonifbothofthefollowingconditionsaretrue:
Thevirtualmachineisnotmoved.Thatis,thepathandfilenameforthevirtual
machinesconfiguration(.vmx)fileremainthesame.
Nochangesaremadetocertainsettingsintheconfigurationfile.
However,VMwareServercannotguaranteethatitwillautomaticallyassignunique
MACaddressesforvirtualmachinesthatrunonmultiplehostsystems.
Alsodonotchangecertainsettingsinthevirtualmachinesconfigurationfile.Ifyou
neveredittheconfigurationfilebyhandanddonotremovethevirtualnetwork
adapter,thesesettingsremainuntouched.Ifyoudoedittheconfigurationfilebyhand,
donotremoveorchangethefollowingoptions:
ethernet[n].generatedAddress
ethernet[n].addressType
ethernet[n].generatedAddressOffset
uuid.location
uuid.bios
ethernet[n].present
NOTETopreserveavirtualnetworkadaptersMACaddress,youalsomustbecareful
nottoremovetheadapter.Ifyouremovetheadapterbutlaterrecreateit,theadapter
mightreceiveadifferentMACaddress.
ThesameMACaddressisassignedtoagivenvirtualmachineeverytimeyou
poweriton,evenifthevirtualmachineismoved.
AuniqueMACaddressforeachvirtualmachinewithinanetworkedenvironment.
Theaddressmustbeintheformat:
00:50:56:XX:YY:ZZ
XXmustbeavalidhexadecimalnumberbetween00hand3Fh,andYYandZZmustbe
validhexadecimalnumbersbetween00handFFh.Youmustusethisformatbecause
VMwareServervirtualmachinesdonotsupportarbitraryMACaddresses.
AvalueforXX:YY:ZZthatisuniqueamongyourhardcodedaddressesavoidsconflicts
betweentheautomaticallyassignedMACaddressesandthemanuallyassigned
addresses.
If,however,theprocessesarerunningbecausetheysupplyroutinginformation,you
needtoconfigurethemsotheydonotadvertiseroutestothehostonlynetwork.
TheversionofroutedthatcomeswithmanydistributionsofLinuxhasnosupportfor
specifyingthataninterfaceshouldnotbeadvertised.Consulttherouted(8)manual
pageforyoursystemincaseyouhaveamorecontemporaryversionofthesoftware.
Thegatedprocessrequiressomeconfiguration.Youneedtoexplicitlyexcludethe
VMnet1interfacefromanyprotocolactivity.Ifyouneedtorunvirtualmachinesona
hostonlynetworkonamultihomedsystemwheregatedisusedandhaveproblems
doingso,contactVMwaretechnicalsupportbysubmittingasupportrequestat
www.vmware.com/requestsupport.
DHCPD on the Linux Host Does Not Work After VMware Server
Installation
IfyouwererunningtheDHCPserverprogramdhcpdonyourmachinebefore
installingVMwareServer,itprobablywasconfiguredtorespondtoDHCPrequests
fromclientsonanynetworkinterfacepresentonthemachine.Whenhostonly
networkingisconfigured,anadditionalnetworkinterface,VMnet1,ismarkedup
andavailableforuse,anddhcpdmightnoticethis.
Insuchcases,somedhcpdimplementationsabortiftheirconfigurationfilesdonot
includeasubnetspecificationfortheinterfaceevenifdhcpdisnotsupposedto
respondtomessagesthatarrivethroughtheinterface.
Thebestsolutiontothisproblemistoaddalineinthefollowingformattothedhcpd
configurationfile:
subnet <net>.0 netmask 255.255.255.0 {}
<net>isthenetworknumberassignedtoyourhostonlynetworkforexample,
192.168.0.Thisconfigurationfileentryinformsdhcpdaboutthehostonlynetworkand
tellsitexplicitlynottorespondtoanyDHCPrequestsitseescomingfromit.
Analternativesolutionistoexplicitlystatethesetofnetworkinterfacesthatyouwant
dhcpdtolistentoeachtimeyoustarttheprogram.Forexample,ifyourmachinehas
oneEthernetinterface,eth0,theneachtimeyoustartdhcpd,listitonthecommand
line:
dhcpd eth0
Thiskeepsdhcpdfromprobingforallavailablenetworkinterfaces.
IftheabovesolutionsdonotworkforyourDHCPserverprogram,thenitlikelyisold.
YoucantryupgradingtoamorecurrentversionsuchastheDHCPsoftwareavailable
fromtheISCWebsiteatwww.isc.org.
Ifyouwanttousenamestocommunicatewithothervirtualmachines,youmusteither
edittheDHCPconfigurationfileforVMnet1(/etc/vmware/vmnet1.conf)oruseIP
addressesthatarestaticallyboundtoahostname.EditingtheDHCPserver
configurationfilerequiresinformationthatisbestobtaineddirectlyfromtheDHCP
serverdocumentation.Consultthemanualpagesdhcpd(8)anddhcpd.conf(8).
WhenyouinstallVMwareServeronahostcomputerwithmultiplenetworkadapters,
youhavetheoptionofconfiguringmorethanonebridgednetwork.Youcanalso
configureadditionalbridgednetworksatanytimebyrerunningvmware-config.pl.
1 Asroot(su -),runtheVMwareServerconfigurationprogram.
vmware-config.pl
ToconfigureVMwareServercorrectly,thevmware-config.plconfiguration
programrequiresallvirtualmachinestobeshutdown.Theprogramshutsdown
anyrunningvirtualmachinesautomatically.
Ifyouhavemorethanonephysicalnetworkadapter,oneofthepromptsyousee
issimilartothis:
The following bridged networks have been defined:
. vmnet0 is bridged to eth0
Do you wish to configure another bridged network? (yes/no) [no]
Typeyes.
2 Ifyouhaveadditionalphysicalnetworkadaptersnotyetconnectedtoabridged
network,thepromptisrepeated,showinginformationaboutallcurrently
configuredbridgednetworks.
3 Whenyouhavesetupallthebridgednetworksyouwant,typeno.
Anothermethodforprovidingfaulttoleranceisbymakingsurethatautomatic
bridgingisenabled.ThisfeatureisavailableonWindowshostsonlyandisenabledby
default.Formoreinformation,seeConfiguringBridgedNetworkingOptionsona
WindowsHostonpage 225.Thismethodismorelimitedthanusingnetworkadapter
teaming,asitdoesnotallowforloadbalancing,switchfaulttolerance,faulttolerance
toanynecessaryservicesrunningonthehost,ortheabilitytospecifyanadapterasthe
primaryorsecondaryadapter.
Certainnetworkadapterteamingmodesprovideloadbalancingandarediscussed
below.
IfyourVMwareServerhostisconfiguredtouseteamednetworkinterfacecards,and
youusebridgednetworkingwithyourvirtualmachines,youneedtoadjustyour
networksettings.YoudothisbybindingtheVMwareBridgeProtocoltotheteamed
networkadapterandunbindingitfromeachindividual,physicalnetworkadapteron
thehost.SeeSettingUptheWindowsHostonpage 239.
BeforeyoustartusingteamedNICstonetworkyourvirtualmachines,youmusthave
agoodunderstandingofhownetworkteamingworksinyourhostenvironment.
NOTEYoumightbeunabletouseHostTeamedBroadcomNICsforabridgedvirtual
networkifyouareusingteamedBroadcomnetworkadapterssettoSmartLoadBalance
andFailOverusingBroadcomteamnetworkingsoftware,orifyouarenotrunningthe
latestvirtualadapterdriver.TobridgetoateamedBroadcomdevice,makesurethat
youhaveinstalledthelatestdriver,thenrecreatetheteamwithGenericTrunkingasthe
TeamType.
VMwarehasnottestedanddoesnotsupportnetworkadapterteamswith
VMware ServeronLinuxhosts.
VMwareServersupportsteamedBroadcombasednetworkadapterswhenusedwith
Broadcomteamingsoftwareinthefollowingmodes:
GenericTrunking(FEC/GEC/802.3adDraftStatic)
LinkAggregation(802.3ad)
SmartLoadBalanceandFailOver
VMwareServersupportsteamedIntelbasednetworkadapterswhenusedwithIntel
PROSetversion6.4orhigher(32bithosts)orPROSetversion10.0orhigher(64bit
hosts)inthefollowingmodes:
AdapterFaultTolerance
AdaptiveLoadBalancing
StaticLinkAggregation(64bithosts)
FEC/802.3adStaticLinkAggregation(32bithosts)
GEC/802.3adStaticLinkAggregation(32bithosts)
IEEE802.3adDynamicLinkAggregation
NOTEExpressTeamingmodeisnotsupportedwhenyouareteamingIntelbased
networkadapters.
1 OpentheWindowsControlPanel,andopenNetworkConnections(onaWindows
Server2003host)oropenNetworkandDialupConnections(onaWindows2000
host).
2 Rightclicktheteamednetworkadapterdevice,andselectPropertiestobindthe
VMwareBridgeProtocoltotheteamednetworkadapter.
3 CheckVMwareBridgeProtocol.
4 ClickOKtoclosethepropertysheet.
5 Rightclickthenetworkadapter,andselectPropertiestounbindthe
VMware BridgeProtocolfromeachphysicalnetworkadapterthatisbeingused
forbridgednetworking.
6 CleartheVMwareBridgeProtocolcheckbox.
7 ClickOKtoclosethepropertysheet.
Alternately,youcanusethevirtualnetworkeditortoeithermaptheteamednetwork
adaptertoVMnet0orexcludethephysicaladaptersfromanyautomaticbridgingby
VMwareServer.Forinformation,seeConfiguringBridgedNetworkingOptionsona
WindowsHostonpage 225.
CAUTIONBeforeyoudeletetheoriginalteam,powerofforsuspendallvirtual
machinesonthehosttopreventtheteamingsoftwarefromlockingup.
Youmight,forexample,wanttohavetwovirtualmachinesconnectedtoonehostonly
network,andatthesametimehaveothervirtualmachinesconnectedtoanother
hostonlynetwork.Thissetupisolatesnetworktrafficoneachnetwork.
Oryoumightwanttotestroutingbetweentwovirtualnetworks.Ortestavirtual
machinewithmultiplenetworkinterfacecardswithoutusinganyphysicalnetwork
adapters.
OnWindowshosts,thefirsthostonlynetworkissetupautomaticallywhenyouinstall
VMwareServer.
OnLinuxhosts,thefirsthostonlynetworkissetupwhenyourunthe
vmware-config.plprogramafteryouinstallVMwareServer(providedyouagreeto
installhostonlynetworking).Ifyoudidnotagreetousehostonlynetworking,you
needtorunthescriptagaintosetuphostonlynetworking.
Tosetupthesecondhostonlynetwork,followthestepsoutlinedbelowforyourhost
operatingsystem.
1 FromtheWindowsStartmenu,selectPrograms>VMwareServer>Manage
VirtualNetworks.
2 ClickHostVirtualAdapters.
3 ClickAddnewadapter.
4 SelectthevirtualnetworkonwhichtousetheadapterandclickOK.
5 ClickApply.
6 ClickOKtoclosethevirtualnetworkeditor.
1 Asroot(su -),runtheVMwareServerconfigurationprogram.
vmware-config.pl
ToconfigureVMwareServercorrectly,thevmware-config.plconfiguration
programrequiresallvirtualmachinestobeshutdown.Theprogramshutsdown
anyrunningvirtualmachinesautomatically.
AfterpromptingtoconfigureaNATnetwork,thefollowingpromptisdisplayed:
Do you want to be able to use host-only networking in your virtual
machines?
2 Selectyes.
Thewizardreportsonhostonlynetworksthatyouhavealreadysetuponthehost
or,ifnohostonlynetworkispresent,configuresthefirstone.
Thewizardprompts:
Do you wish to configure another host-only network?
3 Selectyes.
Repeatthisstepforeachhostonlynetworkyouwanttoconfigure.Thentypeno.
4 Completetheremainingstepsinthewizard.
Whenthewizardisfinished,itrestartsallservicesusedbyVMwareServer.
5 Runifconfig.
Youshouldseeatleastfournetworkinterfaceseth0,lo,vmnet1,andvmnet2.
IftheVMnetinterfacesdonotdisplayimmediately,waitforaminute,andrunthe
commandagain.ThesefourinterfacesshouldhavedifferentIPaddresson
separatesubnets.
Thevirtualmachineisconfiguredwithonevirtualnetworkadapter,andthat
virtualadapterisconnectedtothedefaulthostonlyinterface(VMnet1).
Thevirtualmachineisconfiguredwithonevirtualnetworkadapter,andthat
virtualadapterisconnectedtothenewlycreatedhostonlyinterface(VMnet2).
Thevirtualmachineisconfiguredwithtwovirtualnetworkadapters.Onevirtual
adapterisconnectedtothedefaulthostonlyinterface(VMnet1)andtheother
virtualadapterisconnectedtothenewlycreatedhostonlyinterface(VMnet2).
1 Createthevirtualmachineoruseanexistingvirtualmachine.
2 LaunchVI WebAccessandselectthevirtualmachine.
3 Edittheconfigurationusingthevirtualnetworkeditor.
4 SelectNIC,selectCustom,andselectVMnet1(Hostonly)(onaWindowshost)or
/dev/vmnet1(onaLinuxhost)fromthedropdownlistontheright.
Ifnonetworkadapterisshowninthelistofdevices,clickAdd,andusetheAdd
Hardwarewizardtoaddanadapter.
1 Createthevirtualmachineoruseanexistingvirtualmachine.
2 LaunchVI WebAccessandselectthevirtualmachine.
3 Edittheconfigurationusingthevirtualnetworkeditor.
SelectNIC,selectCustom,andselectVMnet2(Hostonly)(onaWindowshost)
or/dev/vmnet2(onaLinuxhost)fromthedropdownlistontheright.
Ifnonetworkadapterisshowninthelistofdevices,clickAdd,andusetheAdd
Hardwarewizardtoaddanadapter.
1 Createthevirtualmachineoruseanexistingvirtualmachine.
2 LaunchVI WebAccessandselectthevirtualmachine.
3 Edittheconfigurationusingthevirtualnetworkeditor.
Selectthefirstnetworkadapterinthelistofdevices,selectCustom,andselect
VMnet1(Hostonly)(onaWindowshost)or/dev/vmnet1(onaLinuxhost)from
thedropdownlistontheright.Selectthesecondnetworkadapterinthelistof
devices,selectCustom,thenselectVMnet2(Hostonly)(onaWindowshost)or
/dev/vmnet2(onaLinuxhost)fromthedropdownlistontheright.
Ifyouneedtoaddoneormorenetworkadapters,clickAdd,andusetheAdd
Hardwarewizardtoaddanadapter.
Atthispointyoucanpoweronthevirtualmachineandinstallyourguestoperating
system.Inconfigurations1and2youseeoneAMDPCNetAdapter.Inconfiguration3
youseetwoAMDPCNetAdapterswithintheguest.Configurethenetworkadapters
asyouwouldphysicaladaptersonaphysicalcomputer,givingeachadapteranIP
addressontheappropriateVMnetsubnet.
OnWindowshosts,youcanopenacommandpromptandrunipconfig /alltosee
whatIPaddresseseachhostonlynetworkisusing.
OnLinuxhosts,youcanopenaterminalandrunifconfigtoseewhatIPaddresses
eachhostonlynetworkisusing.
Therearetwobasicapproaches.Inone,theroutersoftwarerunsonthehostcomputer.
Intheother,theroutersoftwarerunsinitsownvirtualmachine.Inbothcases,youneed
twohostonlyinterfaces.
Theexamplesdescribedhereoutlinethesimplestcase,withonevirtualmachineon
eachofthehostonlynetworks.Formorecomplexconfigurations,youcanaddmore
virtualmachinesandhostonlynetworksasappropriate.
OnLinuxhosts,thefirsthostonlynetworkissetupwhenyourunthe
vmware-config.plprogramafteryouinstallVMwareServer,providedyouagreeto
installhostonlynetworking.Ifyoudidnotagreetousehostonlynetworking,you
needtorunthescriptagaintosetuphostonlynetworking.
1 FromtheWindowsStartmenu,selectPrograms>VMwareServer>Manage
VirtualNetworks.
2 ClickHostVirtualAdapters.
3 ClickAddnewadapter.
4 SelectthevirtualnetworkonwhichyouwanttousetheadapterandclickOK.
5 ClickApply.
6 ClickOKtoclosethevirtualnetworkeditor.
ToconfigureVMwareServercorrectly,thevmware-config.plconfiguration
programrequiresallvirtualmachinestobeshutdown.Theprogramshutsdown
anyrunningvirtualmachinesautomatically.
Usethewizardtomodifyyourconfiguration.AfterpromptingtoconfigureaNAT
network,theprogramprompts:
Do you want to be able to use host-only networking in your virtual
machines?
Typeyes.
Thewizarddisplaysthehostonlynetworksthatyouhavealreadysetuponthe
hostor,ifnoneispresent,configuresthefirsthostonlynetwork.
2 Thewizardprompts:
Do you wish to configure another host-only network?
Typeyes.
Repeatthisstepforeachhostonlynetworkyouwanttoconfigure.Thentypeno.
3 Completethewizard.Whenitisfinished,itrestartsallservicesusedby
VMware Server.
4 Runifconfig.Youshouldseeatleastfournetworkinterfaceseth0,lo,
vmnet1,andvmnet2.IftheVMnetinterfacesdonotshowupimmediately,waitfor
aminute,thenrunthecommandagain.Thesefourinterfacesshouldhavedifferent
IPaddressonseparatesubnets.
1 Createthevirtualmachineoruseanexistingvirtualmachine.
2 Edittheconfigurationusingthevirtualnetworkeditor.
SelectNIC,selectCustom,andselectVMnet1(Hostonly)(onaWindowshost)or
/dev/vmnet1(onaLinuxhost)fromthedropdownlistontheright.
Ifnonetworkadapterisshowninthelistofdevices,clickAdd,andusetheAdd
Hardwarewizardtoaddanadapter.
1 Createthevirtualmachineoruseanexistingvirtualmachine.
2 Edittheconfigurationusingthevirtualnetworkeditor.
SelectNIC,selectCustom,andselectVMnet2(Hostonly)(onaWindowshost)or
/dev/vmnet2(onaLinuxhost)fromthedropdownlistontheright.
Ifnonetworkadapterisshowninthelistofdevices,clickAdd,andusetheAdd
Hardwarewizardtoaddanadapter.
Ifyouplantoruntheroutersoftwareonyourhostcomputer,youcanskipthenext
section.
Ifyouplantoruntheroutersoftwareonavirtualmachine,setupathirdvirtual
machineforthatpurpose.
1 Createthevirtualmachineoruseanexistingvirtualmachine.
2 Edittheconfigurationusingthevirtualnetworkeditor.
Selectthefirstnetworkadapterinthelistofdevices,selectCustom,andselect
VMnet1(Hostonly)(onaWindowshost)or/dev/vmnet1(onaLinuxhost)from
thedropdownlistontheright.Selectthesecondnetworkadapterinthelistof
devices,thenselectCustom,selectVMnet2(Hostonly)(onaWindowshost)or
/dev/vmnet2(onaLinuxhost)fromthedropdownlistontheright.
Ifyouneedtoaddoneormorenetworkadapters,clickAdd,andusetheAdd
Hardwarewizardtoaddanadapter.
Nowyouneedtoconfigurethenetworkingcomponentsonthehostandinthevirtual
machines.TherecommendedapproachusesstaticIPaddressesforallthevirtual
machines.
1 StoptheVMnetDHCPserverservice.
Windowshost:Fromthevirtualnetworkeditor,selectDHCPandclickStop
service.
Linuxhost:Stopthevmnet-dhcpdservice.
killall -TERM vmnet-dhcpd
2 Installguestoperatingsystemsineachofthevirtualmachines.
3 Installtheroutersoftwareonthehostcomputerorinthethirdvirtualmachine,
dependingontheapproachyouareusing.
4 Configurenetworkinginthefirsttwovirtualmachinestouseaddressesonthe
appropriatehostonlynetwork.
OnWindowshosts,youcanopenacommandpromptandrunipconfig /allto
seewhatIPaddresseseachhostonlynetworkisusing.
OnLinuxhosts,youcanopenaterminalandrunifconfigtoseewhatIP
addresseseachhostonlynetworkisusing.
5 Ifyouarerunningtherouteronthehostcomputer,assigndefaultrouteraddresses
basedontheaddressesofthehostonlyadaptersonthehostcomputer.Inthefirst
virtualmachinesnetworkingconfiguration,thedefaultrouteraddressshouldbe
theIPaddressforthehostonlyadapterconnectedtoVMnet1.Inthesecondvirtual
machinesnetworkingconfiguration,thedefaultrouteraddressshouldbetheIP
addressforthehostonlyadapterconnectedtoVMnet2.
Ifyouarerunningtheroutersoftwareonthethirdvirtualmachine,setthedefault
routeraddressesinthefirsttwovirtualmachinesbasedonthoseusedbythethird
virtualmachine.Inthefirstvirtualmachinesnetworkingconfiguration,the
defaultrouteraddressshouldbetheIPaddressforthethirdvirtualmachines
networkadapterconnectedtoVMnet1.Inthesecondvirtualmachinesnetworking
configuration,thedefaultrouteraddressshouldbetheIPaddressforthethird
virtualmachinesnetworkadapterconnectedtoVMnet2.
Atthispointyoushouldbeabletopingtheroutermachinefromvirtualmachinesone
andtwo.Andiftheroutersoftwareissetupcorrectly,youshouldbeableto
communicatebetweenthefirstandsecondvirtualmachines.
WhenyouinstallandconfigureVMwareServer,youmustruntheinstallationasroot.
VMwareServercreatestheVMnetdeviceswithrootownershipandrootgroup
ownership,whichmeansthatonlyroothasreadandwritepermissionstothedevices.
Tosetthevirtualmachinesnetworkadaptertopromiscuousmode,youmustlaunch
VMwareServerasrootbecauseyoumusthavereadandwriteaccesstotheVMnet
device.Forexample,ifyouareusingbridgednetworking,youmusthaveaccessto
/dev/vmnet0.
TograntselectedotherusersreadandwriteaccesstotheVMnetdevice,youcancreate
anewgroup,addtheappropriateuserstothegroupandgrantthatgroupreadand
writeaccesstotheappropriatedevice.Youmustmakethesechangesastherootuser
onthehostoperatingsystem.Forexample,youcanenterthefollowingcommands:
chgrp <newgroup> /dev/vmnet0
chmod g+rw /dev/vmnet0
<newgroup>isthegroupthatshouldhavetheabilitytosetvmnet0topromiscuous
mode.
IfyouwantalluserstobeabletosetthevirtualnetworkAdapter(/dev/vmnet0inour
example)topromiscuousmode,runthefollowingcommandastherootuseronthe
host:
chmod a+rw /dev/vmnet0
Understanding NAT
Networkaddresstranslation,orNAT,providesasimplewayforvirtualmachinesto
usemostclientapplicationsoveralmostanytypeofnetworkconnectionavailableto
thehost.TheonlyrequirementforNATisthatthenetworkconnectionmustsupport
TCP/IP.
NATisusefulwhenyouhavealimitedsupplyofIPaddressesorareconnectedtothe
networkthroughanonEthernetnetworkadapter.NATworksbytranslatingaddresses
ofvirtualmachinesinaprivateVMnetnetworktothatofthehostmachine.Whena
virtualmachinesendsarequesttoaccessanetworkresource,itappearstothenetwork
resourceasiftherequestcamefromthehostmachine.
NATusesthehostsownnetworkresourcestoconnecttotheexternalnetwork.Thus,
anyTCP/IPnetworkresourcetowhichthehosthasaccessshouldbeavailablethrough
theNATconnection.
ThechiefadvantageofNATisthatitprovidesatransparent,easytoconfigurewayfor
virtualmachinestogainaccesstonetworkresources.
ThefollowingsectionsprovidemoreinformationaboutNAT.
Using NAT
TheNATdeviceisconnectedtotheVMnet8virtualswitch.Virtualmachinesconnected
totheNATnetworkalsousetheVMnet8virtualswitch.
TheNATdevicewaitsforpacketscomingfromvirtualmachinesontheVMnet8virtual
network.Whenapacketarrives,theNATdevicetranslatestheaddressofthevirtual
machinetothatofthehostbeforeforwardingthepackettotheexternalnetwork.When
dataarrivesfromtheexternalnetworkforthevirtualmachineontheprivatenetwork,
theNATdevicereceivesthedata,replacesthenetworkaddresswiththatofthevirtual
machineandforwardsthedatatothevirtualmachineonthevirtualnetwork.This
translationoccursautomaticallyandrequiresminimalconfigurationontheguestand
thehost.
InadditiontotheIPaddress,theDHCPserverontheNATnetworkalsosendsout
additionalconfigurationinformationthatenablesthevirtualmachinetooperate
automatically.ThisinformationincludesthedefaultgatewayandtheDNSserver.Inthe
DHCPresponse,theNATdeviceinstructsthevirtualmachinetousetheIPaddress
<net>.2asthedefaultgatewayandDNSserver.ThiscausesallIPpacketsdestinedfor
theexternalnetworkandDNSrequeststobeforwardedtotheNATdevice.
IftheygettheirconfigurationinformationfromDHCP,thevirtualmachinesonthe
NATnetworkautomaticallyusetheNATdeviceastheDNSserver.However,the
virtualmachinescanbestaticallyconfiguredtouseanotherDNSserver.
ThevirtualmachinesintheprivateNATnetworkarenot,themselves,accessibleusing
DNS.IfyouwantthevirtualmachinesrunningontheNATnetworktoaccesseach
otherbyDNSnames,youmustsetupaprivateDNSserverconnectedtotheNAT
network.
Ontheexternalnetworktowhichthehostisconnected,anyvirtualmachineonthe
NATnetworkappearstobethehostitself,becauseitsnetworktrafficusesthehostsIP
address.ItisabletosendandreceivedatausingTCP/IPtoanymachinethatis
accessiblefromthehost.
Beforeanysuchcommunicationcanoccur,theNATdevicemustsetupamapping
betweenthevirtualmachinesaddressontheprivateNATnetworkandthehosts
networkaddressontheexternalnetwork.
Whenavirtualmachineinitiatesanetworkconnectionwithanothernetworkresource,
thismappingiscreatedautomatically.Theoperationisperfectlytransparenttotheuser
ofthevirtualmachineontheNATnetwork.Noadditionalworkneedstobedonetolet
thevirtualmachineaccesstheexternalnetwork.
Thesamecannotbesaidfornetworkconnectionsthatareinitiatedfromtheexternal
networktoavirtualmachineontheNATnetwork.
Whenamachineontheexternalnetworkattemptstoinitiateaconnectionwithavirtual
machineontheNATnetwork,itcannotreachthevirtualmachinebecausetheNAT
devicedoesnotforwardtherequest.Networkconnectionsthatareinitiatedfrom
outsidetheNATnetworkarenottransparent.
However,itispossibletoconfigureportforwardingmanuallyontheNATdeviceso
networktrafficdestinedforacertainportcanstillbeforwardedautomaticallytoa
virtualmachineontheNATnetwork.Fordetails,seeAdvancedNATConfiguration
onpage 251.
FilesharingofthetypeusedbyWindowsoperatingsystemsandSambaispossible
amongcomputersontheNATnetworkincludingvirtualmachinesandthehost
computer.IfyouareusingWINSserversonyournetwork,avirtualmachineusing
NATnetworkingcanaccesssharedfilesandfoldersonthehostthatareknownbythe
WINSserversolongasthosesharedfilesandfoldersareinthesameworkgroupor
domain.
Windows Hosts
ConfiguretheNATdeviceusingthevirtualnetworkeditor(fromtheWindowsStart
menu,selectPrograms>VMwareServer>ManageVirtualNetworks,andclickthe
NATtab).
Youcanstop,restart,andstartthevirtualNATdevicebyclickingtheappropriate
button.TheVMnethostsettingletsyouselectwhichvirtualnetworkusestheNAT
device.YoucanselectDisableifyoudonotwanttouseNATonanyvirtualnetwork.
ToeditNATsettingsforavirtualnetwork,selectitfromthedropdownmenu,then
clickEdit.TheNATSettingsdialogboxappears.
YoucanchangeanyofthefollowingNATsettings:
PortforwardingletsyousendincomingTCPorUDPrequeststoaspecificvirtual
machineonthevirtualnetworkservedbytheNATdevice.Tosetupandconfigure
forwardedports,clickPortforwarding.Adialogboxappears.
ToaddanewportforeitherTCPorUDP,clickAdd.Ifaportisalreadylisted,you
canchangeitssettings.Selectitsnameinthelist,andclickProperties.Orclick
Removetoremovetheselectedport.
WhenyouclickAdd,anotherdialogboxappears.IntheHostportfield,typethe
numberoftheincomingTCPorUDPport.Forexample,incomingHTTPrequests
areusuallyonport80.InthefirstForwardingIPaddressfield,typetheIPaddress
ofthevirtualmachinetowhichyouwanttoforwardtheincomingrequests.Inthe
secondfieldonthatline,typetheportnumberyouwanttouseforthoserequests
onthatvirtualmachine.Youcanenterthestandardport,suchas80forHTTP,ora
nonstandardportifsoftwarerunninginthevirtualmachineisconfiguredtoaccept
requestsonanonstandardport.TheDescriptionfieldisoptional.Youmightuse
ittoidentifytheservicebeingforwarded(forexample,HTTP).Whenyouhave
madethesesettings,clickOK.
YoucanspecifyDNSserverstobeusedbythevirtualNATdevice.Todoso,click
DNS.Adialogboxappears.YoucanchangethePolicyforusingmultipleDNS
serversifyouprefertouseRotateorBurstinsteadofthedefaultsettingofOrder.
ToaddaDNSservertothelist,clickAdd.Anotherdialogboxappears.Enterthe
DNSserversIPaddressintheIPaddressfield.TheDescriptionfieldisoptional.
Whenyouhavemadethedesiredsettings,clickOK.Tochangethesettingsfora
serveralreadyinthelist,selectitsentryintheDNSdialogbox,andclick
Properties.Todeleteanentry,selecttheentry,andclickRemove.Whenyouhave
madethedesiredchanges,clickOK.
YoucanchangetheIPaddressfortheNATdeviceintheGatewayIPaddressfield.
TochangetheNetmask,clickthebuttonontheHostVirtualNetworkMapping
tabofthevirtualnetworkeditorandselectSubnet.
ToallowonlypassivemodeFTPovertheNATdevice,deselecttheActiveFTP
checkbox.
YoucanchangethenumberofminutestokeeptheUDPmappingfortheNATin
theUDPtimeoutfield.
IfyouchangetheOUI(OrganizationallyUniqueIdentifier)portionoftheMAC
addressforthevirtualmachineandsubsequentlycannotuseNATwiththevirtual
machine,youshouldchecktheAllowAnyOUIcheckbox.
IntheConfigportfield,youcanspecifyaportthatcanbeusedtoaccessstatus
informationabouttheNAT.Thisoptionisusedfortroubleshootingpurposeswith
VMwaretechnicalsupportonly.
YoucanchangeNetBIOStimeoutandretrysettings.
Whenyouhavemadeallthenetworkingchangesyouwant,clickOK.
Linux Hosts
UsetheNATconfigurationfileonthehosttoconfiguretheNATdevice.Thisfileis
/etc/vmware/vmnet8/nat/nat.conf.
Theconfigurationfileisdividedintosections.EachsectionconfiguresapartoftheNAT
device.Textsurroundedbysquarebracketssuchas[host]marksthebeginning
ofasection.Ineachsectionisaconfigurationparameterthatcanbeset.The
configurationparameterstaketheformip = 192.168.27.1/24.
ForanexampleofaNATconfigurationfile,seeSampleLinuxvmnetnat.confFileon
page 257.Theconfigurationfilevariablesaredescribedbelow.
netmask
ThesubnetmasktousefortheNAT.DHCPaddressesareallocatedfromthisrangeof
addresses.
configport
AportthatcanbeusedtoaccessstatusinformationabouttheNAT.
device
TheVMnetdevicetouse.Linuxdevicesareoftheformat/dev/vmnet<x>.VMnet8is
thedefaultNATdevice.
activeFTP
AflagthatindicatesifactiveFTPistobeallowed.ActiveFTPallowsincoming
connectionstobeopenedbytheremoteFTPserver.Turningthisoffmeansthatonly
passivemodeFTPworks.Settheflagto0toturnactiveFTPoff.
Thefollowinglineshowstheformatusedinthissection.
8887 = 192.168.27.128:21
Thisexamplecreatesamappingfromport8887onthehosttotheIPaddress
192.168.27.128andport21.Whenthismappingissetandanexternalmachineconnects
tothehostatport8887,thenetworkpacketsareautomaticallyforwardedtoport21(the
standardportforFTP)onthevirtualmachinewithIPaddress192.168.27.128.
Thefollowinglineshowstheformatusedinthissection.Itillustratesawaytoforward
Xservertrafficfromthehostport6000tothevirtualmachinesport6001.
6000 = 192.168.27.128:6001
Thisexamplecreatesamappingfromport6000onthehosttotheIPaddress
192.168.27.128andport6001.Whenthismappingissetandanexternalmachine
connectstothehostatport6000,thenetworkpacketsareautomaticallyforwardedto
port6001onthevirtualmachinewithIPaddress192.168.27.128.
NOTEYoucanchangemanykeyNATandDCHPsettingsusingthevirtualnetwork
editor(fromtheWindowsStartmenu,selectPrograms>VMwareServer>Manage
VirtualNetworks).However,ifyouhavemademanualchangestotheconfiguration
files,someorallofthosechangesmightbelostwhenyouusethevirtualnetworkeditor.
Ifyouhavemademanualchanges,makebackupcopiesofthefilesbeforechangingany
settingsinthevirtualnetworkeditor.Aftermakingchangesinthevirtualnetwork
editor,youcancopyyourmanualchangesbackintotheappropriateconfigurationfiles.
IfavirtualmachineusingNATattemptstoconnecttoaserverthatrequirestheclient
touseasourceportbelow1024,itisimportantthattheNATdeviceforwardtherequest
fromaportbelow1024.Youcanspecifythisbehaviorinthevmnetnat.conffile.
Thisbehavioriscontrolledbyentriesinsectionsheaded[privilegedUDP]and
[privilegedTCP].Youmighthavetoaddsettingstoormodifysettingsineitheror
bothofthesesections,dependingonthekindofconnectionyouneedtomake.
Youcansettwoparameters,eachofwhichappearsonaseparateline.
autodetect = <n>
TheautodetectsettingdetermineswhethertheVMwareNATdeviceautomatically
attemptstomapvirtualmachinesourceportsbelow1024toNATsourceportsbelow
1024.Asettingof1meanstrue.Asettingof0meansfalse.OnaWindowshost,the
defaultis1(true).OnaLinuxhost,thedefaultis0(false).
port = <n>
Theportsettingspecifiesadestinationport(<n>istheportontheserverthataccepts
theconnectionfromtheclient).Wheneveravirtualmachineconnectstothespecified
portonanyserver,theNATdeviceattemptstomaketheconnectionfromasourceport
below1024.Youcanincludeoneormoreportsettingsinthe[privilegedUDP]or
[privilegedTCP]sectionorinbothsections,asrequiredfortheconnectionsyouneed
tomake.Eachportsettingmustbeenteredonaseparateline.
NATisnotperfectlytransparent.Itdoesnotnormallyallowconnectionstobeinitiated
fromoutsidethenetwork,althoughyoucansetupserverconnectionsbymanually
configuringtheNATdevice.ThepracticalresultisthatsomeTCPandUDPprotocols
thatrequireaconnectionbeinitiatedfromtheservermachinesomepeertopeer
applications,forexampledonotworkautomatically,andsomemightnotworkatall.
AstandardNATconfigurationprovidesbasiclevelfirewallprotectionbecausethe
NATdevicecaninitiateconnectionsfromtheprivateNATnetwork,butdevicesonthe
externalnetworkcannotnormallyinitiateconnectionstotheprivateNATnetwork.
TouseNetLogon,youneedtoknowhowWINSserversandWindowsdomain
controllerswork.Thissectionexplainshowtosetupthevirtualmachinetouse
NetLogon.Thesetupprocessissimilartothewayyousetupaphysicalcomputeron
oneLANthatisusingadomaincontrolleronanotherLAN.
TologontoaWindowsdomainoutsidethevirtualNATnetwork,thevirtualmachine
needsaccesstoaWINSserverforthatdomain.Therearetwowaysyoucanconnectthe
virtualmachinetoaWINSserver.YoucanconnecttotheWINSserverprovidedbythe
DHCPserverusedontheNATnetwork,providedthattheWINSserverisalreadyset
uponthehost.IfyouwanttoconnectfromthevirtualmachinetoaWINSservernot
setuponthehost,youcanmanuallyentertheIPaddressoftheWINSserver.
1 Inthevirtualmachine,rightclickonMyNetworkPlacesandselectProperties.
2 IntheNetworkConnectionswindow,rightclickthevirtualnetworkadapterand
selectProperties.
3 InthePropertiesdialogbox,selectInternetProtocol(TCP/IP),andclick
Properties.
4 IntheTCP/IPPropertiesdialogbox,clickAdvanced.
5 ClicktheWINStab,thenunderNetBIOSsetting,selectUseNetBIOSsetting
fromDHCPServer.
6 ClickOKtwice,andclickClose.
1 Inthevirtualmachine,rightclickonMyNetworkPlacesandselectProperties.
2 IntheNetworkConnectionswindow,rightclickthevirtualnetworkadapterand
selectProperties.
3 InthePropertiesdialogbox,selectInternetProtocol(TCP/IP),andclick
Properties.
4 IntheTCP/IPPropertiesdialogbox,clickAdvanced.
5 ClicktheWINStab,andclickAdd.
6 IntheTCP/IPWINSServerdialogbox,entertheIPaddressfortheWINSserverin
theWINSserverfield,andclickOK.TheIPaddressoftheWINSserverappears
intheWINSaddresseslistontheWINStab.
Repeatsteps5and6foreachWINSservertowhichyouwanttoconnectfromthis
virtualmachine.
7 ClickOKtwice,andclickClose.
NowthatthevirtualmachinehasanIPaddressforaWINSserver,youuseNetLogon
inthevirtualmachinetologontoadomainandaccesssharesinthatdomain.
Forexample,iftheWINSservercoversadomainwithadomaincontroller,itispossible
toaccessthatdomaincontrollerfromthevirtualmachineandaddthevirtualmachine
tothedomain.YouneedtoknowtheuserIDandpasswordoftheAdministratoronthe
domaincontroller.
NOTEYouraccessislimitedtosharesofvirtualmachinesthatareonthesameNAT
networkorarebridgedonthesamedomain.
[host]
# NAT gateway address
ip = 192.168.237.2/24
hostMAC = 00:50:56:C0:00:08
# Allows the source to have any OUI. Enable this if you change the OUI
# in the MAC address of your virtual machines.
#allowAnyOUI = 1
[udp]
# Timeout in seconds, 0 = no timeout, default = 60; real value might
# be up to 100% longer
timeout = 30
[incomingtcp]
# Use these with care - anyone can enter into your virtual machine through
# these...
# WEB (make sure that if you are using named webhosting, names point to
# your host, not to guest... And if you are forwarding port other
# than 80 make sure that your server copes with mismatched port
# number in Host: header)
# lynx http://localhost:8888
#8888 = 192.168.27.128:80
# SSH
# ssh -p 8889 root@localhost
#8889 = 192.168.27.128:22
[incomingudp]
# UDP port forwarding example
#6000 = 192.168.27.128:6001
YoucanthenuseWindowsExplorerinthevirtualmachinetomoveandcopyfiles
betweenvirtualmachineandhostorbetweenvirtualmachinesonthesamenetwork
justasyouwouldwithfilesonphysicalcomputersthatshareanetworkconnection.
ThelightlymodifiedSambaserverinstalledbyVMwareServerrunsoverthe
VMware ServervirtualEthernet,andtheSambatrafficbetweendifferentoperating
systemsisisolatedfromactuallocalareanetworks.
Thesourcecodedifferencesforthechanges(indiffformatandbasedonSamba2.0.6)
areavailablefromVMware.Formoreinformation,see
www.vmware.com/download/open_sources.html.
IfyoualreadyhaveSambaconfiguredonyourLinuxhost,therecommendedapproach
istomodifythatconfigurationsoitincludestheIPsubnetusedbytheVMwareServer
virtualnetworkadapter,VMnet1.
YoucanconfigureyourexistingSambaservertoworkwithahostonlynetwork.Allthe
sharesyousetupinSambaandintheguestoperatingsystemnormallyappearonthe
bridgednetworkaswell.
Ifyouneedtobesurethesharessetupintheguestoperatingsystemareseenonlyon
thehostonlynetwork,youmightfinditeasiesttoinstallandusetheSambaserver
providedwithVMwareServer.
Ifyoudonotneedanysharestoappearonyourbridgednetwork,youcanuseyour
existingSambaserverandsetuptheconfigurationfilesoitworksonlyonthehostonly
network.
Sambaconfigurationscanbequitecomplex.Thissectionprovidesseveralsample
configurationfiles.Ifyouneedtogobeyondtheissuescoveredhere,seethemanpage
forthesmb.conffile.Toviewthismanpage,typeoneofthefollowingcommandsina
terminalwindow:
man smb.conf
or
man 5 smb.conf
Payparticularattentiontothesectiononencryptedpasswords.Ifyouhaveenabled
cleartextpasswordsintheguestoperatingsystem,makesurethatsmb.confissetup
tousecleartextpasswords.Similarly,ifyouareusingencryptedpasswords,youmust
havethesamesettingintheguestoperatingsystemandinsmb.conf.
NOTEUsingSambaprintersharingwithvirtualmachinesisnotsupported.Consult
themanpagesforguidanceonconfiguringSambaforprinting.
# Global settings
[global]
# This should be polled at install time from the private subnet created by
# vmware-config.pl
socket address = 192.168.183.1
interfaces = vmnet1
bind interfaces only = yes
workgroup = WORKGROUP
netbios name = HOSTNAME
server string = VMware host-only
security = user
encrypt passwords = yes
dns proxy = no
# Shared resources
# Home directories
[homes]
comment = Home directories
browseable = no
writable = yes
# Printers
;[printers]
; comment = All printers
; path = /var/lpd
; browseable = no
; guest ok = no
; writable = no
; printable = yes
;[HostFS]
; comment = VMware host filesystem
; path = /
; public = no
; writeable = yes
; printable = no
# Global Settings
[global]
interfaces = eth0
workgroup = WORKGROUP
netbios name = HOSTNAME
server string = Samba Host Box
security = user
encrypt passwords = yes
smb passwd file = /etc/smbpasswd
dns proxy = no
# Shared Resources
[homes]
comment = Home Directories
browseable = yes
writable = yes
;[printers]
; comment = All Printers
; path = /var/spool/samba
; browseable = yes
; guest ok = yes
; writable = no
; printable = yes
; create mode = 0700
; print command = lpr-cups -P %p -o raw %s -r # using client side
; printer drivers.
; print command = lpr-cups -P %p %s # using cups own drivers (use
; generic PostScript on clients).
; lpq command = lpstat -o %p
; lprm command = cancel %p-%j
;[system]
; comment = System share
; path = /
; valid users = username
; public = no
; browsable = yes
; writable = yes
; printable = no
YoucanaddusernamesandpasswordstotheVMwareServerSambapasswordfileat
anytimefromaterminalwindowonyourLinuxhostcomputer.
To add user names and passwords to the VMware Server Samba password file
1 Astherootuser,runtheVMwareServerSambapasswordcommand.
vmware-smbpasswd vmnet1 -a <username>
<username>istheusernameyouwanttoadd.Followtheonscreeninstructions.
NOTEvmware-smbpasswdisbasedonthestandardSambapasswordprogram.If
youarefamiliarwiththeoptionsusedinsmbpasswd,youcanuseanyofthemin
vmware-smbpasswd.
2 Logoutasroot.
exit
Ifthefollowingmessageisdisplayed:
Unknown virtual interface "vmnet1"
ThisindicatesyourmachineisnotusingtheVMwareServerSambaserver.
IfyourinstallationofVMwareServerdoesnotincludetheVMwareServerSamba
serverandyouwanttosetitup,logonastherootuseronthehost,andrun
vmware-config.plfromaterminalonthehost.
ToconfigureVMwareServercorrectly,thevmware-config.plconfigurationprogram
requiresallvirtualmachinestobeshutdown.Theprogramshutsdownanyrunning
virtualmachinesautomatically.
Whentheconfigurationprogramprompts:
Do you want this script to automatically configure your system to allow your
virtual machines to access the host file system?
Typeyes.
Whentheconfigurationprogramprompts:
Do you want this script to automatically configure your system to allow your
virtual machines to access the host file system?
Typeno.
BesuretomodifyyourSambaconfigurationsoitincludestheIPsubnetusedbythe
VMwareServervirtualnetworkadapter,VMnet1.
YoumustbesuretheSambapasswordfileincludesentriesforallusersofthevirtual
machinewhowillaccessthehostsfilesystem.Theusernamesandpasswordsinthe
Sambapasswordfilemustbethesameasthoseusedforloggingontotheguest
operatingsystem.
YoucanaddusernamesandpasswordstotheSambapasswordfileatanytimefroma
terminalwindowonyourLinuxhostcomputer.
To add user names and passwords to the Samba password file from a Linux host
1 Logontotherootaccount.
su -
2 RuntheSambapasswordcommand.
smbpasswd -a <username>
<username>istheusernameyouwanttoadd.Followtheonscreeninstructions.
3 Logoutoftherootaccount.
exit
ThisexampletellstheSambaserverthatitistolistentoanduseboththeeth0and
vmnet1interfacestheinterfacesusedbybridgedandhostonlynetworking,
respectively.
IfyouwanttotryrunningbothSambaserversatthesametime,usethissample
smb.conffileasabasisforconfiguringtheregularSambaserveronyourhost
computer.
Sample smb.conf for Running Two Samba Servers at the Same Time
; This file is the recommended smb.conf file for your
; normal Samba server if you want to run it concurrently
; (which we don't advise) with the VMware Samba server.
;
; Your normal samba server should be at least v 2.0.6
;
; You will need to insert specific information
; for your system at several points indicated in the file
; by <text in angle brackets>.
;
; --------------
;
; Larmor samba server configuration
;
; Global settings
[global]
;
; Identity
;
; Shared resources
;
; Home directories
[homes]
comment = Home directories
browseable = no
writable = yes
; Printers
;[printers]
; comment = All printers
; path = /var/lpd
; browseable = no
; guest ok = no
; writable = no
; printable = yes
[Slash]
comment = Whole filesystem
path = /
public = no
writeable = yes
printable = no
Summary Tab
TheSummarytabdisplaysalistofthevirtualnetworkscurrentlyactiveonthehost.
Bydefault,theVMnet0virtualnetworkissetupinbridgedmodeandbridgestoan
activenetworkadapteronthehostcomputer.Iftherearemultipleactivenetwork
adaptersonthehost,thechoiceofwhichadapteritusesisarbitrary.Torestrictthe
rangeofchoices,clicktheAutomaticBridgingtabandspecifyanyadaptersyouwant
toexclude.Formoreinformation,seeAutomaticBridgingTabonpage 268.
ClicktheHostVirtualNetworkMappingtabtospecifythenetworkadapterusedfor
VMnet0andforanyothervirtualnetworksyouwanttouseforbridgednetworking.
Controlsonthispanelalsoallowyoutospecifythesubnettobeusedbyanyvirtual
network.Formoreinformation,seeHostVirtualNetworkMappingTabonpage 268.
ClicktheHostVirtualAdapterstabtospecifywhichvirtualnetworkshavehostvirtual
adaptersvirtualnetworkadaptersthatallowthehostcomputertoconnecttothe
network.Formoreinformation,seeHostVirtualAdaptersTabonpage 269.
ClicktheDHCPtabtospecifywhichvirtualnetworksusethevirtualDHCPserveror
toconfigureDHCPsettingsforanyofthosenetworks.Formoreinformation,see
DHCPTabonpage 269.
ClicktheNATtabtoconfiguresettingsforthevirtualnetworkaddresstranslation
(NAT)device.Formoreinformation,seeNATTabonpage 270.
Todisableautomaticbridging,clearthecheckboxcalledAutomaticallychoosean
availablephysicalnetworkadaptertobridgetoVMnet0.Afteryoudeselectthis
option,youcanseewhichphysicaladapterisbridgedtoVMnet0ontheSummarytab
andontheHostVirtualNetworkMappingtab.
TopreventaspecificadapterfromautomaticallybridgingtoVMnet0,leavethecheck
boxselected,andintheExcludedadapterssection,clickAddtospecifywhichphysical
networkadapteryouwanttopreventfrombeingbridgedtoVMnet0.
SeealsoHostVirtualNetworkMappingTabonpage 268.
Addnewvirtualnetworkadapters(switches).
Designatephysicalnetworkadapterstobeusedforbridgednetworking.
Removeanadapter.
Changesubnetandnetmasksettingsforavirtualadapter(seeChangingSubnet
andNetmaskSettingsonpage 269).
ChangeDHCPsettings(seeChangingDHCPSettingsonpage 269).
Becarefulwhenyouchangethebridgedadaptermappings.Ifyoureassignaphysical
networkadaptertoadifferentvirtualnetwork,anyvirtualmachinethatusedthe
originalnetworkisnolongerbridgedtotheexternalnetworkviathatvirtualnetwork.
Youmustthenchangethesettingforeachaffectedvirtualmachinesnetworkadapter
individually.
Thiscanbeespeciallytroublesomeifyourhosthasonlyonephysicalnetworkadapter
andyoureassignittoaVMnetotherthanVMnet0.EventhoughtheVMnetstillappears
tobridgetoanautomaticallychosenadapter,theonlyadapteritcanusehasbeen
assignedtoadifferentVMnet.
YoucanchangeDHCPsettingsonlyifthevirtualnetworkadapterisbridged.For
example,ifthesettingforVMnet3isNotbridged,thecontextmenudisplaysonly
Subnet,andthereisnooptionforchangingDHCPsettings.
SeealsoDHCPTabonpage 269.
Ifyouinstalltheproperroutingorproxysoftwareonyourhostcomputer,youcan
establishaconnectionbetweenthehostvirtualnetworkadapterandaphysical
networkadapteronthehostcomputer.Thisallowsyou,forexample,toconnectthe
virtualmachinetoaTokenRingorothernonEthernetnetwork.
Usethistabtoenable,disable,add,andremoveahostvirtualadapter.Youcanenable
anddisableadapterswhileavirtualmachineisrunning.
Thepresenceofvirtualnetworkadaptershasaslightperformancecost,because
broadcastpacketsmustgototheextraadapters.OnWindowsnetworks,browsingyour
networkmightbeslowerthanusual.Andinsomecases,theseadaptersinteractwith
thehostcomputersnetworkingconfigurationinundesirableways.Ifyouarenotusing
avirtualnetworkadapter,youcanremoveordisableit.
DHCP Tab
YouneedtoconfigurethevirtualDHCPserverifyouwanttoassignIPaddressesto
eachvirtualmachineandthehostontheprivatenetwork(thatis,ifyouwanttouse
hostonlyorNATnetworking).UsingDHCPtoassignIPaddressesissimplerandmore
automaticthanstaticallyassigningthem.
Toaddanewvirtualnetworktothelist,clickAdd.Inthedialogboxthatappears,select
thenetworkyouwanttoaddfromthedropdownlist,andclickOK.(Atthispoint,you
cannotchangeanyoftheothersettingsintheDHCPSettingsdialogbox.)OntheDHCP
tab,clickApplytoactivatethenewnetwork.Youcannowselectthenewlyadded
networkandchangethesettings,asfollows.
TochangeDHCPsettingsforavirtualnetwork,selectitinthelist,andclickProperties.
IntheDHCPSettingsdialogboxthatappears,youcanchangetherangeofIPaddresses
providedbytheVMwareServerDHCPserveronaparticularvirtualnetwork.Youcan
alsochangethedurationofDHCPleasesprovidedtoclientsonthevirtualnetwork.(If
youwanttochangethesubnetsettings,youneedtousetheHostVirtualnetwork
Mappingtab.)
YoucancompletelystoptheDHCPserviceforallvirtualnetworksbyclickingStop,
andthenclickingApply.Iftheserviceisstopped,youcanstartitbyclickingStartand
thenApply.
(YoucanalsomodifyDHCPsettingsbychoosingEdit>VirtualNetworkSettings>
HostVirtualNetworkMapping,selectingaspecificbridgedadapter,thenclickingthe
>buttonforthatvirtualnetwork.)
NAT Tab
OptionsontheNATtabletyoudeterminewhichvirtualnetworkisusingthevirtual
NATdevice,stopandstarttheNATservice,andconfigureavarietyofsettingsforthe
NATdevice.
Youcanstop,restart,andstartthevirtualNATdevicebyclickingtheappropriate
button.TheVMnethostsettingletsyouselectwhichvirtualnetworkusestheNAT
device.YoucanselectDisableifyoudonotwanttouseNATonanyvirtualnetwork.
YoucanchangeanyofthefollowingNATsettingswhenyouclickEdit:
GatewayIPaddressUsethisfieldtochangetheIPaddressfortheNATdevice.
Ifyouneedtochangethenetmask,clickthe<buttonontheHostVirtualNetwork
MappingtaboftheVirtualNetworkEditorandselectSubnet.
UDPtimeoutUsethisfieldtochangethenumberofminutestokeeptheUDP
mappingfortheNA.
ConfigportfieldUsethisfieldfortroubleshootingpurposeswithVMware
technicalsupportonly.Youwillbedirectedtospecifyaportthatcanbeusedto
accessstatusinformationabouttheNAT.
PortforwardingPortforwardingletsyousendincomingTCPorUDPrequests
toaspecificvirtualmachineonthevirtualnetworkservedbytheNATdevice.To
setupandconfigureforwardedports,clickPortForwarding,andcompletethe
dialogboxthatappears,asfollows:
ToaddanewportforeitherTCPorUDP,clickAddintheappropriatesection,
andcompletethedialogboxthatappears,asfollows:
HostportSpecifythenumberoftheincomingTCPorUDPport.For
example,incomingHTTPrequestsareusuallyonport80.
VirtualMachineIPaddressfieldSpecifytheIPaddressofthevirtual
machinetowhichyouwanttoforwardtheincomingrequests.
PortfieldonthatlineSpecifytheportnumberyouwanttousefor
thoserequestsonthatvirtualmachine.Thismaybethestandardport,
suchas80forHTTP,oranonstandardportifsoftwarerunninginthe
virtualmachineisconfiguredtoacceptrequestsonanonstandardport.
Description(optional)SpecifyYoumightusethisfieldtoidentifythe
servicebeingforwarded,forexample,HTTP.
Tochangesettingsforaportalreadylisted,selectitsnameinthelist,andclick
Properties.
DNSThisbuttonletsyouspecifyserverstobeusedbythevirtualNATdevice.
Youcanchangethefollowingsettings:
PolicyIfyouusemultipleDNSservers,specifythestrategytousefor
choosingwhichservertosendarequestto:
OrderSendoneDNSrequestatatimeinorderofthenameservers.
RotateSendoneDNSrequestatatimeandrotatethroughtheDNS
servers.
BurstSendtothreeserversandwaitforthefirstonetorespond.
AutodetectSelectthischeckboxtohaveVMwareServerautomatically
detectavailableDNSservers.
TimeoutSpecifythenumberofminutestokeeptrying,iftheNATisunable
toconnecttotheDNSserver.
RetriesSpecifythenumberoftimestheNATshouldtrytoconnecttothe
DNSserver.
ToaddaDNSservertothelist,clickAddandentertheDNSserversIP
addressintheIPaddressfield.TheDescriptionfieldisoptional.
Tochangesettingsforaserveralreadylisted,selectitsnameinthelist,and
clickProperties.
ActiveFTPClearthischeckboxifyouwanttoallowonlypassivemodeFTP
overtheNATdevice.
AllowanyOUIIfyouchangetheOUI(organizationallyuniqueidentifier)
portionoftheMACaddressforthevirtualmachineandsubsequentlycannotuse
NATwiththevirtualmachine,youshouldselectthischeckbox.
NetBIOSsectionUsethissectiontospecifyNBNS(NetBIOSNameService)and
(NetBIOSDatagramService)timeoutsandretrysettings.
ConfiguringandMaintainingtheHostSystemonpage 273
AllocatingMemorytoaVirtualMachineonpage 277
EditingVirtualMachineMemoryonpage 277
EditingVirtualProcessorsonpage 279
UsingTwoWayVirtualSymmetricMultiprocessingonpage 278
ConfiguringandMaintainingGuestOperatingSystemsonpage 279
Filesthatmakeupavirtualdisk
Filesthatstorenewlysaveddatawhenyoutakeasnapshot
Filesthatholdinformationusedwhensuspendingandresumingavirtualmachine
Ifyouareexperiencingslowdiskperformanceinthevirtualmachine,orifyouwantto
improvethespeedofsuspendandresumeoperations,makesurethatthehostphysical
diskthatstoresthevirtualmachinediskfilesandworkingdirectoryisnotfragmented.
Ifthehostdiskisfragmented,youcanimproveperformancebyrunninga
defragmentationutilityonthathostdisk.
Formoreinformationaboutconfiguringswapspaceandthe/tmpdirectory,see
VMwareknowledgebasearticle844:
http://www.vmware.com/support/kb/enduser/std_adp.php?p_faqid=844.
Table 121liststheadditionalamountofmemoryneededforoverhead,basedonthe
amountofmemoryallocatedtothevirtualmachine.
Table 12-1. Virtual Machine Allocated Memory and Additional Memory Overhead
Virtual Machine Memory Allocated Additional Memory Overhead Needed
Upto512MB Upto54MB
Upto1000MB Upto62MB
Upto2000MB Upto79MB
Upto3600MB Upto105MB
Donotallowtotalmemoryallocatedforallrunningvirtualmachinesplustheoverhead
forVMwareServerprocessestoexceedtheamountofphysicalmemoryonthehost.
Alsokeepsomememoryavailableforotherapplicationsonthehost.
Howmuchofthehostsystemsmemorycanbeusedforallrunningvirtual
machines
Theextenttowhichthehostsystemsmemorymanagercanswapvirtualmachines
outofphysicalRAM
Thesesettingsaffectbothvirtualmachineandoverallsystemperformance.
Ifyousetthisvaluetoohigh,thehostmightperformpoorlywhenotherapplications
arerunningonthehost.Ifyousetthisvaluetoolow,virtualmachinesmightperform
poorlyandfewervirtualmachinescanrunsimultaneously.
Reservedmemoryisallocatedasneeded,andtheamountinusevarieswhilevirtual
machinesarerunning.Ifmultiplevirtualmachinesarerunningsimultaneously,they
managethememorybetweeneachother.
Evenwhenmultiplevirtualmachinesarerunningsimultaneously,VMwareServer
mightbeusingonlyafractionofthereservedmemorylimit.Unusedhostmemoryis
availableforusebyotherapplications.However,ifallthereservedhostmemoryisin
usebyoneormorevirtualmachines,thehostandotherhostapplicationscannot
operateproperly.Theamountofmemorythatmustremainallocatedtothehostand
otherhostapplicationsdependsonthehostoperatingsystemandthetotalhost
memorysize.
YoucanallowvirtualmachinememorytobeswappedinandoutofhostRAM,oryou
canrequirethatallvirtualmachinememoryfitinreservedRAM.Thesettingthat
determineshowmuchmemorycanbeswappedisconfiguredasdescribedin
ConfiguringAdditionalMemoryforSwappingonpage 114.
Ifyoutrytopoweronavirtualmachinewheninsufficientmemoryisavailable,
VMwareServerdisplaysawarningdialogbox.Themessageindicateshowmuch
memorythevirtualmachineisconfiguredtouseandhowmuchmemoryisavailable.
Toattempttopoweronthevirtualmachineusingtheavailablememory,clickOK.
Otherwise,clickCancel.
Mostmodernoperatingsystemsusesignificantamountsofmemory,soallowinga
generousvirtualmachinememorycapacityisbeneficialforoptimalperformance.The
optimalsettingdependsonthefollowingconsiderations:
Recommendationsoftheoperatingsystemvendor.
Typesofapplicationsthatareruninthevirtualmachine.
Whethermultiplevirtualmachinesarecontendingformemoryresources.Ifyou
plantorunonevirtualmachineatatimemostofthetime,agoodstartingpointis
togivethevirtualmachinehalfoftheavailablehostmemory.
Whichapplicationsarerunonthehostatthesametimeasthevirtualmachine.
Totalamountofhostmemorythatallrunningvirtualmachinescanuse.See
ReservingHostMemoryforVirtualMachineUseonpage 276.
Filesystemwherethevirtualmachineisstored.Youcannotallocatemorethan2GB
ofmemorytoavirtualmachineifitisstoredonafilesystemthatdoesnotsupport
fileslargerthan2GB,suchasFAT16.Ifyoudo,thevirtualmachinewillnotboot.
Forinformationabouthostwidememorysettings,seeConfiguringHostWide
VirtualMachineMemoryUsageonpage 275.
1 SelectthevirtualmachinefromtheInventorypanel.
2 Makesurethatthevirtualmachineispoweredoff.
3 IntheHardwaresectionoftheSummarytab,clicktheMemoryiconandselect
Edit.
4 EntertheamountofmemoryinMBorGB,inmultiplesoffour.
NOTETomakesurethatthevirtualmachinecanboot,allocateatleastthe
RecommendedMinimumamountofmemory.
5 ClickOKtosaveyourchanges.
Thefollowingareallconsideredtohavetwoormorelogicalprocessors:
MultiprocessorhostwithtwoormorephysicalCPUs
SingleprocessorhostwithamulticoreCPU
Singleprocessorhostwithhyperthreadingenabled
NOTEOnhyperthreadeduniprocessorhosts,performanceofvirtualmachineswith
VirtualSMPmightbesubpar.
GuestswithmorethantwovirtualprocessorsarenotsupportedinVMwareServer.
However,youcanpoweronandrunmultipledualprocessorvirtualmachines
concurrently.
NOTEPerformancemightdegradesignificantlyinanovercommittedVirtualSMP
environmentifthetotalnumberofvirtualCPUsinallrunningvirtualmachines
exceedsthenumberofphysicalCPUsoradditionalapplicationsonthehostare
competingwithVMwareServerforCPUresources.
ThevirtualmachineSummarytabdisplaysthenumberofvirtualprocessorscurrently
configuredforthevirtualmachine.Forinformationabouthowtosetthenumberof
processorsforthevirtualmachine,seeEditingVirtualProcessorsonpage 279.
Ifthehostisauniprocessormachineandisnothyperthreaded,assigningtwo
processorsisneithersupportednorrecommended.Awarningmessageappearswhen
youcreatethevirtualmachine.Youcandisregardthewarningandassigntwo
processorstothevirtualmachine,butafteryoufinishcreatingthevirtualmachine,you
cannotpoweritonunlessyoumoveittoahostmachinewithatleasttwological
processors.
ForinformationaboutVMwareServersupportforvirtualSymmetricMultiprocessing
(VirtualSMP),seeUsingTwoWayVirtualSymmetricMultiprocessingonpage 278.
1 SelectthevirtualmachinefromtheInventorypanel.
2 Makesurethatthevirtualmachineispoweredoff.
3 IntheHardwaresectionoftheSummarytab,clicktheProcessorsiconandselect
Edit.
4 SelectthenumberofprocessorsfromtheProcessorCountdropdownmenu.
5 ClickOKtosaveyourchanges.
VMwareServeroptimizescertaininternalconfigurationsbasedonthissetting.These
optimizationscangreatlyaidtheoperatingsystemtheytarget,buttheycancause
significantperformancedegradationifthereisamismatchbetweenthesettingandthe
operatingsystemactuallyrunninginthevirtualmachine.(Althoughselectingthe
wrongguestoperatingsystemmightdegradethevirtualmachinesperformance,itis
notlikelytocauseavirtualmachinetorunincorrectly.)
VMwareToolsprovidesimprovedvideoandmouseperformanceandgreatly
improvestheusabilityofthevirtualmachine.VMwareToolsalsoallowsyouto
synchronizethevirtualmachinesclockwiththehostcomputersclock,whichcan
improveperformanceforsomefunctions.Formoreinformation,seeChapter 5,
InstallingandUsingVMwareTools,onpage 73.
Disablingaccelerationdegradesvirtualmachineperformance.Iftheproblemoccurs
onlyduringapplicationinstallationorstartup,youcanimproveperformanceby
resumingacceleratedoperationaftertheapplicationthatwasencounteringproblems
isinstalledorrunning.Forinformationabouthowtoenableanddisableacceleration,
seeChangingVirtualMachineAdvancedSettingsonpage 127.
Whennosnapshotexists,accessperformancetotheflatfilesthatmakeupa
preallocatedvirtualdiskiscomparabletothesequentialandrandomaccess
performanceoftheunderlyingphysicaldisk.
Whenasnapshotexistsandyouhavemadechangestoapreallocatedvirtualdisk,
accessperformanceforthechangeddiskfilesissomewhatslowerandiscomparableto
thatofagrowablevirtualdisk(whichdoesnothavespaceallocatedinadvance).Ifyou
removethesnapshot,performanceagainreflectsthatoftheunderlyingdisk.
Whenasnapshotexists,virtualdisksoftenhaveverygoodperformanceforrandomor
nonsequentialaccess.Buttheycanpotentiallybecomesofragmentedthatperformance
isaffected.Youcanimproveperformanceforthesedisksbydefragmentingthem,as
describedinDefragmentingVirtualDisksonpage 147.Beforeyoudefragmentthedisk,
youmustfirstremovethesnapshot.
NOTEAfterasnapshotistaken,youcannolongerdefragmenttheoriginaldisk.Ifyou
runadefragmentationutilityintheguestsystemwhenasnapshotexists,
VMware Servermakesallitschangestotheredologratherthantheoriginaldisk.Every
sectorthatchangesiscopiedtothevirtualmachineredolog.Theredologbecomes
extremelylargewhenthediskisheavilyfragmentedandyouattempttodefragment
thediskaftertakingasnapshot.
IfyouhaveaCD/DVDdrivethattakesalongtimetospinup,youcaneliminatethese
pausesusingeitherofthefollowingmethods:
Disablepollinginyourguestoperatingsystem.Specificinstructionsdependonthe
operatingsystem.
ConfigureyourvirtualCD/DVDdrivesothatitisnotconnectedwhenthevirtual
machinepowerson.Onlyconnecttothevirtualdrivewhenyouwanttouseitin
thevirtualmachine.
1 RightclicktheguestoperatingsystemdesktopandselectProperties>
Appearance>Effects(onWindowsXPorWindowsServer2003)or
Properties > Effects(onWindows2000).
2 DeselecttheUsetransitioneffectsformenusandtooltipscheckbox.
1 Rightclicktheguestoperatingsystemdesktop,andselectProperties.
2 ClicktheEffectstab.
3 DeselecttheAnimatewindows,menus,andlistscheckbox.
4 (Optional)IfShowwindowcontentswhiledraggingisselected,deselectit.
Inyoursystem.inifile,inthe[386enh]section,addthefollowingline:
ConservativeSwapFileUsage=1
WhenyouinstallVMwareToolsinaWindowsServer2003guest,youarepromptedto
enablethehardwareaccelerationsetting.VMwarerecommendsthatyouenable
hardwareaccelerationfully.
1 FromtheWindowscontrolpanel,selectDisplay.
2 ClicktheSettingstab,andclickAdvanced.
3 ClicktheTroubleshoottab,anddragtheHardwareaccelerationslideralltheway
toFull.
Inavirtualmachine,SCSIdisksandIDEdisksthatuseDMAhavesimilarperformance.
IDEdisksmightbeveryslowinaguestoperatingsystemthatisnotconfiguredtouse
DMA.Ifsupported,alsoenableDMAinSCSIdisks.
TheeasiestwaytoconfigureaLinuxguesttouseDMAforvirtualIDEdrivesisto
installVMwareTools.DuringVMwareToolsinstallation,IDEvirtualdrivesare
automaticallyconfiguredtouseDMA.
InWindowsServer2003,WindowsXP,andWindows2000,DMAisenabledbydefault.
Windows95OSR2andWindows98canuseDMAforfasterIDEharddiskaccess,but
DMAmightnotbeenabledbydefault.
To enable DMA access using the Device Manager in Windows 95 and Windows 98
1 RightclickMyComputerandselectProperties.
2 Clicktheplus(+)signnexttoDiskDrivestodisplaythevirtualmachines
individualdrives.
3 RightclicktheentryforeachIDEdrivetoopenitsPropertiesdialogbox.
4 UnderSettings,selectDMAandacceptanywarningsthatWindowsdisplays.
5 RestarttheWindowsguestsystem.
ThemethodforchangingthesettingvariesforotherWindowsoperatingsystems.
IfyouhaveavirtualdiskandaCD/DVDattachedasmasterandslavetotheprimary
IDEcontroller(channel0)andyouwanttoenableDMA,poweroffthevirtualmachine
andedittheCD/DVDdrivetomoveittothesecondaryIDEcontroller(channel1)at
IDE1:0.
YoucanenableDMAafterinstallingWindowsNTServicePack3orhigher.Inthe
WindowsNTguest,insertanSP3orSP4CDinthedriveandrunDMACHECK.EXEfrom
the\SUPPORT\UTILS\I386folderontheCD.Alternatively,downloadDMACHECK.EXE
fromtheMicrosoftWebsite:http://support.microsoft.com/kb/q191774/
ClicktheEnabledoptionfortheIDEcontrollerandchannelconfiguredforthevirtual
disk.Typically,thisischannel0only,unlessyouhavethevirtualmachineconfigured
withmultiplevirtualdisksandnovirtualCD/DVDdrive.
DonotenableDMAonanIDEchannelwithavirtualCD/DVDdriveattached.
ThePerformanceconsoleisavailableonlyonWindowshosts.However,youcan
monitortheperformanceofanytypeofguestoperatingsystem,includingLinux
guests.
TheVMwareServerperformancecounterscanmonitorthefollowingdatafroma
runningvirtualmachine:
Readsandwritestovirtualdisks
Memoryusage
Virtualnetworktraffic
Youcantrackvirtualmachineperformanceonlywhenavirtualmachineisrunning.
Theperformancecountersreflectthestateofthevirtualmachine,nottheguest
operatingsystem.Forexample,thecounterscandeterminehowoftentheguestreads
fromavirtualdisk,butcannotdeterminehowmanyprocessesarerunningintheguest.
1 SelectStart>Programs>AdministrativeTools>Performanceorenter
perfmon.mscattheWindowscommandprompt.
2 InthePerformanceconsole,selectSystemMonitor,andclicktheplus(+)signon
thetoolbar.
TheAddCountersdialogboxisdisplayed.
3 InthePerformanceobjectlist,selectVMware.
4 Selectwhichcounterstomonitor:
AllCountersMonitorallcounters
SelectcountersfromlistMonitorthecountersyouselectfromthelist
Todisplaythedescriptionofacounter,selectthecounterandclickExplain.
5 Selectwhichvirtualmachinestomonitor:
AllinstancesMonitorallrunningvirtualmachines
SelectinstancesfromlistMonitorthevirtualmachinesyouselectfromthe
list
6 ClickAddtoaddthecounterstothePerformanceconsole.
FormoreinformationaboutusingthePerformanceconsole,usetheconsoleinproduct
helporvisittheMicrosoftWebsite.
Configuring Clustering on
Windows Hosts 13
ThischapterdescribeshowtocreateclusterconfigurationsusingVMwareServeron
Windowshosts.Thischapterincludesthefollowingtopics:
OverviewofClusteringwithVMwareServeronpage 287
UsingSCSIReservationtoShareVirtualSCSIDisksonpage 288
CreatingaClusterinaBoxonpage 291
Forexample,toprovidehighavailability,aclustercouldhaveasinglenodeservingas
adatabaseduringnormaloperation,whiletheothernodesrunotherapplications.Ifthe
databasenodecrashes,thedatabaseapplicationcanrecoverbyrestartingthedatabase
onanothernode.
VMwareServerclusteringcapabilitiesareideallysuitedfordevelopment,testing,and
trainingapplications.
Inatypicalvirtualmachinecluster:
Eachvirtualmachineisonenodeinthecluster.
Disksaresharedbetweennodes.
Shareddisksarerequiredwhentheapplicationusesdynamicdata,suchasmail
serversanddatabaseservers.Sharedvirtualdisksmustbepreallocated,not
growable.
Extranetworkconnectionsbetweennodescanmonitorheartbeatstatus.
Amethodforredirectingincomingrequestsisavailable.
NOTEAlwaysrigorouslytestandreviewyourclusterbeforedeployingitina
productionenvironment.
NOTEVMwaredoesnotsupportclusteringinWindowsServer2008guestsystems.
NOTEOnlyuseSCSIreservationifyouarefamiliarwithSCSI,ingeneral,andtheSCSI
reservationprotocol,inparticular.
YoumustinstallclusteringsoftwareoneachvirtualmachinethatsharesaSCSIdisk.
EnablingSCSIreservationdoesnotautomaticallymakethevirtualmachinea
participantintheSCSIreservationprotocol.
ThefollowingsectionsdescribehowtouseSCSIreservationtosharevirtualdisks
amongmultiplevirtualmachines.
YoucanenableSCSIreservationonlyforvirtualSCSIdisks.Youcannotenable
SCSIreservationforadiskthatisconfiguredasapassthrough(generic)SCSI
device.
VMwareServersupportsSCSIreservationonlywithpreallocatedvirtualdisks.
Whenyoucreateanewvirtualmachine,oraddanewvirtualdisktoanexisting
virtualmachine,configureapreallocatedvirtualdiskwhenusingSCSI
reservation.SupportforSCSIreservationwithgrowablevirtualdisksisnot
supported.
DisksusingSCSIreservationcanbesharedonlyamongvirtualmachinesrunning
onthesameVMwareServerhost.Ifyoutrytoshareadiskamongvirtualmachines
locatedondifferenthosts,datalossorcorruptionislikely.Theshareddiskordisks
canbelocatedinanyvaliddatastore.
Donotshareadiskonthebootdisk,typicallySCSIbus0.Instead,useSCSI
reservationonadatadisklocatedonadifferentbus.Ifyousharethebootdisk,you
runtheriskofcorruptingit,becausethebootprogramisnotawarethatthediskis
beingsharedandcanwritetothediskregardlessofwhetherornotitisbeing
shared.
AvirtualSCSIdiskcanbestoredonanytypeofphysicalharddisk,includingIDE,
SCSI,andSATAphysicaldisks.
IfonevirtualmachinedoesnothaveSCSIreservationenabledforitsvirtualdisk,
butanothervirtualmachinedoeshaveSCSIreservationenabledforthesame
virtualdisk,VMwareServerstillallowsthedisktobeshared.However,thevirtual
machinethatisnotconfiguredforSCSIreservationcanaccesstheshareddisk
concurrently,potentiallycausingdatalossorcorruption.
VMwareServervirtualmachinescurrentlysupportonlytheSCSI2disk
reservationprotocol,andnotapplicationsusingSCSI3diskreservations.
VMwarerecommendsthatyouconfiguresharedvirtualdisksonthesameSCSIbus,
whichmustbeadifferentbusfromtheonethattheguestoperatingsystemuses.For
example,ifyourguestoperatingsystemisonthescsi0bus,configuretheshareddisks
onthenextavailablebus,typicallythescsi1bus.
1 Makesurethatthevirtualmachineispoweredoff.
2 Setthescsi<x>.sharedBus parameter(where<x>isthenumberoftheSCSIbus
beingshared)tovirtualinthevirtualmachineconfigurationfile,asdescribedin
ChangingVirtualMachineAdvancedSettingsonpage 127.
Forexample,toenableSCSIreservationfordevicesonthescsi1bus,set
scsi1.sharedBustovirtual.Thisallowsthewholebustobeshared.
Ifyoudonotwanttosharethewholebus,youcanselectivelyallowSCSI
reservationforaspecificSCSIdiskonthesharedbus.Forexample,ifyouwantto
shareaSCSIdisklocatedatscsi1:1,setscsi1:1.sharedtotrue.Youmust
specifythesameSCSItarget(inthisexample,scsi1:1)intheconfigurationfilefor
eachvirtualmachinethatsharesthedisk.IfSCSIreservationisenabledforthe
wholebus(thatis,scsi1.sharedBusissettovirtual),thissettingisignored.
NOTEDonotshareresourcesusingtwoseparatebuses(forexample,dataon
SCSI1:0andquorumonSCSI2:0).Thiscausestheconfigurationfiletobecome
invalid.Iftheconfigurationfileisnotvalid,youcannotbootthevirtualmachine.
3 Setthedisk.lockingparametertofalseinthevirtualmachineconfiguration
file.
NOTEThissettingappliestoalldisksinthevirtualmachine.
Becausedisklockingisdisabled,multiplevirtualmachinescanaccesstheshared
diskconcurrently.
CAUTIONIfanyvirtualmachinethatisnotconfiguredforSCSIreservationattemptsto
accessthediskconcurrently,theshareddiskisvulnerabletodatalossorcorruption.
Forexample,ifthediskscsi1:0.filenameisdefinedintheconfigurationfileas
/<path_to_config>/vmSCSI.vmdk,thereservationlockfileforthisdiskhasthe
defaultname/<path_to_config>/vmSCSI.vmdk.RESLCK.
Youcanprovideyourownlockfilenamebysettingscsi1:0.reslcknameinthe
configurationfile.Forexample,ifyousetscsi1:0.reslcknameto
/tmp/scsi1-0.reslockintheconfigurationfile,thisnameoverridesthedefaultlock
filename.
CAUTIONYoumustusethesamelockfilename(forexample,
/tmp/scsi1-0.reslock)foreachvirtualmachineinthecluster.Youmustalsousethe
sameSCSItargetforeachvirtualmachinewhenyoudefinescsi1:0.reslckname.
However,theSCSIbus(scsi1inthiscase)doesnotneedtobethesame.
AfterSCSIreservationisenabledforadisk,youmustconfigureeachvirtualmachine
tousethisdisk.SeeConfiguringHardDisksonpage 141.
Theerrorsmightappearinthelogperiodicallyonthepassivenodeofthecluster,and
whenthepassivenodeistakingoverduringafailover.Theerrorsareloggedbecause
theactivenodeoftheclusterhasreservedthesharedvirtualdisk.Thepassivenode
periodicallyprobestheshareddiskandreceivesaSCSIreservationconflicterror.
NOTETheabilitytotakesnapshotsisdisabledinaclusteringconfiguration.
Theclusterinaboxconfigurationhasthefollowingfeatures:
Consistsofmultiplevirtualmachines(nodes)onasinglephysicalmachine.
SupportsshareddiskswithoutsharedSCSIhardware.
Supportsaheartbeatnetworkwithoutanextraphysicalnetworkadapter.
Thefollowingsectionsdescribehowtoconfigureaclusterinabox.
AprimaryvirtualSCSIhostadapterwithonevirtualSCSIdisk.
Twovirtualnetworkadapters:
ApublicnetworkadapterbridgedtoaphysicaladapterusingeitherVMnet0
orVMnet2throughVMnet8.
AprivatenetworkadapterconnectedtoVMnet1(hostonly)oranother
physicaladapter(VMnet2throughVMnet8).Thisisthenetworkadapterthat
theclusteringserviceusestomonitortheheartbeatbetweennodes.
Thenetworkselectionmustmatchinallvirtualmachinesinacluster.
Anyotherrequiredvirtualmachinehardware.
Inaddition,thefollowingarerequiredtosharedisks:
AsecondaryvirtualSCSIhostadapter.
Oneormorepreallocatedvirtualdisksthataresharedandareattachedtothe
secondarySCSIhostadapter.
NotethefollowingaboutvirtualPCIslotsinthevirtualmachines:
EachvirtualmachinebydefaulthassixPCIslotsavailable.
Thisclusterconfiguration(twonetworkadaptersandtwoSCSIhostbusadapters)
usesfouroftheseslots.
OnemorePCIslotisavailableforathirdnetworkadapterifneeded.(Thesixthslot
isusedbythevirtualdisplayadapter.)
IfthevirtualmachinesbootpartitionisonanIDEvirtualdisk,thepartition
occupiesoneofthePCIslots.
SQL1=hostnameofnode1ofthecluster
SQL2=hostnameofnode2ofthecluster
SQLCLUSTER=publichostnameofthecluster
Theprocedurestocreateatwonodeclusterincludesthefollowinghighlevelsteps:
Createthebasevirtualmachinewithtwovirtualdisksthataresharedbetweenthe
virtualmachinesinthecluster.Thisvirtualmachineservesasatemplateforthe
secondnode.
Clonethebasenodeanduseitcreatethesecondnode.
Installclusteringsoftwareonbothnodes.
NOTEThevirtualdisksusedtostoretheoperatingsystemandclusteringsoftwarefor
thevirtualmachines(nodes)intheclusterdonothavetobepreallocatedvirtualdisks.
To create the base virtual machine that serves as the first node in the cluster
1 LogintoyourVMwareServerhostasanAdministratoruser.
2 Createanewvirtualmachine.Choosethesettingsyouwant,suchasthesizeofthe
virtualdiskandthevirtualmemorylimit,butmakesurethatyouspecify:
Windows2000AdvancedServerorWindowsServer2003EnterpriseEdition
astheguestoperatingsystem.
SQL1asthevirtualmachinename.
Thecorrectdatastore.
Bridgednetworkingforthevirtualmachine.
3 Addanewnetworkadapterthatuseseitheranotherexternaladapterorthe
VMnet1hostonlyadapter.(Forcompleteisolationfromthehost,youcanalsouse
anyunusedvirtualEthernetswitch,typicallyVMnet2throughVMnet7.)For
information,seeAddingaNetworkAdaptertoaVirtualMachineonpage 223.
ThisadapterisusedasthevirtualprivateEthernetconnectionforheartbeat
monitoring.
4 Addthetwosharedvirtualdisks:
Ashareddatadisk,forexample,data.vmdk
Asharedquorumdisktostoretransactionsbeforetheyarecommittedtothe
datadisk,forexample,quorum.vmdk
Forinformation,seeAddingaHardDisktoaVirtualMachineonpage 144.
5 Addthefollowingparameterstothevirtualmachineconfigurationfile
(SQL1.vmx)asdescribedinChangingVirtualMachineAdvancedSettingson
page 127:
Setscsi1.sharedBustovirtual
Setdisk.lockingtofalse
ThisenablesSCSIreservation,whichisdescribedinmoredetailinthesection
UsingSCSIReservationtoShareVirtualSCSIDisksonpage 288.
Youarefinishedcreatingthevirtualmachineforthefirstnodeinyourcluster.
Thenextstepistoinstallaguestoperatingsysteminthevirtualmachine.
6 InstalltheWindows2000AdvancedServerorWindowsServer2003Enterprise
EditionguestoperatingsystemasdescribedinInstallingtheGuestOperating
Systemonpage 68.
NOTEDonotinstalltheclusteringservicesduringtheinstallationoftheguest
operatingsystem.
7 InstallVMwareToolsintheguestoperatingsystem.SeeInstallingVMware
Toolsonpage 76.
1 Runsysprep.exe,whichisavailableontheWindowsCDinthefile
\support\tools\deploy.caborfromtheMicrosoftWebsite.
Thesysprep.exeutilityremovesthesecurityIDassignedtotheguestoperating
system,resetsthemachineinformation,andresetstheTCP/IPnetwork
configuration.
2 Shutdowntheguestoperatingsystemandpoweroffthevirtualmachine.
3 CreateavirtualmachinedirectorynamedSQL2inthesamedatastoreasSQL1.
4 CopytheSQL1*.vmdkfilestothisdirectory.
5 UsetheVMwareVirtualDiskManagertochangethenameofthevirtualdiskto
SQL2*.vmdk.Atacommandprompt,type:
vmware-vdiskmanager -n SQL1.vmdk SQL2.vmdk
SeetheVMwaretechnicalnoteaboutusingVirtualDiskManager.
Youarefinishedcloningthefirstnode.
Next,createthesecondnodeintheclusterusingtheclone.
To create the second node in the cluster from the clone of the first node
1 LogintoyourVMwareServerhostasanAdministratoruser.
2 Createanewvirtualmachine.Choosethesettingsyouwant,suchasthesizeofthe
virtualdiskandthevirtualmemorylimit,butmakesurethatyouspecify:
Windows2000AdvancedServerorWindowsServer2003EnterpriseEdition
astheguestoperatingsystem.
SQL2asthevirtualmachinename.
Thecorrectdatastore.
Tousetheexistingvirtualdisk,clickBrowseandselectSQL2.vmdk.
Bridgednetworkingforthevirtualmachine.
3 Addanewnetworkadapterthatuseseitheranotherexternaladapterorthe
VMnet1hostonlyadapter.SeeAddingaNetworkAdaptertoaVirtualMachine
onpage 223.
4 Addthetwovirtualdisks(quorum.vmdkanddata.vmdk)youpreviouslycreated.
SeeAddingaHardDisktoaVirtualMachineonpage 144.
YoumustselectUseanExistingVirtualDiskandbrowsetoquorum.vmdkand
data.vmdk.
5 Addthefollowingparameterstothevirtualmachineconfigurationfile
(SQL2.vmx)asdescribedinChangingVirtualMachineAdvancedSettingson
page 127:
Setscsi1.sharedBustovirtual
Setdisk.lockingtofalse
ThisenablesSCSIreservation,whichisdescribedinmoredetailinUsingSCSI
ReservationtoShareVirtualSCSIDisksonpage 288.
Youarefinishedcreatingthesecondnode.
Nowthatyouhavevirtualmachinesforbothnodesinyourtwonodecluster,youcan
installtheclusteringservicessoftware.
1 Poweronthenode1virtualmachine.
2 AttheWindowssetupprompts,enterthefollowing:
Windowsserialnumber
Hostname(SQL1)
IPaddressesofthepublicandprivatenetworkadapters
NOTEForthepublicnetworkadapter,enteranIPaddressthatbelongstothe
physicalnetwork.FortheprivateIPaddress,youcanuseanaddresslike
192.168.x.xwithaclassCsubnetmask(255.255.255.0).
Attheendoftheprocess,Windowsreboots.
3 StarttheDiskManagementutilityandchangebothshareddiskstoBasicdisks.
4 FormatbothsharedvirtualdiskswithNTFSiftheyarenotalreadyformatted.
5 AssignthefirstshareddisktoQ:(quorum)andtheseconddisktoR:(data).
IfyouhavejoinedthisvirtualmachinetoanexistingActiveDirectorydomain,skip
toStep 10.
6 Rundcpromo.exefromthecommandprompttostarttheActiveDirectorywizard.
7 Setupthecurrentmachineasadomaincontroller.Forthedomainname,use
somethingsimilarto<vmcluster>.<domain.com>where<domain.com>isyour
DNSdomainand<vmcluster>isyourActiveDirectorydomain.
Youcansetupthisnodeasanewdomaintreeoranewdomainforest,orjoinitto
anexistingdomaintreeorforest.
8 MakesurethattheDNSserverisinstalled.
9 Setthedomainpermissionsasmixedmodeunlessyouhaveotherrequirements.
10 Toaddaclusterservicesaccountinthedomain,choosePrograms>
AdministrativeTools>ActiveDirectoryUsersandComputers.
11 Addaclusterserviceaccountnamedcluster,andspecifythefollowing:
Userpassword
SelectUsercannotchangepassword
SelectPasswordneverexpires
12 InserttheWindowsCDintheCDROMdrive.
13 ChooseControlPanel>Add/RemovePrograms.
14 SelectAdd/RemoveWindowsComponents.
15 SelecttheClusterServicecomponent.
16 ClickNextandfollowthepromptstoinstalltheservice.
17 Toconfiguretheclusterservice,chooseFormaNewClusterandspecifythe
following:
SQLCLUSTERastheclustername.
TheclusterserviceaccountcreatedinStep 11.
Bothshareddisksaremanagedbytheclusterservice.
Theshareddisk(Q:)isthequorumdisk.
Indicatewhichnetworkadapterispublicandwhichisprivate.
TheclusterIPaddress.Thisistheaddressthatrepresentsthecluster.Itmust
beonthesamenetworkasthephysicalEthernetdevice.
18 Tostoptheclusterserviceonthelocalnode(node1)sothatthesecondvirtual
machine(node2)canaccesstheshareddisks,rightclickthenodenamefrom
ClusterManager,andselectStopClusterService.
YouarefinishedinstallingMicrosoftClusteringServicesonthefirstnode.
1 Startthenode2virtualmachine.
3 StarttheDiskManagementtoolandassignthefirstshareddisktoQ:(quorum)
andtheseconddisktoR:(data).
4 Startdcpromo.exeandaddthisvirtualmachineasadomaincontrollerinthe
samedomaincreatedinStep 7forthefirstnode,oraddittoanexistingdomain.
NOTEThesetupinnode2mustmatchthesetupinnode1,whichyouspecifiedin
Step 7fornode1.
5 Tostarttheclusterserviceinthenode1virtualmachine,rightclickthenodename
fromClusterManager,andselectStartClusterService.
Youarenowfinishedconfiguringthecluster.
Defined Privileges A
Thefollowingtableslistthedefaultprivilegesthat,whenselectedforarole,canbe
pairedwithauserandassignedtoanobject.Inthetables,VCindicatesaVirtualCenter
ServerandHCindicatesahostclient,standaloneESX/ESXi,orVMwareServerhost.
Whensettingpermissions,verifythatalltheobjecttypesaresetwithappropriate
privilegesforeachparticularaction.Someoperationsrequireaccesspermissionatthe
rootfolderorparentfolderinadditiontoaccesstotheobjectbeingmanipulated.Some
operationsrequireaccessorperformancepermissionataparentfolderandarelated
object.SeeChapter 10,ManagingRolesandPermissions,onpage 201forinformation
aboutapplyingrolestoinventoryobjects.
Alarmsonpage 300
Datacenteronpage 301
Datastoreonpage 301
Extensionsonpage 302
Foldersonpage 303
Globalonpage 303
HostCIMonpage 305
HostConfigurationonpage 306
HostInventoryonpage 308
HostLocalOperationsonpage 309
Networkonpage 310
Performanceonpage 310
Permissionsonpage 311
Resourceonpage 311
ScheduledTaskonpage 313
Sessionsonpage 313
Tasksonpage 314
VirtualMachineConfigurationonpage 314
VirtualMachineInteractiononpage 317
VirtualMachineInventoryonpage 319
VirtualMachineProvisioningonpage 319
VirtualMachineStateonpage 321
Alarms
Table A-1. Alarms Privileges
Privilege Pair with Effective on
Name Description Used Object Object
Datacenter
Table A-2. Datacenter Privileges
Privilege Pair with Effective on
Name Description Affects Object Object
Datastore
Table A-3. Datastore Privileges
Privilege Pair with Effective on
Name Description Affects Object Object
Extensions
Table A-4. Extensions Privileges
Privilege Pair with Effective on
Name Description Affects Object Object
Folders
Table A-5. Folder Privileges
Privilege Pair with Effective on
Name Description Affects Object Object
Global
Table A-6. Global Privileges
Privilege Pair with Effective on
Name Description Affects Object Object
Host CIM
Table A-7. Host CIM Privileges
Privilege Pair with Effective on
Name Description Affects Object Object
Host Configuration
Table A-8. Host Configuration Privileges
Privilege Pair with Effective on
Name Description Affects Object Object
Host Inventory
Table A-9. Host Inventory Privileges
Privilege Pair with Effective on
Name Description Affects Object Object
Network
Table A-11. Network Privileges
Privilege Pair with Effective on
Name Description Affects Object Object
Performance
Table A-12. Performance Privileges
Privilege Pair with Effective
Name Description Affects Object on Object
Permissions
Table A-13. Permissions Privileges
Privilege Pair with Effective
Name Description Used Object on Object
Resource
Table A-14. Resource Privileges
Pair with Effective
Privilege Name Description Affects Object on Object
Scheduled Task
Table A-15. Scheduled Task Privileges
Privilege Pair with Effective on
Name Description Affects Object Object
Sessions
Table A-16. Session Privileges
Privilege Pair with Effective on
Name Description Affects Object Object
Tasks
Table A-17. Tasks Privileges
Privilege Pair with Effective on
Name Description Affects Object Object
Thisappendixincludesthefollowingtopic:
FilesThatMakeUpaVirtualMachineonpage 323
Table B1listsvirtualmachinefiletypes,byfileextension.Intheseexamples,
<vm_name>isthenameofthevirtualmachine.
.vmdk Virtualdiskfilesstoretheinformationwrittentoa
virtualmachinesharddisk,includingtheoperating
system,programfiles,anddatafiles.Avirtualdiskis
madeupofoneormore.vmdkfiles.
Ifyoucreatemorethanonevirtualdisk,the
correspondingdiskfilesincludeanumberinthe
filenamefollowingthevirtualmachinename.
<vm_name>.vmdk Growabledisksincreaseinsizeasdataisadded.
Growablediskfilesuseasmallamountofspaceat
<vm_name>_<#>.vmdk thebeginningofthefileforvirtualmachine
overhead.
<vm_name>.vmdk Preallocateddisksarecreatedattheirmaximumsize
<vm_name>-flat.vmdk anddonotgrow.
Twofilesarecreatedforeachpreallocatedvirtual
disk.Thefilewithoutflatinthenamecontains
<vm_name>_<#>.vmdk
metadataaboutthecorrespondingdiskfile.
<vm_name>_<#>-flat.vmdk
<vm_name>.vmdk Preallocatedvirtualdiskfilessplitinto2GBchunks.
<vm_name>-f<###>.vmdk Thenumberoffilesdependsonthetotalsizeofthe
virtualdisk.Asdataisaddedtoavirtualdisk,the
.vmdk filesgrow,toamaximumof2GBeach.
<vm_name>_<#>.vmdk
<vm_name>_<#>-f<###>.vmdk
<vm_name>.vmdk Growablevirtualdiskfilessplitinto2GBchunks.
<vm_name>-s<###>.vmdk Thenumberoffilesdependsonthetotalsizeofthe
virtualdisk.Asdataisaddedtoavirtualdisk,the
.vmdk filesgrow,toamaximumof2GBeach.
<vm_name>_<#>.vmdk
<vm_name>_<#>-s<###>.vmdk
<vm_name>-<######>.vmdk Redologfilesstorechangestodisksthatare
includedinsnapshots.Theseredofilesaresaved
whenthevirtualmachineispoweredofforreset.
<vm_name>_<#>-<######>.vmdk
Whenyoureverttothesnapshot,thecontentsofthe
redologarediscarded.Anyadditionalchangesare,
onceagain,accumulatedinanewredolog.
Redologfilesthatstorechangestononpersistent
disksarepresentwhilethevirtualmachineis
running,andarediscardedwhenthevirtual
machineispoweredofforreset.
<vm_name>-Snapshot<#>.vmem Thesnapshotmemoryfilestoresthestateofthe
virtualmachinesmemoryforasnapshottakenwhen
avirtualmachineispoweredon.
A alarm
Anentitythatmonitorsoneormorepropertiesofavirtualmachine,suchasCPU
load.Alarmsissuenotificationsasdirectedbytheconfigurablealarmdefinition.
authorizationrole
Asetofprivilegesgroupedforconvenientidentificationundernamessuchas
Administrator.
B BIOS(basicinput/outputsystem)
Firmwarethatcontrolsmachinestartupandmanagescommunicationbetweenthe
CPUandotherdevices,suchasthekeyboard,monitor,printers,anddiskdrives.
bridgednetworking
Inhostedproducts,atypeofnetworkconnectionbetweenavirtualmachineand
thehostsphysicalnetwork.Withbridgednetworking,avirtualmachineappears
tobeanadditionalcomputeronthesamephysicalEthernetnetworkasthehost.
Seealsocustomnetworking,hostonlynetworking,NAT(networkaddress
translation).
C child
Amanagedentitygroupedbyafolderobjectoranothermanagedentity.Seealso
folder.
cluster
Aservergroupinthevirtualenvironment.Clustersenableahighavailability
solution.
customnetworking
Anytypeofnetworkconnectionbetweenvirtualmachinesandthehostthatdoes
notusethedefaultbridged,hostonly,ornetworkaddresstranslation(NAT)
configurations.Forinstance,differentvirtualmachinescanbeconnectedtothe
hostbyseparatenetworksorconnectedtoeachotherandnottothehost.Any
networktopologyispossible.Seealsobridgednetworking,hostonlynetworking,
NAT(networkaddresstranslation).
DE datastore
Virtualrepresentationsofcombinationsofunderlyingphysicalstorageresources.
Adatastoreisthestoragelocationforvirtualmachinefiles.Thestoragelocation
canbethelocalfilesystem,aCIFSstore(Windowsonly),oranNFSmountedfile
system(Linuxonly).
diskmode
Apropertyofavirtualdiskthatdefinesitsexternalbehavior(howthe
virtualizationlayertreatsitsdata)butiscompletelyinvisibletotheguestoperating
system.Availablemodesvarybyproductandincludepersistentmode(changesto
thediskarealwayspreservedacrosssessions)andnonpersistentmode(changes
areneverpreserved).
F folder
Amanagedentityusedtogroupothermanagedentities.Foldertypesare
determinedbythekindsofchildentitiestheycontain.Seealsochild.
FQDN(fullyqualifieddomainname)
Thenameofahost,includingboththehostnameandthedomainname.For
example,theFQDNofahostnamedesx1inthedomainvmware.comis
esx1.vmware.com.
fullscreenmode
Adisplaymodeinwhichthevirtualmachinesdisplayfillstheentirescreen.
G group
Asetofusersassignedacommonsetofprivileges.Agroupmaycontainother
groups.
growabledisk
Atypeofvirtualdiskinwhichthediskspaceisnotpreallocatedtoitsfullsize.Its
filesstartoutsmallinsizeandgrowasdataiswrittentothedisk.Seealso
preallocateddisk.
guestoperatingsystem
Anoperatingsystemthatrunsinsideavirtualmachine.Seealsohostoperating
system.
H host
ThephysicalcomputeronwhichtheVMwareServersoftwareisinstalled.
hostagent
Softwarethat,wheninstalledonavirtualmachinehost,performsactionsonbehalf
ofaremoteclient.
hostedproducts
VMwareproducts(includingWorkstation,VMwarePlayer,VMwareServer,
VMwareACE,andLabManager)thatrunasapplicationsonphysicalmachines
withoperatingsystemssuchasMicrosoftWindowsorLinux.Bycomparison,ESX
isabaremetalproduct,whichprovidesathinsoftwarelayer(thehypervisor)
thatenablesittorundirectlyonthephysicalmachine.
hostonlynetworking
Atypeofnetworkconnectionbetweenavirtualmachineandthehost.With
hostonlynetworking,avirtualmachineisconnectedtothehostonaprivate
network,whichnormallyisnotvisibleoutsidethehost.Multiplevirtualmachines
configuredwithhostonlynetworkingonthesamehostareonthesamenetwork.
Seealsobridgednetworking,customnetworking,NAT(networkaddress
translation).
hostoperatingsystem
Anoperatingsystemthatrunsonthehostmachine.Seealsoguestoperating
system.
I-L IDE
Acronymforintegrateddriveelectronics,astandardelectronicinterfaceusedto
connectmassstoragedevicestoacomputer.TheANSInameforIDEisAdvanced
TechnologyAttachment(ATA).
independentdisk
Atypeofvirtualdiskthatisnotaffectedbysnapshots.Youcanconfigure
independentdisksinpersistentandnonpersistentmodes.Seealsononpersistent
mode,persistentmode,snapshot.
inventory
AhierarchicalstructureusedbyVMwareServertoorganizemanagedentities.
Thishierarchyispresentedasalistthatprovidesaviewofallthemonitored
objects.
M managedentity
Amanagedobjectthatispresentintheinventory.Seealsoinventory.
MKS(mouse,keyboard,screen)
Asetofbasicinputoutputservicesforuserinteractionwithavirtualmachine.
MSCS(MicrosoftClusterService)
Softwarethatdistributesdataamongthenodesofthecluster.Ifonenodefails,
othernodesprovidefailoversupportforapplicationssuchasdatabases,file
servers,andmailservers.
N-O NAT(networkaddresstranslation)
In hosted networking, a type of network connection that enables you to connect
your virtual machines to an external network when you have only one IP network
address and the host computer uses that address. The VMware NAT device passes
network data between one or more virtual machines and the external network. It
identifies incoming data packets intended for each virtual machine and sends them
to the correct destination.
NetBIOS(networkbasicinput/outputsystem)
AnAPIthatenablesapplicationsondifferentcomputerstocommunicateacrossa
LAN.NetBIOSprovidesthenameserviceandofferstwocommunicationmodes:
sessionserviceforconnectionorientedcommunicationanddatagramdistribution
serviceforconnectionlesscommunication.
NIC(networkinterfacecard)
Anexpansionboardthatprovidesadedicatedconnectionbetweenacomputer
andanetwork.Alsocalledanetworkadapter.
nonpersistentmode
Adiskmodeinwhichalldiskwritesissuedbysoftwarerunninginsideavirtual
machineappeartobewrittentotheindependentdiskbutareinfactdiscarded
afterthevirtualmachineispoweredoff.Asaresult,avirtualdiskorphysicaldisk
inindependentnonpersistentmodeisnotmodifiedbyactivityinthevirtual
machine.Seealsodiskmode,persistentmode.
P-Q permission
Adataobjectconsistingofanauthorizationrole,auserorgroupname,anda
managedentityreference.Apermissionallowsaspecifiedusertoaccesstheentity
(suchasavirtualmachine)withanyoftheprivilegespertainingtotherole.
persistentmode
Adiskmodeinwhichalldiskwritesissuedbysoftwarerunninginsideavirtual
machineareimmediatelyandpermanentlywrittentoavirtualdiskthathasbeen
configuredasanindependentdisk.Asaresult,avirtualdiskorphysicaldiskin
independentpersistentmodebehaveslikeaconventionaldiskdriveonaphysical
computer.Seealsodiskmode,nonpersistentmode.
preallocateddisk
Atypeofvirtualdiskwherealldiskspaceforthevirtualmachineisallocatedat
thetimethediskiscreated.Seealsogrowabledisk.
privilege
Authorizationtoperformaspecificactionorsetofactionsonamanagedobjector
groupofmanagedobjects.
R readonlyuser
Aroleinwhichtheuserisallowedtoviewtheinventorybutnotallowedto
performanytasks.
resume
Toreturnavirtualmachinetooperationfromitssuspendedstate.Whenyou
resumeasuspendedvirtualmachine,allapplicationsareinthesamestatethey
werewhenthevirtualmachinewassuspended.Seealsosuspend.
role
Adefinedsetofprivilegesthatcanbeassignedtousersandgroupstocontrol
accesstoVMwareServerobjects.
S-T shrink
Toreclaimunusedspaceinavirtualdisk.Ifadiskhasemptyspace,shrinking
reducestheamountofspacethevirtualdiskoccupiesonthehostdrive.Youcannot
shrinkpreallocatedvirtualdisks.
snapshot
Areproductionofthevirtualmachinejustasitwaswhenyoutookthesnapshot,
includingthevirtualmachinespowerstate(on,off,orsuspended).Ifthevirtual
harddisksarenotsettoindependentmode,asnapshotalsoincludesthestateof
thedataonallthevirtualmachinesdisks.Youcantakeasnapshotwhenavirtual
machineispoweredon,poweredoff,orsuspended.Seealsoindependentdisk.
suspend
Tosavethecurrentstateofarunningvirtualmachine.Toreturnasuspended
virtualmachinetooperation,usetheresumefeature.Seealsoresume.
U user
Auserisaprincipalknowntothesystem.
VZ virtualdisk
Afileorsetoffilesthatappearsasaphysicaldiskdrivetoaguestoperating
system.Thesefilescanbeonthehostmachineoronaremotefilesystem.Seealso
growabledisk,preallocateddisk.
virtualhardware
Thedevicesthatmakeupavirtualmachine.Thevirtualhardwareincludesthe
virtualdisk,removabledevicessuchastheCD/DVDandfloppydrives,andthe
virtualEthernetadapter.
virtualmachine
Avirtualizedx86PCenvironmentinwhichaguestoperatingsystemand
associatedapplicationsoftwarecanrun.Multiplevirtualmachinescanoperateon
thesamehostmachineconcurrently.
virtualmachineadministrator
Aroleinwhichtheuserisallowedtoperformallthevirtualmachinemanagement
functions.
virtualmachineconfiguration
Thespecificationofwhichvirtualdevices,suchasdisksandmemory,arepresent
inavirtualmachineandhowtheyaremappedtohostfilesanddevices.
virtualmachineconfigurationfile
Afilecontainingavirtualmachineconfiguration.This.vmxfileiscreatedwhen
youcreatethevirtualmachine.Itisusedtoidentifyandrunaspecificvirtual
machine.
virtualmachineuser
Aroleinwhichtheuserisallowedtoperformpoweroperationsonvirtual
machines.
virtualnetwork
Anetworkconnectingvirtualmachinesthatdoesnotdependonphysical
hardwareconnections.Forexample,youcancreateavirtualnetworkbetweena
virtualmachineandahostthathasnoexternalnetworkconnections.
virtualnetworkeditor
Aneditorthatrunsonthehostandisusedtoviewandmodifythenetworking
settingsforthevirtualnetworkscreatedbyVMwareServer.
VMwareauthorizationservice
TheservicethatVMwareServeremploystoauthenticateusers.Theprocessis
calledvmwareauthdonLinuxhosts.
A adding
About menu option CD/DVD drives 151
VI Web Access 54 datastores 110
About tab floppy drives 154
VMware Tools 95 generic SCSI devices 157
acceleration hard disks 144
enabling and disabling in guest 128, host virtual adapters 227
280 network adapters 223
hardware in Windows Server parallel ports 177
2003 282 passthrough SCSI devices 157
access permissions 206
inventory objects 201 roles 204
permissions 206 serial ports 166
privileges 299 sound adapters 165
rules for inheritance 208 USB controllers 159
rules for propagation 208 virtual machine to inventory 108
Add Hardware wizard add-on
adding CD/DVD drives 151 VMware Remote Console 52
adding floppy drives 154 addresses
adding generic SCSI devices 157 assigning IP 231
adding hard disks 144 assigning MAC 234
adding network adapters 223 assigning MAC manually 235
adding parallel ports 177 IP on virtual network 230
adding passthrough SCSI network address translation 248
devices 157 using DHCP to assign on virtual
adding serial ports 166 network 230
adding sound adapters 165 Advanced tab
adding USB controllers 159 VI Web Access 127
using the wizard 137 alarms
virtual machine power state 137 privileges 300
L M
leaking MAC addresses 234, 235
IP packets in host-only network 232 managing
IP packets in virtual machine 233 datastores 110
licensing, serial number and 39 groups 203
Linux guests users 203
performance 279 mappings
VMware Tools for 80, 82 key code 187
Linux hosts keyboard 184
installing VMware Server 41 keysym 187
performance 274 memory
supported operating systems 26 amount required on host 24
uninstalling VMware Server on 43 available in virtual machine 29
location choosing for best performance 277
virtual machine configuration configuring 277
file 124, 323 editing 277
working directory 124, 323 host-wide settings 113, 275
.lck file 325 reserving for virtual machines 113
locking setting when creating virtual
snapshots 126 machine 61
.log file 323 swapping in host 114
log files virtual machine memory size 277
authorization service 16
host agent 16
U V
uninstalling VGA graphics support 29
host virtual adapters 227 VI Web Access
VMware Server on Linux host 43 changing guest operating
VMware Server on Windows system 124
host 41 changing virtual machine name 124
VMware Tools 91 changing virtual machine power
unplugging USB devices 164 settings 109, 125
updating configuring VMware Tools
guest operating system 71 scripts 125
virtual machine hardware Events tab 57
version 72 General tab 124
upgrading inventory panel 48
guest operating system 71 log files 17
Linux kernel, reconfiguring VMware logging in 48
Server after 42 logging out 57
virtual machine hardware managing virtual machine
version 72 inventory 108
USB menu options 54
connecting devices 160 overview 48
control of devices by host and Power tab 125
guest 163 setting guest operating system 124
devices in a virtual machine 161 setting snapshot options 126
disconnecting devices 164 setting virtual machine name 124
enabling and disabling the setting virtual machine power
controller 159 options 125
on a Linux host 163 Snapshot tab 126
on a Windows host 162 Summary tab 51
port specifications 30 Tasks tab 56
supported device types 161 Virtual Machines tab 109
USB 1.1 161 workspace 48
USB 2.0 161 Virtual Appliance Marketplace 36, 54
USB controllers Virtual Disk Manager 149
adding 159 virtual disks
removing 160 adding 144
users allocating space 142
configuring 203 caching 64
managing 203 constituent files 324
defragmenting 147, 280