Beruflich Dokumente
Kultur Dokumente
You can find the most up-to-date technical documentation on our Web site at http://www.vmware.com/support/ The VMware Web site also provides the latest product updates. If you have comments about this documentation, submit your feedback to: docfeedback@vmware.com
20072009 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware, the VMware boxes logo and design, Virtual SMP and VMotion are registered trademarks or trademarks of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies. VMware VirtualCenter 2.5 is distributed with certain third party technology licensed from Tom Sawyer Software. Tom Sawyer Visualization (c) 2004 Tom Sawyer Software, Oakland, California. All Rights Reserved.
Contents
AboutThisBook
1 IntroductiontoVMwareInfrastructure 13
VMwareInfrastructureataGlance AboutESX Server 3i 16 14
2 InstallingESX Server 3i 19
AboutInstallingESX Server 3i 19 ESX Server 3iRequirements 20 MinimumServerHardwareRequirements 20 EnhancedPerformanceRecommendations 21 HardwareandSoftwareCompatibilityGuides 22 InstallingESX Server 3i 23 WheretoGoNext 24
3 SettingUpESX Server 3i 25
NetworkAccesstoYourESXServer3iHost 26 SettinguptheDirectConsoleUserInterface 27 ConfiguringtheKeyboardLayout 27 ConfiguringaSecurityBannerfortheDirectConsole ConfiguringESX Server 3iBootSettings 28 SelectingtheBootDevice 28 ConfiguringtheBootSettingforESX Server 3i 29 ConfiguringtheBootSettingforAnotherMode 29 ConfiguringtheBootSettingforVirtualMedia 30 ConfiguringNetworkSettings 31 ChoosingNICSfortheManagementNetwork 31 SettingtheVLANID 31 ConfiguringIPSettings 32 ConfiguringDNS 33 ConfiguringDNSSuffixes 34 TestingNetworkConnectivity 34
28
VMware, Inc.
ConfiguringStorageBehavior 35 ConfiguringtheScratchPartition 35 ConfiguringESX Server 3iSecurity 37 RecordingtheESX Server 3iSerialNumber 37 ConfiguringtheAdministrativePassword 38 ConfiguringLockdownMode 38 ResettingtheConfigurationDefaults 39 ManagingESX Server 3iRemotely 40 RestartingManagementAgents 41 ViewingSystemLogs 41
4 BackingUpandRestoringESX Server 3i 43
AboutBackingUpandRestoringanESX Server 3iConfiguration 44 ConsiderationsWhenUsingtheRemoteCLIVirtualAppliance 44 BackingUpESX Server 3iConfigurationData 45 RestoringESX Server 3iConfigurationData 46 RecoveringtheESX Server 3i InstallableSoftware 47 RemovingESX Server 3ifromthehost 49
6 VMwareInfrastructureSystemRequirements 53
VirtualCenterRequirements 53 VirtualCenterHardwareRequirements 54 VirtualCenterSoftwareRequirements 54 VirtualCenterDatabaseRequirements 55 EndofSupportLifeforMicrosoftAccessandMSDEDatabases VI ClientHardwareRequirements 55 VI ClientSoftwareRequirements 56 LicenseServerRequirements 56 SupportedGuestOperatingSystems 57 VirtualMachineRequirements 57 VirtualProcessor 57 VirtualChipSet 57 VirtualBIOS 58
55
VMware, Inc.
Contents
9 LicensingVirtualCenterandESX Server 3i 79
LicensingProcess 80 ObtainingLicenseFiles 83 SettingUpCentralizedLicensing 83 InstallingLicenseFiles 83 LocationoftheLicenseServer 84 ConfiguringCentralizedLicensing 84 DefaultLicenseServerPorts 87 ChangingfromSingleHosttoCentralizedLicensing 87 SettingUpSingleHostLicensing 88 ConfiguringanESX Server 3iMachinetoUseaHostBasedSerialNumber 88 ConfiguringanESX ServerMachineforHostBasedLicensing 88 SingleHostandCentralizedLicensingintheSameEnvironment 89 ConfiguringLicensingforaMixedESX Server2.xandESX Server3.x Environment 90 ChangingfromCentralizedtoSingleHostLicensing 90
VMware, Inc. 5
LicenseFileContents 91 LicenseFileLocations 93 AddingNewLicenseFilestoLicenseServers 93 AddingNewLicenseFilestoSingleHosts 94 InstallingaLicenseServer 95 TroubleshootingLicensing 96 ReceivingLicenseActivationCodes 96 CheckingtheLicenseServer 96 CheckingtheLicenseFile 98 CheckingLicenseConfiguration 99
10 InstallingVMwareInfrastructureManagement 101
PreparingtheVirtualCenter ServerDatabase 101 ConfiguringYourVirtualCenterDatabase 102 ConfiguringanOracleConnectiontoWorkLocally 102 ConfiguringanOracleConnectiontoWorkRemotely 103 ConfiguringaSQLServerODBCConnection 104 ConfiguringMicrosoftSQLServer2005Express 106 MaintainingYourVirtualCenterDatabase 107 InstallingVMwareInfrastructureManagementSoftware 107 VirtualCenterInstallationPrerequisites 107 ComponentsInstalled 108 InstallationProcedure 109 ConfiguringCommunicationBetweenVirtualCenterComponents 111 ConnectingtoYourVirtualCenter ServerThroughaFirewall 112 ConnectingtoYourManagedHostsThroughaFirewall 112 ConnectingHostswiththeLicenseServerThroughaFirewall 113 UninstallingVMwareInfrastructureComponents 113 InstallingVirtualCenteronaVirtualMachine 114
VMware, Inc.
Contents
PerformingMaintenancewiththevihostupdateUtility 119 HowthevihostupdateMaintenanceUtilityInstallsSoftwareUpdates 120 OptionsforthevihostupdateUtility 121 Examples:thevihostupdateUtility 121 RollingBackanUpdate 122
VMware, Inc.
VMware, Inc.
Thismanual,theESXServer3iInstallableSetupGuide,describeshowtoinstallandset upnewconfigurationsofVMware VirtualCenterandESX Server 3i.Itdiscusses ESX Server 3ionly.ToreadaboutESX Server 3.5,see http://www.vmware.com/support/pubs/vi_pubs.html. Foreaseofdiscussion,thisbookusesthefollowingproductnamingconventions: FortopicsspecifictoESXServer3.5,thisbookusesthetermESXServer3. FortopicsspecifictoESXServer3iversion3.5,thisbookusestheterm ESX Server 3i. Fortopicscommontobothproducts,thisbookusesthetermESXServer. Whentheidentificationofaspecificreleaseisimportanttoadiscussion,thisbook referstotheproductbyitsfull,versionedname. WhenadiscussionappliestoallversionsofESXServerforVMwareInfrastructure 3,thisbookusesthetermESXServer3.x.
Intended Audience
Thismanualisintendedforanyonewhoneedstoinstall,setup,orrepair ESX Server 3i Installable.Theinformationinthismanualiswrittenforexperienced WindowsorLinuxsystemadministratorswhoarefamiliarwithvirtualmachine technologyanddatacenteroperations.
VMware, Inc.
Document Feedback
VMwarewelcomesyoursuggestionsforimprovingourdocumentation.Ifyouhave comments,sendyourfeedbackto: docfeedback@vmware.com
10
VMware, Inc.
Support Offerings
FindouthowVMwaresupportofferingscanhelpmeetyourbusinessneeds.Goto http://www.vmware.com/support/services.
VMware, Inc.
11
12
VMware, Inc.
ThisbookdescribesVMwareESX Server 3iandVMwareVirtualCenter.Thischapter describesthecomponentsindividually,tohelpyoudecidewhichcomponentsto install.ThefollowingsectionsintroduceVMwareESX Server 3iandVirtualCenter. VMwareInfrastructureataGlanceonpage 14 AboutESX Server 3ionpage 16
VMware, Inc.
13
license server
VirtualCenter
database
14
VMware, Inc.
ThemajorcomponentsofVMwareInfrastructureare: VMwareESX Server 3iProvidesavirtualizationlayerthatabstractsthe processor,memory,storage,andnetworkingresourcesofthephysicalhostinto multiplevirtualmachines.YoucaninstallESX Server 3ionanyharddriveonyour server.SeetheESX Server 3i InstallableSetupGuide. VMwareVirtualCenter Server(VirtualCenter)InstallsonaWindowsmachine, eitherphysicalorvirtual,tocentrallymanageyourVMwareESX Server 3ihosts andVMwareServerhosts.VirtualCenterallowstheuseofadvancedVMware InfrastructurefeaturessuchasVMwareDRS,VMwareHA,andVMware VMotion. AVMwareSDKWebserviceisinstalledwithVirtualCenter.SeeConfiguring CommunicationBetweenVirtualCenterComponentsonpage 111. VirtualCenterPluginsOptionalapplicationsthatprovideadditional capabilitiesandfeaturestoVirtualCenter.Generally,pluginsarereleased separately,installontopofVirtualCenter,andcanbeupgradedindependently. Youcaninstallservercomponentsofpluginsonthesamecomputerwherethe VirtualCenter Serverresides,oronaseparateone.Aftertheservercomponentof apluginisinstalled,youcanactivatethepluginsclientcomponent,which enhancestheVI ClientwithappropriateUIoptions. Documentationprovidedwitheachpluginoffersinformationabouthowserver componentsofpluginsareinstalled. Forinformationabouthowtoinstalltheclientcomponent,verifywhichplugins arealreadyinstalled,andhowtodisableoruninstallpluginsthatyouarenot using,seeBasicSystemAdministration. Thefollowingpluginsareavailable: VMwareConverterConvertsphysicalorvirtualmachinesinto ESX Server 3ivirtualmachines.Afterconvertingthevirtualmachines,you canaddthemtoyourVirtualCenterinventory. VMwareUpdateManagerProvidessecuritymonitoringandpatching supportforESX Server 3ihostsandvirtualmachines. Inadditiontoanindependentservercomponentinstallation,thisrelease supportsthecombinedinstallationfortheVirtualCenter Serverand Update Manager.FormoreinformationoninstallingtheVMwareUpdate ManagerservercomponentalongwithVirtualCenter,seeConfiguring CommunicationBetweenVirtualCenterComponentsonpage 111.If upgrading,seetheUpgradeGuide.ForgeneralinformationonUpdate Manager,seetheVMwareUpdateManagerAdministrationGuide.
VMware, Inc. 15
VI ClientInstallsonaWindowsmachineandistheprimarymethodof interactionwithVMwareInfrastructure.TheVI Clientactsas: Aconsoletooperatevirtualmachines. AnadministrationinterfaceintotheVirtualCenter ServerandESX Server 3i hosts. LicenseserverInstallsonaWindowssystemtoauthorizeVirtualCenterhosts andESX Server 3ihostsappropriatelyforyourlicensingagreement. AdministratorsmakechangestosoftwarelicensesusingtheVI Client.SeeSetting UpCentralizedLicensingonpage 83. DatabaseVirtualCenterusesadatabasetoorganizealltheconfigurationdatafor theVMwareInfrastructureenvironment.Forsmalldeployments,thebundled MicrosoftSQLServer2005Expressdatabaseletsyousetupalimitednumbersof hostsandvirtualmachines(5hostsand50virtualmachines).VirtualCenter supportsseveralotherdatabaseproductsforlargerdeployments.SeePreparing theVirtualCenter ServerDatabaseonpage 101.
16
VMware, Inc.
Keyoperationsavailabletoyouinthedirectconsoleinclude: ConfiguringESX Server 3ihostdefaults Settingupadministrativeaccess TroubleshootingESX Server 3i ForinformationaboutsettingupyourESX Server 3ihostandusingthedirectconsole, seeSettingUpESX Server 3ionpage 25. ForinformationaboutinstallingESX Server 3i,seeInstallingESX Server 3ion page 19.
VMware, Inc.
17
18
VMware, Inc.
ThischapterprovidesESX Server 3i Installablesystemrequirementsandinstructions onhowtoinstalltheESX Server 3isoftware. Seethefollowingtopics: AboutInstallingESX Server 3ionpage 19 ESX Server 3iRequirementsonpage 20 InstallingESX Server 3ionpage 23 WheretoGoNextonpage 24
VMware, Inc.
19
20
VMware, Inc.
ASCSIdiskoralocal(nonnetwork)RAIDLUNwithunpartitionedspaceforthe virtualmachines. ForSATA,adiskconnectedthroughsupporteddualSASSATAcontrollers. NOTEYoucannotconnectaSATACDROMdevicetoaVirtualMachineonan ESXServer3ihost.TousetheSATACDROMdeviceyoumustuseIDEemulation mode. ESX Server 3i Installablesupportsinstallingonandbootingfromthefollowingstorage systems: SerialATA(SATA)diskdrivesWhenpluggedintodualSATA/SAScontrollers, supportedforinstallingESX Server 3iandforstoringvirtualmachines.Ensure thatyourSATAdrivesareconnectedthroughsupportedcontrollers. NOTESharingVMFSdatastoresonSATAdisksacrossmultipleESX Server 3i hostsisnotsupported. SCSIdiskdrivesSupportedforinstallingESX Server 3iandforstoringvirtual machines. SerialAttachedSCSI(SAS)diskdrivesSupportedforinstallingESX Server 3i andforstoringvirtualmachinesonVMFSpartitions.
VMware, Inc.
21
For example,operatingfourvirtualmachineswithRed Hat Enterprise Linuxor Windows XPrequiresthatyourESX Server 3ihostbeequippedwithoverone gigabyteofRAMforbaselineperformance.ThisincludesRAMforthe ESX Server 3ibootimageandapproximately1024MBforthevirtualmachines (256MBminimumperoperatingsystemasrecommendedbyvendors 4). Runningtheseexamplevirtualmachineswithamorereasonable512MBRAM requiresthattheESX Server 3ihostbeequippedwithapproximately2.2GBRAM, whichincludes2048MBforthevirtualmachines(512MB 4). Thesecalculationsdonottakeintoaccountpossiblememorysavingsfromusing variableoverheadmemoryforeachvirtualmachine.See theResourceManagement Guide. DedicatedfastEthernetadaptersforvirtualmachinesPlacethemanagement networkandvirtualmachinenetworksondifferentphysicalnetworkcards. DedicatedgigabitEthernetcardsforvirtualmachines,suchasIntelPRO/1000 adapters,improvethroughputtovirtualmachineswithhighnetworktraffic. DisklocationPlacealldatausedbyyourvirtualmachinesonphysicaldisks allocatedspecificallytovirtualmachines.Performanceisbetterwhenyoudonot placeyourvirtualmachinesonthediskcontainingtheESX Server 3iInstallable bootimage.Usephysicaldisksthatarelargeenoughtoholddiskimagestobeused byallthevirtualmachines. VMFS3partitioningTheESX Server 3iinstallercreatestheinitialVMFS volumesautomatically.Toadddisksormodifytheoriginalconfiguration,use VI ClientorVIWebAccess.Bothapplicationsensurethatthestartingsectorsof partitionsare64Kaligned,whichimprovesstorageperformance. ProcessorsFasterprocessorsimproveESX Server 3iperformance.Forcertain workloads,largercachesimproveESX Server 3iperformance. HardwarecompatibilityUsedevicesinyourserverthataresupportedby ESX Server 3idrivers.SeetheESX ServerI/OCompatibilityGuide.
22
VMware, Inc.
I/OcompatibilityListsdevicesthatareaccesseddirectlythroughdevicedrivers intheESX Serverhost. StoragecompatibilityListsthecombinationsofHBAsandstoragedevices currentlytestedbyVMwareanditsstoragepartners. BackupsoftwarecompatibilityDescribesthebackuppackagestestedby VMware. VMwareInfrastructureCompatibilityMatrixesContainscompatibility matrixesforVMwareInfrastructurecomponents,includingESX Server, VirtualCenter,VIClient,andVMwareConsolidatedBackup.
VMware, Inc.
23
IntheSelectaDiskscreen,choosethediskdriveonwhichtoinstallESX Server 3i. NOTEThediskorderintheinstallersDiskSelectionlistisdeterminedbyBIOS andmightappearoutoforderinsomecircumstances.Forexample,thismight occuronsystemswheredrivesarecontinuouslybeingaddedandremoved.Dont relyonthediskordertoselectadisk. a b Usetheuparrowanddownarrowkeystonavigateinthedisklist. Selecttherowcontainingthedisk. Therowishighlightedyellow. c PressEnter.
Where to Go Next
SettingUpESX Server 3ionpage 25 BackingUoandRestoringESX Server 3ionpage 43 AddingESX Server 3itoVMwareInfrastructureonpage 51
24
VMware, Inc.
Thischapterprovidesinformationaboutusingthedirectconsoleuserinterfaceand configuringdefaultsforESX Server 3i.Itincludesthefollowingsections: NetworkAccesstoYourESXServer3iHostonpage 26 SettinguptheDirectConsoleUserInterfaceonpage 27 ConfiguringESX Server 3iBootSettingsonpage 28 ConfiguringNetworkSettingsonpage 31 ConfiguringStorageBehavioronpage 35 ConfiguringESX Server 3iSecurityonpage 37 ResettingtheConfigurationDefaultsonpage 39 ManagingESX Server 3iRemotelyonpage 40 RestartingManagementAgentsonpage 41 ViewingSystemLogsonpage 41
VMware, Inc.
25
26
VMware, Inc.
VMware, Inc.
27
ThemessageisdisplayedonthedirectconsoleWelcomescreen.
28
VMware, Inc.
SomeserversdonothaveaBootOptionsmenu,inwhichcaseyoumustchangethe bootorderintheBIOS,evenforonetimeboots,andthenchangeitbackagainduring thesubsequentreboot. NOTETheBootOptionsmenudiscussedinthissectionisdifferentfromthesystem bootoptionsthatyoucanconfigurebyloggingintotheVI Client,selectingahost,and clickingConfiguration>Processors>BootOptions. ThissectiondiscussesthesystemBIOSBootOptionsmenu.Thebootoptionsinthe VI Clientonlyallowyoutoconfigurethebootsequenceforfloppy,CDROM,andthe harddisk(C:drive).Forsomeservers,thesystemBIOShastwooptions.Oneisforthe bootsequence(floppy,CDROM,harddisk)andanotherfortheharddiskbootorder (USBkey,localharddisk).WhenyouareusingtheVIClient,thebootoptions correspondtotheBIOSbootsequence(floppy.CDROM,harddisk).
VMware, Inc.
29
To select a one-time boot option 1 2 Reboottheserver. Whiletheserverispoweringon,openthebootoptionmenu. Forexample,onsomeserversyoucanselectF11toopenthebootmenuoption. 3 Fromthisbootoptionmenu,followtheinstructionstoselectadevicefromwhich toboot. Theserverbootsintheconfiguredmodeonetimeandgoesbacktothedefaultboot orderforsubsequentreboots. To change the boot order 1 2 Reboottheserver. Whiletheserverispoweringon,pressthekeyrequiredtoenteryourhostsBIOS Setuppage. Dependingonyourserverhardware,thekeymightbeF1,F2,F10,F11,F12,orDel. TheoptiontoopentheBIOSSetuppagemightbedifferentforyourserver. 3 Changethebootorderbyselectingadeviceandmovingittothefirstpositionin thelist. Thehostpowersonintheconfiguredmodeforthisbootandforallsubsequent reboots.
30
VMware, Inc.
VMware, Inc.
31
Configuring IP Settings
YoucanchooseeithermanualorautomaticIPconfigurationoftheESX Server 3ihost. Bydefault,IPconfigurationisautomatic.TheautomaticsettingenablesDHCPtoset theIPaddress,subnetmask,anddefaultgateway.ThedirectconsoledisplaystheIP addressthatDHCPassignstothehost.Forfuturereference,VMwarerecommendsthat youwritedownthisIPaddress. ForDHCPtowork,yournetworkenvironmentmusthaveaDHCPserver.IfDHCPis notavailableornotdesirable,thehostmightbeassignedthebuiltindefaultIPaddress, whichis169.254.0.1/16.Youcanusethisdefaultaddresstoconnectinitiallyandthen configureastaticnetworkaddress.Thedefaultsubnetmaskis255.255.0.0.Thedefault gatewayisblank.IftwohostspowerupwithnoDHCPservice,bothhostsreceivethe default169.254.0.1IPaddress.NooutboundtrafficisallowedthroughthisIPaddress. ThisiswhythedefaultIPaddressisnotalongtermalternativetoDHCP.Itprovidesa temporarymethodtoconnecttothehostsothatyoucanconfigurestaticIPsettings. Ifyouarenotlocaltothehost,youcanusetheVI ClienttoconfigurestaticIPsettings, ifyouareonthesamephysicalsubnetandyouconfiguretheVIClientIPtobeonthe 169.254.0.xnetwork. Ifyouarelocaltothehost,youcanusethedirectconsoletoconfigurestaticIPsettings, includingtheIPaddress,subnetmask,anddefaultgateway. To configure static IP settings from the direct console 1 2 3 4 5 6 7 Fromthedirectconsole,selectConfigureManagementNetworkandpressEnter. SelectIPConfigurationandpressEnter. NavigatetoSetstaticIPaddressandnetworkconfiguration. Pressthespacebartoselectthehighlighteditem. SelectanddeletethecurrentIP address,subnetmask,anddefaultgateway. EnterastaticIPaddress,subnetmask,anddefaultgateway. PressEnter.
To configure static IP settings from the VI Client 1 2 3 4 FromtheVI Client,selectthehostintheinventory. SelecttheConfigurationtabandclickNetworking. ClickPropertiesnexttoVirtualSwitch:vSwitch0. SelectManagementNetworkandclickEdit.
32
VMware, Inc.
5 6 7
Configuring DNS
YoucanchooseeithermanualorautomaticDomainNameSystem(DNS)configuration oftheESX Server 3ihost.Bydefault,DNSconfigurationisautomatic.Theautomatic settingenablesaDHCPservertoacquireDNSinformation.ForautomaticDNSto work,yournetworkenvironmentmusthaveaDHCPserverandaDNSserver. InnetworkenvironmentswhereautomaticDNSisnotavailableornotdesirable,you canconfigurestaticDNSinformation,includingahostname,aprimarynameserver,a secondarynameserver,andDNSsuffixes. Ifyouarenotlocaltothehost,youcanusetheVI ClienttoconfigureDNSinformation. Ifyouarelocaltothehost,youcanusethedirectconsoletoconfigureDNSinformation. To configure DNS settings from the direct console 1 2 3 4 5 6 7 Fromthedirectconsole,selectConfigureManagementNetworkandpressEnter. SelectDNSConfigurationandpressEnter. NavigatetoUsethefollowingDNSserveraddressesandhostname. Pressthespacebartoselectthehighlighteditem. Selectanddeletethecurrentprimaryserver,alternateserver,andhostname. Enterastaticprimaryserver,alternateserver,andhostname. PressEnter.
To configure DNS settings from the VI Client 1 2 3 4 5 6 FromtheVI Client,selectthehostintheinventory. SelecttheConfigurationtabandclickNetworking. ClickPropertiesnexttoVirtualSwitch:vSwitch0. SelectManagementNetworkandclickEdit. OntheGeneraltab,clickUsethefollowingIPsettings. ClickEditnexttoVMkernelDefaultGateway.
VMware, Inc.
33
7 8
TheESX Server 3ihosttestsyournetworkconfiguration. To test connectivity to other devices or networks 1 2 3 4 Fromthedirectconsole,selectTestManagementNetworkandpressEnter. Selectanddeleteoneormoredefaultaddressesorthedefaulthostname. TypeotheraddressestopingoranotherDNShostnametoresolve. PressEntertostartthetest.
34
VMware, Inc.
VMware, Inc.
35
Beforeyoucanenablethescratchpartition,youmusthaveaccesstoamachineon whichyoucanruntheRemoteCommandLineInterface(CLI).Forinformationabout importingorinstallingtheRemote CLI,seetheRemoteCommandLineInterfaces appendixoftheESXServer3iConfigurationGuide. To enable the scratch partition 1 PowerontheRemoteCLIandlogin. Youdonotneedtotypethepasswordonthecommandline.Ifnopasswordis specified,thetoolpromptsyouforthepasswordwithoutechoingtheoutputtothe terminal.Thismeansthepasswordyoutypeisnotvisibleinthewindowasyou runthecommand. YoucancreateasecureconnectiontotheRemoteCLIbyusingtheRemoteCLIIP address.IfyouareusingtheVI Client,youcanrightclicktheRemoteCLIand selectOpenConsole. IftheRemoteCLIisinstalledonyourWindowsorLinuxsystem,youcanusethe installedapplication,inwhichcaseyoudonotneedtologin. 2 Togetthecurrentstate,runthefollowingreadonlycommands:
vicfg-advcfg.pl --server <ip-address> --username root --password <root_password> -s /ScratchConfig/CurrentScratchLocation vicfg-advcfg.pl --server <ip-address> --username root --password <root_password> -s /ScratchConfig/ConfiguredSwapState
Runthefollowingcommandstoenableordisablesystemswap: Toenableswap:
vicfg-advcfg --server <ip-address> --username root --password <root_password> -s true ScratchConfig.ConfiguredSwapState
Todisableswap:
vicfg-advcfg --server <ip-address> --username root --password <root_password> -s false ScratchConfig.ConfiguredSwapState
Ifyouenabledsystemswap,runthefollowingcommandtoenterthelocationofa datastoreonwhichtocreateandenablethesystemswappartition:
vicfg-advcfg --server <ip-address> --username root --password <root_password> -s "/vmfs/volumes/<NameOfDatastore>/<DirectorySpecificToHost>" ScratchConfig.ConfiguredScratchLocation
Theconfigureddirectorymustbeuniqueacrosshosts.
36
VMware, Inc.
Toretrievetheswapstate: vicfg-advcfg --server <ip-address> --username root --password <root_password> -g ScratchConfig.ConfiguredSwapState Toretrievescratchlocation:
vicfg-advcfg --server <ip-address> --username root --password <root_password> -g ScratchConfig.ConfiguredScratchLocation
Tomakethechangestakeeffect,rebootthehost.
VMware, Inc.
37
38
VMware, Inc.
VMware, Inc.
39
40
VMware, Inc.
VMware, Inc.
41
3 4
Pressqtoreturntothedirectconsole.
To redirect system log files to a remote host 1 2 3 4 FromtheVI Client,selectthehostintheinventory. SelecttheConfigurationtabandclickAdvancedSettings. ClickSyslog. ForSyslog.Remote.Hostname,enterahostnametowhichsyslogdatacanbe forwarded.
42
VMware, Inc.
ThischapterprovidesinformationaboutbackingupandrestoringtheESX Server 3i configurationandrecoveringtheESX Server 3ibootimageifitbecomesdamaged.In addition,itdescribeshowtoremoveESX Server 3ifromthehost. Thischaptercontainsthefollowingsections: AboutBackingUpandRestoringanESX Server 3iConfigurationonpage 44. RecoveringtheESX Server 3i InstallableSoftwareonpage 47. RemovingESX Server 3ifromthehostonpage 49. ForinformationoninstallingVMwareInfrastructureManagementsoftware,see InstallingVMwareInfrastructureManagementonpage 101.Forinformationabout usingthedesktopclients,seetheVMwareInfrastructure3documentationset.
VMware, Inc.
43
44
VMware, Inc.
The-portnumberand-protocoloptionsareoptional.Ifyouexcludethem,the defaultsareport443andprotocolHTTPS. Ifyouradministrativepasswordincludesspecialcharacters,suchas$or&,youmust includeabackslashescapecharacter(\)beforeeachspecialcharacter. Forthebackupfilename,includethebuildnumberthatiscurrentlyrunningonthe hostthatyouarebackingup.IfyouarerunningtheRemoteCLIasavirtualappliance, thebackupfileissavedlocallyonthevirtualappliance.Localstorageforbackupfiles issafebecausevirtualappliancesarestoredinthe/vmfs/volumes/<datastore> directory,whichisseparatefromtheESX Server 3iimageandconfigurationfiles.
VMware, Inc.
45
46
VMware, Inc.
TheoptiontoopentheBIOSSetuppagemightbedifferentforyourserver.You mightneedtoopentheBIOSconfigurationscreenstomodifythebootsetting.
VMware, Inc.
47
Asthehostcontinuestopoweron,theinstallationWelcomescreenappears. 3 4 PressRtorepairESX Server 3i. ReadtheVMwareenduserlicenseagreementandacceptitbypressingF11. Youcannotreinstallthisproductunlessyouacceptthelicenseagreement. 5 FromtheSelectADiskscreen,choosethediskdrivethatcontainedtheoriginal installationofESX Server 3i. NOTEIfyoudonotchoosethesameinstallationdisk,thedamagedESX Server 3i imageisnotfixedandanewimageisinstalled. a b c Usetheupanddownarrowkeystonavigateinthedisklist. Highlighttherowcontainingthedisk. PressEnter.
AConfirmDiskSelectionscreendisplays,warningyouthatthedataonthe selecteddiskisabouttobeoverwritten.Ifyoudidnotchangethedefaultpartitions createdduringtheESX Server 3iinstallation,thedataexistinginthethirdand fourthprimarypartitionsispreserved.ThisincludesyourVMFSdatastore. 6 Dooneofthefollowing: Toconfirmthediskyouchoseforrepair,pressEnter. Tochangethetargetdisk,PressBackspaceandrepeatStep 5. 7 IntheConfirmRepairscreen,confirmyouarereadytoinstallESX Server 3i. CAUTIONThisisyourlastopportunitytocancelthereinstallation.Ifyoucontinue, theinstallerreformatsthediskandinstalltheESX Server 3isoftware. PressF11tostarttherecovery. 8 Whentheoperationiscomplete,oneofthefollowingcompletionscreensdisplays: RepairCompleteTheESX Server 3iimagewasrepairedsuccessfullyandthe partitiontablewasrestored.Theinstallerrecreatedthepartitiontableto recoveryourVMFSpartitionsorcustompartitions.Therepairoperation addedtheseentriesinthepartitiontableforyou.
48
VMware, Inc.
Yourdiskstorageareamayhavechangedduringtherebootandyourvirtualmachines mightnotbevisibleintheVIClientInventory.Ifyourstorageareaisvisiblebutyour virtualmachinesarenotvisible,dooneofthefollowing: ReregisterthevirtualmachineswithVIClient.SeetheVIClientHelp. Restoreyourhostconfigurationdata.Thisoptionisavailableonlyifyoubacked upyourhostconfigurationdata.SeeRestoringESX Server 3iConfiguration Dataonpage 46. Ifyourstorageareaisnotvisible,theESXServer3irepairoperationdidnotcomplete successfully.Donottrytorecreateyourdatastorageareabecausethismayoverwrite existingdataandcoulddestroyyourvirtualmachines.CallVMwaresupportforhelp inrecoveringyourexistingdatastore.
VMware, Inc.
49
50
VMware, Inc.
Thischapterdiscussestherequirementsandrecommendationsforadding ESX Server 3ihoststoadatacenterthathasexistingVMwareInfrastructure components,suchasESX ServerhostsandVirtualCenter Server. Specifically,thischapterdiscussestheimplicationsforVirtualCenter,virtualmachines, virtualmachinetools,andESXupgrades,whenyouaddESX Server 3itoyourVMware Infrastructure. UpgradingVMwareInfrastructurecomponentsfromearlierversionsisamultistage processinwhichproceduresmustbeperformedinaparticularorder.Theupgrade pathdependsonyourESX Serveranddatastoreconfigurations.Fordetailed informationaboutpreparingforandexecutingVMwareInfrastructureupgrades,see theUpgradeGuideforESX Server 3.5andVirtualCenter 2.5.
VirtualCenter
IfyouhaveanolderversionofVirtualCenterandyouwanttouseVirtualCenter tomanageESX Server 3i(orESX Server 3),youmustupgradetheVirtualCenter softwaretoversion2.5. ESX Server 3iversion3.5hostsandESX Server 3.5hoststhataremanagedtogether inVirtualCentercanrunthesamevirtualmachines,useVMotiontomigrate virtualmachinesbetweenthehosts,andaccessthesamedatastores. YoucanmanageESX Server 3.0hostsinthesameclusterwithESX Server 3iand ESX Server 3.5hosts. YoucanmanageESX Server2.0.xasstandalonehostsinVirtualCenter. ESX Server 2.0.xhostscannotbeaddedtoclusters.
VMware, Inc.
51
Virtual Machines
Ingeneral,virtualmachinesthatyoucreateonESX Server 3i(orESX Server 3) hostsaresupportedonESX Server 3.0.xhosts.Thiscapabilitymeansthatyoucan migratethevirtualmachinesbetweenthehostsanduseVMotion.Ifyoucreate virtualmachinesthatuseparavirtualization(VMI)oranenhancednetworking device(vmxnet),VMotionisnotsupported.Inthiscase,youcanmovethevirtual machinetotheESX Server 3.0.xhostifthevirtualmachineispoweredoff. VirtualmachinesthatyoucreateonESX Server 3i(orESX Server 3.5)hostsarenot supportedonESX Server2.xhosts.
52
VMware, Inc.
YoucanmanageastandaloneVMwareESX ServerwithoutVirtualCenter Server. However,ifyouhavemultipleESX Serverhostsandyouwanttomanagethem centrally,considerinstallingtheVirtualCenter Server.Thisserverinstallsona Windowsmachine,eitherphysicalorvirtual.VirtualCenterallowstheuseofadvanced VMwareInfrastructurefeaturessuchasVMwareDRS,VMwareHA,andVMotion. Thischapterdescribesthehardwareandoperatingsystemrequirementsforhosts runningVirtualCenterandotherVMwareInfrastructurecomponents.Usethe informationinthischaptertoensurethatyourenvironmentmeetstherequirementsfor installation.Topicscoveredhereare: VirtualCenterRequirementsonpage 53 VI ClientHardwareRequirementsonpage 55 VI ClientSoftwareRequirementsonpage 56 LicenseServerRequirementsonpage 56 SupportedGuestOperatingSystemsonpage 57 VirtualMachineRequirementsonpage 57 ForinformationonESX Server 3irequirements,seeInstallingESX Server 3ion page 19.
VirtualCenter Requirements
VirtualCentermanagesESX Serverhostsbyusingaserverandthreetypesofremote managementclients.TheVirtualCenter Serverisaphysicalmachineorvirtualmachine configuredwithaccesstoasupporteddatabase.
VMware, Inc.
53
54
VMware, Inc.
MicrosoftSQLServer2005Enterprise
MicrosoftSQLServer2005ExpressSP2
VMware, Inc.
55
56
VMware, Inc.
Virtual Processor
IntelPentiumIIorlater(dependentonsystemprocessor) One,two,orfourprocessorsforeachvirtualmachine Ifyouplantocreateatwoprocessorvirtualmachine,yourESX Servermachinemust haveatleasttwophysicalprocessors.Forafourprocessorvirtualmachine,your ESX Servermachinemusthaveatleastfourphysicalprocessors.
Virtual BIOS
PhoenixBIOS4.0Release6
58
VMware, Inc.
ThischapterdescribesthelicensingmodelsavailablewithESX Server 3iand VirtualCenter. Thischaptercontainsthefollowingsections: LicensingTerminologyonpage 60 ESX Server 3iEditionsonpage 60 VirtualCenter ServerEditionsonpage 62 VirtualCenterandESX Server 3iLicensingModelonpage 62 LicenseKeyFunctionalityonpage 65 LicenseExpirationConsiderationsonpage 68 LicenseServerAvailabilityonpage 68 UsinganExistingFLEXnetLicenseServeronpage 72 ContactingSupportonpage 73
VMware, Inc.
59
Licensing Terminology
Youmightencounterthefollowingtermsduringthelicenseredemptionand configurationprocess: LicenseactivationcodeAlicenseactivationcode(LAC)isauniquecodethatis associatedwithoneormoreVMwareproductspurchased.Youreceivethiscode afteryourorderisprocessed,unlessyoupurchasedyourproductsfroman authorizedVMwarereseller,inwhichcaseyoureceiveapartneractivationcode. PartneractivationcodeApartneractivationcodeisauniquecodeidentifying ordersplacedthroughVMwarepartners.IfyoupurchasedVMware Infrastructure 3fromanauthorizedVMwarereseller,youusethiscodetoregister yourpurchasetoyourVMwarestoreaccount. LicenseactivationportalThelicenseactivationportalisaselfserviceWebportal thatyoucanusetoredeemyourlicenseactivationcodesanddownloadlicense filesforVMwareInfrastructure3. PartneractivationportalApartneractivationportalisaselfserviceWebportal usedtoregisterapurchasemadefromanauthorizedVMwareresellertoyour VMwarestoreaccount.Youenteryourpartneractivationcodeintotheportaland downloadyourlicensefilesfromthelicenseactivationportal.
60
VMware, Inc.
Table 71displaysESX Server 3ifeaturesarrangedbyedition. Table 7-1. Edition Features for ESX Server 3i Machines
Feature Licensetype ESX Server 3i Standalone Serialnumber VI Foundation Flexlicensefiles (centralizedor singlehost) Yes Yes Yes Yes Addon Addon Addon VI Standard Flexlicensefiles (centralizedor singlehost) Yes Yes Yes Yes Yes Addon Addon VI Enterprise Flexlicensefiles (centralizedor singlehost) Yes Yes Yes Yes Yes Yes Yes
VMFS VirtualSMPsupport VMwareConsolidated Backup(VCB) VMwareUpdateManager VMwareHA ServerVMotionand Storage VMotion VMwareDRSandDPM (DistributedResource Managementand DistributedPower Management) Manageablebythe VI Client RemoteCLIaccess Manageableby VirtualCenter in productionmode Manageableby VirtualCenterinevaluation mode VirtualCenterManagement Agent
Yes Yes No No No No No
Yes
Yes
Yes
Yes
No
Yes
Yes
Yes
VMware, Inc.
61
62
VMware, Inc.
VirtualCenterandfeaturesthatrequireVirtualCenter,suchasVMotion,musthave centralizedlicensing.ESX Serverspecificfeaturescanbelicensedforeithercentralized orsinglehostlicensing. Figure 71illustratesthethreetypesoflicenseenvironments. Figure 7-1. License File Locations in Single-Host, Mixed, and Centralized Licensing Environments
single-host licensing
VI Client ESX host license file ESX host license file ESX host serial number
centralized licensing
VI Client ESX host
ESX host
VirtualCenter (recommended)
license server
license server
license file
license file
VMware, Inc.
63
Centralized Licensing
Centralizedlicensingsimplifieslicensemanagementinlarge,dynamicenvironments byallowingaVMwarelicenseservertoadministerlicenses.Withcentralizedlicensing, youmaintainallofyourVirtualCenter ServerandESX Serverlicensesfromone console. Withcentralizedlicensing,alicenseservermanagesalicensepool,whichisacentral repositoryholdingyourentirelicensedentitlement.Whenahostrequiresaparticular licensedfunctionality,thelicenseforthatentitlementischeckedoutfromthelicense pool.Licensekeysarereleasedbacktothepoolwhentheyarenolongerbeingusedand areavailableagaintoanyhost. Theadvantagesofcentralizedlicensinginclude: Youadministeralllicensingfromasinglelocation. Newlicensesareallocatedandreallocatedbyusinganycombinationof ESX Serverformfactors.Forexample,youcanusethesame32processorlicense forsixteen2processorhosts,eight4processorhosts,four8processorhosts,two 16processorhosts,oranycombinationtotaling32processors. Ongoinglicensemanagementissimplifiedbyallowinglicensestobeassignedand reassignedasneeded.Assignmentchangesastheneedsofanenvironment change,suchaswhenhostsareaddedorremoved,orpremiumfeatureslike VMotion,DRS,orHAaretransferredamonghosts. Duringperiodsoflicenseserverunavailability,althoughnewlicensescannotbe issued,existingVirtualCenter Serverlicensedfunctionalitycontinuestooperate indefinitelyandexistingESX Serverlicensedfunctionalitycontinuestooperate withina14daygraceperiod.SeeLicenseServerAvailabilityonpage 68. VMwarerecommendsthatyouusecentralizedlicensingforlarge,changing environments.
Single-Host Licensing
Therearetwoscenariosforsinglehostlicensing: HostbasedserialnumberFortheESXServer3iStandaloneedition,eachhost hasaserialnumbersuppliedbyVMware. HostbasedlicensefileForallotherESXServer3ieditionsincludingVI3 Foundation,VI3Standard,andVI3 Enterpriseeachhosthasalicensefile.
64
VMware, Inc.
Forhostbasedlicensefiles,thefollowingrulesapply: Yourtotalentitlementforpurchasedfeaturesisdividedamongseparatelicense filesresidingonESX ServerhostsandtheVirtualCenter Server. Whensomeoneactivatesalicensedfeature,thefeatureforthatentitlementmust resideinthelicensefileonthathost. YoumaintainseparatelicensefilesoneachESX Serverhost.Distributionof unusedlicensesisnotautomatic,andyoudonotdependonanexternalconnection forlicensing. Theadvantagesofhostbasedlicensefilesinclude: SinglehostfilesrequirenolicenseservertobeinstalledforESX Serverhostonly environments. InaVirtualCenterandlicenseserverenvironment,hostbasedlicensefilesallows ESX Serverhostlicensestobemodifiedduringperiodsoflicenseserver unavailability.
VMware, Inc.
65
Per-Processor Licensing
FormostVMwareInfrastructureproducts,youpurchaselicensesonaperprocessor basis,whichmeansthatyouneedtoindicatethetotalnumberofprocessors,nothosts, thatwillruntheproducts.Youcanthendeployandredeploythepurchasedprocessor capacity,soldinincrementsoftwoprocessors,onanycombinationofhosts. Forexample,youpurchaseESX ServerlicensesfortenprocessorsandVMotionlicenses forsixprocessors.Youcanthendeploythoselicensesonanyofthefollowing combinationsofservers: ESX Serveronfive2processorhosts.EnableVMotiononthreehosts. ESX Serveronthree2processorhostsanda4processorhost.EnableVMotionon three2processorhosts,oronone2processorhostanda4processorhost. ESX Serverontwo4processorhostsandone2processorhost.EnableVMotionon one4processorhostandone2processorhost. ESX Serveronone8processorhostandone2processorhost.VMotionbetween thesetwohostscannotbeenabledunlessyoupurchaseanadditional4processor VMotionlicense.
66
VMware, Inc.
Specialconsiderationsinclude: Dualcoreandquadcoreprocessors,suchasIntelx86processorsthatcombinetwo orfourindependentcentralprocessingunitsonasinglechip,countasone processor. Youcannotpartiallylicenseamultiprocessorhost.Forexample,a4CPUhost requiresalicensewiththecapacityforfourprocessors. Singleprocessorlicensingissupportedforserverbasedlicenses.Ingeneral,for serverbasedlicensing,checkoutoflicensesinoddquantitiesissupported. However,hostbasedfilescannotbegeneratedwithoddquantities.Theymustbe generatedinmultiplesoftwo. Thefollowingfeaturesarelicensedonaperprocessorbasis: ESX ServerTopoweronavirtualmachine,ahostmusthavelicensingona perprocessorbasis.Thismeansadualprocessorhostrequirestwomatching ESX Serverlicenses.AfourprocessormachinerequiresfourmatchingESX Server licenses.SeeESX Server 3iEditionsonpage 60. VMwareConsolidatedBackup(VCB)TousetheConsolidatedBackup capabilitiesandbackupofallvirtualmachinesrunningonanESX Serverhosta VCBlicensekeymustbeavailableforeachprocessorwithinthathost.Fora descriptionofthisfeature,seetheVirtualMachineBackupGuide. VirtualCenterAgentforESX ServerThisagentisinstalledonanESX Server hostwhenitisaddedtotheVirtualCenter Server.Youmusthaveoneagentlicense keyforeachESX ServerprocessortobeaddedtoVirtualCenter. ServerVMotionandStorageVMotionTomigrateapoweredonvirtualmachine betweenhosts,eachESX ServerprocessorinvolvedmusthaveaVMotionlicense key.Forexample,ifyouuseVMotionfromadualprocessorESX Serverhostto anotherdualprocessorhost,youmusthavefourVMotionlicenses.SeeBasic SystemAdministration. VMwareHATorestartvirtualmachineswhoseESX Serverhosthasfailed,the VirtualCenter ServermusthaveanHAlicensekeyforeachESX Serverprocessor intheHAcluster.Foradescriptionofthisfeature,seetheResourceManagement Guide. VMwareDRSandDPMToprovideautomaticloadbalancingofvirtual machinesamonghostsanddistributedpowermanagement,the VirtualCenter ServermusthaveaDRSandDPMlicensekeyforeachESX Server processorintheDRScluster.Asaprerequisite,DRSrequiresappropriateVMotion licensekeysforallhostsintheDRScluster.Foradescriptionofthisfeature,seethe ResourceManagementGuide.
VMware, Inc. 67
Per-Instance Licensing
Featuresthatarelicensedonaperinstancebasisrequireonlyonelicensekeyforeach featureinstance,regardlessofthenumberofprocessorsused.TheVirtualCenter Server iscurrentlytheonlyfeaturelicensedonaperinstancebasis.Forinformationabout differenteditionsofVirtualCenter,seeVirtualCenter ServerEditionsonpage 62.
68
VMware, Inc.
DuringtheESX Servergraceperiod,whenthelicenseserverisunavailable,the followingoperationsareunaffected: Virtualmachinescontinuetorun.YoucanusetheVI Clienttoconfigureand operatevirtualmachines. ESX Serverhostscontinuetorun.YoucanconnecttoanyESX Serverhostinthe VirtualCenterinventoryforoperationandmaintenance.Connectionsto VirtualCenterremain.YoucanusetheVI Clienttooperateandmaintainvirtual machinesfromthehosteveniftheVirtualCenter Serverconnectionisalsolost. Duringthegraceperiod,restrictedoperationsinclude: AddingESX ServerhoststotheVirtualCenterinventory.Youcannotchange VirtualCenteragentlicensesforhosts. Addingorremovinghostsfromacluster.Youcannotchangehostmembershipfor thecurrentVMotion,HA,orDRSconfiguration. Addingorremovinglicensekeys. Whenthegraceperiodexpires,cachedlicenseinformationisnolongerstored.Asa result,virtualmachinescannolongerbepoweredon.Runningvirtualmachines continuetorunbutcannotberebooted. Whenthelicenseserverbecomesavailableagain,hostsreconnecttothelicenseserver. Norebootingormanualactionisrequiredtorestorelicenseavailability.Thegrace periodtimerisresetwheneverthelicenseserverbecomesavailableagain. Table 73displaysESX Serverlicensedoperationspermittedwhilethelicenseserveris unavailable.Operationsthatarenotpermittedareoperationsthatrequirethe acquisitionofnewlicensesfromthelicenseserver.
VMware, Inc.
69
Table 7-3. Permitted ESX Server Operations When the License Server Is Unavailable
During Grace Period Permitted Permitted Permitted Permitted Permitted Permitted Permitted Permitted Permitted NotPermitted After Grace Period Expires NotPermitted Permitted Permitted Permitted Permitted Permitted Permitted Permitted NotPermitted NotPermitted
Component Virtualmachine
ESX Serverhost
70
VMware, Inc.
Table 74listsVirtualCenterlicensedoperationsthatarepermittedwhenthelicense serverisunavailable.Operationsthatarenotpermittedareoperationsthatrequirethe acquisitionofnewlicensesfromthelicenseserver. Table 7-4. Permitted VirtualCenter Operations When the License Server Is Unavailable
When License Server Is Unavailable Permitted NotPermitted Permitted Permitted Permitted Permitted NotPermitted Permitted Permitted Permitted NotPermitted
Attempted Action RemoveanESX Serverhostfrominventory(see nextentry) AddanESX Serverhosttoinventory ConnectandreconnecttoanESX Serverhostin inventory Moveapoweredoffvirtualmachinebetween hostsininventory(coldmigration) MoveanESX Serverhostamongfoldersin inventory MoveanESX Serverhostoutofa VMotionDRSHAcluster(seenextentry) MoveanESX Serverhostintoa VMotionDRSHAcluster ConfiguretheVirtualCenter Serverwith VI Client StartVMotionbetweenhostsininventory ContinueloadbalancingwithinaDRScluster Addorremovelicensekeys
VMware, Inc.
71
VirtualCenterusesaheartbeatmechanismtocheckwhetherthelicenseserveris reachableandtoseeifthereareanychangesinthelicensefile.Theheartbeatintervalis fiveminutes.Therefore,itmighttakeVirtualCenteraslongasfiveminutestodetect licensechangesorifthelicenseserverhasbecomeunavailable. Whenthelicenseserverbecomesunavailable,orifachangeinthelicensefilecausesa checkedoutlicensetoberemoved,VirtualCentermarkstheaffectedlicensesas UnlicensedUse,andthelicensedfeaturescontinuetooperateaspreviously described.Whenthelicenseserverbecomesavailableagain,orwhenlicensesareadded tothelicensefileagain,VirtualCenterchecksoutthelicensesagainandrevertsthemto theLicensedstate.Ifalicensecannotbecheckedout,thelicenseremainsinthe UnlicensedUsestate. Iflicenseserveravailabilityisaparticularconcerninyourenvironment,considerone ofthefollowingstrategies: InstallthelicenseserveronthesamemachineastheVirtualCenter Server.Thisis thedefaultoptionthattheVirtualCenterinstallerprovides. Installthelicenseserveronavirtualmachine,andplacethatvirtualmachineinan HAcluster.VMwareHArestartsthelicenseservermachineonanotherESX Server hostincaseoffailure. UsesinglehostlicensefilesonESX Serverhosts.
72
VMware, Inc.
Contacting Support
Ifyourequireassistancewithlicensing,contactVMwareforsupportasfollows: IfyoudidnotreceivelicenseactivationcodesforyourVI3purchaseorhave difficultiesinusingyourlicenseactivationcodestoobtainlicensefiles,email vihotline@vmware.com. Ifyouhavelicensefilesandhavedifficultyconfiguringortroubleshootinglicensed features,fileasupportrequestathttp://www.vmware.com/support.
VMware, Inc.
73
74
VMware, Inc.
Thischapterprovidesinformationabouthowtoevaluateanupgradedlicenseof VirtualCenter 2.5andESX Serverversion3.5andhowtoobtainlicenseswhenthe evaluationmodeexpires.Thischaptercontainsthefollowingtopics: UsingEvaluationModeforESX Serveronpage 75 UsingEvaluationModeforVirtualCenteronpage 76 LicensingVirtualCenterandESX ServerAftertheEvaluationPeriodExpireson page 76
VMware, Inc.
75
Licensing VirtualCenter and ESX Server After the Evaluation Period Expires
Afterthe60dayevaluationperiodexpires,unlessyouobtainlicensesforyour software,youcannotperformmostoperationsinVirtualCenterandESX Server.For example,youcannotpoweronvirtualmachines,addnewhosts,oruseadvanced ESX ServerandVirtualCenterfeatures. IfyoudonotlicenseVirtualCenterbeforetheevaluationperiodexpires,allofthehosts intheVirtualCenterinventoryaredisconnected. NOTEReinstallingtheVirtualCenter Serverafterthe60dayevaluationexpiresdoesnt restartevaluationmode. Table 81detailstheESX Serverbehaviorafterevaluationmodeexpires.Theoperations thatarenotpermittedrequiretheacquisitionofnewlicenses. Table 8-1. ESX Server Operations After the 60-Day Evaluation Period
Component Virtualmachine Attempted Action Poweron Createanddelete Suspendandresume ConfigurevirtualmachinewiththeVI Client After 60 Days NotPermitted Permitted Permitted Permitted
76
VMware, Inc.
Chapter 8 Running VMware VirtualCenter and VMware ESX Server in Evaluation Mode
Table 8-1. ESX Server Operations After the 60-Day Evaluation Period (Continued)
Component ESX Serverhost Attempted Action Continueoperationsonexistinghosts Poweronandpoweroff ConfigureESX ServerhostwiththeVI Client Restartvirtualmachineswithinthefailed hostsHAcluster Addorremovelicensekeys After 60 Days Permitted Permitted Permitted NotPermitted Permitted
VMware, Inc.
77
78
VMware, Inc.
Thischapterprovidesproceduresforredeeminglicensefilesandconfiguringlicense options. Thischaptercontainsthefollowingsections: LicensingProcessonpage 80 ObtainingLicenseFilesonpage 83 SettingUpCentralizedLicensingonpage 83 SettingUpSingleHostLicensingonpage 88 LicenseFileContentsonpage 91 LicenseFileLocationsonpage 93 AddingNewLicenseFilestoLicenseServersonpage 93 AddingNewLicenseFilestoSingleHostsonpage 94 InstallingaLicenseServeronpage 95 TroubleshootingLicensingonpage 96
VMware, Inc.
79
Licensing Process
Figure 91summarizesthelicenseconfigurationprocessforESX Server 3i Installable. Figure 9-1. ESX Server 3i Installable License Configuration Process
Purchase and install ESX Server 3i
Served
80
VMware, Inc.
Figure 92summarizesthelicenseconfigurationprocessesfortheVirtualCenter Server. Figure 9-2. License Configuration Process for VirtualCenter
Acquire VirtualCenter installer Purchase licenses
No
Run installer
Yes
No
VMware, Inc.
81
AfteryoupurchaseVMwareInfrastructuresoftware,dothefollowingtoobtainanduse yourlicenses: 1 Decidewhichlicensetypetouse. ForESXServer3iStandaloneaddition,youcanuseahostbasedserialnumber. VI3 editionsofESXServerandVirtualCenteruseFLEXnetlicensing,whichoffers achoiceoflicensetypes:centralized,singlehost,ormixed.See VirtualCenterand ESX Server 3iLicensingModelonpage 62. 2 Registeryourpurchase. WhetheryoupurchasedVMwareInfrastructure3fromanauthorizedVMware resellerordirectlyfromVMware,youmustregisteryourpurchasetoyour VMwarestoreaccount.SeeObtainingLicenseFilesonpage 83. 3 Obtainlicensefiles. Afteryourpurchaseisregistered,usetheWebbasedlicenseactivationportalto generateanddownloadlicensefilesappropriatetothelicensetypeyouchosein Step 1.SeeObtainingLicenseFilesonpage 83. 4 InstallVirtualCenterandESX Server 3i.IfyoualreadyinstalledyourVirtualCenter andESXServerinunlicensedevaluationmode,skipthisstepandgotoStep 5. PerformthissteponlyifyoudonothaveaVMwarelicenseserverinstalled.The VMwareInfrastructureunifiedinstallerautomaticallyinstallsalicenseserver.To checkwhetheralicenseserverisinstalled,selectStart>Programs>VMwareand lookforVMwareLicenseServer.Ifalicenseserverisinstalled,skipthisstepand gotoStep 5. 5 ConfigureyourlicensingaccordingtothelicensetypeyouchoseinStep 1: Toconfigurecentralizedlicensing,seeSettingUpCentralizedLicensingon page 83. Toconfigurelicensingforasinglehost,seeSettingUpSingleHost Licensingonpage 88. Toconfigureamixedlicenseenvironment,seeSingleHostandCentralized LicensingintheSameEnvironmentonpage 89.
82
VMware, Inc.
VMware, Inc.
83
84
VMware, Inc.
ClickOKtosaveyourchanges. Youdonotneedtochangeanyothersettingstoenablecentralizedlicensing.
Thetotalnumberoflicensesconsumedandavailableonthelicenseserverare summarizedontheLicensestabintheAdminviewoftheVI Clientconnectedto VirtualCenter.ThistabwaslabeledLicenseViewerinearlierversionsof VirtualCenter. NOTEIfyoudidnotselectthecheckboxfortheoptionalsetting,seeToconfigure centralizedlicensingforanESX Serverhostonpage 85tomanuallyconfigure ESX Serverhoststousecentralizedlicensing. To configure centralized licensing for an ESX Server host 1 2 3 4 FromtheVI Client,selectthehostintheinventory. ClicktheConfigurationtab. UnderSoftware,clickLicensedFeatures. Tosetthelicenseserver: a b ClickEdittotherightofLicenseSources. ClickUseLicenseServer. Thisisthedefaultconfiguration. c EntertheportnumberandlicenseservermachinenameintheAddressfield, asinport@host. Forexample,withthedefaultlicenseserverport27000onalicenseserver calledlicense1,yourentrymightlooklikethis:
27000@license-1.vmware.com
ClickOKtoclosethedialogboxandsaveyourchanges.
VMware, Inc.
85
SettheESX Serveredition: a b ClickEdittotherightofESX ServerLicenseType. Specifytheeditionforthehost,orselectUnlicensedtoreleasethishosts licensesbacktothelicenseserver.TheESX ServerLicenseTypedialogbox displaysonlythoseeditionsthatareavailabletoyourESX Serverhost. ClickOKtoclosethedialogboxandsaveyourchanges.
c 6
Thetotalnumberoflicensesconsumedandavailableonthelicenseserverare summarizedontheLicensestabintheAdminviewoftheVI Clientconnectedto VirtualCenter.ThistabwaslabeledLicenseViewerinearlierversionsof VirtualCenter. To configure local license server licensing for VirtualCenter 1 2 3 4 FromtheVI Client,chooseAdministration>VirtualCenterManagementServer Configuration. ClickLicenseServerinthelistontheleft. ClickUselicenseservicesonthisVirtualCenter Server. IfyouwanttochangetheVirtualCenterServeredition,selectoneofthefollowing: VCFoundationEdition VCFullEdition FormoreinformationontheVirtualCentereditions,seeVirtualCenter Server Editionsonpage 62. 5 (Optional)IfyoudonotwantVirtualCentertooverridethehostscurrentlicense setting,deselectChangehostlicenseserversettingstomatchVirtualCenters settingwhentheyareaddedtoinventory. SelectingthischeckboxcausesVirtualCentertooverridethehostscurrentlicense settingandinsteadusethelicenseserverthatVirtualCenteruses. MakesurethatyouuseanIPaddressthatisaccessiblefromtheESX Serverhost. IfyouconfigureVirtualCentertousealocallicenseserverandthehostnameofthe locallicenseserver(theVirtualCenterhost)isnotresolvablefromtheESX Server host,thentheESX Serverhostcannotacquirelicensesfromthelocallicenseserver.
86
VMware, Inc.
Thetotalnumberoflicensesconsumedandavailableonthelicenseserverare summarizedontheLicensestabintheAdminviewoftheVI Clientconnectedto VirtualCenter.ThistabwaslabeledLicenseViewerinearlierversionsof VirtualCenter. NOTEIfyoudidnotselectthecheckboxfortheoptionalsetting,seeToconfigure centralizedlicensingforanESX Serverhostonpage 85tomanuallyconfigure ESX Serverhoststousecentralizedlicensing.
VMware, Inc.
87
88
VMware, Inc.
ClickOKtosaveyourchanges.
VMware, Inc.
89
Configuring Licensing for a Mixed ESX Server 2.x and ESX Server 3.x Environment
YoucanusetheVirtualCenter Server2.xtomanageamixedenvironmentofboth ESX Server2.xandESX Server3.xhosts.Youreceivelicenseactivationcodeswith purchasesofVMwareInfrastructure3.Youcanredeemthecodesforboth ESX Server 2.xserialnumbersandVMwareInfrastructure3licensefiles. To configure licensing for the ESX Server 2.x hosts in the mixed environment 1 2 LeavethelicensingunchangedonexistingESX Server2.xhoststhatuseserial numbers. FornewESX Server2.xinstallations,redeemyourlicenseactivationcodesonthe licenseactivationportalforESX Server2.xserialnumbers. Providetheseserialnumbersatthetimeofinstallationorconfiguration. 3 Redeemyourlicenseactivationcode(s)togenerateacentralizedlicensefilethat containslicensesforVirtualCenter Server,VirtualCenterManagementAgents, VMotion,andESX Server3.x. Ifnecessary,combinemultiplegeneratedlicensefilestoproduceasinglefile. YourgeneratedlicensefilecanincludeESX Serverversion3.xlicensesforthe ESX Serverversion2.xhoststhatyouobtainedESX Server2.xserialnumbersforin Step 2.Thisletsyoueasilydistributelicensestothesehostsiftheyarelater upgradedtoESX Server3.x. 4 InstallandconfiguretheVirtualCenter Server2.xtousethelicenseserver.
90
VMware, Inc.
To change ESX Server hosts from centralized licensing to host-based licensing 1 UsetheVMwarelicenseactivationportaltogenerateanddownloadnew singlehostlicensefilesforeachESX Serverhost. Thelicenseactivationportalletsyougeneratebothsinglehostandcentralized licensefilesfromthesamelicenseactivationcode.Forhostbasedlicensing,you needonelicensefileforeachESX Serverhost. 2 IfyouareusingVirtualCenter,changeyourVirtualCenter Serversettingssothat VirtualCenterdoesnotoverridehostlicensesettings,asdescribedinSingleHost andCentralizedLicensingintheSameEnvironmentonpage 89. ConfigureyourESX ServerhostasdescribedinConfiguringanESX Server MachineforHostBasedLicensingonpage 88.
VMware, Inc.
91
Centralizedfilesandsinglehostfilescanbedifferentiatedbythefollowing distinguishingfeatures: Singlehostlicensefilescontainnolicensetypesection.Centralizedfilescontaina licensetypesectionasthefileheader. SinglehostlicensefilescontainthestringlicenseType=Hostaspartofeach licensekeyblockinthefile.Centralizedlicensefilescontainthestring licenseType=Serveraspartofeachlicensekeyblockinthefile,asshowninthe followingexamples. Example 91showsatypicalsinglehostlicensekey. Example 9-1. Single-Host License Key
INCREMENT PROD_ESX_FULL VMWARELM 2005.05 31-dec-2008 uncounted \ VENDOR_STRING="licenseType=Host;vmodl=esxFull;desc=ESX Server \ Enterprise;capacityType=cpuPackage;gp=14;exclude=BACKUP;count=8" \ HOSTID=ANY ISSUED=06-AUG-2007 \ NOTICE="FulfillmentId=777;Name=VMware Internal" TS_OK \ SIGN="095A 14A7 ..."
92
VMware, Inc.
NOTEInVirtualCenter 2.0,thedefaultlocationofthelicensefilewas C:\Documents and Settings\All Users\Application Data\VMware\ VMware License Server\vmware.lic.Thislocationnolongerexists. Youcanaddnewlicensefilestothelicensedirectory.SeeAddingNewLicense FilestoLicenseServersonpage 93. Singlehostlicensefilesareplacedatthefollowingdefaultlocationonthe machinerunningESX Server.
/etc/vmware/vmware.lic
RestarttheVMwareLicenseServerservice.
ThefollowingprocedureisforWindows2000Professional.Themenusandcommands forotherversionsofWindowscanvary.
VMware, Inc.
93
To restart the license server Windows Service 1 2 3 4 ChooseStart>Settings>ControlPanel. DoubleclickAdministrativeTools. DoubleclickServices. Scrolldown,rightclickVMwareLicenseServer,andchooseRestart.
Youcanchangethedefaultlocationofyourcentralizeddirectory,oryourlicensefile. To change the default location of the license directory 1 2 3 Onthecomputerthatrunsthelicenseserverapplication,chooseStart>Programs >VMware>VMwareLicenseServer>VMwareLicenseServerTools. ClicktheConfigServicestab. ClickBrowsenexttothePathtolicensefilefield,andchoosealicensefilefrom thelicensedirectory. Ifyouwantthelicenseservertousetheentirelicensedirectory,manuallyremove thenameofthefile,leavingonlythenameofthedirectory. 4 5 6 7 ClicktheStart/Stop/Rereadtab. ClickStop. ClickStart. ClickReReadLicenseFiletoloadthenewlicensefiles.
94
VMware, Inc.
VMware, Inc.
95
7 8
ClickInstalltobegintheinstallation. ClickFinishtocompletethelicenseserverinstallation.
Troubleshooting Licensing
Thissectionprovidesguidelinesfortroubleshootingyourlicensesetup.Ifyouarenot abletoresolveyourproblemswithlicensingbyusingtheinformationgiveninthis section,contactVMwareforsupportasfollows: IfyoudidnotreceivelicenseactivationcodesforyourVI3purchaseorhave difficultiesinusingyourlicenseactivationcodestoobtainlicensefiles,email vihotline@vmware.com. Ifyouhavelicensefilesandhavedifficultiesinconfiguringortroubleshooting licensedfeatures,fileasupportrequestathttp://www.vmware.com/support.
96
VMware, Inc.
To check that the license server Windows service is running 1 2 3 Onthemachineonwhichthelicenseserverisinstalled,chooseStart>Control Panel>AdministrativeTools>ServicestodisplaytheServicescontrolpanel. VerifythattheStatuscolumnfortheVMwareLicenseServerentryreadsStarted. IftheVMwareLicenseServerisnotstarted,startitbyrightclickingontheservice andchoosingStart.
To check that the license server is listening 1 2 3 Onthemachineonwhichthelicenseserverisinstalled,chooseStart>Command Prompt. Typenetstat -abatthecommandline. Verifythatthelmgrd.exeprocessislisteningonport27000andthatthe VMWARELM.exeprocessislisteningonport27010. Ifnot,thelicenseservermightnotbeinstalledormightnotbestarted.
VMware, Inc.
97
To check the license server status 1 Onthemachineonwhichthelicenseserverisinstalled,chooseStart>Programs> VMware>VMwareLicenseServer>VMwareLicenseServerToolstolaunchthe LMTOOLSutility. ClicktheServerStatustabtodisplaytheServerStatuspage. ClickPerformStatusInquiry. Licenseserverinformation,includingthelocationofthelicensefile,appearsatthe bottomofthepage.
2 3
98
VMware, Inc.
VMware, Inc.
99
100
VMware, Inc.
10
10
ThischapterdescribeshowtoprepareyourVirtualCenterdatabase,installVMware InfrastructureManagementsoftware,andconfigurecommunicationbetween components.YoucaninstallVMwareInfrastructureManagementsoftwareona physicalsystemoronavirtualmachinerunningonanESX Serverhost. Thischaptercontainsthefollowingtopics: PreparingtheVirtualCenter ServerDatabaseonpage 101 InstallingVMwareInfrastructureManagementSoftwareonpage 107 ConfiguringCommunicationBetweenVirtualCenterComponentsonpage 111 UninstallingVMwareInfrastructureComponentsonpage 113 InstallingVirtualCenteronaVirtualMachineonpage 114
VMware, Inc.
101
Createauser,suchasvpxAdmin,foraccessingthistablespacethroughODBC:
CREATE USER vpxAdmin IDENTIFIED BY vpxadmin DEFAULT TABLESPACE vpx;
102
VMware, Inc.
Eithergrantdbapermissiontotheuser,orgrantthefollowingpermissionsto theuser:
grant grant grant grant grant grant grant grant connect to <user> resource to <user> create view to <user> create any sequence to <user> # For VirtualCenter upgrade only create any table to <user> # For VirtualCenter upgrade only execute on dbms_job to <user> execute on dbms_lock to <user> unlimited tablespace to <user> # To ensure space limitation is not an issue
CreateanODBCconnectiontothedatabase.Thefollowingareexample settings:
Data Source Name: VMware VirtualCenter TNS Service Name: VPX User Id: vpxAdmin
Inthisexample,xxiseither 9Ior10g.
VMware, Inc.
103
UsetheNet8ConfigurationAssistanttoaddthefollowingentry:
VPX = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS=(PROTOCOL=TCP)(HOST=vpxd-Oracle)(PORT=1521)) ) (CONNECT_DATA = (SERVICE_NAME = VPX) ) ) HOST =
Inthisexample,HOSTisthemanagedhosttowhichtheclientneedstoconnect.
2 3 4 5
8 9
10 11
VMware, Inc.
105
Toidentifytheauthenticationtype: a b c OpenSQLServerEnterpriseManager. ClickthePropertiestabtoviewproperties. Checkthemode. ThemodeindicateseitherWindowsNTorSQLServerauthenticationtype. 12 TypeyourSQLServerloginnameandpassword. Askyourdatabaseadministratorforthisinformation. 13 14 15 16 ClickNext. SelectthedatabasecreatedforVirtualCenterfromtheChangethedefault databasetomenuandclickNext. ClickFinish. FromtheODBCMicrosoftSQLServerSetupmenu,chooseTestDataSource. Ifthetestdatasourceisacceptable,clickOK.Ifitisnotacceptable,clickBackand reconfigureanyincorrectitems. 17 18 ToclosetheODBCDataSourceAdministrator,clickClose. EnsurethattheSQLAgentisrunningonyourdatabaseserver. ThisappliestoSQLServer2000andSQLServer2005editions.
106
VMware, Inc.
VMware, Inc.
107
YoucandeployVirtualCenterbehindafirewall.However,makesurethereisno NetworkAddressTranslation(NAT)firewallbetweenVirtualCenterandthehosts itwillmanage. Theinstallerautomaticallyinstallsalicenseserverforyou,unlessyouenterapath toanexistinglicenseserver. Ifyouwanttouseanexistinglicenseserver,obtainthehostnameorIP address. Ifyouaregoingtoallowtheinstallertoinstallalicenseserver,youneeda validservedlicensefile. Becausethelicenseserverdoesnotsupportlicensefilesonanetworkshare, placeyourlicensefilesinadirectoryonasystemwhereyouareinstallingthe licenseserver.
Components Installed
TheVMwareInfrastructureManagementinstallerincludesthefollowingcomponents: VMwareVirtualCenterServerAWindowsservicetomanageESXServerhosts. VIClientAclientapplicationusedtoconnectdirectlytoanESXServeror indirectlytoanESXServerthroughaVirtualCenterServer. Microsoft.NETFrameworkSoftwareusedbytheVirtualCenterServer,Database Upgradewizard,andtheVIClient. MicrosoftSQLServer2005ExpressAfreeversionoftheMicrosoftSQLServer databaseforsmallerscaleapplications.Ifyouenterapathtoanexistingdatabase, theinstallerdoesnotinstallMicrosoftSQLServer2005Express. VMwareUpdateManager(optional)AVirtualCenterpluginthatprovides securitymonitoringandpatchingsupportforESXServerhostsandvirtual machines. VMwareConverterEnterpriseforVirtualCenterServer(optional)A VirtualCenterpluginthatenablesyoutoconvertyourphysicalmachinestovirtual machines. VMwarelicenseserverAWindowsserviceallowingallVMwareproductstobe licensedfromacentralpoolandmanagedfromoneconsole.Ifyouenterapathto anexistinglicenseserver,theinstallerdoesnotinstallalicenseserver.
108
VMware, Inc.
Installation Procedure
ThefollowingproceduredescribeshowtoinstallallVMwareInfrastructure managementcomponents. To install VMware Infrastructure Management 1 2 AsAdministratorontheWindowssystem,inserttheinstallationCD. WhentheVMwareInfrastructureManagementInstallerscreenappears,click Next. IftheVMwareInfrastructureManagementInstallerscreendoesnotappear, doubleclicktheautorun.exeicon. 3 4 5 6 ReadtheIntroductionpageandclickNext. SelectIacceptthetermsinthelicenseagreementandclickNext. TypeyourusernameandcompanynameandclickNext. SelectoneoftheinstallationtypesandclickNext. Thechoicesare: InstalltheVI Client. InstallVirtualCenter. Chooseacustominstallationtoinstallmultiplecomponents. 7 Selecttheoptioncorrespondingwiththedatabaseyouconfigured. Ifyouhavenotconfiguredasupporteddatabase,clickInstallMicrosoftSQL Server2005Express.Thisdatabaseissuitableforsmalldeploymentsofupto 5 hostsand50virtualmachines. Ifyouhaveconfiguredasupporteddatabase,clickUseanexistingdatabaseand enteryourdatabaseconnectioninformation: a Typethedatasourcename(DSN)associatedwithyourdatabase. ThismustbeasystemDSN. b IfyourdatabaseisalocalSQLServerdatabaseusingWindowsNT authentication,leavetheusernameandpasswordfieldsblank.Otherwise, typetheusernameandpasswordassociatedwiththedatasourcenameand clickNext. Ifyourconnectionfails,awarningappears.ClickOKandreenteryour databaseconnectioninformationuntilyoucancontinue.
VMware, Inc.
109
Selectoneofthefollowingoptions: TouseVirtualCenterinevaluationmode,selectIwanttoevaluate VirtualCenterServerandclickNext. Ifyouchoosethisoption,theenterpriseleveleditionofVirtualCenteris installedinevaluationmode.TheVMwareLicenseServerisalsoinstalledso thatyoucanswitchtolicensedmodeduringoraftertheevaluationperiod. TouseVirtualCenterinlicensedmodewithanexistinglicenseserver: i ii iii SelectUseanexistingLicenseServer. Enterthepathtoyourexistinglicenseserver. SelecttheVirtualCentereditionthatyoupurchasedandclickNext.
Ifyouchoosethisoption,theVMwareLicenseServerisinstalled. 9 Entertheportandproxyinformationthatyouwanttouseoracceptthedefault informationshownonscreenandclickNext.Thisstepappliesonlytocustom installations. ThedefaultportforHTTPSis443.IfyouconfigureVirtualCentertouseadifferent portforHTTPS,youmustusetheconfiguredportnumberwhenyouloginto VirtualCenter. 10 EnterinformationaboutthesystemonwhichyouareinstallingVirtualCenterand clickNext. Enter: TheIPaddressordomainnameofthesystemonwhichyouareinstalling VirtualCenter. Theloginandpasswordthatyouusetologintothesystemonwhichyouare installingVirtualCenter. 11 ForVMwareUpdateManager,youcanusethesamedatabasethatyouusefor VirtualCenter,oryoucanuseanotherdatabase.SeeStep 7.
110
VMware, Inc.
12
13
14
AcceptthedefaultdestinationfoldersandclickNext. Ifyoudonotwanttoacceptthedefaultdestinationfolders: ForVMwareInfrastructure,clickChangetoselectanotherlocationandclick Next. Fordownloadingpatches,clickChangetoselectanotherlocationandclick Next. CAUTIONToinstalltheVMwareInfrastructurecomponentsonadriveotherthan theC:drive,verifythereisenoughspaceintheC:\WINDOWS\Installerfolderto installtheMicrosoftWindowsInstaller.msifile.Ifyoudonothaveenoughspace, becauseofaknownissuewithWindowsInstaller,yourVMwareInfrastructure installationmightfail.
15
16
ClickFinishtocompletetheVMwareInfrastructureinstallation.
VMware, Inc.
111
112
VMware, Inc.
To enable a VirtualCenter-managed host to receive data on the default port Openport902inthefirewalltoallowdatatransfertotheVirtualCentermanagedhost fromVirtualCenteroranotherVirtualCentermanagedhost.Foradditionalinformation onconfiguringtheports,seeyourfirewallsystemadministrator.
VMware, Inc.
113
3 4
ClickYestoconfirmthatyouwanttoremovetheprogram. ClickFinish.
114
VMware, Inc.
11
11
Softwareupdatesmightbepatchesforaddressingcriticalsecurityissuesorurgentbug fixes,ortheymightbegeneralupdatesormaintenancereleases.Theymightbelocated onthelocalfilesystemoronanNFS,FTP,orHTTPserver.Eachupdateconsistsofa descriptorfileandasetofpackages.Thedescriptorcontrolstheinstallationprocessand checksthatrequirementsaremet.Forexample,youmightberequiredtopoweroffall virtualmachinesrunningontheserveryouareabouttoupdate,oryoumightneedto reboottheserveraftertheupdate. Thischapterdiscussestwoutilitiesyoucanusetoapplysoftwareupdatestothe VI ClientandESX Server 3isoftware.TheVMwareInfrastructureUpdateisagraphical userinterface(GUI)application.Thevihostupdateutilityisaremotecommandline interface(CLI)tool.Theseutilitiesarediscussedinthefollowingsections: PerformingMaintenancewithInfrastructureUpdateonpage 115 PerformingMaintenanceWiththevihostupdateUtilityonpage 119 RollingBackanUpdateonpage 122
VMware, Inc.
115
TheInfrastructure Updateperiodicallychecksfornewupdatesthatareapplicableto ESX Server 3ihostsconnectedtotheVI Client.Ifnewupdatesarediscovered, Infrastructure Updatedownloadstheimageandthecompanionsoftwareinthe background,andcachesthedownloadedupdatesinalocalrepository. NOTESoftwareupgradesaredifferentfromupdates.Upgradesareformajorreleases ofthetypex.0andminorsoftwarereleasesofthetypex.y.Forexample,ESX Server 2.0 andESX Server 2.5. VMwareupdatesareformaintenancereleasesofthetypex.y.zandpatches.For example,ESX Server2.5.3andESX Server2.5.3Patch2.Updatesarediscussedinthis chapter. Seehttp://www.vmware.com/download.
116
VMware, Inc.
To schedule a different day and time for update checks 1 2 ChooseStart>Programs>VMware>Infrastructure Update. OntheUpdatestab,enteradifferentdayandtime.
Afterallupdatesareapplied,VMwareUpdaterestartsallaffectedservices.
VMware, Inc.
117
5 6 7
To add hosts to the managed hosts list 1 2 3 ChooseStart>Programs>VMware>VMwareInfrastructure Update. OntheHoststab,selectthehoststocheckforupdates. OntheUpdatestab,clickCheckNow.
VMware, Inc.
119
To update a host 1 Poweroffanyvirtualmachinesthatarerunningonthehosttoupdate. Whenyourunthevihostupdateutility,thesoftwareplacesthehostinto maintenancemode.Thehostcannotbeplacedintomaintenancemodeunlessyou firstpoweroffallvirtualmachinesthatarerunningonthehost. 2 Onahostotherthanthehostyouareupdating,powerontheRemoteCLIandlog in. Youdonotneedtotypethepasswordonthecommandline.Ifnopasswordis specified,thetoolpromptsyouforthepasswordwithoutechoingtheoutputtothe terminal.Thismeansthepasswordyoutypeisnotvisibleinthewindowasyou runthecommand. YoucancreateasecureconnectiontotheRemoteCLI,byusingtheRemoteCLIIP address.IfyouareusingtheVI Client,youcanrightclicktheRemoteCLIand selectOpenConsole.IftheRemoteCLIisinstalledonyourWindowsorLinux system,youcanusetheinstalledapplication,inwhichcaseyoudonotneedtolog in. 3 4 5 DownloadthefileandcopyittotheRemoteCLIfilesystem. Runthevihostupdateutility. Rebootthehostfortheupdatestotakeeffect.
Forcommandsyntaxexamples,seeExamples:thevihostupdateUtilityonpage 121.
120
VMware, Inc.
-m
-q
VMware, Inc.
121
122
VMware, Inc.
12
12
ESX Server 3imonitoringletsyouchecktheconditionofthefollowinghost components: CPUprocessors Fans Memory Storage Temperature To monitor the condition of a host 1 2 LogontotheVI Clientandselecttheserverfromtheinventorypanel. ClicktheConfigurationtabandclickHealthStatus.
Ifacomponentisfunctioningnormally,thestatusindicatorisgreen.Theindicator changestoyelloworredifasystemcomponentviolatesaperformancethresholdoris notfunctioningproperly.Generally,ayellowindicatorsignifiesdegraded performance.Aredindicatorsignifiesthatacomponenthasstoppedoperatingorhas exceededthehighestthreshold. TheReadingcolumndisplaysthecurrentvaluesforthesensors.Forinstance,this columndisplaysrotationsperminute(RPM)forfansanddegreesCelsiusfor temperature. IfyouareusingVMwareDistributedResourceScheduler(DRS)andVMwareHigh Availability(HA),theseservicescantakeactionwhenhardwareeventsoccur.
VMware, Inc.
123
124
VMware, Inc.
Index
Numerics
27000, port 87 27010, port 87
D
databases Oracle 102 preparing 101 SQL Server 104 deactivating ESX Server 3i 49 default storage behavior 35 DHCP 31 DHCP, direct console 32, 33 direct console 25, 43 alternatives 40 boot setting 29 configuring the keyboard 27 DHCP 32, 33 DNS 33 DNS suffixes 34 IP addressing 32, 34 management network 31 navigating 27 network adapters 31 network settings 31 NICs 31 password configuration 38 security banner 28 static addressing 32, 33, 34 testing management network 34 VLAN ID 31 DNS suffixes, direct console 34 DPM, by edition 61 DRS, by edition 61
A
access, restricting 38 activation code, license 83 administrative password 38 applying patches 119 automatic updates 115
B
backing up a configuration 44, 45 virtual machines 61, 67 banner, security 28 BIOS 29 boot setting 29 build numbers 122
C
CD-ROM, booting from virtual 30 centralized licensing configuring 84 description 64 clients, firewall 111 configuration backup and restore 44, 45, 46 configuration defaults, resetting 39 configuring the keyboard 27 configuring, ports 111 connectivity 41 Consolidated Backup, licensing 61, 67
VMware, Inc.
125
E
editions 67 ESX Server 3i backing up and restoring the configuration 44 deactivating 49 editions 67 installing 19 recovering 47 update, rolling back 122 evaluation licenses 94
K
keyboard, localizing 27
L
LAC 60 license activation code 60, 83 license files installing 83 locations of 93 obtaining 83 license keys 64 license pool 64 license server availability 68 grace period 68 install 95 license types ESX Server 60 VirtualCenter Server 62 licenses, evaluation 94 licensing centralized 64 single-host 64 listening ports 111 local Oracle database 102 localizing, keyboard 27 lockdown mode 38
F
factory defaults, restoring 39 fan RPMs 123 firewall 111 floppy, booting from virtual 30
G
grace period, license server 68 guest operating systems 57
H
HA, by edition 61 hardware requirements, ESX Server 3i 20 health monitoring 123 hosts firewall 111 hosts, updates 117
I
IDE disks 21 installing ESX Server 3i 19 license server 95 Oracle database 102 updates 117, 118 VI Client 40 VirtualCenter Server 40, 111
M
management agent, restarting 41 management network direct console 31 testing 34 manual updates 118
126
VMware, Inc.
Index
memory, ESX Server 3i requirements 20 message, security 28 Microsoft Access database end of support life 55 monitoring, health 123 MSDE, preparing database 106
N
NAS, licensing 61 navigating, direct console 27 network settings, direct console 31 NICs, direct console 31 notifications for updates, disabling 118
O
ODBC databases 104 operating systems, guest 57 Oracle, preparing database 102
P
PAC 60 partitions 35 partner activation code 60 partner activation portal 60 password, administrative 38 patching 119 ports 27000 87 27010 87 configuring 111 firewall 111 license server 87 processor health 123
remote access, restricting 38 management clients 40, 53 Oracle database 102 Remote CLI 44, 119 removable media, updates 118 removing VirtualCenter 113 repairing ESX Server 3i 47 resetting configuration defaults 39 restarting management agent 41 restoring a configuration 44, 46 factory defaults 39 restricting access 38 rolling back an ESX Server 3i update 122 root access, restricting 38 RPMs, fans 123
S
SAS disks 21 SATA disks 21 scheduling, updates 116 scratch storage 35 SCSI 20 SCSI disks 21 SDK 15 security banner 28 serial number 37, 88 single-host licensing configuring 88 description 64 SMP, licensing 61 specifications ESX Server 3i hardware requirements 20 performance recommendations 21 SQL Server, preparing database 104
R
RCLI 44, 119 recovering ESX Server 3i 47 reinstalling VirtualCenter 113
VMware, Inc.
127
static addressing about 31 direct console 32, 34 static DNS, direct console 33 storage 35 support information 37 support, guest operating system 57 system requirements license server 56 updates 116 VirtualCenter database 55 system swap 35
V
VCB 61, 67 VI Client connectivity 41 installing 40 vihostupdate 119 bundle option 121 examples 121 install option 121 metadata option 121 query option 121 scan option 121 vihost option 119 virtual appliance, RCLI 44 virtual machines backing up 67 high availability 67 installing VirtualCenter on 114 migrating 52 powering on 68 RAM requirements 21 resource management 67 small deployments 55, 101 specifications 57 upgrading tools 52 virtual media 30 VirtualCenter connectivity 41 installing 40 VLAN ID, direct console 31 VMFS 35 VMotion, licensing 67 VMware Consolidated Backup 61, 67 DRS, licensing 67 HA, licensing 67 Infrastructure Update 115
T
TCP/IP ports 27000 87 27010 87 temperature 123 testing management network direct console 34 troubleshooting 39, 41
U
uninstalling VirtualCenter 113 updates automatic 115 disabling notifications 118 installing 117, 118 manual 115, 118 removable media 118 scheduling 116 selecting hosts 117 system requirements 116 using the RCLI 45, 46
128
VMware, Inc.
LastUpdated:June12,2009 ThisdocumentprovidesupdatestotheESXServer3iversion3.5Installableand VirtualCenter2.5versionoftheESXServer3iInstallableSetupGuide.Updated descriptions,procedures,andgraphicsareorganizedbypagenumbersothatyoucan easilylocatetheareasoftheguidethathavechanges.Ifthechangespansmultiple sequentialpages,thisdocumentprovidesthestartingpagenumberonly. ThefollowingisalistofupdatestotheESXServer3iInstallableSetupGuide: UpdatesfortheTableofSupportedDatabaseFormatsonPage 55 UpdatesfortheToprepareaSQLServerdatabasetoworkwithVirtualCenter ProcedureonPage 104 UpdatesfortheConfiguringCommunicationBetweenVirtualCenterComponents SectiononPage 111
VMware, Inc.
Update1
Note:VMwaresupports10.2.0.3.0andlater versionsofOracleDatabase10gRelease2.
Updates for the To prepare a SQL Server database to work with VirtualCenter Procedure on Page 104
ThefollowingtextshouldappearintheToprepareaSQLServerdatabasetoworkwith VirtualCenterprocedure: Makesurethatthedatabaseuserhasthefollowingpermissions: MicrosoftSQLServer2000Makesurethatthedatabaseuserhasthedb_owner fixeddatabaseroleontheVirtualCenterdatabaseandtheMSDBdatabase.The db_ownerroleontheMSDBdatabaseisrequiredforinstallationandupgradeonly. Youcanrevokethisroleaftertheinstallationorupgradeprocessiscompleted. Do notgranttheSystemAdministratorsserverroletothedatabaseuser.However, iftheSystemAdministratorsrolewaspreviouslygrantedwhilethedatabasewas usedwithVirtualCenterServer2.0.x,donotrevoketheSystemAdministrators role.Leaveitasis. MicrosoftSQLServer2005Makesurethatthedatabaseloginhaseitherthe sysadminserverroleorthedb_ownerfixeddatabaseroleontheVirtualCenter databaseandontheMSDBdatabase.Thedb_ownerroleontheMSDBdatabaseis requiredforinstallationandupgradeonly.Youcanrevokethisroleafterthe installationorupgradeprocessiscomplete.
Updates for the Configuring Communication Between VirtualCenter Components Section on Page 111
ThefollowingtextshouldappearintheConfiguringCommunicationBetween VirtualCenterComponentssection: Port443isrequiredforcommunicationfromVirtualCentertoESXServerhosts.
Update2
VMware, Inc.