Professional Documents
Culture Documents
Vi3!35!25 Installation Guide
Vi3!35!25 Installation Guide
This document supports the version of each product listed and supports all subsequent versions until the document is replaced by a new edition. To check for more recent editions of this document, see http://www.vmware.com/support/pubs.
VI-ENG-Q407-434
You can find the most up-to-date technical documentation on the VMware Web site at: http://www.vmware.com/support/ The VMware Web site also provides the latest product updates. If you have comments about this documentation, submit your feedback to: docfeedback@vmware.com
Copyright 20072010 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 is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.
Contents
AboutThisBook
1 IntroductiontoVMwareInfrastructure 11
VMwareInfrastructureataGlance 12 WhatsNewforInstallation 15 WhatsNewAboutInstallingVirtualCenterVersion 2.5 WhatsNewAboutInstallingESX Server 3.5 15 15
2 SystemRequirements 17
VMwareInfrastructureRequirements 17 VirtualCenter ServerRequirements 17 HardwareRequirements 17 VirtualCenter ServerSoftwareRequirements 18 VirtualCenterDatabaseRequirements 19 EndofSupportLifeforMicrosoftAccessDatabases 19 VI ClientRequirements 20 VI ClientHardwareRequirements 20 VI ClientSoftwareRequirements 20 VirtualCenterVIWebAccessRequirements 20 LicenseServerRequirements 21 LicenseServerHardwareRequirements 21 LicenseServerSoftwareRequirements 21 ESX Server 3Requirements 21 MinimumServerHardwareRequirements 21 EnhancedPerformanceRecommendations 24 HardwareandSoftwareCompatibility 25 SupportedGuestOperatingSystems 25 VirtualMachineRequirements 26
VMware, Inc.
5 LicensingVirtualCenterandESX Server 45
LicensingProcess 46 ObtainingLicenseFiles 48 SettingUpCentralizedLicensing 49 InstallingLicenseFiles 49 LocationoftheLicenseServer 49 ConfiguringLicenseServerLicensing 50 ChangingtheDefaultLicenseServerPorts 52 ChangingfromSingleHosttoCentralizedLicensing 53 SettingUpSingleHostLicensing 53 ConfiguringanESX ServerMachineforSingleHostLicensing 53 SingleHostandCentralizedLicensingintheSameEnvironment 54 ConfiguringLicensingforaMixedESX Server 2.xandESX Server 3.x Environment 55 ChangingfromCentralizedtoSingleHostLicensing 56
VMware, Inc.
Contents
LicenseFileContents 56 LicenseFileLocations 58 AddingNewLicenseFilestoLicenseServers 59 AddingNewLicenseFilestoSingleHosts 60 InstallingaLicenseServer 60 TroubleshootingLicensing 61 ReceivingLicenseActivationCodes 62 CheckingtheLicenseServer 62 CheckingtheLicenseFile 64 CheckingLicenseConfiguration 64
6 InstallingVMwareInfrastructureManagement 65
PreparingtheVirtualCenter ServerDatabase 66 ConfiguringanOracleConnectiontoWorkLocally 66 ConfiguringanOracleConnectiontoWorkRemotely 67 ConfiguringaSQLServerODBCConnection 68 ConfiguringMicrosoftSQLServer2005Express 71 MaintainingYourVirtualCenterDatabase 71 InstallingVMwareInfrastructureManagementSoftware 71 VirtualCenter ServerPrerequisites 72 ComponentsInstalled 72 InstallationProcedure 73 ConfiguringCommunicationBetweenVirtualCenterComponents 76 ConnectingtoYourVirtualCenter ServerThroughaFirewall 76 ConnectingtoYourManagedHostsThroughaFirewall 77 ConnectingHostswiththeLicenseServerThroughaFirewall 77 UninstallingVMwareInfrastructureComponents 77 InstallingVirtualCenterinaVirtualMachine 78
7 InstallingVMwareESX ServerSoftware 81
PreparingtoInstall 81 InstalledComponents 81 InstallationMethods 82 UsingRemoteManagementApplications 82 InstallationonSATADrives 82 LUNRequirements 83 InstallingESX Server 83 NavigationintheInstaller 84
VMware, Inc.
ESX ServerInstallationProcedure 84 MouseSelection 88 RecommendedPartitioning 88 AdvancedPartitioning 89 SettingYourTimeZone 92 PostinstallationConsiderations 93 LocatingtheInstallationLogs 93 AssigningNewHardwareontheServer 93 InstallingAdditionalDriversfromtheVMwareDriverDisk 93 VerifyingYourDeviceDriverMappings 94 DownloadingtheVI Client 94
A ESX ServerPartitioning 95
RequiredPartitions 95 OptionalPartitions 99
B RemoteandScriptedInstallations 101
ScriptingYourInstallations 101 EnablingScriptedInstallation 102 SettingUptheScript 103 CreatingaScriptUsingVIWebAccess 103 RunningaScriptedInstallationfromtheKickstartFile 107 EditingtheKickstartConfigurationFile 107 %includeSection 107 CommandSection 108 %packagesSection 112 %preSection 112 %postSection 112 %vmlicense_textSection 113 SampleKickstartFile 113
Index 115
VMware, Inc.
FortopicsspecifictoESXServer3.5,thisbookusesthetermESXServer3. FortopicsspecifictoESXServer3iversion3.5,thisbookusestheterm ESX Server 3i. Fortopicscommontobothproducts,thisbookusesthetermESXServer. Whentheidentificationofaspecificreleaseisimportanttoadiscussion,thisbook referstotheproductbyitsfull,versionedname. WhenadiscussionappliestoallversionsofESXServerforVMware Infrastructure 3,thisbookusesthetermESXServer3.x.
Intended Audience
ThismanualisintendedforanyonewhoneedstoinstallESX Server 3.5and VirtualCenter2.5.TheinformationinthismanualiswrittenforexperiencedWindows orLinuxsystemadministratorswhoarefamiliarwithvirtualmachinetechnologyand datacenteroperations.
VMware, Inc.
Document Feedback
VMwarewelcomesyoursuggestionsforimprovingourdocumentation.Ifyouhave comments,sendyourfeedbackto: docfeedback@vmware.com
VMware, Inc.
Support Offerings
FindouthowVMwaresupportofferingscanhelpmeetyourbusinessneeds.Goto http://www.vmware.com/support/services.
VMware, Inc.
10
VMware, Inc.
VMwareInfrastructureataGlanceonpage 12 WhatsNewforInstallationonpage 15
VMware, Inc.
11
license server
VirtualCenter
database
Web browser
12
VMware, Inc.
ThemajorcomponentsofVMwareInfrastructureare:
ESX ServerESX Serverprovidesavirtualizationlayerthatabstractsthe processor,memory,storage,andnetworkingresourcesofthephysicalhostinto multiplevirtualmachines. ESX Server 3installationincludesdocumentationintheformofmanpages availablefromtheserviceconsole.See InstallingVMwareESX ServerSoftware onpage 81.
VirtualCenterServerThisserverinstallsonaWindowsmachine,eitherphysical orvirtual,tocentrallymanageyourVMwareESX Serverhosts.The VirtualCenter ServerallowstheuseofadvancedVMwareInfrastructurefeatures suchasVMwareDRS,VMware HA,andVMotion. AVMwareSDKWebserviceisinstalledwiththeVirtualCenter Server. See InstallingVMwareInfrastructureManagementSoftwareonpage 71.
VirtualCenterPluginsOptionalapplicationsthatprovideadditionalcapabilities andfeaturestoVirtualCenter.Generally,pluginsarereleasedseparately,installon topofVirtualCenter,andcanbeupgradedindependently.Youcaninstallserver componentsofpluginsonthesamecomputerwheretheVirtualCenter Server resides,oronaseparateone.Aftertheservercomponentofapluginisinstalled, youcanactivatethepluginsclientcomponent,whichenhancestheVI Clientwith appropriateUIoptions. Documentationprovidedwitheachpluginoffersinformationonhowserver componentsofpluginsareinstalled. Forinformationonhowtoinstalltheclientcomponent,verifywhichpluginsare installed,andhowtodisableoruninstallpluginsthatyouarenotusing,seeBasic SystemAdministration.
VMware, Inc.
13
Thefollowingpluginsareavailable:
VMwareConverterEnablesyoutoconvertphysicalorvirtualmachinesinto ESX Servervirtualmachines.Afterconvertingthevirtualmachines,youcan addthemtoyourVirtualCenterinventory. VMwareUpdateManagerProvidessecuritymonitoringandpatching supportforESX Serverhostsandvirtualmachines. Inadditiontoanindependentservercomponentinstallation,thisrelease supportsthecombinedinstallationfortheVirtualCenter ServerandUpdate Manager.See InstallingVMwareInfrastructureManagementSoftwareon page 71.Ifyouareupgrading,seetheUpgradeGuide.Forinformationon UpdateManager,seetheUpdate ManagerAdministrationGuide.
WebAccessAbrowserletsyoudownloadtheVI Clientfromthe VirtualCenter ServerorESX Serverhosts.Whenyouhaveappropriatelogin credentials,WebAccessalsoletsyouperformlimitedmanagementofyour VirtualCenter ServerandESX Serverhosts. LicenseserverThisserverinstallsonaWindowssystemtoauthorizethe VirtualCenter ServersandESX Serverhostsappropriatelyforyourlicensing agreement.AdministratorsmakechangestosoftwarelicensesusingtheVI Client. See SettingUpCentralizedLicensingonpage 49. DatabaseTheVirtualCenter Serverusesadatabasetoorganizeallthe configurationdatafortheVMwareInfrastructureenvironment.Forsmall deployments,thebundledMicrosoftSQLServer2005Expressdatabaseletsyouset upalimitednumbersofhostsandvirtualmachines(5hostsand50virtual machines).VirtualCentersupportsseveralotherdatabaseproductsforlarger deployments.See PreparingtheVirtualCenter ServerDatabaseonpage 66.
14
VMware, Inc.
Othernewfeaturesdonothaveanimpactonanyinstallationorupgradeprocesses.
Othernewfeaturesdonothaveanimpactonanyinstallationorupgradeprocesses.
VMware, Inc.
15
16
VMware, Inc.
System Requirements
Hardware Requirements
TheVirtualCenter Serverhardwaremustmeetthefollowingrequirements:
VMware, Inc.
18
VMware, Inc.
MicrosoftSQLServer2005Enterprise
MicrosoftSQLServer2005ExpressSP2
VMware, Inc.
19
VI Client Requirements
ThefollowingsectionslistVI Clienthardwareandsoftwarerequirements.
20
VMware, Inc.
Atleasttwoprocessors:
VMware, Inc.
21
1GBRAMminimum. OneormoreEthernetcontrollers.Supportedcontrollersinclude:
BroadcomNetXtreme570xgigabitcontrollers IntelPRO/100adapters
ASCSIadapter,FibreChanneladapter,orinternalRAIDcontroller:
22
VMware, Inc.
SCSIdiskdrivesSCSIdiskdrivesaresupportedforinstallingESX Server 3. TheycanalsostorevirtualmachinesonVMFSpartitions. Storageareanetworks(SANs)SANs,bothFibreChannelandiSCSI,are supportedforinstallingESX Server 3.Theycanalsostorevirtualmachineson VMFSdatastores.Forinformationaboutpreinstallationandconfigurationtasks andknownissueswithinstallingandbootingfromFibreChannelSANs,seethe SANConfigurationGuideatwww.vmware.com/support/pubs/vi_pubs.html. NOTETheminimumsupportedLUNcapacityforVMFS3is1200MB.
VMware, Inc.
23
RAMHavingsufficientRAMforallyourvirtualmachinesisimportantto achievinggoodperformance.ESX Server 3hostsrequiremoreRAMthantypical servers.AnESX Server 3hostmustbeequippedwithsufficientRAMtorun concurrentvirtualmachines,plusruntheserviceconsole. For example,operatingfourvirtualmachineswithRed Hat Enterprise Linuxor Windows XPrequiresyourESX Server 3hostbeequippedwithoveragigabyteof RAMforbaselineperformance:
DedicatedfastEthernetadaptersforvirtualmachinesDedicatedgigabit Ethernetcardsforvirtualmachines,suchasIntelPRO/1000adapters,improve throughputtovirtualmachineswithhighnetworktraffic. DisklocationForbestperformance,alldatausedbyyourvirtualmachines shouldbeonphysicaldisksallocatedtovirtualmachines.Thesephysicaldisks shouldbelargeenoughtoholddiskimagestobeusedbyallthevirtualmachines. VMFS3partitioningForbestperformance,useVI ClientorVIWebAccesstoset upyourVMFS3partitionsratherthantheESX Server 3installer.UsingVI Clientor VIWebAccessensuresthatthestartingsectorsofpartitionsare64Kaligned, whichimprovesstorageperformance.
24
VMware, Inc.
ProcessorsFasterprocessorsimproveESX Server 3performance.Forcertain workloads,largercachesimproveESX Server 3performance. HardwarecompatibilityToensurethebestI/Operformanceandworkload management,VMwareESX Server 3providesitsowndriversforsupported devices.Besurethatthedevicesyouuseinyourserveraresupported.For additionaldetailsonI/Odevicecompatibility,downloadtheESX ServerI/O CompatibilityGuidefromwww.vmware.com/support/pubs/vi_pubs.html.
VMware, Inc.
25
Virtualprocessor
IntelPentiumIIorlater(dependentonsystemprocessor) One,two,orfourprocessorspervirtualmachine
VirtualchipsetIntel440BXbasedmotherboardwithNS338SIOchip VirtualBIOSPhoenixBIOS4.0Release6
26
VMware, Inc.
LicensingTerminologyonpage 28 ESX Server 3Editionsonpage 28 VirtualCenter ServerEditionsonpage 30 VirtualCenterandESX Server 3LicensingModelonpage 30 LicenseKeyFunctionalityonpage 33 LicenseExpirationConsiderationsonpage 35 LicenseServerAvailabilityonpage 35 UsinganExistingFLEXnetLicenseServeronpage 39 ContactingSupportonpage 40
VMware, Inc.
27
Licensing Terminology
Termsyoumightencounterduringthelicenseredemptionandconfigurationprocess aredefinedbelow:
LicenseactivationcodeAlicenseactivationcode(LAC)isauniquecodethatis associatedwithoneormoreVMwareproductspurchased.Youreceivethiscode afteryourorderisprocessed,unlessyoupurchasedyourproductsfroman authorizedVMwarereseller,inwhichcaseyoureceiveapartneractivationcode. PartneractivationcodeApartneractivationcodeisauniquecodeidentifying ordersplacedthroughVMwarepartners.IfyoupurchasedVMware Infrastructure 3fromanauthorizedVMwarereseller,usethiscodetoregisteryour purchasetoyourVMwarestoreaccount. LicenseactivationportalThelicenseactivationportalisaselfserviceWebportal thatyoucanusetoredeemyourlicenseactivationcodesanddownloadlicensefiles forVMwareInfrastructure 3. PartneractivationportalApartneractivationportalisaselfserviceWebportal youusetoregisterapurchasemadefromanauthorizedVMwareresellertoyour VMwarestoreaccount.Youenteryourpartneractivationcodeintotheportaland downloadyourlicensefilesfromthelicenseactivationportal.
28
VMware, Inc.
Table 31displaysESX Server 3featuresarrangedbyedition. Table 3-1. Edition Features for ESX Server 3 Machines
Feature Licensetype 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 VMwareConsolidatedBackup (VCB) VMwareUpdateManager VMwareHA ServerVMotionand Storage VMotion VMwareDRSandDPM (DistributedResource ManagementandDistributed PowerManagement) Guidedserverconsolidation, with purchaseof VirtualCenterServer ManageablebytheVI Client RemoteCLIaccess ManageablebyVirtualCenter in productionmode ManageablebyVirtualCenter inevaluationmode VirtualCenterManagement Agent
Yes
Yes
Yes
VMware, Inc.
29
30
VMware, Inc.
Figure 31illustratesthethreetypesoflicenseenvironments. Figure 3-1. License File Locations in Single-Host, Mixed, and Centralized Environments
host-based licensing
VI Clients ESX host license file ESX host license file
server-based licensing
VI Clients ESX host
ESX host
VirtualCenter (recommended)*
license server
license server
license file
license file
Centralized Licensing
Centralizedlicensingsimplifieslicensemanagementinlarge,dynamicenvironments byallowingaVMwarelicenseservertoadministerlicenses.Withcentralizedlicensing, youmaintainallyourVirtualCenter ServerandESX Serverlicensesfromoneconsole. CentralizedlicensingisbasedonFLEXnetmechanisms.Withcentralizedlicensing,a licenseservermanagesalicensepool,whichisacentralrepositoryholdingyourentire licensedentitlement.
VMware, Inc.
31
Youadministeralllicensingfromasinglelocation. NewlicensesareallocatedandreallocatedusinganycombinationofESX Server formfactors.For example,youcanusethesame32processorlicenseforsixteen 2processorhosts,eight4processorhosts,four8processorhosts,two16processor hosts,oranycombinationtotaling32processors. Ongoinglicensemanagementissimplifiedbyallowinglicensestobeassignedand reassignedasneeded.Assignmentchangesastheneedsofanenvironment change,suchaswhenhostsareaddedorremoved,orpremiumfeatureslike VMotion,DRS,orHAaretransferredamonghosts. Duringperiodsoflicenseserverunavailability,althoughnewlicensescannotbe issued,existingVirtualCenter Serverlicensedfunctionalitycontinuestooperate indefinitelyandexistingESX Serverlicensedfunctionalitycontinuestooperate withina14daygraceperiod.See LicenseServerAvailabilityonpage 35.
VMwarerecommendsusingthecentralizedlicensetypeforlarge,changing environments.
Single-Host Licensing
Withsinglehostlicensing,yourtotalentitlementforpurchasedfeaturesisdivided amongseparatelicensefilesresidingonESX ServerhostsandtheVirtualCenter Server. Withsinglehostlicensing,whensomeoneactivatesalicensedfeature,thefeaturefor thatentitlementmustresideinthelicensefileonthathost.Withsinglehostlicensing, youmaintainseparatelicensefilesoneachESX Serverhost.Distributionofunused licensesisnotautomatic,andthereisnodependenceonanexternalconnectionfor licensing.SinglehostlicensefilesareplaceddirectlyonindividualESX Serverhosts andreplacetheserialnumbersusedbypreviousversionsofESX Serverversion 2.x. Theadvantagesofsinglehostlicensinginclude:
32
VMware, Inc.
Licensedfeaturesalsodifferintheiroperationbasedonwhethertheyareconsideredto beESX ServerorVirtualCenterfeatures.ESX Serverfeaturescanbelicensedusing eithersinglehostorcentralizedlicensingmechanisms.Theydonotrequire VirtualCenteroralicenseservertouse.VirtualCenterfeaturesrequirecentralized licensing.ESX ServerfeaturesandVirtualCenterfeaturesalsodifferintheirbehavior whenthelicenseserverisnotavailable.See LicenseServerAvailabilityonpage 35. Table 32summarizesthelicensefeaturetypesforVMwareInfrastructure 3. Table 3-2. Summary of License Feature Types
Feature ESX Server VirtualCenter Server VirtualCenterAgentforESX Server VMwareConsolidatedBackup(VCB) ServerVMotionandStorageVMotion VMware HA VMwareDRSandDPM ESX Server or VirtualCenter ESX Server VirtualCenter VirtualCenter ESX Server VirtualCenter VirtualCenter VirtualCenter Per-Processor or Per-Instance PerProcessor PerInstance PerProcessor PerProcessor PerProcessor PerProcessor PerProcessor
Per-Processor Licensing
FormostVMwareInfrastructureproducts,youpurchaselicensesonaperprocessor basis,whichmeansthatyouneedtoindicatethetotalnumberofprocessors,nothosts, thatwillruntheproducts.Youcandeployandredeploythepurchasedprocessor capacity,soldinincrementsoftwoprocessors,onanycombinationofhosts.
VMware, Inc.
33
ESX Serveronfive2processorhosts.EnableVMotiononthreehosts. ESX Serveronthree2processorhostsandone4processorhost.EnableVMotion onthree2processorhosts,oronone2processorhostanda4processorhost. ESX Serverontwo4processorhostsandone2processorhost.EnableVMotionon one4processorhostandone2processorhost. ESX Serveronone8processorhostandone2processorhost.VMotionbetween thesetwohostscannotbeenabledunlessyoupurchaseanadditional4processor VMotionlicense.
Specialconsiderationsinclude:
Dualcoreandquadcoreprocessors,suchasIntelx86processorsthatcombinetwo orfourindependentcentralprocessingunitsonasinglechip,countasone processor. Youcannotpartiallylicenseamultiprocessorhost.For example,a4CPUhost requiresalicensewiththecapacityforfourprocessors. Singleprocessorlicensingissupportedforserverbasedlicenses.Ingeneral,for serverbasedlicensing,checkoutoflicensesinoddquantitiesissupported. However,hostbasedfilescannotbegeneratedwithoddquantities.Theymustbe generatedinmultiplesoftwo.
Thefollowingfeaturesarelicensedonaperprocessorbasis:
ESX ServerTopoweronavirtualmachine,ahostmusthavelicensingona perprocessorbasis.Thismeansadualprocessorhostrequirestwomatching ESX Serverlicenses.AfourprocessormachinerequiresfourmatchingESX Server licenses.See ESX Server 3Editionsonpage 28. VMwareConsolidatedBackup(VCB)ToleveragethenewConsolidated BackupcapabilitiesandbackupofallvirtualmachinesrunningonanESX Server hostaVCBlicensekeymustbeavailableforeachprocessorwithinthathost. See theVirtualMachineBackupGuideforadescriptionofthisfeature. VirtualCenterAgentforESX ServerThisagentisinstalledonanESX Server hostwhenitisaddedtoyourVirtualCenter Server.Youmusthaveoneagent licensekeyforeachESX Serverprocessortobeaddedtoyour VirtualCenter Server.
34
VMware, Inc.
ServerVMotionandStorageVMotionTomigrateapoweredonvirtual machinebetweenhosts,eachESX ServerprocessorinvolvedmusthaveaVMotion licensekey.For example,ifyouuseVMotionfromadualprocessorESX Server hosttoanotherdualprocessorhost,youmusthavefourVMotionlicenses. See BasicSystemAdministration. VMware HATorestartvirtualmachineswhoseESX Serverhosthasfailed,the VirtualCenter ServermusthaveanHAlicensekeyforeachESX Serverprocessor intheHAcluster.See theResourceManagementGuide. VMwareDRSandDPMToprovideloadbalancingofvirtualmachinesamong hostsanddistributedpowermanagement,theVirtualCenter Servermusthavea DRSlicensekeyforeachESX ServerprocessorintheDRScluster.See theResource ManagementGuide.Asaprerequisite,DRSrequiresappropriateVMotionlicense keysforallhostsintheDRScluster.
Per-Instance Licensing
Featuresthatarelicensedonaperinstancebasisrequireonlyonelicensekeyper featureinstance,regardlessofthenumberofprocessorsused.TheVirtualCenter Server iscurrentlytheonlyfeaturelicensedonaperinstancebasis. ForinformationondifferenteditionsofVirtualCenter,seeVirtualCenter Server Editionsonpage 30.
VMware, Inc.
35
However,alllicensedfunctionalitycurrentlyoperatingatthetimethelicenseserver becomesunavailablecontinuestooperateasfollows:
Virtualmachinescontinuetorun.VI Clientscanconfigureandoperatevirtual machines. ESX Serverhostscontinuetorun.YoucanconnecttoanyESX Serverhostinthe VirtualCenterinventoryforoperationandmaintenance.Connectionstothe VirtualCenter Serverremain.VI Clientscanoperateandmaintainvirtual machinesfromtheirhosteveniftheVirtualCenter Serverconnectionisalsolost.
Duringthegraceperiod,restrictedoperationsinclude:
36
VMware, Inc.
Table 33displaysESX Serverlicensedoperationspermittedwhilethelicenseserveris unavailable. Operationsthatarenotpermittedareoperationsthatrequiretheacquisitionofnew licensesfromthelicenseserver. Table 3-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
Continueoperations. Poweronandpoweroff. ConfigureESX Serverhostwith VI Client. Modifylicensefileforsinglehost licensing. Restartvirtualmachineswithinthe failedhostsHAcluster. Addorremovelicensekeys.
VMware, Inc.
37
Table 34listsVirtualCenterlicensedoperationsthatarepermittedwhenthelicense serverisunavailable. Operationsthatarenotpermittedareoperationsthatrequiretheacquisitionofnew licensesfromthelicenseserver. Table 3-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(seenext entry). AddanESX Serverhosttoinventory. Connect/reconnecttoanESX Serverhostin inventory. Moveapoweredoffvirtualmachinebetweenhosts ininventory(coldmigration). MoveanESX Serverhostamongfoldersin inventory. MoveanESX ServerhostoutofaVMotionDRSHA cluster(seenextentry). MoveanESX ServerhostintoaVMotionDRSHA cluster. ConfiguretheVirtualCenter ServerwithVI Client. StartVMotionbetweenhostsininventory. ContinueloadbalancingwithinaDRScluster. Addorremovelicensekeys.
38
VMware, Inc.
TheVirtualCenter Serverusesaheartbeatmechanismtocheckwhetherthelicense serverisreachableandtodetermineiftherehavebeenanychangesinthelicensefile. Theheartbeatintervalisfiveminutes.ItmighttaketheVirtualCenter Serveruptofive minutestodetectiftherearelicensechangesorifthelicenseserverhasbecome unavailable. Whenthelicenseserverbecomesunavailable,orifachangeinthelicensefilecausesa checkedoutlicensetoberemoved,theVirtualCenter Servermarkstheaffectedlicenses asUnlicensedUse,andthelicensedfeaturescontinuetooperateasdescribedabove. Whenthelicenseserverbecomesavailableagain,orwhenlicensesarereaddedtothe licensefile,theVirtualCenter Serverchecksoutthelicensesagainandrevertsthemto theLicensedstate.Ifalicensecannotbecheckedout,thelicenseremainsinthe UnlicensedUsestate. Iflicenseserveravailabilityisaconcerninyourenvironment,consideroneofthe followingstrategies:
InstallthelicenseserveronthesamemachineastheVirtualCenter Server.Thisis thedefaultoptionprovidedbytheVirtualCenterinstaller. Installthelicenseserverinavirtualmachine,andplacethatvirtualmachineinan HAcluster.VMware HArestartsthelicenseservermachineonanotherESX Server hostincaseoffailure. UsesinglehostlicensefilesonESX Serverhosts.
VMware, Inc.
39
Contacting Support
Ifyourequireassistancewithlicensing,contactVMwareforsupportasfollows:
40
VMware, Inc.
VMware, Inc.
41
Licensing VirtualCenter and ESX Server After the Evaluation Period Expires
Afterthe60dayevaluationperiodexpires,unlessyouobtainlicensesforyour software,youarenolongerabletoperformmostoperationsinVirtualCenterand ESX Server.For example,youcannotpoweronvirtualmachines,addnewhosts,oruse advancedESX ServerandVirtualCenterfeatures. IfyoudonotlicenseVirtualCenterbeforetheevaluationperiodexpires,allofthehosts intheVirtualCenterinventoryaredisconnected. NOTEReinstallingtheVirtualCenter Serverafterthe60dayevaluationexpiresdoes notrestarttheevaluationperiodfromthebeginning. Table 41detailstheESX Serverbehaviorafterevaluationmodeexpires.Theoperations thatarenotpermittedrequiretheacquisitionofnewlicenses. Table 4-1. ESX Server Operations After the 60-Day Evaluation Period
Component Virtualmachine Attempted Action Poweron Create/delete Suspend/resume ConfigurevirtualmachinewithVI Client ESX Serverhost Continueoperationsonexistinghosts Poweron/poweroff ConfigureESX ServerhostwithVI Client Restartvirtualmachineswithinthefailed hostsHAcluster Addorremovelicensekeys After 60 Days NotPermitted Permitted Permitted Permitted Permitted Permitted Permitted NotPermitted Permitted
42
VMware, Inc.
Chapter 4 Running VMware VirtualCenter and VMware ESX Server in Evaluation Mode
Considerations When You Switch ESX Server and VirtualCenter to Licensed Modes
WhenyouswitchyourVirtualCenterandESX Serverfromevaluationmodetothe licensedmode,considerthefollowing:
VMware, Inc.
43
44
VMware, Inc.
LicensingProcessonpage 46 ObtainingLicenseFilesonpage 48 SettingUpCentralizedLicensingonpage 49 SettingUpSingleHostLicensingonpage 53 LicenseFileContentsonpage 56 LicenseFileLocationsonpage 58 AddingNewLicenseFilestoLicenseServersonpage 59 AddingNewLicenseFilestoSingleHostsonpage 60 InstallingaLicenseServeronpage 60 TroubleshootingLicensingonpage 61
VMware, Inc.
45
Licensing Process
Figure 51summarizesthelicenseconfigurationprocessesforESX Server 3. Figure 5-1. License Configuration Process for ESX Server 3
Purchase and install ESX Server 3
Served
Local
46
VMware, Inc.
Figure 52summarizesthelicenseconfigurationprocessesfortheVirtualCenter Server. Figure 5-2. License Configuration Process for the VirtualCenter Server
Acquire VirtualCenter installer Purchase licenses
No
Run installer
Yes
No
Enter path to existing license server and your VirtualCenter Server edition
VMware, Inc.
47
AfteryoupurchaseVMwareInfrastructuresoftware,dothefollowingtoobtainanduse yourlicenses: 1 Decidewhichlicensingmodeltouse. VMwareInfrastructure3usesFLEXnetlicensing,whichoffersachoiceoflicense types:centralized,singlehost,ormixed.See SingleHostandCentralizedLicense Typesonpage 30. 2 Registeryourpurchase. WhetheryoupurchasedVMwareInfrastructure 3fromanauthorizedVMware resellerordirectlyfromVMware,registeryourpurchasetoyourVMwarestore account.See ObtainingLicenseFilesonpage 48. 3 Obtainlicensefiles. Afteryouregisteryourpurchase,usetheWebbasedlicenseactivationportalto generateanddownloadlicensefilesappropriatetothelicensingmodelyouchose inStep 1.See ObtainingLicenseFilesonpage 48. 4 5 InstallVirtualCenterandESX Server. ConfigureyourlicensingaccordingtothelicensetypeyouchoseinStep 1:
Toconfigurecentralizedlicensing,see SettingUpCentralizedLicensingon page 49. Toconfiguresinglehostlicensing,see SettingUpSingleHostLicensingon page 53. Toconfigureamixedlicenseenvironment,see SingleHostandCentralized LicensingintheSameEnvironmentonpage 54.
48
VMware, Inc.
VMware, Inc.
49
d 5
ClickOKtoclosethedialogboxandsaveyourchanges.
ClickOKtosaveyourchanges. Youdonothavetochangeanyothersettingstoenablecentralizedlicensing.
50
VMware, Inc.
Ifyoudidnotselectthecheckboxfortheoptionalsetting,followtheprocedureinthe nextsectiontomanuallyconfigureESX Serverhoststousecentralizedlicensing. To configure centralized licensing for an ESX Server host 1 2 3 4 FromtheVI Client,selectthehostintheinventory. ClicktheConfigurationtab. UnderSoftware,clickLicensedFeatures. Tosetthelicenseserver: a ClickEdittotherightofLicenseSources. TheLicenseSourcesdialogboxappears. b ClicktheUseLicenseServerbutton. Thisisthedefaultconfiguration. c Enterthelicenseservermachinenameand,optionally,aportintotheAddress field.Ifyoudonotspecifyaport,thedefaultport,27000,isused. For example,withthedefaultlicenseserverport27000 onalicenseserver called license-1,yourentrymightlooklikethis:
license-1.vmware.com:27000
d 5
ClickOKtoclosethedialogboxandsaveyourchanges.
SettheESX Serveredition: a b ClickEdittotherightofESX ServerLicenseType. Specifytheeditionforthehost,orselectUnlicensedtoreleasethishosts licensesbacktothelicenseserver.TheESX ServerLicenseTypedialogbox displaysonlythoseeditionsthatareavailabletoyourESX Serverhost. ClickOKtoclosethedialogboxandsaveyourchanges.
c 6
To configure local license server licensing for the VirtualCenter Server 1 2 3 4 FromtheVI Client,chooseAdministration>VirtualCenterManagementServer Configuration. ClickLicenseServerinthelistontheleft. ClicktheUselicenseservicesonthisVirtualCenter Serverbutton. (Optional)IfyoudonotwantVirtualCentertooverridethehostscurrentlicense setting,deselectthecheckboxforChangehostlicenseserversettingstomatch VirtualCenterssettingwhentheyareaddedtoinventory. SelectingthischeckboxcausestheVirtualCenter Servertooverridethehosts currentlicensesettingandinsteadusethelicenseserverusedbyVirtualCenter. MakesurethatyouuseanIPaddressthatisaccessiblefromtheESX Serverhost. IfyouconfigureVirtualCentertousealocallicenseserverandthehostnameofthe locallicenseserver(VirtualCentershost)isnotresolvablefromtheESX Server host,theESX Serverhostisnotabletoacquirelicensesfromthelocallicenseserver. 5 ClickOKtosaveyourchanges. Youdonothavetochangeanyothersettingstoenablelocallicenseserver licensing. Thetotalnumberoflicensesconsumedandavailableonthelicenseserverare summarizedontheLicensestabintheAdminviewoftheVI Clientconnectedtothe VirtualCenter Server.(ThistabwaslabeledLicenseViewerinearlierversionsof VirtualCenter.) NOTEIfyoudidnotselectthecheckboxfortheoptionalsetting,followtheprocedure inToconfigurecentralizedlicensingforanESX Serverhostonpage 51tomanually configureESX Serverhoststouselicenseserverlicensing.
52
VMware, Inc.
To open a specific port in the service console firewall 1 2 Logintotheserviceconsoleastherootuser. Executethiscommand: esxcfg-firewall --openPort <portnumber>,tcp,out,"License Server"
TouseaFLEXnetlicenseserverinstalledinyourenvironment,see Usingan ExistingFLEXnetLicenseServeronpage 39. Toinstallastandalonelicenseserver,see InstallingaLicenseServeron page 60. ToinstallalicenseserveraspartofaVirtualCenterinstallation,see Chapter 6, InstallingVMwareInfrastructureManagement,onpage 65.
VMware, Inc.
53
To use the VI Client to configure single-host licensing 1 2 3 4 FromtheVI Client,selectthehostintheinventory. ClicktheConfigurationtab. UnderSoftware,clickLicensedFeatures. ClickEdittotherightofLicenseSources. TheLicenseSourcesdialogboxappears. 5 6 ClicktheUseHostLicenseFilebutton. ClickBrowseandlocatethelicensefile. Thisfilemustbelocatedontheclientmachine,notontheESX Serverhost.License filesmusthavea.lic extensionappearinthefilebrowser. 7 ClickOKtosaveyourchanges.
AnysinglehostlicensefileontheESX Servermachineremainsunchangedbutignored. CAUTIONIfyourestoreanESX Servermachinetosinglehostlicensingwithout changingtheVirtualCenterdefaultconfiguration,theVirtualCenter Serversettings mightoverridethesinglehostsettingsontheESX Servermachine. To change VirtualCenter settings to allow single-host ESX Server licensing 1 2 3 FromtheVI Client,chooseAdministration>ServerSettings. ClickLicenseServerinthelistontheleft. DeselectthecheckboxforChangehostlicenseserversettingstomatch VirtualCenterssettingwhentheyareaddedtoinventory.
54
VMware, Inc.
4 5
Configuring Licensing for a Mixed ESX Server 2.x and ESX Server 3.x Environment
YoucanusetheVirtualCenter Server2.xtomanageamixedenvironmentofboth ESX Server 2.xandESX Server 3.xhosts.Youreceivelicenseactivationcodeswith purchasesofVMwareInfrastructure 3StandardeditionandVMwareInfrastructure 3 EnterpriseeditionthatcanberedeemedforbothESX Server 2.xserialnumbersandfor VMwareInfrastructure 3licensefiles. To configure licensing for the ESX Server 2.x hosts in the mixed environment 1 2 LeavethelicensingonexistingESX Server 2.xhostsusingserialnumbers unchanged. FornewESX Server 2.xinstallations,redeemyourlicenseactivationcode(s)onthe licenseactivationportalforESX Server 2.xserialnumbers. Providetheseserialnumbersatthetimeofinstallationorconfiguration. 3 Redeemyourlicenseactivationcode(s)togenerateacentralizedlicensefile containinglicensesforVirtualCenter Server,VirtualCenterManagementAgents, VMotion,andESX Server 3.x. YourgeneratedlicensefilecanincludeESX Server 3.xlicensesforthe ESX Server 2.xhostsforwhichyouobtainedESX Server 2.xserialnumbersin Step 2.Thisletsyoudistributelicensestothesehostsiftheyarelaterupgradedto ESX Server 3.x. 4 InstallandconfiguretheVirtualCenter Server2.xtousethecentralizedlicensefile yougenerated. See Chapter 6,InstallingVMwareInfrastructureManagement,onpage 65.
VMware, Inc.
55
Thissectionappearsonlyinalicenseserverfileandindicatesthatlicensekeysshould beservedonalicenseserver.Thereisnomodesectioninsinglehostlicensefiles.
56
VMware, Inc.
Centralizedfilesandsinglehostfilesaredifferentiatedbytwofeatures:
VMware, Inc.
57
Centralizedlicensefilesareplacedatthefollowingdefaultlocationonthe machinerunningtheVMwarelicenseserver:
C:\Program Files\VMware\VMware License Server\Licenses
NOTEInVirtualCenter 2.0,thedefaultlocationofthelicensefilewas C:\Documents and Settings\All Users\Application Data\VMware\ VMware License Server\vmware.lic.Thislocationnolongerexists. Youcanaddnewlicensefilestothelicensedirectory.See AddingNewLicense FilestoLicenseServersonpage 59.
58
VMware, Inc.
RestarttheVMwareLicenseServerservice.
ThefollowingsequenceisforWindows2000Professional.Themenusandcommands forotherversionsofWindowscanvary. To restart the license server Windows Service 1 2 3 4 5 ChooseStart>Settings>ControlPanel. DoubleclickAdministrativeTools. DoubleclickServices. ScrollandrightclickVMwareLicenseServer. ChooseRestartfromthepopupmenu.
Youcanchangethedefaultlocationofyourcentralizeddirectory,oryourlicensefile. To change the default location of the license directory 1 Onthecomputerthatrunsthelicenseserverapplication,launchVMwareLicense ServerToolsbychoosingStart>Programs>VMware>VMwareLicenseServer> VMwareLicenseServerTools. ClicktheConfigServicestab. ClickBrowsenexttothePathtolicensefilefield,andchoosealicensefilefrom thelicensedirectory. Ifyouwantthelicenseservertousetheentirelicensedirectory,manuallyremove thenameofthefileleavingonlythenameofthedirectory. 4 5 ClicktheStart/Stop/Rereadtab. ClickStop.
2 3
VMware, Inc.
59
6 7
ClickStart. ClickReReadLicenseFiletoloadthenewlicensefiles.
ThefollowingprocedureassumesthatyouhaveAdministratorprivilegesona Windowssystem.
60
VMware, Inc.
To install a VMware license server 1 InserttheVMwareInfrastructureInstallationCD. IftheVMwareInfrastructureManagementInstallerappears,clickcanceltoexit. 2 3 4 5 6 Navigatetothe\vpxfolderontheinstallationCDanddoubleclick VMwarelicenseserver.exe. VerifythatyouareinstallingthelicenseserverandclickNext. Toacceptthelicenseagreement,selectIacceptthetermsinthelicenseagreement andclickNext. SelectthefolderinwhichyouwanttoinstallthelicenseserverandclickNext. TypethefullpathtoyourlicensefileorclickBrowsetolocatethisfileandclick Next. Thelicensefileshouldbelocatedinadirectoryyoucanaccessfromyourlicense servermachine. 7 8 ClickInstalltobegintheinstallation. ClickFinishtocompletethelicenseserverinstallation.
Troubleshooting Licensing
Thissectionprovidesguidelinesfortroubleshootingyourlicensesetup.Ifyoucannot resolveyourproblemsusingtheinformationgiveninthissection,contactVMwarefor supportasfollows:
VMware, Inc.
61
To check that the license server Windows service is running 1 2 3 Onthemachineonwhichthelicenseserverisinstalled,chooseStart>Control Panel>AdministrativeTools>ServicestodisplaytheServicescontrolpanel. VerifythattheStatuscolumnfortheVMwareLicenseServerentryreadsStarted. IftheVMwareLicenseServerisnotstarted,rightclicktheserviceandchoose Start.
62
VMware, Inc.
To check that the license server is listening 1 2 3 Onthemachineonwhichthelicenseserverisinstalled,chooseStart>Command Prompt. Typenetstat -abatthecommandline. Verifythatthelmgrd.exeprocessislisteningonport27000andthatthe VMWARELM.exeprocessislisteningonport27010. Ifnot,thelicenseservermightnotbeinstalledormightnotbestarted.
To check the license server status 1 Onthemachineonwhichthelicenseserverisinstalled,chooseStart>Programs> VMware>VMwareLicenseServer>VMwareLicenseServerToolstolaunchthe LMTOOLSutility. ClicktheServerStatustabtodisplaytheServerStatuspage. ClickPerformStatusInquiry. Licenseserverinformation,includingthelocationofthelicensefile,appearsatthe bottomofthepage.
2 3
VMware, Inc.
63
64
VMware, Inc.
ThischapterdescribeshowtoprepareyourVirtualCenterdatabase,installVMware InfrastructureManagementsoftware,andconfigurecommunicationbetween components.YoucaninstallVMwareInfrastructureManagementsoftwareona physicalsystemoronavirtualmachinerunningonanESX Server 3host. YoucaninstallVMwareInfrastructureonaphysicalsystemorinavirtualmachine runningonanESX Serverhost. Thischaptercontainsthefollowingtopics:
VMware, Inc.
65
66
VMware, Inc.
Createauser,suchasvpxAdmin,foraccessingthistablespacethroughODBC:
CREATE USER vpxAdmin IDENTIFIED BY vpxadmin DEFAULT TABLESPACE vpx;
Eithergrantdbapermissiontotheuser,orgrantthefollowingpermissionstothe user:
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.Thefollowingareexamplesettings:
Data Source Name: VMware VirtualCenter TNS Service Name: VPX User Id: vpxAdmin
Inthisexample,xxiseither 9Ior10g.
VMware, Inc. 67
UsetheNet8ConfigurationAssistanttoaddthefollowingentry:
VPX = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS=(PROTOCOL=TCP)(HOST=vpxd-Oracle)(PORT=1521)) ) (CONNECT_DATA = (SERVICE_NAME = VPX) ) ) HOST =
Inthisexample,HOSTisthemanagedhosttowhichtheclientneedstoconnect.
68
VMware, Inc.
Thedb_ownerroleontheMSDBdatabaseisrequiredforinstallationandupgrade only.Thisrolecanberevokedaftertheinstallationorupgradeprocessis completed. 3 4 5 6 OnyourVirtualCenter Server,opentheWindowsODBCDataSource Administrator. SelectSettings>ControlPanel>AdministrativeTools>DataSources(ODBC). SelecttheSystemDSNtab. TomodifyanexistingSQLServerODBCconnection: a b 7 SelecttheappropriateODBCconnectionfromtheSystemDataSourcelist andclickConfigure. ProceedwithStep 8.
9 10
11 12
ClickNext. Selectoneoftheauthenticationmethods:
13
TypeyourSQLServerloginnameandpasswordandclickNext. Askyourdatabaseadministratorforthisinformation.
VMware, Inc.
69
14 15 16
17
EnsurethattheSQLAgentisrunningonyourdatabaseserver. ThisappliestoSQLServer2000andSQLServer2005editions.
70
VMware, Inc.
Seeyourdatabasedocumentationforinformationonbackingupyourdatabase.
VMware, Inc.
71
EnsurethatyourhardwaremeetsSystemRequirementsonpage 17. MakesurethatthesystemyouuseforyourVirtualCenterinstallationbelongstoa domainratherthanaworkgroup.Ifassignedtoaworkgroup,the VirtualCenter Serverisnotabletodiscoveralldomainsandsystemsavailableon thenetworkwhenusingsuchfeaturesasVirtualCenterConsolidation.To determinewhetherthesystembelongstoaworkgrouporadomain,rightclick My ComputerandclickPropertiesandtheComputerNametab.TheComputer NametabdisplayseitheraWorkgrouplabeloraDomainlabel. CreateaVirtualCenterdatabase,unlessyouwanttouseSQLServer2005Express. See PreparingtheVirtualCenter ServerDatabaseonpage 66. ObtainandassignastaticIPaddressandhostnametotheWindowsserverthat willhosttheVirtualCenter Serverandthelicenseserver.ThisIPaddressmusthave avalid(internal)DNSregistrationthatresolvesproperlyfromallmanaged ESX Serverhosts.Forbestresults,ensurethattheWindowsservernameisexactly thesameastheDNShostname. YoucandeployVirtualCenterbehindafirewall.However,makesurethereisno NetworkAddressTranslation(NAT)firewallbetweenVirtualCenterandthehosts itwillmanage. Theinstallerautomaticallyinstallsalicenseserverforyou,unlessyouenterapath toanexistinglicenseserver.
Components Installed
TheVMwareInfrastructureManagementinstallerincludesthefollowingcomponents:
72
Microsoft.NETFrameworkSoftwareusedbytheVirtualCenterServer,Database Upgradewizard,andtheVIClient. MicrosoftSQLServer2005ExpressAfreeversionoftheMicrosoftSQLServer databaseforsmallerscaleapplications.Ifyouenterapathtoanexistingdatabase, theinstallerdoesnotinstallMicrosoftSQLServer2005Express. VMwareUpdateManager(optional)AVirtualCenterpluginthatprovides securitymonitoringandpatchingsupportforESXServerhostsandvirtual machines. VMwareConverterEnterpriseforVirtualCenterServer(optional)A VirtualCenterpluginthatenablesyoutoconvertyourphysicalmachinestovirtual machines. VMwarelicenseserverAWindowsserviceallowingallVMwareproductstobe licensedfromacentralpoolandmanagedfromoneconsole.Ifyouenterapathto anexistinglicenseserver,theinstallerdoesnotinstallalicenseserver.
Installation Procedure
ThisproceduredescribeshowtoinstallallVMwareInfrastructuremanagement components. To install VMware Infrastructure Management 1 2 AsAdministratorontheWindowssystem,inserttheinstallationCD. WhentheVMwareInfrastructureManagementInstallerscreenappears,click Next. IftheVMwareInfrastructureManagementInstallerscreendoesnotappear, doubleclicktheautorun.exeicon. 3 4 5 6 ReadtheIntroductionpageandclickNext. SelectIacceptthetermsinthelicenseagreementandclickNext. TypeyourusernameandcompanynameandclickNext. SelectoneoftheinstallationtypesandclickNext. Thechoicesare:
VMware, Inc.
73
Selecttheoptioncorrespondingwiththedatabaseyouconfigured. Ifyouhavenotconfiguredasupporteddatabase,clickInstallMicrosoftSQL Server2005Express.Thisdatabaseissuitableforsmalldeploymentsofupto5 hostsand50virtualmachines. Ifyouhaveconfiguredasupporteddatabase,clickUseanexistingdatabaseand enteryourdatabaseconnectioninformation: a TypetheDSNassociatedwithyourdatabase. ThismustbeasystemDSN. b IfyourdatabaseisalocalSQLServerdatabaseusingWindowsNT authentication,leavetheusernameandpasswordfieldsblank.Otherwise, typetheusernameandpasswordassociatedwiththedatasourcenameand clickNext. Ifyourconnectionfails,awarningappears.ClickOKandreenteryour databaseconnectioninformationuntilyoucancontinue.
Selectoneofthefollowingoptions:
Ifyouchoosethisoption,theVMwareLicenseServerisnotinstalled.
Ifyouchoosethisoption,theVMwareLicenseServerisinstalled.
74
VMware, Inc.
10
11 12
13
14
AcceptthedefaultdestinationfoldersandclickNext. Ifyoudonotwanttoacceptthedefaultdestinationfolders:
VMware, Inc.
75
15
16
ClickFinishtocompletetheVMwareInfrastructureinstallation.
76
VMware, Inc.
VMware, Inc.
77
UninstallingtheVMwareInfrastructurecomponentsdoesnotuninstalltheMicrosoft .NETFramework.DonotuninstalltheMicrosoft.NETFrameworkifyouhaveother applicationsonyoursystemthatdependuponit. To uninstall a VMware Infrastructure Component using the Add/Remove Programs Tool 1 2 3 4 AsAdministratorontheWindowssystem,chooseStart>Settings>ControlPanel >Add/RemovePrograms. ToselectaVMwareInfrastructurecomponent,scrollthroughthelistofinstalled programs,selectthecomponenttoremove,andclickChangeorRemove. ClickYestoconfirmthatyouwanttoremovetheprogram. ClickFinish.
RatherthandedicatingaseparateservertoyourVirtualCenter,youcanplaceitin avirtualmachinerunningonthesameESX Serverhostwhereyourothervirtual machinesrun. YoucanprovidehighavailabilityfortheVirtualCenter Serverbyusing VMware HA. YoucanmigratethevirtualmachinecontainingyourVirtualCenterfromonehost toanother,enablingmaintenanceandotheractivities. YoucancreatesnapshotsoftheVirtualCentervirtualmachineandusethemfor backups,archiving,andsoon.
To install VirtualCenter in a Virtual Machine 1 Onastandaloneserver,installtheESX Server. See InstallingVMwareESX ServerSoftwareonpage 81. 2 OnanymachinethathasnetworkaccesstoyourESX Serverhost,installthe VI Client. ToinstallonlytheVI Client,performacustominstallationasdescribedinTo installVMwareInfrastructureManagementonpage 73.
78
VMware, Inc.
Inthevirtualmachine,installVirtualCenterfollowingproceduresdescribedinthis chapter.
FormoredetailsoninstallingandrunningVirtualCenterinavirtualmachine,see RunningVirtualCenterinaVirtualMachineatwww.vmware.com/pdf/vi3_vc_in_vm.pdf
VMware, Inc.
79
80
VMware, Inc.
Preparing to Install
ThissectiondescribesthecomponentsthatareinstalledduringESX Serverinstallation, describesthetwoavailableinstallationmethods.Italsodetailshowtoselectaboot driveforinstallation.
Installed Components
TheVMwareESX Server 3.5installationincludesthefollowingcomponents:
VMware, Inc.
81
Installation Methods
TwoinstallationmodesareavailableforinstallingVMwareESX Serversoftware:
GraphicalmodeThisisagraphical,mousebasedinstallationprogramtoinstall orupgradeESX Server.Thisistherecommendedinstallationmethod. See InstallingESX Serveronpage 83. TextmodeThisisatextbasedinterfacetoinstallorupgradeESX Server.Choose thisinstallationmethodifyourvideocontroller,keyboard,ormousedoesnot functionproperlyusingthegraphicalinstaller.See InstallingESX Serveron page 83.
EnsurethatyourSATAdrivesareconnectedthroughsupportedSAScontrollers:
See ESX Server 3Requirementsonpage 21forcompletehardwarerequirements. See ESX ServerPartitioningonpage 95foradescriptionofpartitioning requirements.
82
VMware, Inc.
LUN Requirements
AlthoughESX Serversupportsupto256LUNsforoperation,theinstallersupportsa maximumof128LUNs.Ifyouhavemorethan128LUNs,connectthemafterthe installationiscomplete.TheminimumsupportedLUNcapacityforVMFS3is1200MB. (SEEUPDATE)AnESX Serverhostsupportsonlythefirst256LUNsloadedatboottime. Yourbootvolumemustbeencounteredinthefirst256LUNs,ortheESX Serverhost canhangatstartup.Ifyouhaveacontrollerloading256LUNsbeforethebootvolume, reducethenumberofLUNsonthatcontrollerto256orless. IfyouhavenotinstalledESX Serversoftware,arrangePCIcontrollercardstodetermine theLUNorder. VMwarerecommendsthatyoudonotrearrangedrivecontrollersamongPCIslotsafter youinstalltheESX Serversoftware. IfyouwantanESX ServerhosttobootfromaSAN,allocateanentireLUNtoeach ESX Serverhost.See theSANConfigurationGuideforpostinstallationconfiguration. See RequiredPartitionsonpage 95foradescriptionofVMFS. ESX ServersoftwaredoesnotsupportbootingfromasharedLUN.Ifyouinstall ESX ServersoftwareontoasharedLUN,youmightoverwritethedataontheshared LUN. YoumustdeterminethestatusofyouravailableLUNs.Theinstallercannotdetermine ifaLUNisshared. CAUTIONVMwarerecommendsthatyoudisconnecttheSANbeforeyoubeginthe ESX Serverinstallprocess.Thereisoneexception:IfyouarebootingfromaSAN,then onlythesystemLUNshouldbepresentedtotheESX Server.AllotherLUNsshouldnot bepresentedtotheESX Serverduringtheinstallprocess.
VMware, Inc.
83
84
VMware, Inc.
ClickTesttohavetheinstallerinspecttheinstallationCDmediaforerrors.
TheWelcomepageappears. 4 ClickNext(graphicalinstaller)orOK(textinstaller). TheSelectKeyboardpageappears. 5 SelectyourkeyboardlanguagefromthelistandclickNext(graphicalinstaller)or OK(textinstaller). TheMouseConfigurationpageappears. 6 SelectyourmouseandclickNext(graphicalinstaller)orOK(textinstaller). Mouseconfigurationisnotacriticalsetting.AfterESX Serverisinstalled,the settingisignored.See MouseSelectiononpage 88. 7 Selectthetypeofinstallation. TheSelectInstallationTypedialogboxappearsonlyiftheinstallerdetectsa previousESX Serverinstallation.
AccepttheVMwarelicenseagreement. Youcannotinstallthisproductunlessyouacceptthelicenseagreement.
VMware, Inc.
85
Selectapartitioningoption.
10 SelecthowtheESX Serverwillboot:
11
12 13
14
86
VMware, Inc.
15
16 17
18 19 20
21
ConfirmyourinstallationconfigurationandclickNext(graphicalinstaller)orOK (textinstaller).
VMware, Inc.
87
Mouse Selection
Herearesomemouseidentificationhints:
Recommended Partitioning
FollowthisproceduretoselectRecommendedasapartitioningoptioninToinstall ESX Serveronpage 84. To partition your hard drive using the recommended partitioning 1 2 SelectavolumeonwhichtoinstalltheESX Serversoftware. TopreserveexistingVMFSpartitionswithexistingvirtualmachines,selectKeep virtualmachinesandtheVMFS. Thisusuallyappliesonlyifyouareinstallingontopofapreviousversionof ESX Server. 3 SelectRecommendedpartitioningandclickNext(graphicalinstaller)orOK(text installer). Awarningdialogboxappears. 4 5 ClickYestocontinuewithyourpartitioningselection. (Optional)Changethepartitionsettings:
88
VMware, Inc.
Advanced Partitioning
Withadvancedormanualpartitioning,theinstallerliststhedriveswithexisting partitionsandtheamountofavailablespace.Youmustcreateallpartitions, determiningaspecificmountpoint,filesystem,andcapacity. EachESX Serverhostrequiresfivespecificpartitions.Ifthehosthasnetworkstorage, onlythefirstthreerequiredpartitionsmustbeconfiguredonlocalstorage. See ESX ServerPartitioningonpage 95fordescriptionsofrequiredandoptional partitions. FollowthisproceduretoselectAdvancedasapartitioningoptioninToinstall ESX Serveronpage 84.Thisproceduredescribeshowtopartitionyourharddrive usingmanualpartitioning. To partition local storage 1 2 SelectavolumeonwhichtoinstalltheESX Serversoftware. TopreserveexistingVMFSpartitionswithexistingvirtualmachines,selectKeep virtualmachinesandtheVMFS. Thisusuallyappliesonlyifyouareinstallingontopofapreviousversionof ESX Server. 3 SelectAdvancedpartitioningandclickNext(graphicalinstaller)orOK(text installer). Awarningdialogboxappears. 4 5 ClickYestocontinuewithyourpartitioningselection. Tocreateapartition,clickNew. TheAddPartitiondialogboxappears. 6 Tocreateabootpartition,usethefollowingsettings:
VMware, Inc.
89
Tocreateaswappartition,usethefollowingsettings:
Tocreatearootpartition,usethefollowingsettings:
10
90
VMware, Inc.
11
VMware, Inc.
91
To set the time zone using a location 1 2 3 4 ClicktheLocationtabtodisplayalistofcities. Selectacityinyourtimezonefromthescrollinglist. SelectthecheckboxforusingUTC,ifappropriate. ClickNexttocontinuetheinstallationwithStep 20onpage 87.
To set the time zone based on UTC offset from GMT 1 2 3 4 5 ClicktheUTCOffsettab. Selectanoffsetfromthelist. Selectthecheckboxtocompensatefordaylightsavingtime(ifappropriate). SelectthecheckboxforusingUTC,ifappropriate. ClickNexttocontinuetheinstallationwithStep 20onpage 87.
To set the time zone using the text installer 1 2 3 SelectthecheckboxforusingUTC,ifappropriate. Selectacityinyourtimezonefromthescrollinglist. ClickOKtocontinuetheinstallationwithStep 20onpage 87.
92
VMware, Inc.
Postinstallation Considerations
Thissectiondiscussesinstallationlogsandhardwareanddriveradditions.
/root/install.logisacompletelogoftheinstallation. /root/anaconda-ks.cfgisakickstartfilecontainingtheselectedinstallation.
VMware, Inc.
93
94
VMware, Inc.
RequiredPartitionsonpage 95 OptionalPartitionsonpage 99
Required Partitions
AnESX Serverlocalbootvolumerequiresthreespecificpartitionsforoperation.In addition,alocalorremoteVMFSpartitionisrequiredtostoreyourvirtualmachines, anda vmkcore partitionisrequiredtoprovidecoredumpsfortechnicalsupport. For/var/log,VMwarerecommendsaseparatepartitiontopreventunexpecteddisk spaceconstraintsfromcompromisingESXServeroperations.Increasethispartitionby 512MBifyouuseKickstart,ortoperformaremoteorscriptedinstallationfromtheESX Servermachine.
VMware, Inc.
95
Type ext3
Partition Description Storesinformationrequiredtoboot theESX Serverhostsystem. For example,thisiswherethegrub andLILObootloadersreside. Thebootdriveusuallydefaultsto thespecified/bootpartition location.
Notapplicable
swap
544MB
AllowsESX Servertousedisk spacewhenmorememoryis neededthanthephysicalRAM allows. Theminimumvalueis100MB. Note:Donotconfusethe ESX Serverswappartitionwith virtualmachineswapspace. See theResourceManagementGuide.
ext3
5GB
ContainstheESX Serveroperating systemandservices,accessible throughtheserviceconsole.Also containsthirdpartyaddon servicesorapplicationsyouinstall. Note:Runningtheinstallation scripttocopythecontentsofthe ESX ServerinstallationCD requiresabout460MBofspace.
96
VMware, Inc.
Type VMFS3
AnynumberofVMFSvolumes canbecreatedoneachLUNas longasthespaceisavailable. VMFS2issupportedin readonlymodetoimport legacyvirtualmachines. IfyouwanttheESX Server hosttobootfromaSAN,read LUNRequirementson page 83forVMFSpartitioning requirements.
VMware, Inc.
97
Type vmkcore
Partition Description A100MBvmkcorepartitionis requiredforeachESX Serverhost. CanbelocatedonalocalSCSI volume,anetworkedSCSIvolume, oraSAN.Itcannotbelocatedona softwareiSCSIvolume. Usedtostorecoredumpsfor debuggingandtechnicalsupport. EachESX Serverhostmusthavea vmkcorepartitionof100MB.If multipleESX Serverhostssharea SAN,configureavmkcore partitionwith100MBforeachhost.
/var/log
ext3
2000MB
Optional. Usedtostorelogfiles.
98
VMware, Inc.
Optional Partitions
Table A2describestheoptionalpartitions. For/tmpand/home,VMwarerecommendsseparatepartitionstopreventunexpected diskspaceconstraintsfromcompromisingESXServeroperations. Table A-2. ESX Server Optional Partitions
Recommended Storage by Host Disk Configuration Internal Disk with External SAN/NAS/ iSCSI 512MB
Type ext3
SAN Only
/tmp
ext3
1024MB
1024MB
Notapplicable
vfat
anydisk
Notapplicable /vmimages
LVM ext3
NA NA
VMware, Inc.
99
100
VMware, Inc.
VMware, Inc.
101
3 4
Uncommentthefollowinglines:
<!-<action path="/scriptedInstall" type="com.vmware.webcenter.scripted.ProcessAction"> <forward name="scriptedInstall.form1" path="/WEB-INF/jsp/scriptedInstall/form1.jsp" /> <forward name="scriptedInstall.form2" path="/WEB-INF/jsp/scriptedInstall/form2.jsp" /> <forward name="scriptedInstall.form3" path="/WEB-INF/jsp/scriptedInstall/form3.jsp" /> <forward name="scriptedInstall.form4" path="/WEB-INF/jsp/scriptedInstall/form4.jsp" /> <forward name="scriptedInstall.form5" path="/WEB-INF/jsp/scriptedInstall/form5.jsp" /> <forward name="scriptedInstall.form6" path="/WEB-INF/jsp/scriptedInstall/form6.jsp" /> <forward name="scriptedInstall.form7" path="/WEB-INF/jsp/scriptedInstall/form7.jsp" /> </action> -->
102
VMware, Inc.
6 7
VMware, Inc.
103
ClickLogintotheScriptedInstaller. TheScriptedInstallpageappears.
EntertheinformationthatthescriptneedstoconfigureanotherESX Serversystem: a b
IntheInstallationTypelist,selectInitialInstallationtoperformanew installation.SelectUpgradetoupgradeanexistingESX Serversystem. IntheInstallationMethodlist,selectfromthefollowingoptions: SelectRemotetoperformaremotenetworkinstalloptionfromaHTTPorFTP serverthatcontainstheESX Serverinstallationfiles.IntheRemoteServer URLfield,typethedefaultdirectorylocationofyourrootfolderalongwith thenameoftheserverthatcontainstheESX Serverinstallationfiles,likethis:
http://<hostname>:/default location ftp://<hostname>:/default location
Forexample:
ftp://<hostname>:/var/ftp/pub/build
where<hostname>isthenameassignedtotheHTTPorFTPserver.
104
VMware, Inc.
IntheNetworkMethodlist,selectDHCPiftheESX Serversystemwillhave adynamicIPaddress.SelectStaticIPiftheESX Serversystemwillhavea staticIPaddress. VMwarerecommendsthateachESX ServersystemhaveitsownstaticIP address.However,youcanuseDHCPtodeploynewESX Serversystems fromthesamefloppyimage,andconfigureeachsystemseparatelyandassign auniquehostnameandIPaddress.Oryoucancreatemultiplefloppyimages containingthenetworkidentificationinformationyouspecifyhere.
d e
g h 4
ClickNexttocontinue. ThePartitionConfigurationpageappears.
VMware, Inc.
105
UnderPartitionConfiguration,specifythefollowingforeachpartitioninthe serviceconsole:
IntheDrivelist,selectfromthelistofdisks. IntheMountPointfield,specifythemountpoint. Ataminimum,youshouldspecifytheboot(/boot)androot(/)mount points. IntheSizefield,specifythesizeofthepartitioninmegabytes(MB).Specify anintegervaluehere,suchas500.DonotappendthenumberwithMB. See Appendix A,ESX ServerPartitioning,onpage 95forrecommended partitionsizes.
FromtheLicensingModelist,specifyoneofthefollowing:
9 10
11 12 13
106
VMware, Inc.
To run a scripted installation using a PXE server 1 2 UploadyourkickstartfiletoanNFSorHTTPserver. SpecifytheinstallationmethodinthePXEserverbootoptions,where<ksurl>is theURLtoaccessthekickstartfileand<methodurl>istheURLtoaccessthe uploadedinstallationfiles.
%include Section
Usethe%includesectiontodirectthekickstartparsertoadditionalkickstartfilesthat mightincludemorekickstartcommands.Thesectioncontainsthefollowingcommand:
%include </path/to/file>
Youcanaddseveral%includesectionstoyourkickstartfile.
VMware, Inc. 107
Command Section
ThecommandsectioncontainstheoptionsspecifiedfortheESX Serverinstallation. Thissectionisrequiredandmustappearfirstinthekickstartfile. MostofthecommandsthatcanbeincludedinthissectionarestandardRedHat kickstartcommands.SomecommandsareVMwarespecific.TheVMwarespecific commandsarelistedinTable B1.SeetheRedHatEnterpriseLinux3:System AdministrationGuideforinformationonoptionalcommandsthatarenotVMware specific. Table B-1. Kickstart Commands for ESX Server Installation
Command autostep(optional) authorauthconfig(required) --enablemd5 --enablenis --nisdomain=<domain> --nisserver --useshadowor --enableshadow --enablekrb5 --krb5realm= --krb5kdc= --krb5adminserver= bootloader (required) --append= --driveorder= --location=[mbr|partit ion|none] --md5pass= --password= Description Similartointeractive.Usemostlyfordebugging. Setupauthenticationforthesystem. Usesmd5baseduserpasswords. EnablesNISsupport.Bydefault,thiscommanduseswhateverdomain itfindsonthenetwork. SetstheNISdomain.Requires--enablenis. SetstheNISserver(broadcastsbydefault.)Requires--enablenis. Enablesshadowpasswordfile. EnablesKerberos5toauthenticateusers. SpecifiestheKerberos5realmtowhichyoursystembelongs. SpecifiestheKDCsthatserverequestsfortherealm.Separatethe namesofmultipleKDCswithcommas. SpecifiestheKDCinyourrealmthatisalsorunningtheKADM5 administrationserver. SetsuptheGRUBloader. Specifiesextrakernelparametersforwhenthesystemisbooting. SpecifieswhichdriveisfirstintheBIOSbootorder. Specifieswherethebootloaderisinstalled.Thevaluesare:mbr(forthe masterbootrecord),partition(forthefirstsectorofthepartition withthevmnixkernel),ornone(donotinstallthebootloader). SetstheGRUBbootloaderpasswordwiththemd5encrypted password. SetstheGRUBbootloaderpassword.
108
VMware, Inc.
VMware, Inc.
109
keyboard(required) <keyboardType> lang (required) <languageType> langsupport (required) <languageType> --default mouse (required) <mouseType> --device= --emulthree
network(optional) --addvmportgroup=<1 or 0> (VMwarespecific) --vlanid=<vlanid> (VMwarespecific) --bootproto=[dhcp|stat ic] --device= --ip= --gateway= --nameserver= --nodns --netmask= --hostname=
110
VMware, Inc.
--fstype= --badblocks reboot(optional) rootpw (required) [--iscrypted] <password> text (optional) timezone (required) [--utc] <timezone> upgrade(optional) vmaccepteula (required)
VMware, Inc.
111
%packages Section
Thissectionspecifiespackagesforinstallation.The%packagessectionisrequiredfor successfulinstallationandmustfollowthecommandssection.Thesectionconsistsof thefollowingtwolines:
%packages @ base
%pre Section
The%presectionletsyouspecifyascripttorunpriortoinstallation.Thissectionis optionalandmustcomeafterthecommandssection.See theRedHatEnterpriseLinux 3: SystemAdministrationGuideformoreinformationonpreinstallationscripting.
%post Section
The%postsectionletsyouspecifyascripttorunafterinstallation.Thissectionis optionalandmustcomeafterthecommandssection.See theRedHatEnterpriseLinux3: SystemAdministrationGuideformoreinformationonpostinstallationscripting.
112
VMware, Inc.
%vmlicense_text Section
ThissectioncontainsthelicensefilefortheESX Serverinstallation.Omitthissectionif youdidnotspecifysinglehostlicensing.Thissectionmustcomeafterthecommands section.
VMware, Inc.
113
114
VMware, Inc.
Index
Numerics
27000, port 52 27010, port 52
D
databases Oracle 66 preparing 66 SQL Server 68 device driver mappings 94 device drivers 94 DPM, by edition 29 DRAC 82 driver disks 93 DRS, by edition 29
A
activation code, license 48 ATA disks 22
B
backing up virtual machines 29 backup 34 Consolidated Backup 34 BIOS 86 boot device 86 boot loader options 86 booting from SAN 83, 86 kernel parameters 86
E
editions 34 end user license agreement 85 ESX Server, editions 34 EULA 85 evaluation licenses 60
C
centralized licensing configuring 50 description 31 clients, firewall 76 configuring, ports 76 Consolidated Backup 34 Consolidated Backup, licensing 29
F
firewall 76
G
grace period, license server 35 guest operating systems 25
H
HA, by edition 29 hosts firewall 76
VMware, Inc.
115
I
IDE disks 23 ILO 82 installation logs 93 installation script, creating 103 installing ESX Server 83 license server 60 on SANs 23 Oracle database 66 VirtualCenter Server 71 iSCSI licensing 29
M
mappings, device driver 94 master boot record 86 memory, server requirements 22 Microsoft Access database end of support life 19 modules.conf file 93 MSDE, preparing database 71
K
kernel parameters, boot 86 kickstart commands 108 kickstart file, creating 103 kudzu utility 93
N
NAS, licensing 29
O
ODBC databases 68 operating systems, guest 25 Oracle, preparing database 66
L
LAC 28 license activation code 28, 48 license files installing 49 locations of 58 obtaining 40, 48 license keys 32 license pool 31 license server availability 35 grace period 35 install 60 licenses, evaluation 60 licensing centralized 31 single host 32
P
PAC 28 partitioning advanced 89 optional 99 options 86 recommended 88 required 95 partner activation code 28 partner activation portal 28 ports 27000 52 27010 52 configuring 76 firewall 76 license server 52
116
VMware, Inc.
Index
R
reinstalling VirtualCenter 77 remote Oracle database 66 removing VirtualCenter 77 RSA II 82
U
uninstalling VirtualCenter 77 upgrading device drivers 94
V
VCB 29, 34 VI Client, downloading 94 VMFS3 91 vmkcore 91 VMotion, licensing 34 VMware Consolidated Backup 29, 34 VMware DRS, licensing 35 VMware HA, licensing 35
S
SANs booting from 83, 86 SATA disks 23, 82 scripted installation 107 SCSI 22 SCSI adapters 93 SCSI disks 23 SDK 13 shared LUNs 83 single-host licensing configuring 53 description 32 SMP, licensing 29 specifications ESX Server system minimum 21 performance recommendations 24 SQL Server, preparing database 68 support, guest operating system 25 system requirements ESX Server 21 license server 21 VI Client 20 VI Web Access 20 VirtualCenter database 19 VirtualCenter Server 17
T
TCP/IP ports 27000 52 27010 52
VMware, Inc.
117
118
VMware, Inc.
UpdatesfortheTableofSupportedDatabaseFormatsonPage 19 UpdatetotheToprepareanOracledatabasetoworklocallywithVirtualCenter ProcedureonPage 66 UpdatefortheToprepareanOracledatabasetoworkremotelywithVirtualCenter ProcedureonPage 67 UpdatesfortheToprepareaSQLServerdatabasetoworkwithVirtualCenter ProcedureonPage 68 UpdatesfortheConfiguringCommunicationBetweenVirtualCenterComponents SectiononPage 76 UpdatefortheToenableaVirtualCentermanagedhosttoreceivedataonthe defaultportProcedureonPage 77
VMware, Inc.
Update1
Note:VMwaresupports10.2.0.3.0andlater versionsofOracleDatabase10gRelease2.
Update to the To prepare an Oracle database to work locally with VirtualCenter Procedure on Page 66
Step 4intheToprepareanOracledatabasetoworklocallywithVirtualCenter procedureisapplicableonlyifyouareusingOracle9i.IfyouareusingOracle10g,the databaseisconfiguredtouse300opencursorsbydefault.
Update for the To prepare an Oracle database to work remotely with VirtualCenter Procedure on Page 67
TheToprepareanOracledatabasetoworkremotelywithVirtualCenterprocedure shouldbereplacedwiththefollowingsteps: 1 2 InstalltheOracleclientontheVirtualCenter Servermachine. Editthetnsnames.orafilelocatedinOra9ior10g,asappropriate.
C:\Oracle\Oraxx\NETWORK\ADMIN
Inthisexample,xxiseither 9ior10g.
Update2
VMware, Inc.
CreateanewtablespacespecificallyforVirtualCenterbyrunningthefollowing SQLstatement:
CREATE TABLESPACE "VPX" DATAFILE 'C:\Oracle\ORADATA\VPX\VPX.dat' SIZE 1000M AUTOEXTEND ON NEXT 500K;
Createauser(forexample,vpxAdmin),foraccessingthetablespacethrough ODBC:
CREATE USER vpxAdmin IDENTIFIED BY vpxadmin DEFAULT TABLESPACE vpx;
Eithergrantdbapermissiontotheuser,orgrantthefollowingpermissionstothe user:
grant grant grant grant grant grant connect to <user> resource to <user> create view to <user> execute on dbms_job to <user> execute on dbms_lock to <user> unlimited tablespace to <user> # To ensure space limitation is not an issue
UsetheNet8ConfigurationAssistanttoaddthefollowingentry:
VPX = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS=(PROTOCOL=TCP)(HOST=vpxd-Oracle)(PORT=1521)) ) (CONNECT_DATA = (SERVICE_NAME = VPX) ) )
VMware, Inc.
Update3
Updates for the To prepare a SQL Server database to work with VirtualCenter Procedure on Page 68
ThefollowingtextshouldappearintheToprepareaSQLServerdatabasetoworkwith VirtualCenterprocedure: Makesurethatthedatabaseuserhasthefollowingpermissions:
MicrosoftSQLServer2000Makesurethatthedatabaseuserhasthedb_owner fixeddatabaseroleontheVirtualCenterdatabaseandtheMSDBdatabase. The db_ownerroleontheMSDBdatabaseisrequiredforinstallationandupgrade only.Youcanrevokethisroleaftertheinstallationorupgradeprocessis completed.Do notgranttheSystemAdministratorsserverroletothedatabase user.However,iftheSystemAdministratorsrolewaspreviouslygrantedwhilethe databasewasusedwithVirtualCenterServer2.0.x,donotrevoketheSystem Administratorsrole.Leaveitasis. MicrosoftSQLServer2005Makesurethatthedatabaseloginhaseitherthe sysadminserverroleorthedb_ownerfixeddatabaseroleontheVirtualCenter databaseandontheMSDBdatabase.Thedb_ownerroleontheMSDBdatabaseis requiredforinstallationandupgradeonly.Youcanrevokethisroleafterthe installationorupgradeprocessiscomplete.
Updates for the Configuring Communication Between VirtualCenter Components Section on Page 76
ThefollowingtextshouldappearintheConfiguringCommunicationBetween VirtualCenterComponentssection: Port443isrequiredforcommunicationfromVirtualCentertoESXServerhosts.
Update for the To enable a VirtualCenter managed host to receive data on the default port Procedure on Page 77
TheToenableaVirtualCentermanagedhosttoreceivedataonthedefaultport procedureshouldcontainthefollowinginformationaboutthetypeofportsthatmust beopenedtoenabledatareception: ToallowdatatransfertotheVirtualCentermanagedhostfromtheVirtualCenterServer oranotherVirtualCentermanagedhost,openport902inthefirewallforincomingTCP connectionsandoutgoingUDPconnections.
Update4
VMware, Inc.
VMware, Inc.
Update5
Update6
VMware, Inc.