Professional Documents
Culture Documents
Linux Install Config
Linux Install Config
Memory Recommendations
Besurethevirtualmachineisconfiguredwithatleast512MBofmemoryforRedHatEnterpriseLinux5or with256MBofmemoryforRedHatEnterpriseLinux3orRedHatEnterpriseLinux4.Ifthememoryinthe virtualmachineislowerthantherecommendedvalues,RedHatEnterpriseLinuxpresentsanerrormessage asitloadscertainVMwaredrivers.
RatherthaninstallingfromaphysicalCDROM,youcancreateanISOimagefilefromtheinstallation CDROM.UsinganISOimagefileinthiswaycanbeparticularlyconvenientifyouneedtoinstallthesame operatingsysteminmultiplevirtualmachines.YoucanstoretheISOfileonthehostmachineoronanetwork driveaccessiblefromthehostmachine.ThenintheVIClient: 1 2 3 4 5 RightclickthevirtualmachineinwhichyouwanttoinstallthenewguestoperatingsystemandclickEdit Settings. SelectCD/DVDDrive1undertheHardwaretab,selectConnectatpoweron,andbrowsetotheISOfile underDatastoreISOfile. PoweronyourvirtualmachinebyclickingthePowerOnbutton. FollowtheinstructionsinInstallationStepsonpage 3. ChangebacktotheirnormalsettingsforCD/DVDDrive1ifyoudonotwanttheISOfiletoremain connectedduringsubsequentreboots.
Installation Steps
1 2 Followtheinstallationstepsasyouwouldforaphysicalmachine.Besuretomakethechoicesoutlinedin thefollowingsteps. AllowautomaticpartitioningofthedisktooccurintheAutomaticPartitioningscreenorpartitionthe virtualdiskmanuallyifyoudonotwanttousetheRedHatdefaults.Youmightseeawarningthatbegins Thepartitiontableondevice<devicename>wasunreadable.Tocreatenewpartitionsitmustbe initialized,causingthelossofALLDATAonthedrive.Thisdoesnotmeanthatanythingiswrongwith theharddriveonyourphysicalcomputer.Itsimplymeansthatthevirtualharddriveinyourvirtual machineneedstobepartitionedandformatted. ClickYestopartitionandformatthevirtualharddrive. DonotselecttheVirtualizationsoftwareoptionduringtheinstallation.UnchecktheVirtualizationbox. Ifyouselectthisoption,RedHatEnterpriseLinux5orFedoraCore7installstheXenhypervisoranda XenLinuxkernel.Youmightexperienceanumberofperformanceandfunctionalityissues.Formore information,seetheVMwareknowledgebasearticleRHEL5andFC7GuestsInstalledwithRedHat VirtualizationAffectsPerformanceofVirtualMachine.Foralink,seeResourcesonpage 19.
3 4
Choosing a Kernel
SomeolderLinuxdistributionssuchasRedHatEnterpriseLinux3andRedHatAdvancedServer2.1install kernelsoptimizedforAMDprocessorswhenoneisdetectedatinstalltime.Ifavirtualmachinewithsuchan AMDLinuxkerneliseverrunonanIntelbasedhost,itcanencounterproblems,asdescribedintheVMware knowledgebasearticleLinuxGuestMovedtoaSystemwithDifferentProcessorTypePanicsDuringBoot. Foralink,seeResourcesonpage 19.KernelsthatareoptimizedforIntelprocessorsarealsocompatiblewith AMDprocessorsanddonothavethisissue,however,itisbettertomatchthekerneltothehardwareplatform. Currentlyfor64bitprocessors,LinuxvendorshaveasinglekernelforAMDandIntelplatforms,sothisisnot anissuefor64bitguestoperatingsystems. ItisalsoimportanttoselectaLinuxkernelthatisappropriateforyourneeds.Linuxdistributionstypically offerachoiceofprecompiledkernelsoptimizedforvarioussystemmemoryandSMPconfigurations.Asa roughruleofthumb,kernelsoptimizedforthefollowingsystemsarelistedinorderofperformance: Uniprocessor(UP). Symmetricmultiprocessor(SMP). Symmetricmultiprocessorwithphysicaladdressextensions(SMPPAE). Symmetricmultiprocessorwithphysicaladdressextensionsandseparationofkernelanduserspace entirelysothateachcanmakefulluseofthe4GBvirtualaddressspaceon32bitsystems(SMPPAE, 4G/4Gsplit).TheseSMPPAE,4G/4GsplitkernelsarenotsupportedbyVMwareproducts.
OnIntelplatforms,64bitguestscanberunonlywithhardwareassist(IntelVT).OnAMDplatforms64bit guestscanberuneitherwithhardwareassist(AMDV)orusingbinarytranslation.AVTvirtualmachine monitorincurslessoverheadonthenewerIntelCore2processorsthanontheolderPentium4processors.If youhaveachoicebetweena32bitor64bitguest,selectthe32bitguestonolderIntelplatforms(Pentium4). A64bitguestisabetterchoicefornewerIntelplatformsandforguestoperatingsystemsthataccessalarge amountofmemory(morethan4GB),because64bitkernelscanaddresstheentirememoryspacewithout complexmemorymanagementoverhead.Also,theVTmonitorfor64bitguestsworksfasteronnewerIntel processorsthantheolderPentium4processors. ThetablesbelowhighlightthemainRedHatEnterpriseLinux.kernelpackagesandwhattheycontain.Seethe respectiveURLlinksforfulldetailsonallavailablekernelpackagesforeachversionofRedHatEnterprise Linux. Table 1. Red Hat Enterprise Linux 5.2 Kernel RPM Descriptions
Information link Kernel RPMs https://www.redhat.com/docs/enUS/Red_Hat_Enterprise_Linux/5.2/html/Deployment_Guide/s1 kernelpackages.html kernel=UP,SMP,nonPAE(4G) kernelPAE=SMP,PAE(upto64G)
The64bitkernelscanaddresstheentirememoryspaceinthevirtualmachinedirectlyanddonotneeda specialmemorymanagementkernel.
TheVMwareToolscontrolpanel,whichletsyoumodifysettings,shrinkvirtualdisks,andconnectand disconnectvirtualdevices. Asetofscriptsthathelpsyouautomateguestoperatingsystemoperations.Thescriptsrunwhenthe virtualmachinespowerstatechangesifyouconfigurethemtodoso. TheVMwareuserprocess(vmware-useronLinuxguests),whichenablesyoutocopyandpastetext betweentheguestandmanagedhostoperatingsystems.InLinuxguests,thisprocesscontrolsgrabbing andreleasingthemousecursorwhentheSVGAdriverisnotinstalled. Makesureyouconfiguretheguestoperatingsystemtoincludethedevelopmentpackagesbeforeinstallingor reinstallingVMwareTools.ThisenablesVMwareToolstodeterminethecorrectmouseconfigurationand moduleconfiguration.Animproperlyconfiguredguestoperatingsystemcancauseproblems,includingguest operatingsystemcrashes,whenyouinstallVMwareTools. VMwareToolshasthefollowinglimitationsinLinuxvirtualmachines: Shrinkdiskisnotsupported. ThemousedriverinstallationfailsinXWindowSystemversionsearlierthan4.2.0. NOTEIfyoudonothaveVMwareToolsinstalledinyourvirtualmachine,youcannotusetheshutdownor restartoptionsinVirtualCenter.Youcanuseonlythepoweroptions.Ifyouwanttoshutdowntheguest operatingsystem,shutitdownfromwithinthevirtualmachineconsolebeforeyoupoweroffthevirtual machine. TheinstallersforVMwareToolsarebuiltintoESXasISOimagefiles.AnISOimagefilelookslikeaCDROM toyourguestoperatingsystem.YoudonotuseanactualCDROMdisctoinstallVMwareTools,nordoyou needtodownloadtheCDROMimageorburnaphysicalCDROMofthisimagefile. WhenyouselecttoinstallVMwareTools,VirtualCentertemporarilyconnectsthevirtualmachinesfirstvirtual CDROMdiskdrivetotheISOimagefilethatcontainstheVMwareToolsinstallerforyourguestoperating system.Youarereadytobegintheinstallationprocess. To install or upgrade VMware Tools on a Linux guest from X with the RPM installer YoucanperformRPMinstallationsonlyincertainLinuxdistributionssuchasRedHatandSUSELinux EnterpriseServer,amongothers.ForotherLinuxdistributions,followtheRMPinstallationguidelines providedwiththedistributionorseethenextsection. 1 2 3 4 Openaconsoletothevirtualmachine. Poweronthevirtualmachine. Aftertheguestoperatingsystemstarts,rightclickthevirtualmachineandselectInstall/Upgrade VMwareTools.Theremainingstepstakeplaceinsidethevirtualmachine. Dooneofthefollowing: IfyouseeaVMwareToolsCDicononthedesktop,doubleclickit,andafteritopens,doubleclick theRPMinstallerintherootoftheCDROM. Ifyouseeafilemanagerwindow,doubleclicktheRPMinstallerfile. InsomeLinuxdistributions,theVMwareToolsCDiconmightfailtoappearonthedesktop.Inthiscase, doubleclickComputeranddoubleclicktheCDROMdriveandyoushouldseea VMwareTools-3.5.0-<xxxxx>.i386.rpmfileaswellasaVMwareTools-3.5.0-<xxxxx>.tar.gzfile (where<xxxxx>isthebuildnumberoftheESXreleaseforexample,buildnumber82663forESX3.5 Update1).OryoumayinstallVMwareToolsfromthecommandline,asdescribedinthenextsection. 5 6 Ifprompted,entertherootpasswordandclickOK.Theinstallerpreparesthepackages. ClickContinuewhentheinstallerpresentsadialogboxthatshowsCompletedSystemPreparation.A dialogboxappearswithaprogressbar.Whentheinstallerisdone,VMwareToolsisinstalled.Thereisno confirmationorfinishbutton,howeveryoucanverifyinstallationinVIClientintheSummarytabofthe Linuxvirtualmachine.Youcandeletethevmware-tools-distribfolder.
5
InanXterminal,asroot(su -),runthefollowingfiletoconfigureVMwareTools:
vmware-config-tools.pl
Whendone,exitfromtherootaccount:
exit
InanXterminal,opentheVMwareToolsPropertiesdialogbox:
vmware-toolbox &
To install or upgrade VMware Tools on a Linux guest with the tar installer or RPM installer Forenhancedperformance,youshouldinstallVMwareToolsevenifyouarenotrunningtheXWindow System. 1 2 3 4 Openaconsoletothevirtualmachine. Poweronthevirtualmachine. Aftertheguestoperatingsystemstarts,rightclickthevirtualmachineandselectInstall/Upgrade VMwareTools.Theremainingstepstakeplaceinsidethevirtualmachine. Asroot(su -),mounttheVMwareToolsvirtualCDROMimageandchangetoaworkingdirectory(for example,/tmp),asfollows. NOTESomeLinuxdistributionsautomaticallymountCDROMs.Ifyourdistributionuses automounting,donotusethemountandumountcommandsdescribedinthisprocedure.Forexample, yourCDROMmayalreadybemountedto/mnt/cdromor/media.However,youstillmustuntarthe VMwareToolsinstallerto/tmp. SomeLinuxdistributionsusedifferentdevicenamesororganizethe/devdirectorydifferently.Modify thefollowingcommandstoreflecttheconventionsusedbyyourdistribution:
mount /dev/cdrom /mnt/cdrom cd /tmp
./vmware-install.pl
8 9
Startyourgraphicalenvironment. InanXterminal,opentheVMwareToolsPropertiesdialogbox:
vmware-toolbox &
vmxnet
vmxnetisaLinuxkerneldevicedriverfortheVMwarehighspeedvirtualnetworkingdevice.Thenetwork devicesinavirtualmachinearebasedonrealhardware.Forexample,vlanceisavirtualdevicethatprovides strictemulationoftheAMDLancePCNet32Ethernetadapterfor32bitguests,ande1000isavirtualdevice thatprovidesstrictemulationoftheIntelE1000Ethernetadapterfor32bitand64bitguests.Whencreatinga 32bitvirtualmachine,ifyouselectFlexibleasthenetworkadapter,thevirtualmachinedefaultstovlance beforeVMwareToolsisinstalledbutswitchestovmxnetafterVMwareToolsisinstalled.Whencreatinga 64bitvirtualmachine,ifyouselectE1000asthenetworkadapter,thevirtualmachineusese1000asthe networkadapterregardlessofwhetherVMwareToolsisinstalled. Alternatively,forsome32and64bitguests,youcanselectEnhancedvmxnetasthenetworkadapter.vmxnet isspecificallydesignedforvirtualmachinestoimproveperformance.EnhancedVMXNET,introducedinESX 3.5,providesanewversionofthevmxnetvirtualdevice(theVMwareparavirtualizedvirtualnetworking deviceforguestoperatingsystems).EnhancedVMXNETincludesseveralnewnetworkingI/Operformance improvements,suchassupportforTCP/IPsegmentationoffload(TSO)andjumboframes.Allother networkingfeatures,suchasteamingandVLANs,arefullysupported.ToenableTSOandjumboframes,see theESXServer3ConfigurationGuide.Foralink,seeResourcesonpage 19.Youcanalsousethecommand lineinterfacetoconfigureMTU(maximumpacketsize)andtoenableordisableTSO.EnhancedVMXNETis notsupportedonevery32and64bitLinuxdistribution,butiftheoptionexists,werecommendyouselect EnhancedVMXNETasyournetworkadapterforbetterperformance.ThisisespeciallytrueonIntelVTx systemswhereVMEXITcostsarehigh.vmxnethasalowerrateofVMEXITscomparedwithe1000. EnhancedVMXNETissupportedforonlythefollowingLinuxguestoperatingsystems: RedHatEnterpriseLinux5(32and64bit) RedHatEnterpriseLinux4(64bit,nojumboframesupport) SUSELinuxEnterpriseServer10(32and64bit) Experimentalsupportisprovidedfor: RedHatEnterpriseLinux3(64bit,noTSO,nojumboframesupport) SUSELinuxEnterpriseServer9(64bit,nojumboframesupport) Ubuntu7.04(64bit,nojumboframesupport) Becauseitisbackedbyactualvirtualhardware,EnhancedVMXNETshouldbeloadedautomaticallyby hotplugorudevasneeded.Forbestperformance,werecommendthatyouenableTSOonallinterfacesdriven byvmxnetusingethtool. ToenableTSO,useshellcodesimilartothefollowing:
if which ethtool >/dev/null 2>&1; then for ethif in `ifconfig -a | grep ^eth | cut -d' ' -f1`; do ethtool -K $ethif tso on >/dev/null 2>&1 done fi
VirtualmachinesmustbehostedonESXServer3.0.1orgreater,andtheVirtualCenterservermustbe version2.0.1orgreater. VirtualmachinesmustberunningaguestoperatingsystemthatissupportedbyESXServer3.0.1or greaterandVirtualCenter2.0.1orgreater. Virtualmachinesmustbepoweredon. TomanuallyupgradeVMwareTools: 1 2 3 4 5 6 7 8 LaunchtheVIClientandlogintotheVirtualCenterserver. SelecttheInventory>HostsandClustersview. Selectthehostorclusterthatcontainsthevirtualmachinesyouwanttoupgrade. SelecttheVirtualMachinestab. Selectthevirtualmachinesyouwanttoupgradeandpowerthemon. RightclickyourselectionsandselectInstall/UpgradeVMwareTools. (Optional)EntercommandlineoptionsintheAdvancedfield(seeAppendixB:CommandLineOptions forVMwareToolsUpgradesonpage 21). ClickOK.
Thenexttimethevirtualmachineispoweredon,itcheckstheESXhostforanewerversionofVMwareTools. Ifoneisavailable,itisinstalledand,ifrequired,theguestoperatingsystemisrestarted.
10
11
andyouwanttoaddclock=pmtmr divider=10,theupdatedtextis:
append="resume=/dev/hda6 splash=silent clock=pmtmr divider=10"
Remembertorun/sbin/liloaftereditinglilo.conf,sothatyoureditstakeeffect.
12
ForGRUB,putthekernelcommandlineparametersattheendofthekernelline.Forexampleifthekernel linelookslike:
kernel /vmlinuz-2.6.18 ro root=/dev/hda2
andyouwanttoaddclock=pmtmr divider=10,theupdatedtextis:
kernel /vmlinuz-2.6.18 ro root=/dev/hda2 clock=pmtmr divider=10
13
Recommended Configurations
BasedonvendorsupportintheirLinuxkernels,weexpectthefollowingconfigurationstohavethebest timekeepingbehaviorinaLinuxvirtualmachine: SUSELinuxEnterpriseServer10SP232bitor64bitrunningonESX3.5Update2orlater Ubuntu8.0432bitrunningonESX3.5Update2orlater AmongRedHatEnterpriseLinux4and5,versionswiththedivider=10optionhavebettertimekeeping behaviorthanthosewithout. FormoreinformationonVMIenabledkernels,seethefollowingVMwareknowledgebasearticles: HowtoenableavirtualmachineinterfaceinaLinuxkernelandinESXServer3.5 EnablingVMIwithSLES10SP232bitvirtualmachinesonESX Forlinks,seeResourcesonpage 19.
NTP Recommendations
Wheneverpossible,useNTPinsteadofVMwareToolsperiodictimesynchronization.Also,youmayneedto openthefirewall(UPD123)toallowNTPtraffic. ToenableNTP,youmustmodify/etc/ntp.conf.Thefollowingisasample/etc/ntp.conf:
tinker panic 0 restrict 127.0.0.1 restrict default kod nomodify notrap server 0.vmware.pool.ntp.org server 1.vmware.pool.ntp.org server 2.vmware.pool.ntp.org driftfile /var/lib/ntp/drift
Thefollowingisasample/etc/ntp/step-tickers:
0.vmware.pool.ntp.org 1.vmware.pool.ntp.org
14
Theconfigurationdirectivetinker panic 0instructsNTPnottogiveupifitseesalargejumpintime.This isimportantforcopingwithlargetimedriftsandalsoresumingvirtualmachinesfromtheirsuspendedstate. NOTEThedirectivetinker panic 0mustbeatthetopofthentp.conffile. Itisalsoimportantnottousethelocalclock,oftenreferredtoastheundisciplinedlocalclock,asatimesource. NTPhasatendencytofallbacktothissourceinpreferencetotheremoteserverswhenthereisalargeamount oftimedrift. Anexampleofsuchaconfigurationis:
server 127.127.1.0 fudge 127.127.1.0 stratum 10
Additional Notes
ThissectionprovidesadditionalusefulnotesforLinuxadministratorswhowanttooptimizetheirLinuxguest operatingsystems.ThesenotesdonotdetailstepbystepinstructionsforfinetuningyourLinuxvirtual machines,buttheyofferfurtherinsightintounderstandingthebehaviorofyourvirtualmachines.Thissection coversthefollowingtopics: AsynchronousI/Oonpage 16 LinuxTimerRatesforVirtualMachinesonVMwareESXonpage 16 LinuxSwappinessonpage 17 ParavirtualizationandVirtualMachineInterfaceonpage 17 OpenVirtualMachineToolsonpage 19
15
Asynchronous I/O
SupportforasynchronousI/OinthekernelandcorrespondingsystemcallsareincludedinLinuxkernel version2.6.ButtheAPIfortheappropriatesystemcallsdiffersfromtheoriginalfunctions,soasimple recompilationofexistingapplicationsmightbeinsufficienttousethenewchange.Thechangerequiressource codemodificationthathasoccurredindifferentapplicationsatdifferentrates. BeawareofthisissuewhenconsideringapplicationsthatuseasynchronousI/O.Inbenchmarking,for example,IometerisatoolthatcanbeusedforstoragesystemperformancemeasurementsonbothWindows andLinux.However,becauseitssourcecodewasneverupdatedtousethenew,correctedasynchronousI/O systemcallsonLinux,thenumbersitproducesonLinux(usingrawdevices)areartificiallyandunfairlylow. ConsiderthiswhendoingLinuxtoWindowscomparisonsanduseasynchronousI/Oawaretoolssuchas aiostress,whenneeded.
16
ThemainlineLinuxkernelhasmovedtoaticklesstimekeepingmodelinwhich,insteadofcountingperiodic interruptstotellthetime,theLinuxkernelqueriesahardwaretimesourcewhenitneedstoknowthetime. ThesechangesmakeLinuxamuchbetterbehavedoperatingsysteminphysicalaswellasvirtual environments.Ticklesskernelskeepbettertimeandreducepowerutilizationonlaptopsandothermobile deviceswherebatterylifeisimportant.Invirtualmachines,ticklesskernelsareidealbecausetheyimposeless overheadonthehypervisorandkeepveryaccuratetime.Toserveourcustomersbetter,VMwarehasworked directlywiththemainlineLinuxkernelaswellasCanonical,thepublisheroftheUbuntudistribution,to implementoperatingsystemchangestosupportticklesstimekeeping.Becausethemigrationtoatickless kernelwascompletedrecently,onlyrecentUbuntuLinuxreleasesincorporatethisfunctionality. Accurateticklesstimekeepingcanalsobeachievedthroughparavirtualization,inwhichtheoperatingsystem ismodifiedtobeawarethatitisrunningonahypervisor.TheVirtualMachineInterface(VMI),developedby VMwareinconjunctionwiththeLinuxcommunityandnowpartofthemainlineLinuxkernel,isa paravirtualizationsolutionthat,inadditiontoprovidinghigherperformance,ensuresaccuratetimekeeping invirtualmachines.VMwareworkedwithNovellandCanonicaltosupportVMIenabledguestoperating systems,suchas32bitSUSELinuxEnterpriseServer10SP2andUbuntu8.04LTS,forESX3.5Update2and later.The32bitversionsofUbuntu7.10and7.04supportVMIonESX3.5andlater.VMwarehasencouraged RedHattoincorporatesupportforVMIintoitsreleases.OutsideofVMI,VMwarealsoworkedwithNovell toimplementticklesstimekeepingthroughparavirtualizing64bitSUSELinuxEnterpriseServer10SP2.
Linux Swappiness
Inavirtualizedenvironment,thefrequencyofswappingapplicationsinandoutofmemorycanhaveadverse effectsonaLinuxvirtualmachinesresponsivenessafterlongidleperiods.Youcanadjustthisfrequency,or swappiness,bysetting/proc/sys/vm/swappinesstoarangebetween0and100.TuneLinuxswappiness downtomakeLinuxvirtualmachinesmoreresponsiveusingacommandinsidetheLinuxvirtualmachine similartothefollowing:
echo 0 > /proc/sys/vm/swappiness
Ifyouwantthissettingtopersist,addthefollowinglineto/etc/sysctl.confintheLinuxvirtualmachine:
vm.swappiness=0
Paravirtualization
Paravirtualizationisatechniqueinwhichamodifiedguestoperatingsystemkernelcommunicatestothe hypervisoritsintenttoperformprivilegedCPUandmemoryoperations.Thistechniquereducesthework requiredofthehypervisor,thusmakingitsimplerthanabinarytranslationhypervisor.Although paravirtualizationdoesnoteliminatevirtualizationoverhead,itcanimproveguestoperatingsystem performance.
17
Theideaofguesthostinteractionisnotanewconcept.IthaslongbeenapartofVMwareproductsintheform ofVMwareTools.Forexample: TheVMwareSVGAdriversharesdatastructureswiththehypervisortoallowfasterscreenupdates. TheVMwarehighperformancevirtualEthernetdriver,vmxnet,sharesdatastructureswiththe hypervisortoreduceCPUoverhead. TheVMwareballoondriverisusedbythehypervisortocontroltheguestoperatingsystemsmemory usage. TheVMwareToolsserviceenablestimesynchronizationbetweenhostandguest. Whilesuchguesthostcommunicationprovidesimprovedperformanceandcanbeclassifiedas paravirtualization,noneoftheseexamplesinvolvechangestotheunderlyingguestoperatingsystemkernel. However,inordertoparavirtualizetheCPUandthememorymanagementunit,changestotheguest operatingsystemkernelarerequired.Opensourceoperatingsystems,suchasLinux,allowustomakesuch changes.
18
Resources
AComparisonofSoftwareandHardwareTechniquesforx86Virtualization http://www.vmware.com/resources/techresources/528 ArchivesforVMwareESXServer2.x http://www.vmware.com/download/esx/drivers_tools.html BasicSystemAdministration http://www.vmware.com/pdf/vi3_35/esx_3/r35u2/vi3_35_25_u2_admin_guide.pdf EnablingVMIwithSLES10SP232bitvirtualmachinesonESX http://kb.vmware.com/kb/1005701 ESXServer3ConfigurationGuide http://www.vmware.com/pdf/vi3_35/esx_3/r35/vi3_35_25_3_server_config.pdf ESXServerArchitectureandPerformanceImplications http://www.vmware.com/vmtn/resources/433 GuestOperatingSystemInstallationGuide http://www.vmware.com/pdf/GuestOS_guide.pdf HowtoenableavirtualmachineinterfaceinaLinuxkernelandinESXServer3.5 http://kb.vmware.com/kb/1003644
19
ImprovingGuestOperatingSystemAccountingforDescheduledVirtualMachinesinESXServer3.x Systems http://www.vmware.com/resources/techresources/526 InstructionsondownloadingandinstallingadriverfortheBusLogicvirtualSCSIadapter http://www.vmware.com/download/esx/drivers_tools.html LinuxGuestMovedtoaSystemwithDifferentProcessorTypePanicsDuringBoot http://kb.vmware.com/kb/1572 OpenVirtualMachineToolsmainpageatSourceforge http://openvmtools.sourceforge.net/ ParavirtualizationAPIVersion2.5specification http://www.vmware.com/pdf/vmi_specs.pdf PerformanceofVMwareVMI http://www.vmware.com/resources/techresources/1038 RHEL5andFC7GuestsInstalledwithRedHatVirtualizationAffectsPerformanceofVirtualMachine http://kb.vmware.com/kb/9134325 SUSELinuxEnterpriseServerinformation http://www.novell.com/products/server/ TimekeepingbestpracticesforLinux http://kb.vmware.com/kb/1006427 TimekeepinginVMwareVirtualMachines http://www.vmware.com/resources/techresources/1066 UbuntuLinuxdownloadpage http://www.ubuntu.com/getubuntu/download VMwareUpdateManagerReleaseNotes http://www.vmware.com/support/pubs/vi_pages/vi_pubs_35u2.html UsingPXE(PrebootExecutionEnvironment)toInstallGuestOperatingSystemsoveraNetwork http://kb.vmware.com/kb/1162
20
-s -q
21
WhenVMIisenabledinthevirtualmachinesettings,thelspcioutputintheguestoperatingsystemincludes anewPCIdevice(identifiedasamemorycontroller),asshownbelow.
linux-iwwp:~ # lspci 00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 01) 00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 01) 00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 08) 00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01) 00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 08) 00:0f.0 VGA compatible controller: VMware Inc [VMware SVGA II] PCI Display Adapter 00:10.0 SCSI storage controller: LSI Logic / Symbios Logic 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI (rev 01) 00:11.0 Ethernet controller: Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE] (rev 10) 00:12.0 Memory controller: VMware Inc Unknown device 0801 (rev 01)
NOTETheVMIPCIdevice,likeothervirtualPCIdevices,takesupavirtualPCIslot.
22
NOTEVMIenabledkernelsareincludedinsomeLinuxdistributions.CheckwithyourLinuxvendortosee ifaVMIenabledkernelisavailable.
If you have comments about this documentation, submit your feedback to: docfeedback@vmware.com VMware, Inc. 3401 Hillview Ave., Palo Alto, CA 94304 www.vmware.com Copyright 2008 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,944,699, 6,961,806, 6,961,941, 7,069,413, 7,082,598, 7,089,377, 7,111,086, 7,111,145, 7,117,481, 7,149, 843, 7,155,558, 7,222,221, 7,260,815, 7,260,820, 7,269,683, 7,275,136, 7,277,998, 7,277,999, 7,278,030, 7,281,102, 7,290,253, and 7,356,679; 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. Revision 20081120 Item: TN-070-PRD-01-01
23