Professional Documents
Culture Documents
You can find the most up-to-date technical documentation at: http://www.vmware.com/support/pubs The VMware Web site also provides the latest product updates. If you have comments about this documentation, submit your feedback to: docfeedback@vmware.com
2006 VMware, Inc. All rights reserved. Protected by one or more of 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,961,941, 6,961,806 and 6,944,699; patents pending. VMware, the VMware boxes logo and design, Virtual SMP and VMotion are registered trademarks or trademarks of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.
Contents
Chapter1IntroductionandSystemRequirements ...............1
VMwareServerOverview ...............................................1 FeaturesofVMwareServer ..............................................2 Supportfor32bitand64bitGuestOperatingSystems ...................2 TwoWayVirtualSMP(ExperimentalSupport) ..........................2 ConnecttoVMwareGSXVirtualMachinesandHosts....................2 UpgradeandUseGSXVirtualMachines ................................3 MoveExistingVirtualMachines.......................................3 CompatiblewithVMwareWorkstation5.xVirtualMachines..............3 ConfigureVirtualHardwareDevicestobeAutomaticallyDetected ........3 TakeandReverttoSnapshotsintheBackground ........................3 SupportforVMwareVirtualMachineImporter ..........................3 SupportforVirtualCenter.............................................4 APIsIncludedwithVMwareServer ......................................4 BeforeYouInstalltheRelease ............................................4 HostSystemRequirements ..............................................5 ServerHostHardware................................................5 WindowsHostOperatingSystemRequirements .........................7 LinuxHostOperatingSystemRequirements ............................7 RemoteClientRequirements.........................................10 VirtualMachineSpecifications ..........................................12 SupportedGuestOperatingSystems.....................................15 HardwareRequirementsfor64bitGuestOperatingSystems.............15 HardwareRequirementsfor32bitGuestOperatingSystems.............17 TechnicalSupportResources ...........................................20 SelfServiceSupport.................................................20 OnlineandTelephoneSupport.......................................20 SupportOfferings...................................................20 ReportingProblems .................................................21 LogFiles...........................................................22
VMware, Inc.
iii
Chapter2InstallingVMwareServer ..............................25
SelectingYourHostSystem..........................................25 AbouttheVMwareServerConsoleontheServer .......................26 InstallingVMwareServeronaWindowsHost............................26 BasicInstallation....................................................28 DefaultDirectories ..................................................30 InstallationSteps ...................................................30 InstallingVMwareServeronaLinuxHost ...............................36 BasicInstallation....................................................37 DefaultDirectories ..................................................39 InstallationSteps ...................................................40 BeforeInstallingVMwareManagementInterfaceonaLinuxHost.........43 InstallingtheVMwareManagementInterfaceonaLinuxHost............44 InstallinganXServer................................................45 BeforeYouInstallonaSUSELinuxEnterpriseServer8Host .............45 ConfiguringWebBrowsersforUsewithVMwareServer ...................46 LaunchingtheVMwareServerConsolefromtheVMwareManagement InterfaceonanEncryptedServer ..................................46 ConnectingtotheVMwareManagementInterfaceonaProxyServer......47 LaunchingHelpinNetscapeonaLinuxSystem ........................48 InstallingtheVMwareServerConsole ...................................48 InstallingtheVMwareServerConsoleonaWindowsHost ...............49 InstallingtheVMwareServerConsoleonaLinuxHost..................50 InstallingtheVMwareAPIs ............................................51 InstallingVmPerlandVmCOMAPIsonaWindowsHost................52 InstallingVmPerlAPIonaLinuxHost ................................54 UninstallingVMwareServer............................................55 UninstallingVMwareServeronaWindowsHost.......................55 UninstallingVMwareServeronaLinuxHost ..........................57
Chapter3MigratingfromGSXServertoVMwareServer......59
PreparingfortheMigration ............................................59 BeforeYouInstallVMwareServer ....................................59 WhenYouRemoveaVMwareProductandInstallVMwareServer ........62 MigratingtoVMwareServeronaWindowsHost .........................62 MigratingtoVMwareServeronaLinuxHost.............................63 UsingVirtualMachinesCreatedwithVMwareGSXServer.................64 CreatingEverythingNewfromtheStart ...............................65
iv
VMware, Inc.
Contents
VMware, Inc.
CreatingNetworkLabels ...........................................125 SettingMIMETypetoLaunchtheVMwareServerConsole .............128 UsingVirtualCentertoManageVirtualMachines ........................131 CreatingVirtualMachinesfromaVirtualCenterClient .................131 ConnectingtoaVirtualMachinefromaVirtualCenterClient ............131
Chapter5MovingandSharingVirtualMachines ..............133
MovingaVMwareServerVirtualMachine..............................133 VirtualMachinesUseRelativePaths .................................134 PreparingYourVirtualMachinefortheMove.........................134 MovingaVirtualMachinetoaNewHost .............................135 MovingVMwareGSXServer3VirtualMachinetoaNewHost ............136 VirtualMachinesUseRelativePaths .................................137 PreparingYourVirtualMachinefortheMove.........................137 MovingaVirtualMachinetoaNewHost .............................138 MovingOlderVirtualMachines........................................138 VirtualMachinesMayUseRelativeorAbsolutePaths ..................139 PreparingYourVirtualMachinefortheMove.........................139 PreparingtheNewHostMachine ....................................140 ConsiderationsforMovingDisksinUndoableMode...................141 SharingVirtualMachineswithOtherUsers..............................142
Chapter6PerformanceTuningandtheVMwareServerHost 145
ConfiguringandMaintainingtheHostComputer........................145 LocationoftheWorkingDirectory...................................145 DefragmentationofDiskDrives .....................................145 AdequateFreeDiskSpace ..........................................146 NICInterruptsCoalescing ..........................................146 ConfiguringVMwareServer...........................................146 GeneralVMwareServerOptions.....................................147 VMwareServeronaWindowsHost..................................151 VMwareServeronaLinuxHost .....................................154 UnderstandingMemoryUsage ........................................154 MemoryUseontheHost ...........................................155 SpecifyingHowMuchRAMisUsedbyAllRunningVirtualMachines ...155 MemoryUsageonOlderLinuxHosts ................................157
vi
VMware, Inc.
Contents
Chapter7UsingHighAvailabilityConfigurations.............161
UsingSCSIReservationtoShareSCSIDiskswithVirtualMachines .........161 SCSIReservationSupport...........................................162 EnablingSCSIReservation ..........................................162 IssuestoConsiderWhenSharingDisks ...............................164 OverviewofClusteringwithVMwareServer............................165 ApplicationsThatCanUseClustering ................................166 ClusteringSoftware ................................................166 CreatingaClusterinaBox ............................................167 ConfiguringVirtualMachinesforClusterinaBox .....................168 CreatingaTwoNodeClusterwithMicrosoftClusteringServices ........169 UsingNetworkLoadBalancingwithVMwareServer.....................175 OverviewofNetworkLoadBalancingClusters........................175 CreatingaMultinodeNetworkLoadBalancingCluster .................175 CreatingTwoNodeClustersUsingNovellClusteringServices.............179 CreatingtheFirstNodesBaseVirtualMachine ........................180 CreatingtheSecondNodeintheCluster ..............................181 InstallingtheGuestOperatingSystemandVMwareTools ..............181 AddingtheSharedDiskstoBothVirtualMachines.....................181 InstallingNovellClusteringServicesontheClusterNodes ..............182 ClusteringUsingtheiSCSIProtocol ....................................183 ClusteringScenariosUsingiSCSI ....................................184 CreatingandConfiguringtheiSCSIInitiatorVirtualMachine ...........184 ConfiguringtheiSCSITargetintheCluster ...........................185
Appendix:MountingVirtualDisks...............................187
ConsiderationsforMountingVirtualDisks ..............................187 StatementofSupport ...............................................188 InstallingtheVMwareDiskMount .....................................188 RunningtheVMwareDiskMountUtility ................................188 ExamplesUsingtheVMwareDiskMountUtility .......................189
VMware, Inc.
vii
viii
VMware, Inc.
ThischapterintroducesyoutoVMwareServerandcoversthefollowingtopics:
! ! ! ! ! !
! !
WithVMwareServer,youcan:
!
Provisionanewserverwithoutinvestinginmorehardwarebylocatingmultiple virtualmachinesonthesamehost.
VMware, Inc.
Formoreinformation,seeFeaturesofVMwareServeronpage 2.
VMware, Inc.
VMware, Inc.
VMware, Inc.
Compatibleprocessorsinclude:
! !
! ! !
Memory
YouneedenoughmemorytoruntheMicrosoftWindowsorLinuxhostoperating system,plusmemoryrequiredforeachguestoperatingsystemandapplicationsonthe hostandeachguest.Seeyourguestoperatingsystemandapplicationdocumentation fortheirmemoryrequirements. Memoryrequirementsinclude:
VMware, Inc.
! !
Minimum:512MB Maximum:
!
Display
!
16bitdisplayadapterorhigher
! !
VMware, Inc.
64bithostcomputerscanrunthefollowingoperatingsystemsfor64bitextended systems:
! !
32bithostcomputerscanrunthefollowingoperatingsystems:
! !
! !
VmPerlAPIrequiresPerl5.005xorhigher. VMwareManagementInterfacerequiresoneofthesebrowsers:
! ! ! !
NOTE
VMware, Inc.
64bithostcomputerscanrunthefollowingoperatingsystemsfor64bitextended systems:
!
RedHatEnterpriseLinux3.0AS,ES,andWS,stock2.4.21,update2.4.2115,and updates6and7 RedHatEnterpriseLinux3.0AS,ES,andWS,update8(experimentalsupport) RedHatEnterpriseLinux4.0AS,ES,andWS,includingupdate3 RedHatEnterpriseLinux4.0update4(experimentalsupport) SUSELinuxEnterpriseServer10(experimentalsupport) SUSELinuxEnterpriseServer9,includingSP1,SP2,andSP3 SUSELinux10 SUSELinux10.1 SUSELinux9.3 SUSELinux9.2,includingSP1 SUSELinux9.1stock2.6.452 MandrivaLinux2006 UbuntuLinux5.04and5.10 UbuntuLinux6.06(experimentalsupport)
! ! ! ! ! ! ! ! ! ! ! ! !
32bithostcomputerscanrunthefollowingoperatingsystems:
! ! ! ! ! ! ! ! ! ! !
MandrivaLinux2006 MandrakeLinux10.1 MandrakeLinux9.0stock2.4.19 RedHatEnterpriseLinux4.0AS,ES,andWS,includingupdates1,2,and3 RedHatEnterpriseLinux4.0update4(experimentalsupport) RedHatEnterpriseLinux3.0,updates1,2,3,4,5,6,and7 RedHatEnterpriseLinux3.0update8(experimentalsupport) RedHatEnterpriseLinux2.1stock2.4.9e3 RedHatLinux9.0,stock2.4.208andupgrade2.4.2020.9 RedHatLinux8.0stock2.4.18 RedHatLinux7.3stock2.4.18
VMware, Inc.
RedHatLinux7.2,stock2.4.710andupgrades2.4.97,2.4.913,2.4.921,and 2.4.931 SUSELinuxEnterpriseServer10(experimentalsupport) SUSELINUXEnterpriseServer9,includingSP1,SP2,andSP3 SUSELinuxEnterpriseServer8stock2.4.19 SUSELINUX9.3 SUSELINUX9.2 SUSELinux10 SUSELinux10.1 SUSELINUX9.1stock2.6.452 SUSELINUX9.0stock2.4.2199 SUSELinux8.2stock2.4.20 SUSELinux7.3 UbuntuLinux5.04and5.10 Ubuntu6.06 AsnewLinuxkernelsanddistributionsarereleased,VMwaremodifiesand testsitsproductsforstabilityandreliabilityonthosehostplatforms.VMware makeseveryefforttoaddsupportfornewkernelsanddistributionsina timelymanner,butuntilakernelordistributionisaddedtothelist,itsuseis notsupported.LookfornewerprebuiltmodulesintheDownloadsectionof VMwareWebsite.Gotohttp://www.vmware.com/download.
! ! ! ! ! ! ! ! ! ! ! ! !
NOTE
OtherLinuxhostoperatingsystemrequirementsinclude:
! !
VMware, Inc.
XserverisrequiredtoruntheVMwareServerConsole.
TheVMwareManagementInterfacerequiresoneofthesebrowsers:
! ! !
NOTE
Programming API
VMwareServerincludessupportfortheProgrammingAPI(previouslycalledCAPI). Formoreinformation,gototheVMwareWebSiteat http://www.vmware.com/support/pubs/server_pubs
10
VMware, Inc.
Hardware Requirements
! ! ! !
NOTE
StandardLinuxinstallationisrequiredwithglibcversion2.1orhigherandoneof thefollowingkernels:
VMware, Inc.
11
NOTE
! ! !
NOTE
Programming API
VMwareServerincludessupportfortheProgrammingAPI.Formoreinformation,go totheVMwareWebsiteathttp://www.vmware.com/support/pubs/server_pubs.
Virtual Processor
!
IntelPentiumIIorlater,orAMDAthlonorlater,dependingonhostprocessor; IntelEMT64VT(experimentalsupport).
12
VMware, Inc.
Singleandmultiprocessorpervirtualmachineonsymmetricmultiprocessor (SMP)systems.
Virtual Chipset
!
Intel440BXbasedmotherboardwithNS338SIOchipand82093AAIOAPIC
Virtual BIOS
! !
PhoenixBIOS4.0Release6withVESABIOS DMI/SMBIOScompliantforsystemmanagementagentsupport
Virtual Memory
!
Virtual Graphics
!
VGAandSVGAsupport
! ! !
! !
VMware, Inc.
13
SixvirtualPCIslots,tobedividedamongthevirtualSCSIcontrollers,virtual Ethernetcards,virtualdisplayadapter,andvirtualsoundadapter.
Uptotwo1.44MBfloppydevices. Physicaldrivesorfloppyimagefiles.
Uptofourserial(COM)ports. Outputtoserialports,Windowsfiles,Linuxfiles,ornamedpipes.
Uptothreebidirectionalparallel(LPT)ports. Outputtoparallelportsorhostoperatingsystemfiles.
Virtual Keyboard
!
104keyWindows95/98enhanced
PS/2mouse Serialtabletsupport
14
VMware, Inc.
Virtual Networking
!
VMware, Inc.
15
MandrivaLinux2006 RedHatEnterpriseLinux3.0,includingstock2.4.21,update2.4.2115,and updates6,and7 RedHatEnterpriseLinux3.0,update8(experimentalsupport) RedHatEnterpriseLinux4.0,includingupdate3 RedHatEnterpriseLinux4.0,update4(experimenetalsupport) SUSELinux9.1stock2.6.452 SUSELinux9.2,includingSP1 SUSELinux9.3 SUSELinux10 SUSELinux10.1 SUSELinuxEnterpriseServer9,includingSP1,SP2,andSP3 SUSELinuxEnterpriseServer10(experimentalsupport)
! ! ! ! ! ! ! ! ! !
FreeBSD
! !
FreeBSD5.3and5.4 FreeBSD6.0
Sun Solaris
!
Solaris10,includingupdate1andupdate2(experimentalsupport)
16
VMware, Inc.
Ubuntu
! !
UbuntuLinux5.04and5.10 UbuntuLinux6.06(experimentalsupport)
MicrosoftWindowsServer2003,includingSmallBusiness,Standard,andWeb Editions MicrosoftWindowsServer2003EnterpriseEdition,includingR2 MicrosoftWindowsXPProfessionalandHomeEditions,includingSP1andSP2 MicrosoftWindowsVista(experimentalsupport) MicrosoftWindows2000Professional,includingSP1,SP2,SP3,andSP4 MicrosoftWindows2000Server,includingSP1,SP2,SP3,andSP4 MicrosoftWindows2000AdvancedServer,SP3andSP4only MicrosoftWindowsNT4.0ServerServicePack6a,WindowsNTWorkstation4.0, includingServicePack6a,andWindowsNT4.0TerminalServerEditionService Pack6a MicrosoftWindowsMe MicrosoftWindows98,includingallservicepacks MicrosoftWindows98SE MicrosoftWindows95,includingSP1andallOSRreleases MicrosoftWindowsforWorkgroups3.11 MicrosoftWindows3.1
! ! ! ! ! ! !
! ! ! ! ! !
Microsoft MS-DOS
!
MSDOS6.x
MandrivaLinux2006
VMware, Inc.
17
! ! ! ! !
MandrakeLinux10.1 MandrakeLinux9.2 MandrakeLinux9stock2.4.19 MandrakeLinux3.2stock2.4.186mdk RedHatEnterpriseLinux3.0AS,ES,andWS,includingupdates1,2,3,4,5,6, and7) RedHatEnterpriseLinux3.0update8(experimentalsupport) RedHatEnterpriseLinux4.0AS,ES,andWS,includingupdates1,2,and3 RedHatEnterpriseLinux4.0update4(experimentalsupport) RedHatEnterpriseLinux2.1AS,ES,andWS,includingstock2.4.9e3 RedHatLinux9.0,stock2.4.208andupgrade2.4.2020.9 RedHatLinux8.0stock2.4.18 RedHatLinux7.3stock2.4.18 RedHatLinux7.2,stock2.4.710andupgrades2.4.97,2.4.913,2.4.921, and2.4.931 RedHatLinux7.1stock2.4.22andupgrade2.2.312 RedHatLinux7.0stock2.2.1622andupgrade2.2.1714 SUSELinuxEnterpriseServer10(experimentalsupport) SUSELinuxEnterpriseServer9,includingSP1,SP2,andSP3 SUSELinuxEnterpriseServer8stock2.4.19 SUSELinuxEnterpriseServer7stock2.4.7andpatch2 SUSELinux10 SUSELinux10.1 SUSELinux9.0stock2.4.2199 SUSELinux9.1stock2.6.452 SUSELinux9.2,includingSP1 SUSELinux9.3 SUSELinux8.2stock2.4.20 SUSELinux8.1stock2.4.19
VMware, Inc.
! ! ! ! ! ! ! !
! ! ! ! ! ! ! ! ! ! ! ! ! !
18
! ! ! ! ! ! ! !
Novell NetWare
! ! ! !
FreeBSD
! ! ! ! ! !
Sun Solaris
! !
Solaris9(experimentalsupport) Solaris10,includingupdate1andupdate2
Ubuntu
! !
UbuntuLinux5.04and5.10 UbuntuLinux6.06
VMware, Inc.
19
Self-Service Support
UsetheVMwareTechnologyNetworkforselfhelptoolsandtechnicalinformation:
! ! ! ! ! !
FormoreinformationabouttheVMwareTechnologyNetwork,goto http://www.vmtn.net.
Support Offerings
FindouthowVMwaressupportofferingscanhelpyoumeetyourbusinessneeds.Go tohttp://www.vmware.com/support/services.
20
VMware, Inc.
Reporting Problems
IfyouhaveproblemswhilerunningVMwareServer,reportthemtotheVMware supportteam.Youmustregisteryourserialnumberandthenyoucanreportyour problemsbysubmittingasupportrequestat http://www.vmware.com/requestsupport. Thissectiondescribestheinformationneededtodiagnoseandreportproblems.This informationlargelycomesfromlogfiles.Therequiredlogfilesdependuponthe problemyouencounter. Youcansimplifytheprocessofcollectingtheneededinformationbyrunningthe supportscripttocollecttheappropriatelogfilesandsysteminformation.Followthe stepsthatapplytoyourhostcomputer. NOTE ThesupportscriptrunsonlyontheVMwareServerhost.Ifyouencounter problemsonaremoteclient,youmustsupplythelogfilesmanually.The requiredlogfilesdependontheproblemencounteredontheclient.You shouldincludetheVMwareServerConsolelogfileandtheinstallationlog files.
To run the support script on a Windows host 1 2 Openacommandprompt. ChangetotheVMwareServerprogramdirectory. C: cd \Program Files\VMware\VMware Server Ifyoudidnotinstalltheprograminthedefaultdirectory,usetheappropriate driveletterandsubstitutetheappropriatepathinthecdcommandabove. 3 Runthesupportscript. cscript vm-support.vbs Afterthescriptruns,itdisplaysthenameofthedirectorywhereithasstoredits output. 4 UseafilecompressionutilitysuchasWinZiporPKZIPtozipthatdirectory,and includethezipfilewithyoursupportrequest.
VMware, Inc.
21
Log Files
ThefollowinglogfilesaregeneratedbyVMwareServerandarecollectedbythe supportscriptasneeded.BecausetheVMwareServerConsoledoesnotincludea supportscript,youneedtosubmitasupportrequestat http://www.vmware.com/requestsupportforanyissuesyouencounteronaclientand includetheVMwareServerConsoleslogfileoritsinstallationlogfiles.
22
VMware, Inc.
Saveandclosetheconfigurationfile. ThelogisenabledonaLinuxhost.
VMware, Inc.
23
4 5
24
VMware, Inc.
C HAPTER 2
ThischapterdescribeshowtoinstallVMwareServeronyourLinuxorWindowshost systemandcoversthefollowingtopics:
! ! ! ! ! ! ! !
VMware, Inc.
25
26
VMware, Inc.
! ! !
To get started with VMware Server on a Windows host 1 InstalltheVMwareServersoftware(includingVMwareManagementInterface, theVmCOMAPI,theVmPerlAPI,theProgrammingAPI,andtheVMwareServer Console)ontheserver. InstalltheVMwareServerConsoleandVMwareScriptingAPIsonWindowsor Linuxclients. StarttheVMwareServerConsole. Youarepromptedtoenteryourserialnumbereitherduringtheinstallation processorthefirsttimeyoustarttheVMwareServerConsole. 4 Entertheserialnumberonlyonce. YoureceivetheserialnumbersinanemailmessagefromVMware.The messageincludesoneserialnumbertouseonaWindowshostandanother serialnumbertouseonaLinuxhost.Entertheserialnumberthatis appropriateforyourhostoperatingsystem.Todownloadthesoftwareagain orrequestadditionalserialnumbers,goto http://www.vmware.com/download/server/.
2 3
NOTE
5 6
CreateavirtualmachineusingtheNewVirtualMachineWizard.SeeCreatinga NewVirtualMachine. Poweronthevirtualmachineandinstallaguestoperatingsystem.Youneedthe installationmedia(CDROMorfloppydisks)foryourguestoperatingsystem.See InstallingaGuestOperatingSystem. InstalltheVMwareToolspackageinyourvirtualmachineforenhanced performance.SeeInstallingVMwareTools. Installsoftwareinyourvirtualmachine. Startusingyourvirtualmachine.UsetheVMwareServerConsole,VMware ManagementInterface,andVMwareScriptingAPIstomanageyourserverhost andvirtualmachines.
7 8 9
VMware, Inc.
27
Basic Installation
OnaWindowshost,installVMwareServerfromamasterinstaller.Themasterinstaller isaconvenientwaytoinstallallthecomponentsofVMwareServertheserver software,theVMwareManagementInterfaceandtheVMwareScriptingAPIsoryou canpickandchoosewhichcomponentstoinstall.Inaddition,theVMwareServer Consoleisalwaysinstalled.Allcomponentsareinstalledintheirowndirectoriesunder onemasterdirectory. AbasicinstallationofVMwareServerusestwocomputers:aserverhostinganumber ofvirtualmachinesandaclientworkstation.Theclientcommunicateswiththevirtual machinesontheserveroveraTCP/IPnetworklink. Inmorecomplexinstallations,oneclientcanrunmultipleVMwareServerConsoles, witheachconsolemanagingmultiplevirtualmachinesonaseparateserver. Beforeyoubegin,besureyouhave:
!
Serverandhostoperatingsystemthatmeetthesystemrequirementsforrunning VMwareServer.SeeHostSystemRequirementsonpage 5. Remotemanagementclientandoperatingsystemthatmeetthesystem requirementsforrunningtheVMwareServerremotemanagementsoftware.See RemoteClientRequirementsonpage 10. VMwareServerinstallationsoftwarethatyoudownloaded. VMwareServerserialnumber.Theserialnumberisincludedintheemailmessage youreceivedfromVMwareorfromtheresellerfromwhomyoupurchased VMwareServer. InstallationCDsordisksforyourguestoperatingsystems. InternetInformationServices(IIS)isinstalledandconfiguredproperly(necessary tousetheVMwareManagementInterface).
! !
! !
28
VMware, Inc.
ThepackagesareavailablefromtheVMwareServerinstaller(onWindowshostsonly) andontheVMwareWebsite.TheVMwareServerConsoleisavailableintheVMware ManagementInterface.IfyouareinstallingtheVMwareServerConsoleonaLinux client,seeInstallingtheVMwareServerConsoleonaLinuxHostonpage 50. TheVMwareServerConsolecanrunonaremoteclientandontheserveritself.The VMwareServerConsoleisavailableinclientpackagesforWindows(Windows2000, WindowsXP,andWindowsServer2003)andLinux. Typically,youruntheVMwareServerConsoleandbrowseronaclient.Thebrowser allowsaccesstotheVMwareManagementInterface.TheVMwareManagement InterfaceandVMwareServerConsoleletyou:
! !
Monitortheoperationofvirtualmachines. Start,stop,reset,suspend,andresumevirtualmachines.
Default Directories
Bydefault,theVMwareServercomponentsareinstalledintothefollowingdirectories:
!
TheservercomponentsandtheVMwareServerConsoleareinstalledin C:\Program Files\VMware\VMware Server. TheVMwareManagementInterfacecomponentsareinstalledin C:\Program Files\VMware\VMware Management Interface. TheVmCOMAPIcomponentsareinstalledin C:\Program Files\VMware\VMware VmCOM Scripting API. TheVmPerlAPIcomponentsareinstalledin C:\Program Files\VMware\VMware VmPerl Scripting API. TheProgrammingAPIcomponentsareinstalledin C:\Program Files\VMware\VMware VIX.
Youcanchangethedirectorythatcontainsallthecomponents,butmakenoteofthe newpathsyouintendtouse.Theinstructionsmakeuseofthedefaultpaths.
Installation Steps
YoucannotinstallVMwareServeronacomputerthatalreadyhasanyofthefollowing VMwareapplicationsinstalled:VMwareWorkstation,VMwarePlayer,VMwareACE, VMwareGSXServer.YoucannothavemultipleversionsofVMwareServerinstalled onthesamehost.IfyouplantoinstallVMwareServeronahostmachinethatisalready runninganyoftheseVMwareproducts,youmustfirstuninstallthatproduct.Ona MicrosoftWindowshost,usetheAdd/RemoveProgramscontrolpanel. IfyouaremigratingfromVMwareGSXServer,seeMigratingfromGSXServerto VMwareServeronpage 59. CAUTION DonotuseaMicrosoftWindowsTerminalServicessessiontoinstallthe serversoftwareonahost.
30
VMware, Inc.
To install VMware Server on a Windows host 1 LogontoyourMicrosoftWindowshostastheAdministratoruserorasauserwho isamemberoftheAdministratorsgroup. NOTE OnaWindowsServer2003host,youmustbeloggedonasalocal administrator(thatis,notloggedontothedomain)toinstallVMware Server.
ClickNext. Accepttheenduserlicenseagreement(EULA).
SelecttheIacceptthetermsinthelicenseagreementoption,andclickNext.
VMware, Inc.
31
Choosetoperformacompleteoracustominstallation.
CAUTION
VMwareServermustbeinstalledonalocaldrive,notanetwork drive.
Acustominstallationletsyoupickandchoosewhichcomponentstoinstall.You canalwaysruntheinstalleragainatalaterdatetoinstallcomponentsyoudidnot
VMware, Inc.
32
installthefirsttime.SelectCustomandclickNext.TheCustomSetupscreen appears.
IntheCustomSetupscreen,choosethecomponentstoinstall.Clickthearrowto theleftofthecomponentyoudonotwanttoinstallandselecttheappropriate optionfromthemenu. Ifyouneedtodeterminehowmuchfreespaceisonyourhost,clickSpace.Thisis usefulifyouarechoosingacustominstallationduetolimiteddiskspaceonyour host. IfyouwanttoinstallalltheVMwareServercomponentsinadirectoryotherthan thedefault,clickBrowseandselectthedirectory.Ifthedirectorydoesnotexist,the installercreatesitforyou. CAUTION VMwareServermustbeinstalledonalocaldrive,notanetwork drive.
VMware, Inc.
33
Otherwise,clickInstall.Theinstallerbeginscopyingfilestoyourhost.
34
VMware, Inc.
To install VMware Server silently on a Windows host 1 Extracttheindividualinstallationpackages.Openacommandpromptandonone linetype: VMware-server-installer-1.0.0-<xxxx>.exe /a /s /v "TARGETDIR=C:\temp\server /qn" where<xxxx>isaseriesofnumbersrepresentingversionandbuildnumbers. 2 Runthesilentinstallationontheextractedinstallationpackages.Atthecommand prompt,ononeline,type: msiexec -i "C:\temp\server\VMware Server Standalone.msi" ADDLOCAL=ALL /qn TheinstallationcommandcanbecustomizedusingstandardMicrosoftWindows Installerinstallationpropertiesaswellasanyofthefollowing:
Property Name
DESKTOP_SHORTCUT
Description
InstallsVMwareServershortcutsonthe desktop.Bydefault,shortcutsareinstalledon thedesktop. Topreventshortcutsfrombeinginstalled,add thefollowinginStep2: DESKTOP_SHORTCUT = 0
Default
1
DISABLE_AUTORUN
REMOVE_LICENSE
SERIALNUMBER
none
VMware, Inc.
35
! !
Toincludeacomponent,useitwiththeADDLOCALoption. Toexcludeacomponent,useitwiththeREMOVEoption.Youalwaysinstallthe bridgedandhostonlynetworkadaptersaspartoftheNetworkcomponent. Forexample,toinstalleverythingbuttheVMwareNATandDHCPservices, specifyonthecommandline: ADDLOCAL=ALL REMOVE=DHCP,NAT NOTE TheDHCPandNATcomponentsarechildrenoftheNetworkcomponent. Thus,youalsoskipinstallationoftheVMwareNATandDHCPservices ifyouspecify:ADDLOCAL=ALL REMOVE=Network
36
VMware, Inc.
To get started with VMware Server on a Linux host 1 InstalltheVMwareServersoftware(includingVMwareManagementInterface, theVMwareServerConsole,theVmPerlAPI,andtheProgrammingAPIonthe server. InstalltheVMwareServerConsoleandVMwareScriptingAPIsonWindowsor Linuxclients. StarttheVMwareServerConsoleandcreateavirtualmachineusingtheNew VirtualMachineWizard,orcreateonefromtheVMwareManagementInterface. SeeCreatingaNewVirtualMachine. Poweronthevirtualmachineandinstallaguestoperatingsysteminthenew virtualmachine.Youneedtheinstallationmedia(CDROMorfloppydisks)for yourguestoperatingsystem.SeeInstallingaGuestOperatingSystem. InstalltheVMwareToolspackageinyourvirtualmachineforenhanced performance.SeeInstallingVMwareTools. Installsoftwareinyourvirtualmachine. Startusingyourvirtualmachine. YoucanusetheVMwareServerConsole,VMwareManagementInterface,and VMwareScriptingAPIstomanageyourserverhostandvirtualmachines.
2 3
5 6 7
Basic Installation
AbasicinstallationofVMwareServerusestwocomputers:aserver,hostinganumber ofvirtualmachines,andaclientworkstation.Theclientcommunicateswiththevirtual machinesontheserveroveraTCP/IPnetworklink. Inmorecomplexinstallations,oneclientcanrunmultipleinstancesofVMwareServer Console,witheachconsolemanagingmultiplevirtualmachinesonaseparateserver. Andconsolesonmultipleclientscanconnecttovirtualmachinesonanyserver. Beforeyoubegin,besureyouhave:
!
! !
VMware, Inc.
37
YourVMwareServerserialnumber.Theserialnumberisincludedintheemail messageyoureceivedfromVMware.
Also,beforeyouinstallandrunVMwareServer,checkthefollowinginformationand makeanynecessaryadjustmentstotheconfigurationofyourhostoperatingsystem:
! !
TherealtimeclockfunctionmustbecompiledintoyourLinuxkernel. VMwareServerforLinuxsystemsrequiresthattheparallelportPCstyle hardwareoption(CONFIG_PARPORT_PC)bebuiltandloadedasakernelmodule(that is,itmustbesettomwhenthekerneliscompiled). ForSUSELinuxEnterpriseServer8hosts,thegccpackagemustbeinstalledon yourhostbeforeyouinstallVMwareServer.SeeBeforeYouInstallonaSUSE LinuxEnterpriseServer8Hostonpage 45. Someoperatingsystems,suchasRedHatLinux7.2and7.3,includea firewallbydefault.ThisfirewallpreventsaccessfromtheVMwareServer ConsoleandtheVMwareManagementInterfaceonclientcomputersto theVMwareServerhost.FortheVMwareServerConsoletoconnectto thehost,youmustopenport902.ToconnecttothehostwiththeVMware ManagementInterface,youmustopenport8333andport8222ifyou plantodisableSSLfortheVMwareManagementInterface.
CAUTION
TheVMwareServerpackagefortheserver(fromanRPMortararchiveavailable ontheVMwareServerCDROMortheVMwareWebsite).TheRPMfileiscalled VMware-server-<xxxx>.i386.rpm andthetararchiveiscalled VMware-server-<xxxx>.tar.gz,where<xxxx>isaseriesofnumbersrepresenting theversionandbuildnumbers. NOTE TheVmPerlAPIandtheProgrammingAPIpackagesareinstalledwhen youinstallVMwareServer.TheVmPerlAPIisascriptingtoolthatuses Perltomanagevirtualmachinesremotely.
38
TheVMwareServerConsoleisavailableintheVMwareManagementInterface.The VmPerl,VmCOM,andProgrammingAPIareavailableontheVMwareWebsite.Ifyou areinstallingtheVMwareServerConsoleonaWindowsclient,seeInstallingthe VMwareServerConsoleonaWindowsHostonpage 49. VMwareServerConsolescanrunonclientsandontheserveritself.TheVMware ServerConsolepackagesareavailableforWindows(WindowsNT4.0,Windows2000, WindowsXP,andWindowsServer2003)andLinux. Typically,youruntheVMwareServerConsoleandbrowseronaclient.Thebrowser allowsaccesstotheVMwareManagementInterface.TheVMwareManagement InterfaceandVMwareServerConsoleletyou:
! ! ! !
Default Directories
Bydefault,theVMwareServercomponentsareinstalledintothefollowingdirectories:
!
Theservercomponentsareinstalledin
VMware, Inc.
39
/usr/bin
!
TheVMwareManagementInterfacecomponentsareinstalledin /usr/lib/vmware-mui
TheVMwareServerConsolecomponentsareinstalledin /usr/bin
TheVmPerlAPIexecutablefilesareinstalledin /usr/bin
TheVmPerlAPIlibraryfilesareinstalledin /usr/lib/vmware-api
TheProgrammingAPIlibraryfilesareinstalledin /usr/lib/vmware-vix
Installation Steps
ThestepsbelowdescribeaninstallationonaRedHatLinuxhost.Startfromthe directorywhereyousavedthedownloadedinstallerfile.Ifyouareusingadifferent Linuxdistribution,someofthecommandsmightbedifferent. BeforeyouinstalltheVMwareServersoftware,ensureyourLinuxdistributionisfora server,notaworkstation.Ifyouarerunningaworkstationdistribution,youmust installtheinetdprocesstoconnecttotheVMwareServerConsoleandVMware ManagementInterface.Ifyouneedto,reviewtheHostSystemRequirementson page 5. IfyoucurrentlyhaveVMwareGSXServerinstalledonyourhostmachine,see MigratingfromGSXServertoVMwareServeronpage 59.Youshouldalsoread BeforeYouInstalltheReleaseonpage 4beforeinstallingthesoftware.
40
VMware, Inc.
To install VMware Server on a Linux host 1 2 3 LogontoyourLinuxhostwiththeusernameyouplantousewhenrunning VMwareServer. Inaterminalwindow,becomerootsoyoucanperformtheinitialinstallation. su Changetothedirectorywhereyousavedtheinstallerfile. Dooneofthefollowing:
!
UsetheRPMinstallerRunRPMspecifyingtheinstallationfile. rpm -Uhv VMware-server-<xxxx>.i386.rpm VMware-server-<xxxx>.i386.rpmistheinstallationfileontheCD;where <xxxx>isaseriesofnumbersrepresentingversionandbuildnumbers. UsethetarinstallerCompletethefollowingsteps: Copythetararchivetoadirectoryonyourharddrive.Forexample,to/tmp. cp VMware-server-<xxxx>.tar.gz /tmp where<xxxx>isaseriesofnumbers representingtheversionandbuildnumbers. Changetothedirectorytowhichyoucopiedthefile. cd /tmp Unpackthearchive. tar zxf VMware-server-<xxxx>.tar.gz Changetotheinstallationdirectory. cd vmware-server-distrib Runtheinstallationprogram. ./vmware-install.pl Acceptthedefaultdirectoriesforthebinaryfiles,daemonfiles,libraryfiles, manualfiles,documentationfiles,initdirectoriesandinitscripts.
b c d e f 4
Runtheconfigurationprogram. vmware-config.pl
!
VMware, Inc.
41
installerofferstolaunchtheconfigurationprogramforyou.AnswerYeswhen youseetheprompt. UsethisprogramtoreconfigureVMwareServerwheneveryouupgradeyour kernel.ItisnotnecessarytoreinstallVMwareServerafteryouupgradeyour kernel. Youcanalsousevmware-config.pltoreconfigurethenetworkingoptionsfor VMwareServerforexample,toaddorremovehostonlynetworks. 5 6 PressEntertoreadtheenduserlicenseagreement(EULA).IftheDo you accept promptdoesntappear,pressQtogettothenextprompt. Configurenetworkingforyourvirtualmachines.
!
Ifyouwanttouseanytypeofnetworkingwithvirtualmachines,answerYes tothisprompt:Do you want networking for your virtual machines? Bridgednetworkingisalwaysenabledifyouenablenetworking.Formore information,seeBridgedNetworking.
ToenableNAT,answerYestothefollowingprompts: Do you want to be able to use NAT networking in your virtual machines? Do you want this script to probe for an unused private subnet? Thisallowsyoutoconnectyourvirtualmachinestoanexternalnetworkwhen youhaveonlyoneIPnetworkaddressonthephysicalnetwork,andthat addressisusedbythehostcomputer.Formoreinformation,seeNetwork AddressTranslation(NAT).
Toenablehostonlynetworking,answerYestothefollowingprompts: Do you want to be able to use host-only networking in your virtual machines? Do you want this script to probe for an unused private subnet? Hostonlynetworkingallowsfornetworkingbetweenthevirtualmachine andthehostoperatingsystem.Formoreinformation,seeHostOnly Networking.
SpecifytheporttheVMwareServerConsoleuseswhenconnectingtotheVMware Serverhostremotely.Port902isthedefaultport.Ifyoursiteusesthisportfor anotherapplicationforexample,ideafarm-chatusesthisportthenspecifya differentportfortheVMwareServerConsoletousehere.Tochangetheportlater, seeChangingthePortNumberforVMwareServerConsoleConnectionson page 78. Specifythedirectorywhereyouwanttostoreyourvirtualmachinefiles.By default,thisdirectoryis/var/lib/vmware/Virtual Machines.Makesurethis
VMware, Inc.
42
locationisonalargeenoughfilesystemtocontainthefiles,asthevirtualdiskfiles foreachvirtualmachineareusuallygigabytesinsize. 9 EnteryourVMwareServerserialnumberexactlyasitappears(withhyphens)in theemailmessageyoureceivedfromVMwareorfromtheresellerfromwhomyou purchasedVMwareServer.Whenyouentertheserialnumber,itissavedinyour licensefile. Theconfigurationprogramdisplaysamessagesayingtheconfiguration completedsuccessfully.Ifitdoesnotdisplaythismessage,runtheconfiguration programagain. 10 Whenyoufinish,dooneofthefollowing:
!
SomeLinuxdistributionsareknowntoshipwithouttheselibraries.FromyourLinux distributionCD,installthisRPMpackage: compat-db-<#>.<#>.<##>-<#>.i386.rpmor libdb#.deb,where<#>isaversionnumberparticulartoyourversionofthe distribution. IfyourdistributionCDdoesnothavethispackage,contactyourvendorforasuitable library.IfyouinstallthispackageafteryouinstalledtheVMwareManagement Interfacesoftware,starttheApacheserverwiththefollowingcommand: /etc/init.d/httpd.vmware start.
VMware, Inc.
43
To install VMware Management Interface on a Linux host 1 2 3 Inaterminalwindow,becomerootsoyoucancarryouttheinstallation. su Changetothedirectorywhereyousavedtheinstallerfile. Copythetararchivetoadirectoryonyourharddrive(forexample,to/tmp). cp VMware-mui-<xxxx>.tar.gz /tmp where<xxxx>isaseriesofnumbersrepresentingversionandbuildnumbers. CAUTION Makesurethedirectorytowhichyouplantountarthearchivedoes notcontainanyfilesfromaprevioustarinstallation.
Changetothedirectorytowhichyoucopiedthefile. cd /tmp Unpackthearchive. tar zxf VMware-mui-<xxxx>.tar.gz where<xxxx>isaseriesofnumbersrepresentingversionandbuildnumbers. 4 5 6 7 8 Changetotheinstallationdirectory. cd vmware-mui-distrib Runtheinstallationprogram. ./vmware-install.pl PressEntertocontinue. AccepttheEULA. Specifythedirectorywhereyouwanttoinstallthemanagementcomponents,the binaryfiles,VMwareManagementInterfacefiles,initdirectoriesandinitscripts. Oracceptthedefaultdirectories. Allowtheconfigurationprogramvmware-config-mui.pltorun.
44
VMware, Inc.
10 11
Installing an X Server
YouneedanXservertoruntheVMwareServerConsole.IfanXserverisnotinstalled, youmustinstalllibxpm.so.4,locatedonyourLinuxdistributiondisk.
VMware, Inc.
45
! !
Launching the VMware Server Console from the VMware Management Interface on an Encrypted Server
YoucanlaunchtheVMwareServerConsolefromtheVMwareManagementInterface automatically.InordertodothisinanInternetExplorer6.0browseronaWindows systemwhereSSLisencryptingyourVMwareServerremoteconnections,youmust ensurethattheDonotsaveencryptedpagestodiskoptionisdisabled. Forinformationonencryptingremoteconnections,seeEnablingandDisablingSSL forRemoteSessionsonpage 91. Whenthisoptionisenabled,InternetExplorerdoesnotsaveanyfilestodisk,including thefilesitneedstohandofftohelperapplications.ThispreventstheVMwareServer Consolefromlaunchingautomatically.SomepatchesinstalledwhenyourunWindows Updateresetthissetting,soyoumightneedtorepeatthisprocessafteryourun WindowsUpdate. CAUTION Thisoptionmighthavebeenenableddeliberatelyatyoursitetoprevent thesavingofsensitivefilestodisk.Disablingitcouldpermitother sensitiveinformationtobesavedtodisk.
To enable the option to save encryted pages to disk 1 2 IntheInternetExplorer6.0window,opentheInternetOptionscontrolpanel. ChooseTools>InternetOptions. ClicktheAdvancedtab.
46
VMware, Inc.
3 4
5 6
WhenyouuseInternetExplorer6.0toconnecttotheVMwareManagementInterface, besuretousefullyqualifieddomainnames. To connect to the VMware Management Interface on Windows 2000, Windows XP, and Windows NT operating systems 1 2 3 4 5 LaunchInternetExplorer6.0. ChooseTools>InternetOptions. ClicktheConnectionstab,andclickLANSettings. MakesurethatBypassproxyserverforlocaladdressesischecked. ClickOKuntilyoureturntothebrowserwindow.
WhenyouuseInternetExplorer6.0toconnecttotheVMwareManagementInterface, donotusefullyqualifieddomainnames.
VMware, Inc.
47
ThefollowingsectionsdescribehowtoinstalltheVMwareServerConsoleonWindows andLinuxcomputers:
! !
InstallingtheVMwareServerConsoleonaWindowsHostonpage 49 InstallingtheVMwareServerConsoleonaLinuxHostonpage 50
48
VMware, Inc.
3 4
Whenthesetupcompletes,clickFinish.Youdonotneedtorebootyourhost operatingsystemafteryouinstalltheVMwareServerConsole.
VMware, Inc.
49
3 4
UsetheRPMinstaller.RunRPMspecifyingtheinstallationfile. rpm -Uhv VMware-server-console-<xxxx>.i386.rpm where<xxxx>isaseriesofnumbersrepresentingtheversionandbuild numbers. Usethetarinstaller.Completethefollowingsteps: Unpackthearchive. tar zxf VMware-server-console-<xxxx>.tar.gz where<xxxx>isaseriesofnumbersrepresentingtheversionandbuild numbers. Thearchiveunpackstovmware-server-console-distrib.
50
VMware, Inc.
c d 5
Youseethefollowingprompt:What port do you want the remote console to use to connect to server. [902] 6 7 Ifyouspecifiedadifferentportnumberwhenyouinstalledtheserversoftware, enterthatportnumberhere.Otherwise,keepthedefaultof902. Whenyoufinish,logoffoftherootaccount. exit
InstallingVmPerlandVmCOMAPIsonaWindowsHostonpage 52 InstallingVmPerlAPIonaLinuxHostonpage 54
VMware, Inc.
51
Accepttheenduserlicenseagreement(EULA),andclickNext.
52
VMware, Inc.
NOTE
ClickFinish. TheVMwareScriptingAPIisinstalled.
IfyouinstalltheVmCOMAPI,twodirectoriesnamedMiniMUIandSampleScriptsare createdintheVmCOMAPIdirectory.TheMiniMUIdirectorycontainsasample
VMware, Inc.
53
To install the VmPerl API on a 32-bit host or client 1 2 DownloadtheVmPerlAPIpackagefromtheVMwareManagementInterface LoginpagetothemachineonwhichyouwanttoruntheVMwareScriptingAPI. Inaterminalwindow,ifyouhavenotdonesoalready,becomerootsoyoucan carryouttheinstallationsteps. su Untarthepackage. tar zxf VMware-VmPerlAPI-<xxxx>.tar.gz where<xxxx>isaseriesofnumbersrepresentingtheversionandbuildnumbers. Changetotheinstallationdirectory. cd vmware-api-distrib Runtheinstallationprogram. ./vmware-install.pl PressEntertoreadtheenduserlicenseagreement(EULA).Youmaypagethrough itbypressingthespacebar.IftheDo you accept?promptdoesntappear,pressQ togettothenextprompt.AccepttheEULA. SpecifythedirectorywhereyouwanttoinstalltheVmPerlAPIexecutablefiles. ThedefaultiswherePerlisinstalledonyourhost,typically/usr/bin.
4 5 6
54
VMware, Inc.
10
UninstallingVMwareServeronaWindowsHostonpage 55 UninstallingVMwareServeronaLinuxHostonpage 57
VMware, Inc.
55
3 4
6 7
To remove VMware components on a Windows host 1 OnaWindowsServer2003host,chooseStart>Settings>ControlPanel>Addor RemovePrograms.SelecttheVMwareServerInstallerandclickChange. OnaWindows2000host,chooseStart>Settings>ControlPanel>Add/Remove Programs.SelecttheVMwareServerInstallerandclickChange. 2 3 4 5 Afterthemasterinstallerlaunches,clickNext.TheProgramMaintenancescreen appears. SelectModify,andclickNext.TheCustomSetupscreenappears. Clickthearrowtoopenthemenunexttothecomponentyouwanttoremove, selectThisfeaturewillnotbeinstalled,andclickNext. Whenyouarereadytobeginremovingthecomponent,clickInstall.
56
VMware, Inc.
Afterthecomponentisremoved,clickFinish.
VMware, Inc.
57
NOTE
UninstallingtheserversoftwareremovestheVmPerlAPIandthe ProgrammingAPIthatwereinstalledwithit.
TouninstalltheVMwareManagementInterfacecomponents,runtheprogram: /usr/bin/vmware-uninstall-mui.pl
58
VMware, Inc.
BeforeYouInstallVMwareServeronpage 59 WhenYouRemoveaVMwareProductandInstallVMwareServeronpage 62
VMware, Inc.
59
NOTE
To upgrade a virtual machine with disks in undoable mode 1 2 3 Resumeorpoweronthevirtualmachineintheearlierproduct. Shutdowntheguestoperatingsystem. Poweroffthevirtualmachineandeithercommitordiscardchangestothediskin undoablemodewhenprompted. Ifthedisksareinpersistentornonpersistentmode,besurethevirtualmachineis completelyshutdown.Ifitissuspended,resumeit,shutdowntheguestoperating systemandpoweroffthevirtualmachine.
60
VMware, Inc.
To upgrade a virtual machine with multiple virtual disks in multiple modes 1 2 3 4 5 Resumeorpoweronthevirtualmachineintheearlierproduct. Shutdowntheguestoperatingsystem. Poweroffthevirtualmachineandeithercommitordiscardchangestoany undoablemodediskswhenprompted. OpentheConfigurationEditorandchangealldiskstopersistentmode. AfteryouupgradetoVMwareServer,youcanusethesnapshotfeaturetopreserve thestateofavirtualmachineandreturntothatstateatalatertime.
VMware, Inc.
61
62
VMware, Inc.
2 3 4
Removing Versions 2 or 3
Touninstallversions2or3,usetheVMwareGSXServermasterinstaller.Youmust keepyourexistinglicenseintheWindowsregistry. Afteryoureboot,followtheinstructionsinInstallingVMwareServeronaWindows Hostonpage 26.
Removing Version 1
TouninstallVMwareGSXServer1,useAdd/RemoveProgramsintheWindows ControlPanel.BesuretouninstallVMwareGSXServer,theVMwareManagement Interface,andtheRemoteConsole. Afteryouremovethethreepackages,rebootyourhostandfollowtheinstructionsin InstallingVMwareServeronaWindowsHostonpage 26. NOTE IfyouhaveVMwareWorkstation(oranyotherVMwareproduct)installedon yourhostsystem,youmustremoveitbeforeyouinstallVMwareServer.See theVMwareWorkstationproductdocumentationforinformationonhowto removeWorkstation.
VMware, Inc.
63
To uninstall VMware GSX Server on a Linux host 1 2 Openaterminalandlogonastherootuser. IfyouusedtheRPMinstallertoinstallVMwareGSXServer,removethesoftware fromyoursystembyrunning: rpm -e VMware-gsx IfyouusedthetarinstallertoinstallVMwareServer,removethesoftwarefrom yoursystembyrunning: vmware-uninstall.pl NOTE
!
UninstallingtheserversoftwareremovestheVmPerlAPIinstalledwithit.
TouninstalltheVMwareManagementInterfacecomponents,runtheprogram: /usr/bin/vmware-uninstall-mui.pl
! !
64
VMware, Inc.
NOTE
VMware, Inc.
65
NOTE
ThevirtualhardwareupgradeisirreversibleTheprocessofupgradingthe virtualhardwareisirreversibleandmakesthedisksattachedtothisvirtual machineincompatiblewithVMwareGSXServer.Youshouldmakebackupcopies ofyourvirtualdisksbeforestartingtheupgrade. VMwareServerupdatestheCMOSIfyouareusingavirtualmachinecreated withVMwareGSXServer3,thefirsttimeyoupoweronthevirtualmachinewith VMwareServer,theCMOSisupdated.Asaresult,yourguestoperatingsystem mightdetecthardwarechangesandinstallnewdriversforthenewhardwareeven ifyoudonotchoosetoupgradethevirtualhardware. AnerrormightappearwhenupgradingfromaphysicaldiskIfyouare upgradingavirtualmachinethatrunsfromaphysicaldisk,ratherthanavirtual disk,youmightseethefollowingerrormessagewhileVMwareServeris upgradingthevirtualhardware:Unable to upgrade <drivename>. One of the supplied parameters is invalid.YoucansafelyclickOKtocontinuethe upgradeprocess.
To upgrade the virtual machines hardware 1 2 3 Shutdowntheguestoperatingsystemandpoweroffthevirtualmachine. UpgradethehostrunningGSX2or3toVMwareServer. ChooseVM>UpgradeVirtualMachine. Adialogboxappearswithawarningthattheupgradeprocesscannotbereversed. 4 5 6 ClickYestocontinue,andfollowtheonscreendirections. PoweronthevirtualmachineinVMwareServer. UpgradeVMwareToolstothenewversion.
66
VMware, Inc.
VMware, Inc.
67
10 11
Windows XP Guest
Thefollowingstepsprovideexamplesofwhatyoumightseeasyourguestoperating systemrecognizesthenewvirtualhardware.Thespecificstepsmayvarydependingon theconfigurationofthevirtualmachine.
68
VMware, Inc.
To ensure the virtual hardware is recognized by a Windows XP guest 1 2 3 4 PoweronthevirtualmachineandletitupdatetheCMOS. InstallthenewversionofVMwareTools. ShutdowntheWindowsguestandpoweroffthevirtualmachine. ChooseVM>UpgradeVirtualHardware. Amessagecautionsyouthattheoperationisirreversibleandrecommendsthat youbackupthevirtualdisksbeforeproceeding. 5 Tocontinue,clickYes. Amessagedescribeswhatisabouttohappen. 6 7 ClickOKtocontinue. Poweronthevirtualmachine. WindowsdetectstheVMwareSVGAadapter. 8 SelectInstallthesoftwareautomaticallyandfollowtheonscreeninstructions. Amessageasksyoutoinsertadisk. 9 10 11 Navigateto:C:\Program Files\VMware\driverstoinstalltheVMwareSVGAII adapter. Ifyouhaveserialportsconfiguredinthevirtualmachine,gototheWindows DeviceManageranduninstallalltheCOMportslistedthere. Restartthevirtualmachine. WindowsdetectstheCOMportsandinstallsthemproperly.
Windows Me Guest
Thefollowingstepsprovideexamplesofwhatyoumightseeasyourguestoperating systemrecognizesthenewvirtualhardware.Thespecificstepsmayvarydependingon theconfigurationofthevirtualmachine. To ensure the virtual hardware is recognized by a Windows Me guest 1 PoweronthevirtualmachineandletitupdatetheCMOS. PlugandPlaydetectsanIntel82371EBPowerManagementcontroller. 2 SelectAutomaticsearchandclickNext. Windowsfindsandinstallsthedriverautomatically.
VMware, Inc.
69
PlugandPlaydetectsanIntel82443BXPentiumIIProcessortoPCIbridge. 3 SelectAutomaticsearchandclickNext. Windowsfindsandinstallsthedriverautomatically. 4 Restarttheguestoperatingsystem. PlugandPlaydetectsanIntel82371AB/EBPCIBusMasterIDEcontroller. 5 SelectAutomaticsearchandclickNext. Windowsfindsandinstallthedriverautomatically. 6 7 8 InstallthenewversionofVMwareTools. ShutdowntheWindowsguestandpoweroffthevirtualmachine. ChooseVM>UpgradeVirtualHardware. Amessagecautionsyouthattheoperationisirreversibleandrecommendsthat youbackupthevirtualdisksbeforeproceeding. 9 Tocontinue,clickYes. Amessagedescribeswhatisabouttohappen. 10 11 ClickOKtocontinue. Poweronthevirtualmachine. WindowsdetectsthePCIMultimediaAudiodeviceandinstallsthedriverforthe CreativeAudioPCI. WindowsdetectsanAMDPCNetadapter. 12 SelectAutomaticsearchandclickNext. Windowsautomaticallyinstallsthedriverfortheadapter. 13 ClickFinishtorestartthevirtualmachine. WindowsdetectsaCreativegameportdeviceandinstallsthedriver automatically. Windowsdetectsagameportjoystickandinstallsthedriver. WindowsdetectsthePCISVGAadapter,whichitthenidentifiesastheVMware SVGAIIadapterandinstallsthedriverautomatically. 14 15 ClickYestorestartthevirtualmachine. Ifyouhaveserialportsconfiguredinthevirtualmachine,gototheWindows DeviceManageranduninstallalltheCOMportslistedthere.
VMware, Inc.
70
16
Restartthevirtualmachine. WindowsdetectstheCOMportsandinstallsthemproperly.
Windows 98 Guest
Thefollowingstepsprovideexamplesofwhatyoumightseeasyourguestoperating systemrecognizesthenewvirtualhardware.Thespecificstepsmayvarydependingon theconfigurationofthevirtualmachine. To ensure the virtual hardware is recognized by a Windows 98 guest 1 PoweronthevirtualmachineandletitupdatetheCMOS. WindowsdetectsaPCItoISAbridge. 2 GotoC:\Windows\SystemandletWindowsselectthenecessarydriver. WindowsdetectsanIntel82371EBPowerManagementController. 3 GotoC:\Windows\SystemandletWindowsselectthenecessaryfile. Windowsdetectslpt.vxd. 4 GotoC:\Windows\SystemandletWindowsselectthenecessaryfile. WindowsdetectsanIntel82443BXPentiumProcessortoPCIbridge. 5 GotoC:\Windows\SystemandletWindowsselectthenecessaryfile. WindowsdetectsanIntel82371AB/EBPCIBusMasterIDEcontroller. 6 GotoC:\Windows\SystemandletWindowsselectthenecessaryfile. Windowsasksforthefileuhcd.sys. 7 EnterthelocationC:\Windows\System32\drivers,andclickOK. WindowsdetectsanIntel82371AB/EBPCItoUSBUniversalhostcontroller. 8 GotoC:\Windows\SystemandletWindowsselectthenecessaryfile. WindowsdetectsanAMDPCNETFamilyEthernetAdapter. 9 GotoC:\Windows\SystemandletWindowsselectthenecessaryfile. Windowsasksforthefileinetmib1.dll. 10 EnterthelocationC:\Windows,thenclickOK. Windowsasksforthefilelocproxy.exe. 11 EnterthelocationC:\Windows\System,thenclickOK.
VMware, Inc.
71
Windowsasksforthefilendishlp.sys. 12 EnterthelocationC:\Windows,thenclickOK. Windowsasksforthefilewsock.vxd. 13 14 EnterthelocationC:\Windows\System,thenclickOK. WhenyoufinishinstallingtheAMDFamilyEthernetAdapter,restartWindows 98. PlugandPlaydetectsmultipledevicesandrestartsWindows98. 15 16 17 Afterthevirtualmachinerestarts,installthenewversionofVMwareTools.For details,seeInstallingVMwareTools. ShutdowntheWindowsguestandpoweroffthevirtualmachine. ChooseVM>UpgradeVirtualHardware. Amessagecautionsyouthattheoperationisirreversibleandrecommendsthat youbackupthevirtualdisksbeforeproceeding. 18 Tocontinue,clickYes. Amessagedescribeswhatisabouttohappen. 19 20 ClickOKtocontinue. Poweronthevirtualmachine. WhenWindowsboots,itdetectsthePCISVGAadapter.Later,itdetectsthe VMwareSVGAIIadapterandinstallsthedriver. WindowsdetectsPCIMultimediaAudioandofferstoinstalladriverforit. 21 ClickCancel. WindowsdetectsanAMDPCNETFamilyEthernetadapter. 22 23 24 25 ClickNext. SelectSearchforthebestdriverandclickNext. SelectSpecifyalocation,andenterC:\Windows\System.ClickNext. SelectTheupdateddriver(Recommended)AMDPCNETFamilyEthernet Adapter(PCIISA).ClickNext. Windowsfindsthe.inffilefortheadapter. 26 ClickNext. Windowsasksforthefiledhcpsvc.dll.
72 VMware, Inc.
27
EnterthelocationC:\Windows\System,andclickOK. Windowsasksforthefileinetmib1.dll.
28
EnterthelocationC:\Windows,andclickOK. Windowsasksforthefilelocproxy.exe.
29
EnterthelocationC:\Windows\System,andclickOK. Windowsasksforthefilendishlp.sys.
30 31
32 33 34 35
Windows 95 Guest
Thefollowingstepsprovideexamplesofwhatyoumightseeasyourguestoperating systemrecognizesthenewvirtualhardware.Thespecificstepsmayvarydependingon theconfigurationofthevirtualmachine. To ensure the virtual hardware is recognized by a Windows 95 guest 1 PoweronthevirtualmachineandletitupdatetheCMOS. Windowsdetectsnewdevicesandautomaticallyinstallsthedrivers. 2 Restarttheguestoperatingsystemafterthisprocessiscomplete. WhenWindowsrestarts,itdetectsmorenewdevices. Windowsasksforthefilelpt.vxd. 3 EnterthelocationC:\Windows\System,thenclickOK. WindowsdetectsaPCIstandardhostbridgeandotherdevices.
VMware, Inc.
73
4 5 6 7 8
Tocontinue,clickYes. Amessagedescribeswhatisabouttohappen.
10
ClickOKtocontinue. WindowsdetectsaPCIMultimediaAudiodevice.
11
12 13 14
Tocontinue,clickYes. Amessagedescribeswhatisabouttohappen.
6 7
VMware, Inc.
75
76
VMware, Inc.
ThischapterdescribeshowtomanageyourvirtualmachinesandtheVMwareServer hostandcoversthefollowingtopics:
! ! ! ! ! ! ! ! !
RemotelyManagingVirtualMachinesonpage 77 SecuringVirtualMachinesandtheHostonpage 82 IdentifyingaVirtualMachinebyItsUUIDonpage 92 LoggingVMwareServerEventsonWindowsonpage 94 BackingUpVirtualMachinesandtheVMwareServerHostonpage 95 UsingtheVMwareManagementInterfaceonpage 97 DeletingVirtualMachinesonpage 111 ConfiguringtheVMwareServerHostonpage 112 UsingVirtualCentertoManageVirtualMachinesonpage 131
fromaWindowsremotemachine,youcanusetheVmCOM,theVmPerlAPI,andthe ProgrammingAPI.IfyouareconnectingtoaVMwareServerhostfromaLinuxremote machine,youcanusetheVmPerlAPIandtheProgrammingAPI. Anotherautomatedwaytomanagevirtualmachinesistousethevmware-cmdutility. Formoreinformation,visittheVMwareWebsiteat www.vmware.com/support/developer. Finally,youcanusethirdpartytoolstoremotelymanageyourvirtualmachines.You canuseapplicationslikeVNCViewer,WindowsTerminalServices,orWindowsXP RemoteDesktop.ToviewavirtualmachinewithVNCViewer,youmustmodifythe virtualmachinesconfigurationmanually. Thefollowingsectionsfurtherexploreremotelymanagingvirtualmachines:
! !
ChangingthePortNumberforVMwareServerConsoleConnectionsonpage 78 DownloadingtheVMwareServerConsoleonpage 81
Dependinguponyoursitesneedsorconfiguration,forexampleifyouhavemultiple VMwareServerhostsandtheyusedifferentports,thenthismightbeacceptable. However,settingauthd.client.porttothesameportnumberyouuseforauthd.port allowsforseamlessintegrationbetweentheserverandtheclient.Italsoletsyouavoid manuallyenteringtheportnumbereverytimeyouconnecttotheserverwithaclient. To change the port number on a Windows host or client Addthefollowinglinetoconfig.iniinC:\Documents and Settings\All Users\Application Data\VMware\VMware Server: authd.port = <portNumber> where<portNumber>istheportnumberthatallclientsconnectingtovirtualmachines onthishostmustuse. TochangetheportnumberthatisusedbytheconsoleinstalledonaWindowsmachine, youmustcreateafilecalledconfig.iniandplaceitinC:\Documents and Settings\All Users\Application Data\VMware\VMware Server Console.Inthisfile,addthe followingline: authd.client.port = <portNumber> where<portNumber>isthedefaultportnumberthatallclientsonthismachine connectingtovirtualmachinesontheVMwareServerhostmustuse.TheVMware Serverhostmusthavethisportnumbersettotheauthd.portvariableinitsconfig.ini file(Windowshost)orvmware-authdfile(Linuxhost). TochangetheportnumberforaspecificuserwhoisusingtheVMwareServerConsole installedonaWindowshost,addthefollowinglinetothepreferences.inifilelocated inC:\Documents and Settings\<user>\Application Data\VMware: authd.client.port = <portNumber> where<portNumber>istheportnumbertouseonlywhenthisuserisloggedonand usingaVMwareServerConsoletoconnecttoavirtualmachineontheVMwareServer host. TheVMwareServerhostmusthavethisportnumbersettotheauthd.portvariablein itsconfig.inifile(Windowshost)orvmware-authdfile(Linuxhost). To change the port number on a Linux host or client Determinewhetheryourhostisconfiguredtousexinetdorinetd. Ifyourhostisconfiguredtousexinetd,lookforthefollowinglinein /etc/xinetd.d/vmware-authd: port = 902
VMware, Inc.
79
Changetheportnumber902inthiscasetothedesirednumber. Ifyourhostisconfiguredtouseinetd,lookforthefollowinglinein/etc/inetd.conf: 902 vmware-authd Changetheportnumber902inthiscasetothedesirednumber.Allclientsconnecting tovirtualmachinesonthishostmustusethisportnumber. TochangetheportnumberusedbytheVMwareServerConsoleinstalledonaLinux hostorclient,addthefollowinglinetoeither/etc/vmware-server-console/configor /usr/lib/vmware-server-console/config: authd.client.port = <portNumber> where<portNumber>istheportnumberthatallclientsonthismachineconnectingto virtualmachinesontheVMwareServerhostmustuse.TheVMwareServerhostmust havethisportnumbersettotheauthd.portvariableinitsconfig.inifile(Windows host)orvmware-authdfile(Linuxhost). NOTE Iftheportnumbersspecifiedinthesefilesaredifferent,theportnumber specifiedin/etc/vmware-server-console/configtakesprecedence.
TochangetheportnumberforaspecificuserwhoisusingtheVMwareServerConsole installedonaLinuxhost,addthefollowinglineto~/.vmware/preferences: authd.client.port = <portNumber> where<portNumber>istheportnumbertouseonlywhenthisuserisloggedonand usingaVMwareServerConsoletoconnecttoavirtualmachineontheVMwareServer host. TheVMwareServerhostmusthavethisportnumbersettotheauthd.portvariablein itsconfig.inifile(Windowshost)orvmware-authdfile(Linuxhost). Whenthisuserisloggedon,theportnumberspecifiedin~/.vmware/preferences supersedestheportnumberspecifiedin/etc/vmware-server-console/configor /usr/lib/vmware-server-console/config.
80
VMware, Inc.
To download and install a VMware Server Console package from the Login or Status Monitor page 1 ConnecttotheVMwareServerhostwiththeVMwareManagementInterface. Forinformationonconnectingtothemanagementinterface,seeLoggingOnto theVMwareManagementInterfaceonpage 99. 2 OntheStatusMonitorpage,downloadtheinstallerbyclickingthelinkforthe packageappropriatetotheoperatingsystemonwhichtheVMwareServer Consoleistobeinstalled. OntheLoginpage,selecttheinstallerappropriatetotheoperatingsystemofthe computerwhereyouareinstallingtheVMwareServerConsole,andclick Download. IfyouareinstallingtheVMwareServerConsoleonaLinuxhost,youcanfurther choosebetweentarandRPMinstallationpackages. 4 Runtheinstallationpackage.
VMware, Inc.
81
VMware-server-win32-client-<xxxx>.zip VMware-server-linux-client-<xxxx>.zip
YoucanexpandthesearchivesandplacetheAPIinstallerfilesinareadilyavailable area.ThenmodifythedownloadmenuontheLoginpagetopointtothem. Youcanaddmorefilestothedownloadmenu,hideitemsalreadylistedandevenhide thelinkorthemenuitself.ClickHelpontheLoginpageandfollowtheinstructions there. OnaWindowshostwiththeVMwareManagementInterfaceinstalled,youcanfindthe installersfortheconsoleandscriptingAPIsinC:\Program Files\VMware\VMware Management Interface\htdocs\vmware\bin.Thisfoldercontains:
!
VMware-server-console-<xxxx>.exeTheinstallerfortheVMwareServer ConsoletorunonWindowsclients. VMware-server-console-<xxxx>.i386.rpmTheRPMinstallerfortheVMware ServerConsoletorunonLinuxclients. VMware-server-console-<xxxx>.tar.gzThetarinstallerfortheVMwareServer ConsoletorunonLinuxclients. VMware-VmCOMAPI-<xxxx>.exeTheinstallerfortheVmCOMAPIforWindows hostsonly. VMware-VmPERLAPI-<xxxx>.exeTheinstallerfortheVmPerlAPIforWindows hosts.
82
VMware, Inc.
! !
! ! !
VMware, Inc.
83
84
VMware, Inc.
Whenavirtualmachineisprivate,itappearsintheinventoryoftheconsoleoftheuser whocreatedit.Thevirtualmachinedoesnotappearintheinventoryofconsolesfor otherusersconnectedtothehost.ThevirtualmachineappearsintheVMware ManagementInterfaceonlywhenyouareloggedonwiththeaccountthatcreatedthe virtualmachine. Otheruserscannotbrowsetothevirtualmachineandaddittotheinventory. Ifthevirtualmachineismadeprivateafterithasbeencreated,itdisappearsfromother usersinventories. To specify whether a virtual machine is private 1 SelectthevirtualmachineinaconsoleandchooseVM>Settings. Thevirtualmachinesettingseditorappears. 2 ClicktheOptionstab,andclickPermissions.
Tomakethevirtualmachineprivate,selectMakethisvirtualmachineprivate. Toallowalluserstoseeandusethisvirtualmachine,deselectthecheckbox.
ClickOKtosaveyoursettingsandclosethevirtualmachinesettingseditor.
VMware, Inc.
85
TheuserwhopowersonthevirtualmachineThevirtualmachinerunsasthe accountoftheuserwhopoweredonthevirtualmachineuntilthevirtualmachine ispoweredoff.Otheruserscanconnecttothevirtualmachinebutitstillrunsas theuserwhopoweredonthevirtualmachine. ThelocalsystemaccountThevirtualmachinerunsasthelocalsystemaccount. Youcanenablethisoptiononlyifyouareloggedontothehostoperatingsystem asanAdministrator. AspecificuseraccountThevirtualmachinerunsastheuseraccountspecified intheNewVirtualMachineWizardorthevirtualmachinesettingseditor.This accountmustbeabletoaccesstheVMwareServerhost.
Theuseraccountisspecifiedwhenyoucreatethevirtualmachineandyoucanchange itinthevirtualmachinesettingseditor.
86
VMware, Inc.
InthePropertiesdialogbox,selecteachuserorgroupandselecttheappropriate permission,typicallyRead.
VMware, Inc.
87
Ifyouwanttolimitaccesstothevirtualmachine,cleartheAllowinheritable permissionsfromparenttopropagatetothisobjectcheckbox. 4 Tospecifythatauserorgroupthatshouldnothaveaccesstotheconfigurationfile, eitherclickRemoveorcheckallpermissionsintheDenycolumntodenyall permissionstothatuserorgroup. Toaddmoreusersorgroups,clickAdd. TheSelectUsers,ComputersandGroupsdialogboxappears. 6 7 Inthedialogbox,selectthegroupsorusersthatyouwanttoaccessthevirtual machine,thenclickAdd. Afteryoufinishaddingtheusersorgroups,clickOK. TheusersandgroupsareaddedwithdefaultReadandWritepermissions. 8 9 InthePropertiesdialogbox,changethetypeofaccessfortheuserorgrouptothe configurationfile.ChooseeitherReadorRead&ExecuteandWrite. ClickOKtosetthepermissionstotheconfigurationfile.
88
VMware, Inc.
NOTE
Virtualmachinesandtheirresources,suchasvirtualdisks,physicaldisks,devicesand snapshotfiles,shouldbelocatedinareasaccessibletotheirusers. Ifavmwareprocessisnotrunningforthisconfigurationfile,vmware-authdcheckstosee ifthisvirtualmachineisintheinventory.Ifthevirtualmachineisintheinventory, vmware-authdbecomestheowneroftheconfigurationfile(notnecessarilytheuserthat iscurrentlyauthenticated)andstartstheconsolewiththisconfigurationfileasan argument(forexample,vmware /<path_to_config>/<configfile>.vmx). Thevmware-authdprocessexitsassoonasaconnectionisestablishedtoavmware processandatleastoneuserhasconnected.Eachvmwareprocessshutsdown automaticallyafterthelastuserdisconnects.
Default Permissions
WhenyoucreateavirtualmachinewithVMwareServeronaLinuxhost,its configurationfileisassignedthefollowingdefaultpermissions,basedontheuser accessingit:
!
! !
VMware, Inc.
89
90
VMware, Inc.
VMware, Inc.
91
Ifyoumovedthisvirtualmachine,youcanchoosetokeeptheUUID.SelectKeep,then clickOKtocontinuepoweringonthevirtualmachine. Ifyoucopiedthisvirtualmachinetoanewlocation,youshouldcreateanewUUID, sincethecopyofthevirtualmachineisusingthesameUUIDastheoriginalvirtual machine.SelectCreate,thenclickOKtocontinuepoweringonthevirtualmachine. Iftheoriginalvirtualmachineisbeingusedasatemplateformorevirtualmachines, youcanchoosetocreateanewUUIDthefirsttimeyoupoweroneachcopy.Afteryou configurethevirtualmachineandarereadytomakeitatemplate,moveittoanew locationandpoweriton.Whenthemessageappearsafteryoupoweron,selectAlways Create,thenclickOKtocontinuepoweringonthevirtualmachine.Thevirtual machineissetuptocreateanewUUIDeverytimeitismoved.Poweroffthevirtual
92
VMware, Inc.
VMware, Inc.
93
! ! !
94
VMware, Inc.
Tomodifywhatgetsloggedforavirtualmachine,addeitherorbothoftheoptions tothevirtualmachinesconfiguration(.vmx)file. Tomodifywhatgetsloggedforallvirtualmachinesonahost,addeitherorboth oftheoptionstotheVMware Serverconfig.inifile,locatedbydefaultin C:\Documents and Settings\All Users\Application Data\VMware\VMware Server.
BrightStorARCserveBackupversion9.0(build1868) VeritasBackupExec9,ServicePack1
ThetapedrivemustbeconfiguredasagenericSCSIdevice.Toaddthedrivetoavirtual machine,seeAddingaGenericSCSIDevicetoaVirtualMachine.
VMware, Inc.
95
NOTE
96
VMware, Inc.
MonitorthestateofvirtualmachinesandtheVMwareServerhostonwhichthey arerunning. Control(poweron,suspend,resume,resetandpoweroff)thevirtualmachineson thathost. ConnecttheVMwareServerConsoletoagivenvirtualmachine,forhandson management. Viewdetailsabouteachvirtualmachine,includingsystemsummary,hardware information,anyconnectedusersandalogofrecentevents. SecureconsoleandmanagementinterfacesessionswithSSL(administratorand rootusersonly). Answerquestionsandacknowledgemessagesposedbythevirtualmachine.
TomanageavirtualmachinefromtheVMwareManagementInterface,ausermust haveatleastreadpermissionforthatvirtualmachinesconfigurationfile.Formore
VMware, Inc.
97
informationaboutpermissionsandVMwareServer,seeUnderstandingPermissions andVirtualMachinesonpage 83. ToproperlyviewtheVMwareManagementInterface,ensurethatstylesheetsare enabledinyourbrowser,regardlessofwhichbrowserandversionyouareusing. NOTE ToruntheVMwareManagementInterfaceinInternetExplorer6.0ona WindowsServer2003system,whethertheVMwareServerhostisinstalledon WindowsServer2003oraWindowsServer2003clientmachinethatconnects toaVMwareServerhost,youneedtofollowsomespecialconfigurationsteps inordertousethemanagementinterface.Formoreinformation,see ConfiguringWebBrowsersforUsewithVMwareServeronpage 46.
TheVMwareManagementInterfacestartswithaLoginpage,whereyouenteryour usernameandpasswordtologon.TheLoginpagecontainslinksfordownloadingthe VMwareServerConsoleforWindowsandLinuxhosts.Formoreinformation,see DownloadingtheVMwareServerConsoleonpage 81. Afteryourusernameandpasswordareauthorizedbythemanagementinterface,the StatusMonitorpageappears.TheStatusMonitorpagecontainshighleveldetailsabout allthevirtualmachinesonthehostservertowhichyouareconnected.TheStatus Monitorpagelinkstoadetailedsetofpagesspecifictoeachvirtualmachine,whereyou findinformationaboutvirtualdevices,configurationoptions,andasummaryofrecent events.Inaddition,youcancreateanddeletevirtualmachinesfromyourbrowser. Thesepagesrefreshorreloadautomaticallyevery90seconds.Youmightwantto refreshorreloadthesepagesmanuallybeforeyouperformanoperationlike suspending,resuming,orpoweringonoroffavirtualmachinefromtheVMware ManagementInterfaceorafteryouperformapoweroperationinaconsole.Another usermighthaveperformedthesameoraconflictingoperationrightbeforeyou.To refreshthepage,clickRefreshatthetopofapage. Thissectionincludesthefollowingtopics:
! ! ! ! ! !
SettingtheSessionLengthfortheVMwareManagementInterfaceonpage 99 LoggingOntotheVMwareManagementInterfaceonpage 99 UsingtheStatusMonitoronpage 101 ConfiguringaVirtualMachineonpage 105 TheApacheServerandtheVMwareManagementInterfaceonpage 111 LoggingOfftheVMwareManagementInterfaceonpage 111
98
VMware, Inc.
VMware, Inc.
99
TheLoginpagecontainsfieldsforyourusernameandpassword. ItalsocontainsamenusoyoucandownloadinstallationpackagesfortheVMware ServerConsole.Todownloadapackage,seeDownloadingtheVMwareServer Consoleonpage 81. 2 OntheLoginpage,enteryourusernameandpasswordforthehostmachine,and clickLogIn. TheStatusMonitorpageappears.ForinformationabouttheStatusMonitorpage, seeUsingtheStatusMonitoronpage 101.
100
VMware, Inc.
VMware, Inc.
101
Activitiesyoucanperforminclude:
! ! ! !
AttachConsoleLaunchestheVMwareServerConsole,whichconnectstothis virtualmachine.Selectingthisoptionisthesameasclicking .Youneedtologon tothehost.Formoreinformation,seeConnectingtoaVirtualMachinefroma WindowsHostorClientandConnectingtoaVirtualMachinefromaLinuxHost orClient. NOTE NetscapeandMozillausersmustdefineaMIMEtypebeforeinstalling theVMwareServerConsole.InternetExplorerisautomatically configuredwhentheVMwareServerConsoleisinstalled.For information,seeSettingMIMETypetoLaunchtheVMwareServer Consoleonpage 128.
PropertiesOpenstheVirtualMachineOverviewpageforthisvirtualmachinein anewbrowserwindow.Selectingthisoptionisthesameasclickingthevirtual machinenamelinkintheDisplayNamecolumn. ConfigureOptionsOpenstheOptionspage,whereyoucaneditavirtual machinesconfiguration,suchastheguestoperatingsystemtype,displayname, thelocationofthesuspendedstatefileandthestartupandshutdownoptions. Withtheexceptionofthedisplayname,youcanedittheseoptionsonlywhenthe virtualmachineispoweredoff. ShutDownGuestRunsthescriptassociatedwiththispowerstatechange,shuts downtheguestoperatingsystem,andpowersoffthevirtualmachine.Selecting thisoptionisthesameasclicking inthepowerstatepopupmenu.
102
VMware, Inc.
! !
VMware, Inc.
103
indicatesanotherguestoperatingsystem,suchasMSDOS. indicatesaSunSolarisoperatingsystem.
ThelinkintheDisplayNamecolumnindicatesthedisplaynameforthevirtual machine.Ifoneisnotspecified,thepathtotheconfigurationfileforthevirtual machineappearshereinstead.Thiscolumnalsocontainsthevirtualmachines powerstate,itsprocessID,anditsvirtualmachineID(ifitisrunning)Italsonotes ifVMwareToolsisnotinstalled. Ifthevirtualmachineiswaitingforaresponsetoasystemmessage,aWaitingfor inputlinkappearshere.Clickthelinktoviewthemessageandrespondtoit. Clickthevirtualmachinelinkformoredetailsaboutthevirtualmachine.The VirtualMachineOverviewpageappearsinanewbrowserwindow.Formore information,seeConfiguringaVirtualMachineonpage 105.
104
VMware, Inc.
TheVirtualMachineOverviewpagecontainsthesedetailsaboutthevirtualmachine:
VMware, Inc.
105
Thecurrentpowerstateofthevirtualmachinewhetheritispoweredon, poweredoff,orsuspended. TheprocessIDofthevirtualmachine. TheVMIDofthevirtualmachine,whichistheVMwareServerversionofthePID forarunningvirtualmachine. Theminimum,maximum,andaveragepercentageofVMwareServerhost processorcapacitythatthevirtualmachineusedinthepreviousminute. Theminimum,maximum,andaverageamountofVMwareServerhostmemory thatthevirtualmachineusedinthepreviousminute. Howlongthevirtualmachinehasbeenrunning. ThestatusofVMwareToolswhetherVMwareToolsisinstalledandrunning. Theaveragepercentageofheartbeatsreceivedbyavirtualmachineduringthe previousminute.SeeMonitoringtheVirtualMachinesHeartbeatonpage 104. TheIPaddressofthevirtualmachine. Linkstoeditstandardconfigurationoptions.ClickOptionstoeditthevirtual machinesstandardconfigurationoptions.TheOptionspageappears.Tochange mostoptions,youmustpoweroffthevirtualmachine. Theguestoperatingsysteminstalledinthevirtualmachine. Thenumberofvirtualprocessorsinthevirtualmachine. Theamountofmemoryallocatedtothevirtualmachine. ThepathtothevirtualmachinesconfigurationfileontheVMwareServerhost.
! !
! ! !
! !
! ! ! !
Activitiesyoucanperformwhenviewingavirtualmachinesdetailsinclude:
! ! !
106
VMware, Inc.
2 3
Tochangethedisplayname,typethenewnameintheDisplayNamefield. Tochangetheguestoperatingsystem(forexample,ifyouareupgradingtheguest operatingsysteminstalledinthevirtualmachine),selectthenewguestoperating systemfromtheGuestOperatingSystemlist. Tochangethelocationofthesuspendedstatefile,typethepathtothedirectoryon thehostintheSuspendFileLocationfield. Tochangewhetherloggingisenabledforthevirtualmachine,check(toenable)or clear(todisable)theEnableLoggingcheckbox. Tochangewhetherthevirtualmachineisrunningwithdebugginginformation, check(toenable)orclear(todisable)theRunwithDebuggingInformationcheck box. ClickOKtosaveyourchangesandclosethewindow.
4 5 6
VMware, Inc.
107
CAUTION
2 3 4 5
108
VMware, Inc.
ThelistunderPermissionsindicateswhatyoucandowiththevirtualmachine.You areeitherallowedordeniedthefollowingabilities:
! !
Viewingvirtualmachinestatus. Modifyingthevirtualmachinesconfiguration.
VMware, Inc.
109
Controllingthevirtualmachinepoweringitonoroff,suspendingorresuming it.
TheEventslistdisplaysalogofthemostrecentactionsoreventsrecordedinthevirtual machine,suchasthequestionsVMwareServerasks,anyerrorsandthepoweringon oroffthevirtualmachine.Eventsappearinreversechronologicalorder;thatis,the mostrecenteventsappearfirstinthelist. Theeventlogdrawsitsdatafromthelogfileforthevirtualmachinesconfigurationfile. Thelogfileisstored,bydefault,inthevirtualmachinesdirectory.OnaWindowshost, thisdirectoryis<installdrive>:\Virtual Machines\<guestOS>.OnaLinuxhost,this directoryis/var/lib/vmware/Virtual Machines/<guestOS>. SometimesyouseeawaitingforinputmessageappearsasalinkintheDisplayName column.Thislinkappearswhenyouperformanactioninthemanagementinterface thatpromptsthevirtualmachinetogenerateamessage;youmustrespondtothe messagebeforethevirtualmachinecanproceed.Whenyouclickthatlink,aprompt appears,whereyoucanenteraresponse.Afteryouprovideyouranswer,theprompt closes.YourresponseappearsintheEventslist. Thelogshowsthedateandtimetheeventoccurredandanexplanationoftheevent. Someeventshaveasymbolassociatedwiththemthatcorrespondstothetypeofevent thatoccurred.
110
VMware, Inc.
VMware, Inc.
111
SecuringRemoteConnectionswithSSLonpage 112 ConfiguringStartupandShutdownOptionsforVirtualMachinesonpage 113 SettingUserPreferencesfortheVMwareServerHostonpage 117 SettingGlobalPreferencesforVMwareServeronpage 123 SettingMIMETypetoLaunchtheVMwareServerConsoleonpage 128
112
VMware, Inc.
ClickSecuritySettings.TheSecuritySettingspageappears.
4 5
VMware, Inc.
113
ContinueStartingVirtualMachinesAftersetstheamountoftimeVMware Serverwaitsafterstartingonevirtualmachinebeforestartinganothervirtual machine.YoucansetthissothatVMwareServerdoesnotwaitbeforestartingthe nextvirtualmachine,waitsacertainnumberofminutesbeforestartingorstarts whenVMwareToolsstartsinthecurrentvirtualmachine. AttempttoContinueStoppingVirtualMachinesAftersetstheamountoftime VMwareServerwaitsafterstoppingonevirtualmachinebeforestoppinganother virtualmachine.YoucansetthissothatVMwareServerdoesnotwaitbefore stoppingeachvirtualmachineorwaitsacertainnumberofminutesbefore stoppingeachvirtualmachine.
114
VMware, Inc.
ClickVirtualMachineStartupandShutdown.TheVirtualMachineStartupand Shutdownpageappears.
UnderSystemConfiguration,clickEdit.TheSystemStartupandShutdown Defaultspageappears.
Toenablesystemwidestartupandshutdownpolicies,checktheStartUpand ShutDownVirtualMachinescheckbox.
VMware, Inc.
115
ToconfigurewhenVMwareServershouldstartthenextvirtualmachineaftera virtualmachinestarts,dooneorbothofthefollowing:
!
Tospecifyaperiodoftimebeforethenextvirtualmachinestarts,inthe ContinueStartingVirtualMachinesAfterlist,eitherchoosethenumberof minutestowaitorindicatethatVMwareServershouldnotwaitbefore startingthenextvirtualmachine.IfyouselectOther,specifythenumberof minutestowaitinthepromptthatappears.Itisagoodideatosetadelay betweenstartingvirtualmachines,asadelayavoidsplacinganundueburden onthehostprocessorsandmemory. TospecifythatVMwareToolsshouldstartinavirtualmachinebeforethenext virtualmachinestarts,checkwhenVMwareToolsstarts.IfVMwareTools doesnotstartinthevirtualmachinebeforethetimespecifiedintheContinue StartingVirtualMachinesAfterlistelapses,VMwareServerstartsthenext virtualmachine.
8 9
116
VMware, Inc.
Otherliststhevirtualmachinesthatareconfiguredtousethedefaultstartand stoppolicieswhenthesystemstartsupandshutsdown. SpecifiedOrderliststhevirtualmachinesintheorderinwhichtheyare configuredtostart.Theorderinwhichthevirtualmachinesstopisthereverseof theorderinwhichtheystart,sothelastvirtualmachinetostartwhenthesystem startsupisthefirsttostopwhenthesystemshutsdown.Tospecifythestartup order,selectmachinesandusethearrowstomovethemupordownwithinthelist. AnyOrderliststhevirtualmachinesthatareconfiguredtostartandstopinany order.Movevirtualmachinestothiscategoryifyouwantthemtostartandstop withthesystem,butyoudonotwanttosettheorderforthem.Thevirtual machinesinthiscategorydonotstartorstopuntilallthevirtualmachineslisted intheSpecifiedOrderlisthavestartedorstopped.
2 3
VMware, Inc.
117
Tochangethesesettings,chooseEdit>Preferences.ThePreferencesdialogbox appears.
Thevirtualmachinewasleftopen. Thevirtualmachinewaspoweredonandoff,orpoweredonandsuspended.
118
VMware, Inc.
NOTE
VMware, Inc.
119
Theinputsettingsyoucanspecifyinclude:
!
GrabkeyboardandmouseinputonmouseclickVMwareServertakescontrol ofthekeyboardandthemouseafterthefirstprimarymousebuttonclickinthe virtualmachineconsolewindow. GrabkeyboardandmouseinputonkeypressVMwareServertakescontrolof thekeyboardandthemouseafterthefirstkeystroke.Thefirstkeystrokeissentto thevirtualmachine.Whenthevirtualmachineconsolewindowisactiveandthis optionisselected,youcannotusethenormalapplicationandsystemaccelerator keysequences. Ungrabwhencursorleaveswindowthemousepointerbecomesthemouse pointerofyourhostoperatingsystemwhenthemousepointerexitsthevirtual machineconsolewindow.Thisoptiondoesnotapplywhenthevirtualmachineis infullscreenmode.Usethisoptiontotransitionseamlesslybetweenthevirtual machineandyourhostoperatingsystem. Hidecursoronungrabthemousepointeroftheguestoperatingsystemis hiddenwhenyourmouseiscontrollingthepointerofthehostoperatingsystem. Thisoptionisparticularlyusefulwhenyourguestoperatingsystemandyourhost operatingsystemareidentical:iteliminatestheconfusionofhavingtothinkabout whichofthetwoidenticalpointersmoveswhenyoumoveyourmouse. Grabwhencursorenterswindowthemousepointerbecomesthemouse pointerofyourguestoperatingsystemwhenthemousepointerentersthevirtual machineconsolewindow.Thisoptiondoesnotapplywhenthevirtualmachineis infullscreenmode. Enablecopyandpastetoandfromvirtualmachineusethisoptionforcopying andpastingtextbetweenthehostandthevirtualmachineandamongvirtual machines.Theclipboardsofthetwooperatingsystemscommunicatewitheach other.Whenthemousepointerofyourguestoperatingsystemexitstheconsole window,thecontentsoftheguestoperatingsystemclipboardarecopiedintothe hostoperatingsystemclipboard.Similarly,eachtimethemousepointerofyour hostoperatingsystemisgrabbedbytheconsolewindow,thecontentsofthehost operatingsystemclipboardarecopiedintotheguestoperatingsystemclipboard. NOTE Atthistime,youcannotcopyandpastebetweenRedHatLinux7.0 through7.3andWindows2000.Itdoesnotmatterwhichoperating systemistheguestandwhichisthehost.
120
VMware, Inc.
NOTE
Youcanconstructyourowncustomhotkeycombinationif,forexample,thedefault Ctrl+Altcombinationconflictswithanotherapplicationonthehostthatprocessesthe samehotkeycombination. Forexample,youmaywanttochangehotkeycombinationsfromCtrlAlt<key>to CtrlShiftAlt<key>topreventVMwareServerfrominterceptingCtrlAltDelete insteadoflettingthekeycombinationbesenttotheguestoperatingsystem. Or,youmaybeusingPCAnywheretoconnecttoamachinerunningaconsole.Thethe consoleisconnectedtoavirtualmachinerunninginfullscreenmode,andyouwantto runadifferentapplication.Normally,toreturntowindowmode,youpressCtrlAlt, butPCAnywhereprocessesCtrlAltkeycombinations,soVMwareServercannot receivethekeycombination.Thus,youneedtouseanalternatehotkeycombinationto getoutoffullscreenmode.
VMware, Inc.
121
NOTE
Youcanalsoconstructyourowncustomhotkeycombination.SelectCustom,then selectthecombinationofCtrl,AltandShiftkeys.Youspecifywhethereachkeyis:
! ! !
122
VMware, Inc.
VMware, Inc.
123
ThesettingsonthePrioritytabapplytoallvirtualmachinesfortheusercurrently loggedontothehostcomputer.Theprioritysettingsdonotaffectprioritysettings madebyanyotheruseronthecomputer. ThissettingisnotavailableonaLinuxhost. Tosetprioritypreferences,intheHostSettingsdialogbox,clickthePrioritytab. Theprioritysettingshereareusedbyallvirtualmachinesunlessavirtualmachine configurationoverridestheglobalsettingwithalocalsetting.Tochangethelocal settingforaparticularvirtualmachine,andoverridetheglobalsettings,openthe virtualmachineyouwanttoadjust,chooseVM>Settings,clicktheOptionstab,select Advanced,thenusethedropdownlistsunderProcessprioritiestomakethesetting youwantforthatvirtualmachine. Therearethreepossibleprocessschedulingpriorities:low,normalandhigh.The typicalprocessonthehostrunsatnormalpriority.Ifyousetthepriorityofthevirtual machinetolow,thatvirtualmachinehaslowerprioritythanotherprocessesonthe host.Ifyousetthepriorityofthevirtualmachinetonormal,thatvirtualmachine contendswithalltheprocessesonthehost.Ifyousetthevirtualmachinepriorityto high,thatvirtualmachinegetspriorityoverotherprocessesonthehost. VMwareServergivesyoutheoptiontoautomaticallychangetheprocessscheduling prioritythatapplieswhenthevirtualmachinegrabsandungrabskeyboardandmouse input.Formoreinformationongrabbingandungrabbinginput,seeChangingYour InputSettingsonpage 119. Thefourpossibleprocessprioritiesare
!
highnormal:Wheninputisgrabbed,VMwareServergetspriorityoverother processesonthehost.Wheninputisnotgrabbed,VMwareServercontendswith alltheprocessesonthehost. highlow:Wheninputisgrabbed,VMwareServergetspriorityoverother processesonthehost.Wheninputisnotgrabbed,VMwareServerhaslower prioritythanotherprocessesonthehost. normalnormal:Wheninputisgrabbed,VMwareServercontendswithallthe processesonthehost.Wheninputisnotgrabbed,VMwareServercontendswith alltheprocessesonthehost. normallow:Wheninputisgrabbed,VMwareServercontendswithallthe processesonthehost.Wheninputisnotgrabbed,VMwareServerhaslower prioritythanotherprocessesonthehost.
VMwareServerdefaultstoprocessprioritynormalnormal.
124
VMware, Inc.
FormoreinformationaboutSSL,seeSecuringYourRemoteSessionsonpage 90.
VMware, Inc.
Iftheadapterhasnolabel,VirtualCentercannotrecognizetheadapter.Ifavirtual machineisconfiguredforanetworknamethatdoesnotexist,thevirtualnetwork adapterisdisconnectedwhenyoupoweronthevirtualmachine. YoucancreatelabelsfortheexistingdefaultvirtualnetworkadapterslikeVMnet0, thedefaultbridgednetworkadapter,orVMnet8,thedefaultNATadapter.You configuretheadaptersinVMwareServer.Youcanconfigureeachadapterwith bridged,hostonly,NATorcustomnetworking.Thetypeofnetworkingconfiguration isirrelevanttoVirtualCenter.VirtualCenterisconcernedwiththenetworklabelonly. NOTE TocreateandmanageallyourvirtualmachinesfromtheVirtualCenterclient, youshouldassignuniquelabelstoeachhostonlyadapteronaVMware Serverhost.Thisway,youcaneasilyidentifyonwhichhosteachhostonly networkresides.However,ifyouhaveaVMwareServerhostwhereallthe virtualmachinesusehostonlynetworking,youcoulddecidetonotgivethe hostonlyadapteranetworklabel.
126
VMware, Inc.
NOTE
3 4
5 6
2
VMware, Inc.
ClickNetworkConnections.TheNetworkConnectionspageappears.
NOTE
128
VMware, Inc.
NOTE
Youmaynotneedtocreateahelperfilemanuallyifyourbrowserprompts youtoassociateVMwareServerwiththefiletype.
OnaWindowshost,writeashortbatchfilecalledvmwareserver-helper.bat. Thebatchfilemustcontainthefollowingline: "<path_to_vmwareserver>" -o "%1" wherethedefault<path_to_vmwareserver>is C:\Program Files\VMware\VMware Server\vmware.exe OnaLinuxhost,writeashortshellscriptcalledvmware-vms-helper.sh.The shellscriptmustcontainthefollowingtwolines: #!/bin/sh "<path_to_vmware-vms>" -o $1 > /dev/null 2>&1; wherethedefault<path_to_vmware-vms>is/usr/bin/vmware.
VMware, Inc.
129
Setting MIME Type for VMware Server Console Installed from the Management Interface Download
1 Openatexteditoranddooneofthefollowing.
!
OnaWindowshost,writeashortbatchfilecalledvmwareConsole-helper.bat. Thebatchfilemustcontainthefollowingline: "<path_to_vmwareConsole>" -o "%1" wherethedefault<path_to_vmwareConsole>is C:\Program Files\VMware\VMware Server Console\vmware.exe OnaLinuxhost,writeashortshellscriptcalled vmware-server-console-helper.sh.Theshellscriptmustcontainthe followingtwolines: #!/bin/sh "<path_to_vmware-server-console>" -o $1 > /dev/null 2>&1; wherethedefault<path_to_vmware-server-console>is /usr/bin/vmware-server-console.
Adialogboxaskswhatyouwanttodowiththefile.ClickAdvanced. IntheNewTypedialogbox,intheDescriptionoftypefield,typeVMware Server Console. IntheFileextensionfield,typexvm. IntheMIMEtypefield,typeapplication/x-vmware-console. IntheApplicationtousefield,typethepathtovmwareConsole-helper.bator vvmware-server-console-helper.sh. ClickOKtwice.Yourbrowserisnowsettolaunchtheconsolewhenyouclickthe terminaliconinthefuture.
130
VMware, Inc.
VMware, Inc.
131
VirtualmachinescreatedfromaVirtualCenterclientrunasaspecificuser account.AvirtualmachinecreatedfromaVirtualCenterclientcannotbe configuredtorunastheuserthatpowersiton.Yousupplytheuseraccount informationwhenyouaddtheVMwareServerhosttoVirtualCenter. VirtualmachinescreatedfromaVirtualCenterclientarenotprivate.Tomakethe virtualmachineavailableonlytotheVirtualCenteruseraccount,connecttothe virtualmachinewiththeVMwareServerConsoleandchangethesettingthere.For information,seeOnlyYouCanSeeVirtualMachinesYouCreateonpage 84. Youcannotspecifyanameforvirtualdiskfileswhenyoucreateavirtual machinefromaVirtualCenterclient.Thevirtualdiskfilesusethevirtualmachine nameasthebasisforthefilenames.YoucanusetheVMwareServerConsoleto createmorevirtualdiskswithfilenamesthatdonotreflectthevirtualmachine name. VirtualmachinescanuseonlytheDVD/CDROMdriveontheVMwareServer host.TousetheclientDVD/CDROMdriveonaremotesystem,connecttothe virtualmachinewiththeVMwareServerConsole. Youcannotbrowsearemotefilesystemwhenconnectedtothevirtualmachine fromaVirtualCenterclient.YouneedtoknowthepathtoafilesuchasanISO imageandmustenteritmanually.
132
VMware, Inc.
MovingaVMwareServerVirtualMachineonpage 133 MovingVMwareGSXServer3VirtualMachinetoaNewHostonpage 136 MovingOlderVirtualMachinesonpage 138 SharingVirtualMachineswithOtherUsersonpage 142 Whenyoumoveavirtualmachinetoanewhostcomputerortoadifferent directoryonthesamehostcomputerorwhenyourenameadirectoryinthe pathtothevirtualmachinesconfigurationfileVMwareServergeneratesa differentMACaddressforeachvirtualEthernetadapter(unlessyouspecified theMACaddressmanually).Foradditionalinformation,seeMaintaining andChangingtheMACAddressofaVirtualMachine.
NOTE
ForinformationaboutmovingvirtualmachinesbetweenVMwareproducts,seethe VMwareVirtualMachineMobilityPlanningGuideontheVMwareWebsite.
VMware, Inc.
133
NOTE
Theseinstructionsassumethatyouareusingavirtualdiskstoredinoneor more.vmdkfilesonyourhostcomputer.
ThefollowingsectionsfurtherdescribemovingaVMwareServervirtualmachine:
! ! !
Ifyouaremovingthevirtualmachinetoanewhostandhaveanetwork connectionbetweentheoriginalhostmachineandthenewhost,youare finishedwiththepreparationsontheoriginalhost.Ifyoudonothavea networkconnection,youneedtohaveawayofmovingthevirtualdisk (.vmdk)filesfromthevirtualmachinesdirectorytothenewhost.Youcould movethemtoasharednetworkdirectory,forexample,orburnthemto CDROMsorDVDs. Onceyouknowhowyouaregoingtomovethevirtualmachine,goto MovingaVirtualMachinetoaNewHostonpage 135.
134
VMware, Inc.
VMware, Inc.
135
Thefirsttimeyoupoweronthevirtualmachine,youareaskedtokeeptheexisting UUIDorcreateanewone.
ThefollowingsectionsexplainhowtoprepareandmovetheVMwareGSXServer2or 3toanewhost,andcoverthetopics:
! ! !
136
VMware, Inc.
VMware, Inc.
137
Launchtheconsoleandopenthevirtualmachineyoujustmoved.ChooseFile >Open,thenbrowsetothevirtualmachinesconfiguration(.vmx)file.
138
VMware, Inc.
NOTE
Theseinstructionsassumethatyouareusingavirtualdiskstoredinaset of.vmdkor.dskfilesonyourhostcomputer.
VMware, Inc.
139
NOTE 4
Donotmoveasuspendedvirtualmachinefromonehosttoanother.
Ifyourvirtualmachineisusingdisksinundoablemode,itisbesttocommitor discardthechangeswhentheguestoperatingsystemshutsdown.Ifyoucannot commitordiscardthechangestoyourdisk,readConsiderationsforMoving DisksinUndoableModeonpage 141. Ifyouhaveanetworkconnectionbetweentheoriginalhostmachineandthenew host,youarefinishedwiththepreparationsontheoriginalhost.Ifyoudonothave anetworkconnection,youneedtohaveawayofmovingthevirtualdisk(.vmdk) filesfromthevirtualmachinesdirectorytothenewhost.Youcouldmovethemto asharednetworkdirectory,forexample,orburnthemtoCDROMsorDVDs. NOTE Ifyourdisksareusingundoablemodeandyouhavenotcommittedor discardedyourchanges,youmustalsomovetheredolog(.REDO)fileto thenewhostcomputer.
140
VMware, Inc.
5 6
IntheconsolesInventorylist,selectthevirtualmachineyoujustcreated,then chooseVM>Settings. Besurethevirtualmachineisconfiguredtousethevirtualdiskfilesyoumoved fromtheoriginalhost.YouneedtoconfirmthatthenewdiskssettingsIDEor SCSIandthefilenameforthefirst.vmdkfilematchthosethatwereusedonthe originalhostmachine. ThedevicelistingfortheharddriveshowswhetheritisSCSIorIDE.Ifthatsetting doesnotmatchthevirtualdiskyouaremoving,selecttheharddiskandclick Remove.ThenclickAddandusetheAddHardwareWizardtoaddanIDEorSCSI diskasappropriate.BesuretospecifyIDEorSCSIwhenyoureachtheSelecta DiskTypescreeninthewizard. Besurethefilenameandpathforthevirtualdiskmatchtheactualfilenameand locationforthefirst.vmdkfileusedbythevirtualmachineyouaremoving.
VMware, Inc.
141
3 4
OpentheConfigurationEditor.ChooseSettings>ConfigurationEditor. Examinetheentryforyourvirtualdisktoseewhetheritincludesafullpathtothe firstvirtualdiskfile.Forexample,onaWindowshost,youmightseeadiskfile listinglikethis: My Documents\My Virtual Machines\Windows 2000\Windows 2000.vmdk EntriesforSCSIdisksaresimilar. Ifyourdiskfileinformationresemblestheexampleabove(withafullpathtothe firstdiskfile)andyouhavenotcommittedordiscardedchangestotheundoable disk,thefollowingrulesapply:
!
Youcanmovethedisktoanothercomputerofthesametypeonly(Windows toWindowsorLinuxtoLinux).Youcannotmovethedisktoacomputerofa differenttype(WindowstoLinuxorviceversa). Youmustplacethevirtualmachinesotherfiles(including.vmxand.REDOon Windows,and.vmxor.cfgand.REDOonLinux)inthesamerelativelocation onthenewcomputer.Inotherwords,ifthevirtualmachinesfilesresideinMy Documents\My Virtual Machines\Windows 2000\ ontheoriginalhost computer,youmustplacetheminthatsamelocationonthenewhost computer. Youcannotmovethedisktoanotherdirectoryonthecurrentsystem.
OnWindowshosts,thevirtualmachinefilesshouldbeinalocationonasystem thatisaccessibletothoseusers.Whenyouconfigurethevirtualmachineinthe
142
VMware, Inc.
NewVirtualMachineWizard,youcanspecifyalocationforthevirtualmachine elsewhereonyoursystemoronthenetwork.
!
OnLinuxhosts,permissionsforthevirtualmachinefilesespeciallythe configurationfile(.vmx)andvirtualdisks(.vmdk)shouldbesetforotherusers accordingtohowyouwantthemtousethevirtualmachine.Forinstance,ifyou wantuserstorunavirtualmachinebutnotbeabletomodifyitsconfiguration,do notmaketheconfigurationfilewritable. IfyourvirtualmachinewascreatedunderVMwareGSXServeroranother VMwareproduct(suchasVMwareWorkstation5.x)andusesindependentdisks innonpersistentmode,considerchangingthelocationoftheredologfile,sinceby defaultitisplacedinyourTEMPdirectory,towhichotherusersmightnothave access.Tochangethelocationoftheredologfile,takethefollowingsteps. a b c d Withthevirtualmachinepoweredoff,openthevirtualmachinesettings editor.ChooseVM>Settings. ClicktheOptionstab. ClickBrowseandselectadirectorythatissharedwithotherusers. ClickOKtosavethechangeandclosethevirtualmachinesettingseditor.
VMware, Inc.
143
144
VMware, Inc.
ThischapterprovidessuggestionsforgettingthebestperformancefromVMware Serverandyourvirtualmachines,andcoversthefollowingtopics:
! ! !
! ! !
Virtual Drives
VMwarestronglyrecommendsthatyoudefragmentusingaguestoperating mechanismbeforetakingthefirstsnapshot. VMwareServermakesallitschangestotheredolog,nottotheoriginaldisk,whenyou runadefragmentingprogramontheguestafterasnapshot.Youpermanentlylosethe abilitytodefragmentinsidetheoriginaldisk. Everysectorthatmovesiscopiedtotheredolog,makingthevirtualmachineredolog extremelylargewhenthediskisheavilyfragmentedandyourundefragmentation afterasnapshot.
146
VMware, Inc.
! ! !
GeneralVMwareServerOptionsonpage 147 VMwareServeronaWindowsHostonpage 151 VMwareServeronaLinuxHostonpage 154 InadditiontotheVMwareServerconfigurationoptionsdiscussedinthis section,youshouldalwaysinstallVMwareToolsinanyguestoperating systemforwhichaVMwareToolspackageexists.InstallingVMwareTools providesbettervideoandmouseperformanceandalsogreatlyimprovesthe usabilityofthevirtualmachine.Fordetails,seeInstallingVMwareTools.
NOTE
Memory Settings
Makesuretochooseareasonableamountofmemoryforyourvirtualmachine.Many modernoperatingsystemshaveagrowingneedformemory,soassigningagenerous amountisbeneficialforthebestvirtualmachineperformance. Thesameholdstrueforthehostoperatingsystem,especiallyaWindowshost. TheNewVirtualMachineWizardautomaticallyselectsareasonablestartingpointfor thevirtualmachinesmemory,butyoumightbeabletoimproveperformanceby adjustingthesettingsinthevirtualmachinesettingseditor(chooseVM>Settings> Memory). Ifyouplantorunonevirtualmachineatatimemostofthetime,agoodstartingpoint istogivethevirtualmachinehalfthememoryavailableonthehost.
VMware, Inc.
147
Debugging Mode
Youcanconfigureeachvirtualmachinetoruninoneoftwomodesnormalmode andamodethatprovidesextradebugginginformation.Thedebuggingmodeisslower thannormalmode. Fornormaluse,makesurethevirtualmachineisnotrunningindebuggingmode. ChooseVM>Settings>OptionsandselectAdvanced.UnderSettings,makesurethe Runwithdebugginginformationcheckboxiscleared.
148
VMware, Inc.
Disk Options
Thevariousdiskoptions(SCSIversusIDE)andtypes(virtualorphysical)affect performanceinanumberofways. Overall,SCSCIdisksarefasterthanIDEdisksthatusesdirectmemoryaccess(DMA) However,incertainsituations,suchassinglethreadeddiskaccess,anIDEdiskthat usesDMAisasfastasaSCSIdisk.Insideavirtualmachine,SCSIdisksandIDEdisks thatusedirectmemoryaccess(DMA)haveapproximatelythesameperformance.If supported,VMwarerecommendsthatyouenableDMAinSCSIdisks.IDEdiskscanbe veryslowinaguestoperatingsystemthatisnotsettouseDMA. TheeasiestwaytoconfigureaLinuxguesttouseDMAforIDEdriveaccessistoinstall VMwareTools(VM>InstallVMwareTools).Amongotherthings,theinstallation processautomaticallysetsIDEvirtualdrivestouseDMA. InWindowsServer2003,WindowsXPandWindows2000,DMAaccessisenabledby default.ThemethodforchangingthesettingvarieswithotherWindowsoperating systems.Seethefollowingtechnicalnotesfordetails.
! !
DiskPerformanceinWindowsNTGuestsonMultiprocessorHosts Windows95andWindows98GuestOperatingSystemPerformanceTips
Whenasnapshotexists,virtualdisksoftenhaveverygoodperformanceforrandomor nonsequentialaccess.Buttheycanpotentiallybecomesofragmentedthatperformance isaffected.Inordertodefragmentthedisk,youmustfirstremovethesnapshot (Snapshot>RemoveSnapshot). Whennosnapshotexists,physicaldisksandpreallocatedvirtualdisksbothuseflat filesthatmimicthesequentialandrandomaccessperformanceoftheunderlyingdisk. Whenasnapshotexistsandyouhavemadechangessincepoweringonthevirtual machine,anyaccesstothosechangedfilesperformsatalevelsimilartothe performanceofavirtualdiskthatdoesnothaveallspaceallocatedinadvance.Ifyou removethesnapshot,performanceisagainsimilartothatoftheunderlyingdisk. Overall,ifnosnapshotexistsandyouareusingphysicaldisksorpreallocatedvirtual disks,youseesomewhatbetterperformancethanthatprovidedbyother configurations. Diskwritescanbeslowerforvirtualdisksthatdonothaveallspaceallocatedin advance.Youcanimproveperformanceforthesedisksbydefragmentingthemfrom thevirtualmachinesettingseditor.ChooseVM>Settings,selectthediskyouwantto defragment,thenclickDefragment.
VMware, Inc.
149
Snapshots
Ifyoudonotneedtousesnapshots,runyourvirtualmachinewithoutasnapshot.This providesbestperformance.Tobesureavirtualmachinehasnosnapshot,choose Snapshot>RemoveSnapshot.
150
VMware, Inc.
TheVMwareServerperformancecounterscanmonitorthefollowingdatafroma runningvirtualmachine:
! ! !
VMware, Inc.
151
3 4 5
InthePerformanceobjectlist,selectVMware. Decidewhetheryouwanttoaddallcountersorselectoneormorecountersfrom thelist. Tousethesecountersforallrunningvirtualmachines,selectAllinstances.Touse thecountersforspecificvirtualmachines,clickSelectinstancesfromlist,then selectthevirtualmachinesyouwant. NOTE Forabriefdescriptionofeachcounter,clickExplain.Whenyouselecta counterfromthelist,adescriptionappearsbelowtheAddCounters dialogbox.
152
VMware, Inc.
ClickAddtoaddthecounterstothePerformanceconsole.
FormoreinformationaboutusingthePerformanceconsole,usetheconsoles inproducthelporvisittheMicrosoftWebsite.
VMware, Inc.
153
154
VMware, Inc.
Forinformationonmemoryuseforaspecificvirtualmachine,seeAllocatingMemory toaVirtualMachine.
VMware, Inc.
155
thehostoperatingsystemcannotusethismemoryitselforallowotherapplicationsto useit.
TheamountofRAMactuallyusedforaparticularvirtualmachinevariesasavirtual machineruns.Ifmultiplevirtualmachinesrunsimultaneously,theyworktogetherto managethememory. TherecommendedamountofRAMtospecifyforallrunningvirtualmachinesis calculatedonthebasisofthehostcomputersphysicalmemoryandisdisplayedinthe memorysettingsslidercontrolHost>Settings>Memory.IfyouwantVMware Servertousemoreorlessphysicalmemory,usethisslidertochangetheamount. Ifyousetthisvaluetoohigh,thehostmaythrashwhenotherapplicationsarerunon thehost.Ifyousetthisvaluetoolow,virtualmachinesmayperformpoorlyandyou cannotrunasmanyvirtualmachinesatonce.
156
VMware, Inc.
Tochangethissetting,chooseHost>Settings>Memoryandchooseanoptionunder Additionalmemory.
Selectoneofthefollowingoptions:
!
FitallvirtualmachinememoryintoreservedhostRAMStrictlyapplythe reservedmemorylimitsetinthetopofthedialogbox.Thissettingimposesthe tightestrestrictionsonthenumberandmemorysizeofvirtualmachinesthatmay runatagiventime.BecausethevirtualmachinesarerunningentirelyinRAM, theyhavethebestpossibleperformance. AllowsomevirtualmachinememorytobeswappedAllowthehostoperating systemtoswapamoderateamountofvirtualmachinememorytodiskifnecessary. Thissettingallowsyoutoincreasethenumberormemorysizeofvirtualmachines thatcanrunonthehostcomputeratagiventime.Itmayalsoresultinreduced performanceifvirtualmachinememorymustbeshiftedbetweenRAManddisk. AllowmostvirtualmachinememorytobeswappedAllowthehostoperating systemtoswapasmuchvirtualmachinememorytodiskasitwants.Thissetting allowsyoutorunevenmorevirtualmachineswithevenmorememorythanthe intermediatesettingdoes.Inthiscase,too,performancemaybelowerifvirtual machinememorymustbeshiftedbetweenRAManddisk.
VMware, Inc.
157
! ! !
RecompilingyourkernelwithCONFIG_2GBenabledallowsLinuxtosupportnearly 2GBofphysicalmemorybydividingtheaddressspaceintoa2GBusersectionand2GB kernelsection(asopposedtothenormaldivisionof3GBforuserand1GBforkernel). ThethirdapproachusestheCONFIG_BIGMEMoptioninLinux.Withthe CONFIG_BIGMEMoptionenabled,thekerneldoesnotdirectlyaddressallofphysical memoryanditcanthenmap1GB(or2GB)ofphysicalmemoryintotheaddressspace atatime.Thisallowstheuseofallofphysicalmemoryatthecostofchangingthe semanticsthekernelusestomapvirtualtophysicaladdresses.However,VMware productsexpectphysicalmemorytobemappeddirectlyinthekernelsaddressspace andthusdonotworkproperlywiththeCONFIG_BIGMEMoptionenabled.
Workarounds
Ifyouareusinga1GBkernelwithCONFIG_BIGMEMenabledandhave960MBto 1983MBofmemory,VMwareServerdoesnotrun.Toworkaroundthisissue,youcan:
!
Recompilethekernelasa2GBkernelbyenablingtheCONFIG_2GBoption.This allowsfor100percentuseofphysicalmemory. Passtheboottimeswitchmem=959MattheLILOprompt,oraddittolilo.conf,to disableCONFIG_BIGMEMandthusallowyoutorunVMwareServer.Todothis: TopasstheswitchattheLILOprompt,type linux-2.2.16xxx mem=959M Toeditlilo.conf,openthefileinatexteditor.Inthekernelsection,addthisline: append mem="959M"
Ifyouhavea1GBkernelwithCONFIG_BIGMEMenabledandhavemorethan1983MB ofmemory,youcandooneofthefollowing:
!
158
VMware, Inc.
Ifyouareusinga2GBkernelwithCONFIG_BIGMEMenabledandhave1984MBor morememory,VMwareServerdoesnotrun.Youcaneitherpasstheboottimeswitch mem=1983MattheLILOprompt,oraddittolilo.conftodisableCONFIG_BIGMEM andthusallowyoutorunVMwareServer.Tousetheswitch: TopasstheswitchattheLILOprompt,type linux-2.2.16xxx mem=1983M Toeditlilo.conf,openitinatexteditor.Inthekernelsection,addthisline: append mem="1983M"
VMware, Inc.
159
160
VMware, Inc.
ThischapterdescribesusinghighavailabilityconfigurationswithVMwareServerand coversthefollowingtopics:
! ! ! ! ! !
UsingSCSIReservationtoShareSCSIDiskswithVirtualMachinesonpage 161 OverviewofClusteringwithVMwareServeronpage 165 CreatingaClusterinaBoxonpage 167 UsingNetworkLoadBalancingwithVMwareServeronpage 175 CreatingTwoNodeClustersUsingNovellClusteringServicesonpage 179 ClusteringUsingtheiSCSIProtocolonpage 183
VMware, Inc.
161
NOTE
Thisfeatureisadvanced.UseitonlyifyouarefamiliarwithSCSIingeneral andtheSCSIreservationprotocolinparticular.
ThefollowingsectionsdescribehowtouseSCSIreservationtosharedisksamong multiplevirtualmachines.
! ! !
YoucanenableSCSIreservationforSCSIvirtualandphysicaldisks.Noothertype ofSCSIdevicescanuseSCSIreservationinavirtualmachine.Specifically,you cannotenableSCSIreservationforaSCSIdiskthatisconfiguredasagenericSCSI device.FormoreinformationaboutgenericSCSI,seeConnectingtoaGeneric SCSIDevice. NOTE VMwareServersupportsSCSIreservationwhenusedwithpreallocated virtualdisks.SupportforSCSIreservationwithgrowablevirtualdisks andphysicaldisksisconsideredexperimental.Forhighavailability configurations,useSCSIreservationwithpreallocatedvirtualdisks.
162
VMware, Inc.
operatingsystemisonthescsi0bus,youshouldsetupdiskstoshareonthenext availablebus,typicallythescsi1bus. Sharingresourcesusingtwoseparatebuses(forexample,dataonSCSI1:0andquorum onSCSI2:0)causestheconfigurationfiletobecomeinvalid,andyoucannotbootthe virtualmachine. ToenableSCSIreservation,makesurethevirtualmachineispoweredoff.Openthe configurationfile(.vmx)inatexteditorandaddtheline: scsi<x>.sharedBus = "virtual" anywhereinthefile,where<x>istheSCSIbusbeingshared. Forexample,toenableSCSIreservationfordevicesonthescsi1bus,addthefollowing linetothevirtualmachinesconfigurationfile: scsi1.sharedBus = "virtual" Thisallowsthewholebustobesharedandisquickerthanspecifyingeachdisk separately.However,ifyoudonotwanttosharethewholebus,youcanselectively enableSCSIreservationforaspecificSCSIdiskonthesharedbus.Forexample,ifyou wanttoshareaSCSIdisklocatedatscsi1:1,addthefollowinglinetothe configurationfile: scsi1:1.shared = "true" YoumustspecifythesameSCSItarget(thatis,scsi<x>:1)intheconfigurationfilefor eachvirtualmachinethatisgoingtosharethedisk. IfSCSIreservationisenabledforthewholebus(thatis,scsi1.sharedBusissetto "virtual"),thissettingisignored. InadditiontoenablingSCSIreservationonthebus,youneedtoallowvirtualmachines toaccesstheshareddiskconcurrently.Addthefollowinglinetothevirtualmachines configurationfile: disk.locking = "false" Thispreventsthelockingofthatdisk,whichpermitsmultiplevirtualmachinesto accessadiskconcurrently.Becarefulthough:ifanyvirtualmachinenotconfiguredfor SCSIreservationtriestoaccessthisdiskconcurrently,theshareddiskisvulnerableto corruptionordataloss. CAUTION Thissettingappliestoalldisksinthevirtualmachine.
VMware, Inc.
163
Forexample,ifthediskscsi1:0.filenameisdefinedintheconfigurationfileas scsi1:0.fileName = "/<path_to_config>/vmSCSI.vmdk" thereservationlockfileforthisdiskhasthedefaultname /<path_to_config>/vmSCSI.vmdk.RESLCK Youcanprovideyourownlockfilename.Addadefinitionforscsi1:0.reslcknameto theconfigurationfile.Forexample,ifyouadd scsi1:0.reslckname = "/tmp/scsi1-0.reslock" totheconfigurationfile,thisnameoverridesthedefaultlockfilename. CAUTION Usethesamelockfilename(forexample,"/tmp/scsi1-0.reslock")for eachvirtualmachineinthecluster.YoumustalsousethesameSCSI targetforeachvirtualmachinewhenyoudefinescsi1:0.reslckname. However,theSCSIbus(scsi1inthiscase)doesnotneedtobethesame.
Donottrytoshareadiskamongmultiplerunningvirtualmachinesthatarenot collocatedonthesamehost.Thediskfileitselfcanbelocatedremotely,butthe virtualmachinesmustberunningtogetheronthesameVMwareServerhost.If youtrytoshareadiskamongvirtualmachineslocatedondifferenthosts,data couldbecorruptedorlost. DonotshareadiskonSCSIbus0.Thisbusisusuallyusedforthebootdisk.Ifyou sharethebootdisk,youruntheriskofcorruptingit,asthebootprogramisnot awarethatthediskisbeingsharedandcanwritetothediskregardlessofwhether ornotitisbeingshared.ItisfarmoresecuretouseSCSIreservationonadatadisk locatedonadifferentbus. Ifonlyonerunningvirtualmachineisusingagivendisk,anditisrunning applicationsthatdonotuseSCSIreservation,thedisksperformancemightbe degradedslightly.
164
VMware, Inc.
Atthistime,ifonevirtualmachinedoesnothaveSCSIreservationenabledforits virtualdisk,butanothervirtualmachinedoeshaveSCSIreservationenabledfor thesamevirtualdisk,VMwareServerdoesallowthedisktobeshared.However, anyvirtualmachinenotconfiguredforSCSIreservationthattriestoaccessthis diskconcurrentlycancausecorruptionordatalossontheshareddisk.VMware recommendsyoutakecarewhensharingdisks. Ifyouneedtoshrinkordefragmentthevirtualdisk(whichcanbedoneonlywith agrowablevirtualdisk),firstdisableSCSIreservationandmakesurethevirtual diskisnotbeingusedbyanyothervirtualmachine. TodisableSCSIreservationforallSCSIdisksinavirtualmachine,openthe configurationfileandcommentoutorremovethescsi<x>.sharedBus = "virtual"lineandmakesurethedisk.lockinglineissetto"true". TodisableSCSIreservationforonlyaspecificSCSIdiskonasharedbus,change thescsi<x>:<y>.shared = "true"lineintheconfigurationfileto scsi<x>:<y>.shared = "false".Youcanalsocommentouttheline.
InaWindowsvirtualmachine,somediskerrorsarerecordedintheWindows eventloginnormaloperation.Theseerrormessageshaveaformatsimilarto "The driver detected a controller error on \Device\Scsi\BusLogic3" Theerrorsshouldappearinthelogperiodicallyonlyonthepassivenodeofthe clusterandshouldalsoappearwhenthepassivenodeistakingoverduringa failover.Theerrorsareloggedbecausetheactivenodeoftheclusterhasreserved thesharedvirtualdisk.Thepassivenodeperiodicallyprobestheshareddiskand receivesaSCSIreservationconflicterror.
Thissectionincludes:
! !
Clusteringprovidesaservicethroughagroupofserverstogethighavailability, scalability,orboth.
VMware, Inc.
165
Forexample:
!
Inatypicalvirtualmachinecluster:
! !
Clustering Software
Availableclusteringsoftwareincludes:
!
MicrosoftClusteringService(MSCS)underWindows2000,MSCSprovides failoversupportfortwotofournodeclustersforapplicationssuchasdatabases,
166
VMware, Inc.
fileservers,andmailservers.UnderWindowsServer2003,MSCSprovides failoversupportforeightnodeclusters.
!
! !
NOTE
NOTE
Whenyouconfigureacluster,theabilitytotakesnapshotsisdisabledin virtualmachinesinthecluster.
Thistypeofcluster:
! ! !
VMware, Inc.
167
AprimaryvirtualSCSIhostadapterwithoneSCSIvirtualdisk. Twovirtualnetworkadapters:
!
168
Theremainingdefaultvirtualmachinedevices(suchastheCDROMdriveandthe floppydiskdrive).
Inadditiontotheabovedevices,thefollowingarerequiredforsharedstorage:
! !
NotethefollowingaboutvirtualPCIslotsinthevirtualmachines:
! !
1 2
VMware, Inc.
Machine).FollowtheCustompath.Choosethesettingsyouwant(forexample, thesizeofthevirtualdiskortheamountofmemory),butmakesureyouspecify
!
! !
! !
3 4
Addthetwovirtualdisksthataretobeshared:
! !
Forinformation,seeAddingVirtualDiskstoaVirtualMachine. 6 7 ClickOKtosaveyourchangesandclosethevirtualmachinesettingseditor. Usingatexteditor,manuallyedittheconfigurationfile d:\cluster\SQL1\SQL1.vmx(onaWindowshost)or/home/cluster/SQL1/SQL1.vmx (onaLinuxhost). Addthefollowinglinestotheconfigurationfile: scsi1.sharedBus = virtual disk.locking = "false" ThisenablesSCSIreservation,whichisdescribedinmoredetailinthesection UsingSCSIReservationtoShareSCSIDiskswithVirtualMachinesonpage 161. Youarefinishedcreatingthevirtualmachineforthefirstnodeinyourcluster.Thenext stepistoinstallaguestoperatingsysteminthevirtualmachine.
170
VMware, Inc.
Installing the Guest Operating System in the First Virtual Machine (Node)
ForinformationoninstallingWindows2000AdvancedServerorWindowsServer2003 EnterpriseEditioninthevirtualmachine,seetheVMwareGuestOperatingSystem InstallationGuide.ItisavailablefromtheVMwareWebsiteat http://www.vmware.com/support/guestnotes/doc/index.html. NOTE Duringtheinstallationoftheguestoperatingsystem,donotinstallthe clusteringservices.
Whentheinstallationiscomplete,installVMwareToolsintheguestoperatingsystem. SeeInstallingVMwareTools. AfteryoufinishinstallingtheguestoperatingsystemandVMwareTools,clonethe virtualmachine.(Later,youcreatethesecondclusternodeusingtheclone.) To clone the first virtual machine node 1 Runsysprep.exe,whichisavailableontheWindowsCDinthefile \support\tools\deploy.cab(orfromtheMicrosoftWebsite). Thesysprep.exeutilityremovesthesecurityIDassignedtotheguestoperating system,resetsthemachineinformationandresetstheTCP/IPnetwork configuration. 2 3 4 5 Shutdowntheguestoperatingsystemandpoweroffthevirtualmachine. CreateadirectorynamedSQL2undertheclusterdirectory. CopytheSQL1*.vmdkfilesintothisdirectory. UsetheVMwareVirtualDiskManagertochangethenameofthevirtualdiskto SQL2*.vmdk.Atacommandprompt,type: vmware-vdiskmanager -n SQL1.vmdk SQL2.vmdk Formoreinformationaboutthevirtualdiskmanager,seeUsingVMwareVirtual DiskManager. Youarefinishedcloningthefirstnode.Youarenowreadytocreatethesecondnodein theclusterusingtheclone. To create the second node in the cluster from the clone of the first node 1 2 LogontoyourVMwareServerhostastheuserwhowillownthevirtualmachine. LaunchaVMwareServerConsoleandcreateanewvirtualmachine(for informationoncreatinganewvirtualmachine,seeCreatingaNewVirtual MachinewiththeVirtualMachineWizard).Choosethesettingsyouwant(for
VMware, Inc.
171
example,thesizeofthevirtualdiskortheamountofmemory),butmakesureyou specify:
!
! !
! !
3 4
Openthevirtualmachinesettingseditor.ChooseVM>Settings. Addanewnetworkadapterthatuseseitheranotherexternaladapterorthe VMnet1hostonlyadapter.Forinformation,seeAddingandModifyingVirtual NetworkAdapters. Addthetwovirtualdisks(quorum.vmdkanddata.vmdk)youpreviouslycreated. Forinformation,seeAddingVirtualDiskstoaVirtualMachine.Makesureyou selectUseanexistingvirtualdiskandbrowsetoquorum.vmdkanddata.vmdk. ClickOKtosaveyoursettingsandclosethevirtualmachinesettingseditor. Usingatexteditor,manuallyedittheconfigurationfile d:\cluster\SQL2\SQL2.vmx(onaWindowshost)or/home/cluster/SQL2/SQL2.vmx (onaLinuxhost). Addthefollowinglinestothebottomoftheconfigurationfile: scsi1.sharedBus = virtual disk.locking = "false" ThisenablesSCSIreservation,whichisdescribedinmoredetailinUsingSCSI ReservationtoShareSCSIDiskswithVirtualMachinesonpage 161.
6 7
Intheconsole,verifythatbothvirtualmachinesarepoweredoff.
Youarefinishedcreatingthesecondnode. Nowthatyouhavevirtualmachinesforbothnodesinyourtwonodecluster,youare readytoinstalltheclusteringservicessoftware. To install Microsoft Clustering Services on the Cluster Nodes 1 2 Startthenode1virtualmachine. FollowtheWindowssetuppromptstoenter
172
VMware, Inc.
! ! !
NOTE
3 4 5 6
7 8
9 10 11 12
13 14 15
VMware, Inc.
173
16 17 18 19 20 21 22 23 24 25
ChecktheClusterServicecomponent. ClickNextandfollowthepromptstoinstalltheservice. Asyouconfiguretheclusterservice,chooseFormaNewCluster. SpecifySQLCLUSTERastheclustername. Specifytheclusterserviceaccountcreatedinstep12. Specifythatbothshareddisksshouldbemanagedbytheclusterservice. Indicatetheshareddisk(Q:)tobethequorumdisk. Specifywhichnetworkadapterispublicandwhichisprivate. SpecifytheclusterIPaddress.Thisistheaddressthatrepresentsthecluster.It mustbeonthesamenetworkasthephysicalEthernetdevice. Stoptheclusterserviceonthelocalnode(node1)sothatthesecondvirtual machine(node2)canaccesstheshareddisks.
! !
FromClusterManager,rightclickthenodename. SelectStopClusterService.
YouarefinishedinstallingMicrosoftClusteringServicesonthefirstnode.Thestepsto installthesoftwareonthesecondnodearesimilar. 1 2 3 4 Startthenode2virtualmachine. Repeatstep2andstep3intheprocedureforthefirstnode. StarttheDiskManagementtoolandassignthefirstshareddisktoQ:(quorum)and theseconddisktoR:(data). Startdcpromo.exeandaddthisvirtualmachineasadomaincontrollerinthesame domaincreatedinstep8forthefirstnode,oraddittoanexistingdomain. NOTE Thesetupinnode2mustmatchthesetupinnode1,whichyouspecified instep8fornode1.
Inthenode1virtualmachine,starttheclusterservice.
! !
FromClusterManager,rightclickthenodename. SelectStartClusterService.
174
VMware, Inc.
Youarenowfinishedconfiguringthecluster.
YoucanenhancetheavailabilityofInternetserverprograms,suchasthoseusedon thesetypesofservers:
! ! ! ! ! ! !
! !
VMware, Inc.
175
To create the first nodes base virtual machine 1 2 LogontoyourVMwareServerhostastheuserwhowillownthevirtualmachine. LaunchaVMwareServerConsoleandcreateanewvirtualmachine(for informationoncreatinganewvirtualmachine,seeCreatingaNewVirtual Machine).Choosethesettingsyouwant(forexample,thesizeofthevirtualdisk ortheamountofmemory),butmakesureyouspecify
!
! !
! !
3 4
Youarefinishedcreatingthefirstvirtualmachine(node)inthecluster.Thenextstepis toinstallaguestoperatingsysteminthevirtualmachine.
Installing the Guest Operating System in the First Virtual Machine (Node)
ForinformationoninstallingWindows2000AdvancedServerorWindowsServer2003 EnterpriseEditioninthevirtualmachine,seetheVMwareGuestOperatingSystem InstallationGuide.ItisavailablefromtheVMwareWebsiteat http://www.vmware.com/support/guestnotes/doc/index.html. NOTE Duringtheinstallationoftheguestoperatingsystem,donotinstallthe clusteringservices.
176
VMware, Inc.
Windows2000AdvancedServerorWindowsServer2003EnterpriseEdition astheguestoperatingsystem.
177
VMware, Inc.
! !
3 4
Afteryouhavefinishedcreatingtheadditionalnodes,youarereadytoconfigurethe cluster.
4 5 6 7
178
VMware, Inc.
8 9 10
RefertoNetworkLoadBalancingonlineHelpfortheremainingoptions. 11 12 13 14 15 Whenyoufinishwiththeclusterparameters,clickOKtoreturntotheLocalArea ConnectionPropertiesdialogbox. ClickOKtoreturntotheLocalAreaConnectionStatusdialogbox. RightclickthelocalareaconnectiononwhichNetworkLoadBalancingistobe installed,andselectProperties. ClickInternetProtocol(TCP/IP),andclickProperties. SetupTCP/IPforNetworkLoadBalancing. FormoreinformationandlinkstoproceduresforsettingupTCP/IPforNetwork LoadBalancingonsingleandmultiplenetworkadapters,seeRelatedTopicsinthe NetworkLoadBalancingonlineHelp. NOTE YoumustaddtheclustersprimaryIPaddresstothelistofIPaddresses boundtotheadapter.
RepeatthesestepsoneachhosttobeusedinyourNetworkLoadBalancingcluster.
VMware, Inc.
179
! ! ! ! !
CreatingtheFirstNodesBaseVirtualMachineonpage 180 CreatingtheSecondNodeintheClusteronpage 181 InstallingtheGuestOperatingSystemandVMwareToolsonpage 181 AddingtheSharedDiskstoBothVirtualMachinesonpage 181 InstallingNovellClusteringServicesontheClusterNodesonpage 182
1 2
180
VMware, Inc.
NOTE
VMware, Inc.
181
Afteryoufinishcreatingthevirtualdisks,addthemtothesecondnodebycompleting thefollowingsteps. 1 2 3 4 Openthevirtualmachinesettingseditorforthenode2virtualmachine(called Cluster2).ChooseVM>Settings. Addthetwovirtualdisksthataretobeshared.Insteadofcreatingnewvirtual disks,usetheexistingvirtualdiskscreatedfornode1(calledCluster1). ClickOKtosaveyourchangesandclosethevirtualmachinesettingseditor. ForthevirtualmachinenamedCluster1,useatexteditortomanuallyeditthe configurationfile.ThisfileisD:\Netware6\Cluster1\Cluster1.vmxonaWindows hostor/home/Netware/Cluster1/Cluster1.vmxonaLinuxhost. ForthevirtualmachinenamedCluster2,useatexteditortomanuallyeditthe configurationfile.ThisfileisD:\Netware6\Cluster2\Cluster2.vmxonaWindows hostor/home/Netware/Cluster2/Cluster2.vmxonaLinuxhost. Addthefollowinglinestoeachconfigurationfile: scsi0.sharedBus = virtual disk.locking = false NOTE ThedefaultvirtualdisktypeisIDEforthebasevirtualmachinesvirtual diskcreatedinCreatingtheFirstNodesBaseVirtualMachineon page 180.IfyouareusingSCSIvirtualdisksforthebasevirtualmachine instead,theconfigurationfileoptionsforthesharedbusare: scsi1.present = true (Ifthislinealreadyexists,donotadditagain.) scsi1.sharedBus = virtual disk.locking = false
182
VMware, Inc.
3 4 5 6 7
Avirtualmachineonthishostoranotherhost. TheVMwareServerhostitselforadifferenthostonthenetwork.
VMware, Inc.
183
NOTE
ThefollowingsectionsdescribehowtosetupclusteringusingtheiSCSIprotocol.
! ! !
UsingaVirtualMachineastheiSCSITarget UsingaHostastheiSCSITarget
iSCSItargetandtotheInternet.Youcouldoptionallyconfigurethevirtualmachine withthreevirtualnetworkadaptersthefirsttocommunicatewithotheriSCSI initiatornodes,thesecondtoconnecttotheiSCSItarget,andthethirdtotheInternet. Forthevirtualnetworkadapterthatcommunicateswiththeotherclusternodes,you shouldconfigureittousebridgednetworkingiftheclusternodesarelocatedon differentVMwareServerhosts.Ifthenodesareonthesamehost,youcanalsouse hostonlynetworking. To create an iSCSI initiator virtual machine 1 2 LogontoyourVMwareServerhostastheuserwhowillownthevirtualmachine. LaunchaVMwareServerConsoleandcreateanewvirtualmachine(for informationoncreatinganewvirtualmachine,seeCreatingaNewVirtual Machine).Choosethesettingsyouwant(forexample,thesizeofthevirtualdisk ortheamountofmemory),butmakesureyouspecifybridgednetworkingforthe virtualmachine. Openthevirtualmachinesettingseditor.ChooseVM>Settings. Addasecondvirtualnetworkadapter.Formoreinformation,seeAddingand ModifyingVirtualNetworkAdapters.Again,makesureyouspecifybridged networkingfortheadapter. Ifyouchoose,youcanaddathirdvirtualnetworkadaptertothevirtualmachine. 5 6 7 8 Selectthevirtualnetworkadapteryouintendtousetocommunicatewiththe iSCSItarget.UnderAdaptertype,selectvmxnet. ClickOKtosaveyoursettingsandclosethevirtualmachinesettingseditor. PoweronthevirtualmachineandinstalltheguestoperatingsystemandVMware Tools.SeeInstallingVMwareTools. InstalltheiSCSIinitiatorsoftware. YouarefinishedcreatingtheiSCSIinitiatorvirtualmachine.Repeatthesestepsfor eachiSCSIinitiator,orelseusesysprep.exetoclonethefirstnode.Thencreatethe iSCSItargetvirtualmachine.
3 4
IfyouareusingavirtualmachineastheiSCSItarget,configurethevirtualmachinethe samewayyoudidfortheinitiator,exceptforthefollowing:
! !
186
VMware, Inc.
VMwareServerDiskMountUtilityletsyoumountanunusedvirtualdiskina MicrosoftWindowshostfilesystemasaseparatedrivewithoutneedingtoconnectto thevirtualdiskfromwithinavirtualmachine.Youcanmountspecificvolumesofa virtualdiskifthevirtualdiskispartitioned. DiskMountUtilityisacommandlineprogramcalledvmware-mountthatworks similarlytohowyouusethesubstcommandonWindows.Oncethediskismounted, youcanreadfromandwritetothediskasifitwereaseparatefilesystemwithitsown driveletteronyournetwork.However,youcannotpoweronanyvirtualmachinethat usesthisdiskuntilthediskisunmounted. Youcanperformactivitiessuchasscanningavirtualdiskforvirusesandtransferring filesbetweenthehostsystemandapoweredoffvirtualmachine. Whenyouarefinishedusingthemountedvirtualdisk,deletethemappingsothe virtualdiskcanbeusedbyvirtualmachinesagain.
VMware, Inc.
187
Statement of Support
TheVMwareDiskMountUtilityisprovidedwithoutsupportservicesfromVMware underthetermsintheVMwareServerlicenseagreement.
Definition
MountsvolumeNofavirtualdisk.Ndefaultsto1. Displaysthepartitions(volumes)onthevirtualdisk. Deletesthemappingtoavirtualdiskdrivevolume. Forciblydeletesthemappingtoavirtualdiskdrivevolume.Use thisoptionwhenatechnicalerrororacorrectablecondition suchasopenfilehandlespreventsVMwareServerfrom unmountingthedrive. Displaysvmware-mountusageinformation.
/?
188
VMware, Inc.
VMware, Inc.
189
190
VMware, Inc.
Glossary
AddHardwareWizard Apointandclickinterfaceforaddingvirtualhardwaretoavirtualmachine.To launchtheWizard,poweroffthevirtualmachine,openthevirtualmachine settingseditor,thenclickAdd.Itpromptsyouforinformationforconfiguringthe hardware,suggestingdefaultvaluesinmostcases. SeealsoVirtualmachinesettingseditor. Bridgednetworking Atypeofnetworkconnectionbetweenavirtualmachineandtherestoftheworld. Underbridgednetworking,avirtualmachineappearsasanadditionalcomputer onthesamephysicalEthernetnetworkasthehost. SeealsoHostonlynetworking. Configuration SeeVirtualmachineconfigurationfile. Console SeeVMwareServerConsole. Currentvirtualmachine AvirtualmachinecreatedunderthecurrentVMwareServerversionand WorkstationServer5.x. SeealsoLegacyvirtualmachine. Customnetworking Anytypeofnetworkconnectionbetweenvirtualmachinesandthehostthatdoes notusethedefaultbridged,hostonlyornetworkaddresstranslation(NAT) networkingconfigurations.Forinstance,differentvirtualmachinescanbe connectedtothehostbyseparatenetworksorconnectedtoeachotherandnotto thehost.Anynetworktopologyispossible.
VMware, Inc.
191
EULA Theenduserlicenseagreement. Existingpartition Apartitiononaphysicaldiskinthehostmachine. SeealsoPhysicaldisk. Fullscreenmode Adisplaymodeinwhichthevirtualmachinesdisplayfillstheentirescreen. SeealsoQuickswitchmode. Growabledisk Atypeofvirtualdiskwherethediskspaceisnotpreallocatedtoitsfullsize.Its filesstartoutsmallinsizeandgrowasdataiswrittentoit. Guestoperatingsystem Anoperatingsystemthatrunsinsideavirtualmachine. SeealsoHostoperatingsystem. Headless Adescriptionforaprogramorapplicationthatrunsinthebackgroundwithout anygraphicaluserinterfaceconnectedtoit.Avirtualmachinerunningwithno consolesconnectedtoitisconsideredtoberunningheadless. Hostonlynetworking Atypeofnetworkconnectionbetweenavirtualmachineandthehost.Under hostonlynetworking,avirtualmachineisconnectedtothehostonaprivate network,whichnormallyisnotvisibleoutsidethehost.Multiplevirtualmachines configuredwithhostonlynetworkingonthesamehostareonthesamenetwork. SeealsoBridgednetworking,CustomnetworkingandNetworkaddress translation. Hostcomputer ThephysicalcomputeronwhichtheVMwareServersoftwareisinstalled.Ithosts theVMwareServervirtualmachines.
192
VMware, Inc.
Glossary
Hostoperatingsystem Anoperatingsystemthatrunsonthehostmachine. SeealsoGuestoperatingsystem. Independentdisk Anindependentdiskisatypeofvirtualdiskthatisnotaffectedbysnapshots. Independentdiskscanbeconfiguredinpersistentandnonpersistentmodes. SeealsoNonpersistentmode,Persistentmode. Inventory Alistintheleftpaneloftheconsolewindowthatshowsthenamesofvirtual machinesthatauserhasaddedtothelist.Theinventorymakesiteasytolauncha virtualmachineortoconnecttothevirtualmachinesconfigurationfileinorderto makechangesinthevirtualmachinesettings. Legacyvirtualmachine AvirtualmachinecreatedunderVMwareGSXServerorVMwareWorkstation3 or4.SeealsoCurrentvirtualmachine. Networkaddresstranslation(NAT) Atypeofnetworkconnectionthatallowsyoutoconnectyourvirtualmachinesto anexternalnetworkwhenyouhaveonlyoneIPnetworkaddress,andthataddress isusedbythehostcomputer.IfyouuseNAT,yourvirtualmachinedoesnothave itsownIPaddressontheexternalnetwork.Instead,aseparateprivatenetworkis setuponthehostcomputer.Yourvirtualmachinegetsanaddressonthatnetwork fromtheVMwarevirtualDHCPserver.TheVMwareNATdevicepassesnetwork databetweenoneormorevirtualmachinesandtheexternalnetwork.Itidentifies incomingdatapacketsintendedforeachvirtualmachineandsendsthemtothe correctdestination. SeealsoBridgednetworking,CustomnetworkingandHostonlynetworking. NewVirtualMachineWizard Apointandclickinterfaceforconvenient,easycreationofavirtualmachine configuration.TolaunchtheWizard,chooseFile>NewVirtualMachine.It promptsyouforinformation,suggestingdefaultvaluesinmostcases.Itcreates filesthatdefinethevirtualmachine,includingavirtualmachineconfigurationfile and(optionally)avirtualdiskorphysicaldiskfile. SeealsoVirtualmachinesettingseditor.
VMware, Inc.
193
Nonpersistentmode Amodeinwhichalldiskwritesissuedbysoftwarerunninginsideavirtual machinewithadiskinnonpersistentmodeappeartobewrittentodiskbutarein factdiscardedafterthevirtualmachineispoweredoff.Ifyouconfigureavirtual diskorphysicaldiskasanindependentdiskinnonpersistentmode,thediskisnot modifiedbyVMwareServer. SeealsoIndependentdisk,Persistentmode Persistentmode Amodeinwhichalldiskwritesissuedbysoftwarerunninginsideavirtual machineareimmediatelyandpermanentlywrittentothevirtualdisk.Ifyou configureavirtualdiskorphysicaldiskasanindependentdiskinpersistentmode, thediskbehaveslikeaconventionaldiskdriveonaphysicalcomputer. SeealsoIndependentdisk,Nonpersistentmode Physicaldisk Aharddiskinavirtualmachinethatismappedtoaphysicaldiskdriveor partitiononthehostmachine.Avirtualmachinesdiskcanbestoredasafileon thehostfilesystemoronalocalharddisk.Whenavirtualmachineisconfigured touseaphysicaldisk,VMwareServerdirectlyaccessesthelocaldiskorpartition asarawdevice(notasafileonafilesystem). SeealsoVirtualdisk. Preallocateddisk Atypeofvirtualdiskwherealldiskspaceforthevirtualmachineisallocatedat thetimethediskiscreated.Thisisthedefaulttypeofvirtualdiskcreatedby VMwareServer. Quickswitchmode Adisplaymodeinwhichthevirtualmachinesdisplayfillsmostofthescreen.In thismode,tabsatthetopofthescreenallowyoutoswitchquicklyfromone runningvirtualmachinetoanother. SeealsoFullscreenmode. Rawdisk Seephysicaldisk.
194
VMware, Inc.
Glossary
Redolog Thefilethatstoresthechangesmadetoadiskinindependentnonpersistentmode. Theredologfileisdeletedwhenyoupowerofforresetthevirtualmachine withoutwritinganychangestothedisk. Resume Returnavirtualmachinetooperationfromitssuspendedstate.Whenyouresume asuspendedvirtualmachine,allapplicationsareinthesamestatetheywerewhen thevirtualmachinewassuspended. SeealsoSuspend. Shrink Reducetheamountoffilesystemspaceavirtualdiskoccupiesinordertoreclaim unusedspaceinavirtualdisk.Ifthereisemptyspaceinthedisk,shrinking reducestheamountofspacethevirtualdiskoccupiesonthehostdrive.You cannotshrinkpreallocatedvirtualdisksorphysicaldisks. Snapshot Awaytopreservethestateofavirtualmachinethestateofthedataonallthe virtualmachinesdisksandthevirtualmachinespowerstate(whetherthevirtual machinewaspoweredon,poweredofforsuspended).Youcantakeasnapshotof avirtualmachineatanytimeandreverttothatsnapshotatanytime.Thevirtual machinecanbepoweredon,poweredofforsuspended. Supportedpartition AvirtualdiskpartitionthatVMwareToolscanprepareforshrinking,suchasone ofthedrivesthatcomprisethevirtualharddisk.Youcanchoosetonotprepare certainpartitionsforshrinking. SeealsoShrink. Suspend Savethecurrentstateofarunningvirtualmachine.Toreturnasuspendedvirtual machinetooperation,usetheresumefeature. SeealsoResume. Unsupportedpartition AvirtualdiskpartitionthatVMwareToolscannotprepareforshrinking. Unsupportedpartitionsincludereadonlydrivepartitions,partitionsonremote devicesandpartitionsonremovabledevicessuchasfloppydrivesorCDROM
VMware, Inc. 195
drives. SeealsoShrink. Virtualdisk Avirtualdiskisafileorsetoffilesthatappearsasaphysicaldiskdrivetoaguest operatingsystem.Thesefilescanbeonthehostmachineoronaremotefilesystem. Whenyouconfigureavirtualmachinewithavirtualdisk,youcaninstallanew operatingsystemintothediskfilewithoutneedingtorepartitionaphysicaldisk orrebootthehost.Virtualdiskscanbepreallocatedorgrowable.Apreallocated virtualdiskhasallthediskspaceallocatedatthetimethevirtualdiskiscreated.A growablediskisnotpreallocated;itsfilesstartoutsmallinsizeandgrowasdata iswrittentoit. SeealsoPhysicaldisk. Virtualhardware Thedevicesthatcompriseavirtualmachine.Thevirtualhardwareincludesthe virtualdisk,theremovabledevicessuchastheDVDROM/CDROMandfloppy drives,andthevirtualEthernetadapter.Youconfigurethesedeviceswiththe virtualmachinesettingseditor. Virtualmachine Avirtualizedx86PCenvironmentinwhichaguestoperatingsystemand associatedapplicationsoftwarecanrun.Multiplevirtualmachinescanoperateon thesamehostmachineconcurrently. Virtualmachineconfiguration Thespecificationofwhatvirtualdevices(disks,memorysize,andsoforth)are presentinavirtualmachineandhowtheyaremappedtohostfilesanddevices. Virtualmachineconfigurationfile Afilecontainingavirtualmachineconfiguration.Itiscreatedwhenyoucreatethe virtualmachine.ItisusedbyVMwareServertoidentifyandrunaspecificvirtual machine. Virtualmachinesettingseditor Apointandclickcontrolpanelusedtoviewandmodifyavirtualmachines settings.YoulaunchitbychoosingVM>Settings. SeealsoNewVirtualMachineWizard.
196
VMware, Inc.
Glossary
VirtualNetworkEditor Apointandclickeditorusedtoviewandmodifythenetworkingsettingsforthe virtualnetworkscreatedbyVMwareServer.YoulaunchbychoosingHost> VirtualNetworkSettings. VirtualSMP Symmetricmultiprocessingenablesyoutoassigntwovirtualprocessorstoa virtualmachineonanyhostmachinethathasatleasttwologicalprocessors. VMwareAuthorizationService TheserviceVMwareServeremploystoauthenticateusers.ForbothMicrosoft WindowsandLinuxhosts,thisprocessiscalledvmware-authd. VMwareManagementInterface Abrowserbasedtoolthatallowsyoutocontrol(start,suspend,resume,resetand stop),configureandmonitorvirtualmachinesandtheserveronwhichtheyrun. VMwareRegistrationService TheserviceVMwareServeremploysformanagingconnectionstovirtual machinesandtheVMwareManagementInterface.Thisprocessisknownas vmware-serverdonLinuxhostsandvmware-serverdwin32onMicrosoftWindows hosts. VMwareTools Asuiteofutilitiesanddriversthatenhancestheperformanceandfunctionalityof yourguestoperatingsystem.KeyfeaturesofVMwareToolsincludesomeorallof thefollowing,dependingonyourguestoperatingsystem:anSVGAdriver,a mousedriver,theVMwareToolsservice,theVMwareToolscontrolpanel,and supportforsuchfeaturesastheabilitytoshrinkvirtualdisks,time synchronizationwiththehost,VMwareToolsscriptsandtheabilitytoconnectand disconnectdeviceswhilethevirtualmachineisrunning. VMwareToolsservice OneofthecomponentsinstalledwithVMwareToolsthatperformsvariousduties intheguestoperatingsystem,likeexecutingcommandsinthevirtualmachine, gracefullyshuttingdownandresettingavirtualmachine,sendingaheartbeatto VMwareServer,synchronizingthetimeoftheguestoperatingsystemwiththe hostoperatingsystemandpassingstringsfromthehostoperatingsystemtothe guestoperatingsystem.
VMware, Inc. 197
198
VMware, Inc.
Index
Symbols
.vmdk 134, 136, 139
Clustering 165 across multiple hosts 183 applications 166 cluster in a box 167 configuring virtual machines 168 iSCSI protocol 183 multinode Network Load Balancing cluster 175 Network Load Balancing 175 Novell Clustering Services 179 software 166 two-node cluster 169, 179 Configuration, virtual machine 196 Configure after Linux kernel upgrade 42 memory size 154 Web browser on Linux host 48 Core files 22 CPU host requirement 5 provided in virtual machine 12 Creating virtual machines on NFS shares 90 Ctrl-Alt-Delete in virtual machines 121 Current virtual machine defined 191
A
Add Hardware Wizard 191 Apache, and management interface 111 Authentication Linux hosts 88 Windows hosts 85 Authentication daemon on Linux host 88
B
Back up virtual machines 97 VMware Server host 96 Backup agent in virtual machine 95 on host 96 BIOS provided in virtual machine 13 Bridged networking defined 191 Browser configuring on Linux host 48 setting MIME type 128 BSD supported guest operating systems 16, 19 BSD, supported guest operating systems 16, 19
D
Default directories 30, 39 Devices provided in virtual machine 12
C
CD-ROM image file 13 Chip set in a virtual machine 13
VMware, Inc.
199
Disks available in virtual machine 13 existing partition 192 physical 194 virtual 196 Display preferences 122 Drawing tablet in a virtual machine 14 Drives See Disks
supported 15
H
Headless 192 Heartbeat and clustering virtual machines 168 virtual machine 104 Help, configuring Web browser on Linux host 48 Host computer defined 192 system requirements 5 Host operating system, defined 193 Host-only networking defined 192 enabling on Linux host 42 Hot key preferences 121
E
Encrypting remote sessions 90 Ethernet adapter in a virtual machine 14 See Network Event log 22 Event viewer 94
F
Floppy drives in virtual machine 14 image file 14 FreeBSD supported guest operating systems 16, 19 FreeBSD, supported guest operating systems 16, 19 Full screen mode, defined 192
I
IDE drives in virtual machine 13 See Disks Image file floppy 14 ISO 13 Input preferences 119 Install default directories 30, 39 log 24 on Linux host 36 on Windows host 26 silent 34 VmCOM API 52 VmPerl API 5455 VMware Management Interface software 44 VMware Server Console software 48, 50
G
Generic SCSI and SCSI reservation 162 virtual machine backup 95 Graphics Linux host and performance 154 Graphics support in virtual machine 13 Guest operating system defined 192
200
VMware, Inc.
Index
VMware Workstation 25 Internet Explorer 6.0, and management interface 46 Inventory and authentication on Linux hosts 89 and private virtual machines 85 defined 193 iSCSI protocol 183 bridged networking 185 configuration 184185 host as iSCSI target 184 initiator virtual machine 184 target node 185 virtual machine as iSCSI target 184 ISO image file 13
real-time clock 38 uninstalling VMware Server 57 upgrading GSX Server 63 vmware-authd 88 Linux host authentication daemon 88 Log files console installation 24 virtual machine 22 virtual machine event log 22 VMware Authorization Service 23 VMware Management Interface 23 VMware Registration Service 24 VMware Server Console 23 VMware Server installation 24
M
Master installer, on Windows host 28 Memory amount required on host 5 available in virtual machine 13 choosing for best performance 147 for all virtual machines 123 more than 1GB on a Linux host 157 setting size 154 Migrate disks in undoable mode 141 virtual machine 64, 138 MIME type, configuring for virtual machine consoles 128 Mode full screen 192 quick switch 194 Mouse grabbing input 119 in a virtual machine 14 Moving virtual machines 133 UUID 93
K
Kernel, reconfiguring VMware Server after Linux kernel upgrade 42 Keyboard grabbing input 119 in a virtual machine 14 Knowledge base 20
L
Legacy virtual machine defined 193 Linux supported guest operating systems 16 supported host operating systems 7 Linux host authentication 88 default permissions 89 installing VMware Server 36 performance 154 permissions 89
VMware, Inc.
201
N
NAT defined 193 enabling on Linux host 42 Netscape, setting MIME type for console 128 NetWare See Novell NetWare Network bridged networking 191 custom networking 191 enabling host-only networking on Linux host 42 enabling NAT on Linux host 42 host-only 192 NAT Virtual Network Editor 197 Network adapter in a virtual machine 14 Network address translation See NAT Network Load Balancing clustering 175 multinode 175 New Virtual Machine Wizard 193 NFS shares, creating virtual machines 90 Novell Clustering Services 179 installing 182 Novell NetWare clustering 181 Novell NetWare, supported guest operating systems 19
P
Parallel port and the Linux kernel 38 in a virtual machine 14 Partition, existing 192 PCI slots in virtual machine 14 limits 14 Performance CD-ROM drive polling 148 debugging mode 148 disk options 149 guest operating system selection 147 installing applications in a guest 150 memory settings 147 memory usage 154 remote disk access 150 swap space on a Linux host 154 temp directory on a Linux host 154 using full screen mode on a Linux host 153154 Permissions and user accounts 86 Linux host 89 physical disk 89 snapshot 89 virtual disks 89 virtual machines 83 Physical disk defined 194 permissions 89
O
Operating system
202
VMware, Inc.
Index
Port numbers console 78 management interface 99 Preallocated disk, defined 194 Preferences display 122 hot keys 121 input 119 keyboard combinations 121 shortcut keys 121 user 117 VMware Server 123 workspace 118 Priority preferences 123 Windows host 123 Private virtual machines 84 Process scheduler on a Windows host 123 Processor host requirement 5 provided in virtual machine 12
VMware Management Interface 77 VMware Scripting APIs 77 VMware Server Console 77 vmware-cmd 78 Resume, defined 195
S
SCSI devices in virtual machine 13 generic 95 SCSI reservation and clustering 161 enabling 162 issues to consider 164 preallocated virtual disks 161 sharing SCSI disks 161 support 162 Security certificates 91 Serial port, in a virtual machine 14 Set up memory size 154 Web browser on Linux host 48 Shortcut keys, configuring 121 Shrink, defined 195 Silent install 34 SMBIOS in a virtual machine 13 modifying UUID 92 Snapshot defined 195 permissions 89 Sound in a virtual machine 15 Specifications for virtual machine platform 12 SSL console connections 90 custom security certificates 91
Q
Quick switch mode 194 Quiet mode, install VMware Server 34
R
RAM amount required on host 5 available in virtual machine 13 Real-time clock, requirement on Linux host 38 Redo log, defined 195 Registration 21 Remote management 77 encrypted communications 90 SSL 90
VMware, Inc.
203
enabling 112 for consoles 91, 112, 125 for the management interface 91 management interface connections 90 remote management 90 Support resources, technical 20 Supported guest operating system 15 Supported host operating system Windows 7 Supported partition 195 Suspend, defined 195 System requirements 5 remote workstation 10
UUID 92 automatic generation 92 modifying 136 moving virtual machines 93 virtual machine configuration file 93
V
Virtual disk defined 196 permissions 89 Virtual hardware 196 Virtual machine accessibility 86 backing up 95 changing user 87 configuring in management interface 105 connected users 109 Ctrl+Alt+Delete 121 default directory 123 defined 196 deleting from host 111 event log 110 grabbing input 119 heartbeat 104 log 22 migrating 138 moving 133 moving between VMware products 133 permissions 83 platform specifications 12 private 84 resources and permissions 89 running on Linux host 88 running on Windows host 85 upgrading 64
T
Technical support resources 20 Tools See VMware Tools
U
Undoable mode, migrating 141 Uninstall on Linux host 57 on Windows host 55 Unsupported partition 195 Update VMware Server software 119 Upgrade from GSX Server 1 and 2 59 Linux kernel, reconfiguring GSX Server after upgrade 42 on Linux host 63 on Windows host 62 virtual machine 64 VMware GSX Server 59 USB, virtual machine ports 14 User groups 20 User preferences 117
204
VMware, Inc.
Index
user 86 UUID 92 VMID 106 Virtual machine settings editor, defined 196 Virtual Network Editor 197 VMware Authorization Service 85 defined 197 log 23 VMware community forums 20 VMware guest operating system service defined 197 virtual machine heartbeat 104 VMware Management Interface 97 advanced configuration options 107 Apache commands 111 changing port number 99 configuring to launch console 46 configuring virtual machines 105 connected users 109 defined 197 disabling SSL 91 downloading console installer 81 enable JavaScript 99 enable style sheets 99 enabling SSL 91 enabling SSL for remote connections 112 encrypted communications 90 host summary information 101 launching remote console 46 launching remote consoles 48 log 23 logging in 99 logging out 111 permissions 90 proxy servers 47
refresh rate 98 remote management 77 setting session length 99 SSL 90 startup and shutdown options 114, 127 Status Monitor 101 supported browsers 99 URL to log in 99 virtual machine event log 110 virtual machine heartbeat 104 virtual machine menu 102 virtual machine summary 101 VMware Registration Service defined 197 log 24 VMware Scripting APIs downloading from management interface 82 installing 51 remote management 77 VMWare Server global preferences 123 VMware Server software updates 119 user preferences 117 VMware Server Console 198 changing port number 78 connecting from management interface 103 deleting virtual machines 112 disabling SSL 91, 112, 125 download from management interface 81, 100 enabling SSL 91, 112, 125 encrypted communications 90 install 48
VMware, Inc.
205
installation 50 launching from management interface 46 launching from Netscape 128 log 23 remote management 77 securing connections 125 setting MIME type 128 SSL 90 X server 45 VMware Server host backing up 95 configuring 112 default virtual machine directory 123 securing connections with SSL 112 VMware Tools defined 197 heartbeat 104 VMware Virtual Machine Console downloading installer 81 vmware-authd 88 See VMware Authorization Service vmware-cmd 78 vmware-config.pl 41 vmware-serverd See VMware Registration Service VNC Viewer, using with virtual machines 78
priority preferences 123 process scheduler 123 uninstalling VMware Server 55 upgrading GSX Server 62 Windows operating system installing Scripting APIs on 52 Windows Terminal Services, using with virtual machines 78 Windows XP Remote Desktop, using with virtual machines 78 Windows, supported guest operating systems 16 Wizard add hardware 191 new virtual machine 193 Workspace preferences 118
X
X server 45 required on Linux client 12 required on Linux host 10 XFree86 required on Linux client 12 required on Linux host 10
W
Windows host authentication 85 configuring permissions 87 Event Viewer 94 installing GSX Server 26 installing Scripting APIs on 52
206
VMware, Inc.