Академический Документы
Профессиональный Документы
Культура Документы
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
2007 VMware, Inc. All rights reserved. Protected by one or more of U.S. Patent Nos. 6,397,242, 6,496,847, 6,704,925, 6,711,672, 6,725,289, 6,735,601, 6,785,886, 6,789,156, 6,795,966, 6,880,022, 6,944,699, 6,961,806, 6,961,941, 7,069,413, 7,082,598, 7,089,377, 7,111,086, 7,111,145, 7,117,481, 7,149,843, 7,155,558, and 7,222,221; patents pending. VMware, the VMware boxes logo and design, Virtual SMP and VMotion are registered trademarks or trademarks of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.
Contents
Preface
1 IntroducingLabManager 13
LabManagerComponents 14 LabManagerBenefitsandFeatures 15 UsingLabManagerwithVirtualCenterManagementServer 16 EnablingHighAvailabilityforLabManagerServer 17
2 GettingStartedwithLabManager 19
SettingInternetExplorerOptions 20 AccessingtheLabManagerConsole 21 ReviewingtheLabManagerUserInterface 22 DefaultLandingPage 22 SpecificAreasandOperations 23 InterfaceFeatures 25 MouseoverMenus 25 BreadcrumbTitles 25 TextSearchFilter 25 ColumnSorting 25 VMwareToolsandMouseControl 25 ReviewingtheGeneralWorkflowinLabManager 26
3 WorkingwithVirtualMachines 27
AccessingVirtualMachines 28 AccessingaVirtualMachineConsolefortheFirstTime 29 InstallingtheActiveXControl 29 InstallingtheVMwareRemoteMKSPluginforFirefox 29 ReviewingtheVirtualMachineConsolePage 30 ChangingtheConsoleDisplaySize 31 ReviewingVirtualMachineOperations 31 SummaryofVirtualMachineOperations 31 SummaryofVirtualMachineStates 33
VMware, Inc.
ChangingIPorMACAddresses 34 SettingUpRemoteDesktopConnections 35 TakingSnapshotsandRevertingtheSnapshots 36 InsertingCDs 36 EjectingCDs 37 InsertingFloppyDisks 37 EjectingFloppyDisks 38 AddingVirtualHardDiskstoVirtualMachines(Templates) AddingSCSIVirtualHardDisks 39 EditingVirtualMachineProperties 40 ReviewingthePropertiesList 41
38
4 WorkingwithMachineTemplates 45
AboutTemplates 46 AccessingtheTemplatesPage 46 ReviewingTemplateOperations 47 SummaryofTemplateOperations 47 SummaryofTemplateStatesandAttributes 49 CreatingTemplates 50 UpdatingTemplates 50 ImportingTemplates 51 ImportingaTemplatefromSMBStorage 51 ImportingaTemplatefromVMFSStorage 54 CreatingTemplatesfromScratch 56 CreatingaBlankTemplate 56 DeployingaTemplate 58 InstallingtheGuestOperatingSystem 58 InstallingVMwareTools 60 InstallingAdditionalSoftware 60 InstallingLMTools 61 ShuttingDownaTemplate 65 UndeployingaTemplate 65 PublishingaTemplate 66 SharingaTemplate 66 CreatingTemplatesfromActiveVirtualMachinesinLabManager 66 CloningTemplates 67 CopyingTemplates 69 ChangingSharedTemplatestoPrivateTemplates 70 ExportingTemplates 70 ConsolidatingTemplates 71
4 VMware, Inc.
Contents
75
5 WorkingwithConfigurations 77
AboutConfigurations 78 AccessingConfigurations 78 ReviewingConfigurationOperations 80 SummaryofConfigurationOperations 81 SummaryofConfigurationStatesandAttributes 83 CreatingConfigurations 83 IPAddressAssignmentforVirtualMachines 85 AddingVirtualMachinestoExistingConfigurations 85 DeployingConfigurations 86 DeployOptions 87 DeploywithDefaultsOption 88 UndeployingConfigurations 89 CapturingConfigurationstotheLibrary 89 CheckingOutConfigurationsfromtheLibrary 90 StoppingConfigurations 91 CloningConfigurations 91 CopyingConfigurations 92 ExportingConfigurations 93 ImportingConfigurations 94 SharingConfigurations 95 CreatingandRestoringConfigurationLiveLinks 95 TakingSnapshotsandRevertingtoSnapshots 96 EditingConfigurationProperties 97 ViewingDetailsonVirtualMachinesinaConfiguration 98 AccessingaVirtualMachineConsole 99 AccessingAllVirtualMachineConsolesinaConfiguration 99 DeletingConfigurations 100
6 WorkingwithMedia 101
AccessingtheMediaLibrary 102 ReviewingMediaOperations 102 AddingMediatotheLibrary 102 SynchronizingLabManagerwithMediaStorage DeletingMediafromtheLibrary 104 SharingMediaFiles 104
103
VMware, Inc.
7 AdministeringandMonitoringLabManager 107
MonitoringLabManager 108 MonitoringtheActivityLog 108 MonitoringtheServerPool 108 MonitoringDeployedMachines 110 ManagingUsers 111 SettingUserPreferences 111 DefaultsTab 111 PasswordTab 113 ViewingUsers 114 AddingNewUsers 115 DeletingUsers 117 EditingUserProperties 117 ManagingManagedServerSystems 118 ViewingManagedServerSystems 118 AddingManagedServerSystems 120 RemovingManagedServerSystems 121 ViewingtheDeployedMachinesonaManagedServer 122 EditingManagedServerProperties 123 ReviewingAdditionalManagedServerOperations 125 ManagingStorageServers 126 ViewingStorageServers 126 ViewingVirtualMachineStorageUsage 128 AssessingVirtualMachineDiskSpace 130 AddingNFSVirtualMachineStorage 132 AddingMediaStoragetoLabManager 133 MediaStorageRequirements 133 SettingUpSMBMediaStorageforLabManager 133 CreatingaSharedFolderforLabManager 133 AttachingMediaStoragetoLabManager 134 RemovingStorageServers 135 AdditionalTasksforRemovinganNFSMediaServer 135 EditingStorageServerProperties 136 ReviewingAdditionalStorageServerOperations 136 ConfiguringNetworkSettings 137 ViewingNetworkSettings 137
VMware, Inc.
Contents
ReviewingtheSettingstab 137 ReviewingtheIPPoolTab 138 UnderstandingIPAddressManagement 139 AddingIPAddressestotheLabManagerIPPool 139 RemovingIPAddressesfromtheLabManagerIPPool 140 ConfiguringLabManagerSettings 140 AccessingLabManagerSettings 140 ReviewingtheGeneralTab 140 ServerPreferences 141 LDAPPreferences 142 EmailPreferences 142 DefaultUserPreferences 143 DefaultDeploymentOptions 143 LDAPandLabManager 144 LDAPPreferences:LDAPBindingandGroupStrings 146 ReviewingtheLicenseTab 146 ReviewingtheLMToolsTab 147 ReviewingtheSupportLinkTab 149 ReviewingtheResourceCleanupTab 149
8 TroubleshootingLabManager 151
BlankScreenAppearsWhenAccessingLabManager 152 LabManagerDoesNotDisplayVirtualMachineConsole 152 DuplicateIPAddressErrorsAppear 153 AdditionofSCSIVirtualHardDiskFails 153 MouseNavigationonVirtualMachineConsoleFails 153 RemoteAccesstoVirtualMachineFails 154 LiveLinkURLErrorAppears 154 HostServerCDDriveCannotInstallSoftware 154 ImportingaVirtualMachineasaTemplateFails 155 ImportingaVirtualMachinefromVMFSStorageFails 155 InsertingMediafromNFSServerFails 156 VirtualHardDiskSpaceIsLow 157 LabManagerServerFails,LosesConnectivity,orRebootstheSystem 158 SMBMediaStorageServerFails 158 PermanentFailureofManagedServerOccurs 159 TemporaryFailureofManagedServerOccurs (RebootorTurnOff) 160 TemporaryFailureofManagedServerOccurs (Networking) 161
VMware, Inc. 7
D ExtendingLMTools 179
HowdoesLMToolswork? 180 ExtendingtheLMToolsScript 181 ExtendingtheLMToolsScriptonaWindowsGuestOS 181 ExtendingtheLMToolsScriptonaLinuxGuestOS 181
Index 183
VMware, Inc.
Preface
Intended Audience
Theguideisintendedforexperienceddevelopersandtestersofsoftwareapplications. Thisdocumentassumestheuserhassomefamiliaritywiththesetopics: Virtualmachinetechnology Basicconceptsofdistributed,multitieredsystems Currentdevelopmentandtestingpractices WindowsandLinuxoperatingsystems
VMware, Inc.
Document Feedback
Ifyouhavecommentsaboutthisdocumentation,submityourfeedbackto: docfeedback@vmware.com
Conventions
Table P1illustratesthetypographicconventionsusedinthismanual. Table P-1. Conventions in this Manual
Style Blue(onlineonly) Blueboldface(onlineonly) Blackboldface Monospace Monospace bold Italic <Name> Elements Crossreferencesandemailaddresses Links Userinterfaceelementssuchasbuttonnamesandmenuitems Commands,filenames,directories,andpaths Userinput Documenttitles,glossaryterms,andoccasionalemphasis Variableandparameternames
Self-Service Support
UsetheVMwareTechnologyNetwork(VMTN)forselfhelptoolsandtechnical information: Productinformationhttp://www.vmware.com/products/ Technologyinformationhttp://www.vmware.com/vcommunity/technology Documentationhttp://www.vmware.com/support/pubs VMTNKnowledgeBasehttp://www.vmware.com/support/kb Discussionforumshttp://www.vmware.com/community Usergroupshttp://www.vmware.com/vcommunity/usergroups.html FormoreinformationabouttheVMwareTechnologyNetwork,goto: http://www.vmtn.net
10
VMware, Inc.
Preface
Support Offerings
FindouthowVMwaresupportofferingscanhelpmeetyourbusinessneeds.Goto: http://www.vmware.com/support/services
VMware, Inc.
11
12
VMware, Inc.
VMwareLabManagerprovidesarobustsolutionformanagingvirtualmachinesina testlab.LabManagerdoesnotassumeextensiveknowledgeofvirtualizationand allowssoftwaredevelopersandQAengineerstoquicklyprovision,share,andtear downmultimachinetestcasesorconfigurations. Specifically,LabManagerstreamlinesthesetup,capture,storage,andsharingof multimachinesoftwareconfigurationsinvirtualizedenvironments.LabManager offersaselfserviceinterfaceandlibraryfromwhichuserscanaccessvirtualmachine imagestodeployacrossmultipleservers. Thischaptercoversthesetopics: LabManagerComponentsonpage 14 LabManagerBenefitsandFeaturesonpage 15 UsingLabManagerwithVirtualCenterManagementServeronpage 16
VMware, Inc.
13
administrator
Lab Manager Server Lab Manager client user Lab Manager Managed Server
LabManagerServerAserverthatprovidesWebandSOAPinterfacesfortheLab Managersystem.TheLabManagerServersystemmanagesanddeploysconfigurations againstapoolofManagedServersystems. LabManagerManagedServerAserverrunningVMwareESXServerandManaged Serversoftware.TheLabManagerServersystemusestheManagedServersystemto deployconfigurationsandtheirvirtualmachines.YoucanhavemultipleManaged Serversystems. LabManagerstorageserverStorageforvirtualmachines(forexample,anESXServer SANorNFSserver)andstorageformedia(CDandfloppyimages).Youcanhave multiplestorageservers. EveryLabManagerinstallationprovidesdefaultmediastorageontheLabManager Serversystem.
14
VMware, Inc.
LabManagerclientuserClientswhocanusetheLabManagerWebconsoleandthe LabManagerSOAPAPI.YoucanaccesstheLabManagerWebconsolewithInternet ExplorerorFirefox. LabManagerWebconsoleThebrowserbasedconsolethatenables managementforalltestingactivities,regardlessofphysicallocation.Youcan accessthiscomponentusingstandardHTTPprotocols. UsetheLabManagerWebconsoletoorganizegroupsofvirtualmachinesinto configurationsbasedonmachinetemplates,tostoreconfigurationsandtheir stateinlibraries,andtoquicklycopyandusemultiplecopiesoflibrary configurationssimultaneouslywithoutrequiringknowledgeofthe networkingenvironment.Copiesoflibraryconfigurationsareavailable withinseconds. Whenyoucheckoutalibraryconfiguration,theconfigurationretainsthe networkprofile(IPaddress,name,MACaddress,securityidentifiers,and more),whichpreservestherunningsoftwareanddataonthemachine.Virtual machinescreatedfromtemplatesaregivennewnetworkprofilesastheyjoin aconfiguration.ThisprofilechangesthroughtheLabManagerTools(LM Tools)utilityinstalledonthetemplateoperatingsystem. LabManagerSOAPAPIASOAPAPIWebservicethatenablesyouto accessLabManagerprogrammatically.Thisallowseasyintegrationwith buildmanagementsystemsandwithautomatedtestingtoolsfromMercury, IBM,Segue,andothercompanies.
VMware, Inc.
15
SelfhelpAllowsengineerstoindividuallycreate,setup,andteardown configurationswithoutrelyingonIT. OutsourcinganddistributeddevelopmentAllowsgeographicallydispersed teamstoworkonthesamemachinesandconfigurationsovertheInternet. Reviewthesespecificfeatures: TemplatesCreatenew,fullyconfiguredvirtualmachinesinseconds. ConfigurationsRun,manage,andmonitormultipleconfigurations simultaneously. ConfigurationlibraryStoreconfigurationstopersistentstorageforteamuse. StatecaptureCapturethelivestateofallthemachinesinaconfiguration.You cancaptureandsharebugsintheirrunningstate. NetworkfencingRuncopiesofconfigurationswithidenticalnetworkprofiles simultaneouslyusingthisnetworkisolationtechnology. ResourcemanagementManageapoolofcomputingandstorageresources. DeltatreemanagementSavevirtualmachinefilechangestoefficientand highperformancestorage. ApplicationintegrationIntegratetestapplicationswiththeLabManagerWeb serviceSOAPAPI. MonitoringViewandcontrolserverfarmutilizationinrealtime. BrowseraccessRemotelyaccessLabManagerfromanylocation. AutomationAutomatetestmatricesendtoend.
16
VMware, Inc.
VMware, Inc.
17
18
VMware, Inc.
VMware, Inc.
19
20
VMware, Inc.
NOTE
VMware, Inc.
21
ThePerformanceSummarycolumnincludesthesestatistics: TotalSlotsNumberofreservedspacesacrossallvirtualmachinesonthe ManagedServersystems. SlotsUsedNumberofdeployedmachines. SlotsAvailableDifferencebetweenTotalSlotsandSlotsUsed. MaximumMemoryPhysicalmemoryoftheManagedServersystems. TotalDeploymentsOverTimeSumofalldeployedvirtualmachinessincethe installationofLabManager. ConfigurationsinLibraryNumberofvirtualmachineconfigurationsstoredin theconfigurationlibrary. TotalVMFSDiskSpaceSumofthediskspaceintheVMwareVirtualMachine FileSystem(VMFS)storage. VMsundermanagementNumberofvirtualmachines(exceptrouters)under LabManagercontrol.
22 VMware, Inc.
VMFSDiskSpaceusedperVMAveragediskspaceforeachvirtualmachine. ThisentryassumesyouareusingdedicatedVMFSdiskspaceforLabManager virtualmachines. TheMyLabManagercolumnincludesthesestatistics: MyDeployedVMQuotaNumberofvirtualmachinesyouareallowedto deploy.TheadministratorsetsthatlimitwhenaddingausertoLabManager. MyStoredVMQuotaNumberofvirtualmachinesyouareallowedtostore.The administratorsetsthatlimitwhenaddingausertoLabManager. MyVMsDeployedNumberofyourdeployedvirtualmachines. MyVMsStoredNumberofvirtualmachinesstoredintheWorkspace, configurationlibrary,andtemplatelibrary. TheDocumentationandSupportcolumnprovidesaccesstodocumentation,video tutorialstobecomefamiliarwiththeproduct,andcustomersupport.Uptodate productdocumentationisavailableontheVMwareWebsite: http://www.vmware.com/support/pubs/labmanager_pubs.html IfyouwanttheWebconsoletoopentotheWorkspacepageatstartup,selectthecheck boxforthisoption.
VMware, Inc.
23
LibraryDisplaysyoursavedconfigurationsandconfigurationssharedbyother users.Administratorscanviewallsharedandprivateconfigurations. TemplatesEnablesyoutocreate,view,ortrackyourmachinetemplatesand thosesharedbyotherusers.Administratorscanviewalltemplates. Atemplateservesasthebaseofaconfigurationandoffersamatrixthatyoucan buildon.Youcancreateanewtemplateandclone,copy,orconsolidateanexisting one.Otheroperationsinvolvesharingtemplatesandmakingthemprivate, importingandexportingtemplatesonthenetwork,deployingandundeploying templates,andmodifyingthesettingsorinstalledsoftware. MediaEnablesyoutoadd,delete,andtrackmedia(CDandfloppy)imagefiles. Youcanuploaddata(forexample,drivers)toatemplatefromthemedialibrary andsynchronizethelibrarywiththefilesinmediastorage. ActivityLogDisplaysthestatusofoperations.MostLabManageroperations occurimmediately(synchronously),whileotherstaketimeandcomplete asynchronously.Duringasynchronousoperations,youcanperformothertasksat theconsoleandreturntotheActivityLogpagetocheckthestatus. ServerPool(Administrators)Showsdeployedmachines,availableslots,typesof machines,andactivitiesforManagedServersystems. DeployedMachines(Administrators)Presentsdetailsonthevirtualmachines, configurations,IPaddresses,ManagedServersystems,machineowners,and deployment.Youcannavigatetoindividualconsoles. ConfigurationDetailsShowsdetailsaboutthevirtualmachines,IPaddresses, deployment,fencing,virtualizationtechnology,ManagedServersystems,and bootoptions.Youhavetheoptiontoaddorremovevirtualmachinesfromthe configurationonthispageornavigatetotheconsoledisplayofonemachine. MachineConsoleProvidesaccesstotheconsolewindowofavirtualmachine. NavigatefromtheTemplatespagetomachineconsolestoperformvirtualmachine operations. AllConsolesProvidesaccesstoalargeconsoledisplayofeveryvirtualmachine inaconfiguration. Forcomponentsdealingwithadministratormanagement,seeAdministeringand MonitoringLabManageronpage 107.
24
VMware, Inc.
Interface Features
TheLabManagerinterfaceincludesfeaturessuchasmouseovermenus,breadcrumb titles,andfilters.
Mouseover Menus
Theconsolehasmouseovermenusthataresimilartorightclickmenusandappear whenyoumovethepointeroveranobjectname.Anameortitlehasamouseovermenu ifanarrowappearstoitsright.
Breadcrumb Titles
Ifyounavigatetospecifictemplatesorconfigurations,thetitleofthepagedisplaysthe objectpath.Theobjectslinktotheappropriatepages.
Column Sorting
MostpagesinLabManagerpresentdataintables.Youcansortthedataineachcolumn inascendingordescendingorder.Clickthetableheadingnametoperformthesort operation.Thearrowtotherightofthecolumnnameindicateswhetherthedata appearsindescendingorascendingorder.
VMware, Inc.
25
26
VMware, Inc.
Avirtualmachineisasimulatedcomputerenvironmentrunningaguestoperating systemandassociatedapplicationsoftware.Virtualtechnologyallowsahostserver torunmultiplevirtualmachinesconcurrentlyandisolateeachvirtualmachineina selfcontainedenvironment. LabManagerenablesyoutocreatevirtualmachinesfrommachinetemplatesandto createconfigurationscomposedofmultiplevirtualmachines.Fordetailsontemplates andconfigurations,seeChapter 4andChapter 5. Thischaptercoversthesetopics: AccessingVirtualMachinesonpage 28 ReviewingtheVirtualMachineConsolePageonpage 30 ReviewingVirtualMachineOperationsonpage 31
VMware, Inc.
27
To access a specific virtual machine in a configuration 1 2 Intheleftpane,clickWorkspace. Iftheconfigurationisundeployed,movethepointerovertheconfigurationname andchooseDeployfromthemenu. SeeDeployOptionsonpage 87andDeploywithDefaultsOptiononpage 88. 3 Useoneofthesemethodstoaccessavirtualmachine: IntheConsolecolumn,clickthethumbnailiconofthedeployedvirtual machine. Movethepointerovertheconfigurationname,andchooseDetailsfromthe menu.Fromthispage,eitherclickthethumbnailiconofthedeployedvirtual machineormovethepointerovertheconfigurationnameandchooseView Consolefromthemenu. 4 Clickintheconsoletoworkwiththeguestoperatingsystem.
28
VMware, Inc.
3 4
IfVMwareToolsisnotinstalledinparticularvirtualmachinesandyouneedtonavigate betweenconsoles,pressCtrl+Alttoreleasethemousecursor.
3 4 5 6
30
VMware, Inc.
CtrlAltDelete Delete
VMware, Inc.
31
32
VMware, Inc.
VMware, Inc.
33
NOTE
Fromthevirtualmachineconsolewindow,manuallychangetheIPaddressofthe virtualmachine.
VMware, Inc.
34
Refertothisexample:
ifconfig eth0 10.10.10.10 netmask 255.255.0.0
VMware, Inc.
35
4 5
To take a virtual machine snapshot Fromthevirtualmachineconsolewindow,clickSnapshot. LabManagerturnsoffthevirtualmachineforashorttimeandthendisplaysthe console.Athumbnailiconofthesnapshotdisplayappearsinthetoprightcornerofthe page. To return to the virtual machine revert points 1 2 Fromthevirtualmachineconsolewindow,clickRevert. Confirmtoreverttothelastsnapshotofthemachineandlosethecurrentstateof themachine. LabManagerturnsoffthevirtualmachineforashorttimeandthendisplaysthe console.Thethumbnailiconofthesnapshotappearsinthetoprightcornerofthe page.
Inserting CDs
Youcanuploaddata(forexample,drivers)toavirtualmachinefromthemedialibrary. DuringtheInsertCDoperation(availablefromtheindividualconsoleofatemplateor configuration),youcanaccesstheISOsinthemedialibrary. Formoreinformationonmedia,seeWorkingwithMediaonpage 101.
36
VMware, Inc.
To insert a CD into a virtual machine 1 2 Fromthevirtualmachineconsolewindow(seepage 28),movethepointeroverthe virtualmachinenameandchooseInsertCDfromthemenu. SpecifytheinformationfortheISOimage: a SelectanISOfilefromthemedialibrary. VMwarerecommendsputtingyourISOimagefilesinthedefault \\VMwareLM\ISOdirectorycreatedduringinstallation.Imagesinthis directoryareautomaticallypopulatedtotheMediaLibrarylist. b IfyourISOimagefiledoesnotappearintheMediaLibrarylist,specifythe detailsontheUNCpath: EntertheUNCnameofyourmachineimage(forexample, \\10.6.1.2\Public\CD\cd-image.iso). UseEnglishcharactersfortheUNCpath. Ifrequired,enterausernameandpassword. c ClickUse.
Thevirtualmachineconsoleappears.TheEjectCDoptionreplacestheInsertCD optiononthemouseovermenu.
Ejecting CDs
AfterinsertingaCDtoavirtualmachine,youcanejecttheCD. To eject the CD from a virtual machine Fromthevirtualmachineconsolewindow,movethepointeroverthevirtualmachine nameandchooseEjectCDfromthemenu.
VMware, Inc.
37
To insert a floppy disk into a virtual machine 1 2 Fromthevirtualmachineconsolewindow,movethepointeroverthevirtual machinenameandchooseInsertFloppyfromthemenu. Specifytheinformationforthefloppyfile: a Selectafloppyfilefromthemedialibrary. VMwarerecommendsputtingyourfloppyfilesinthedefault \\VMwareLM\ISOdirectorycreatedduringinstallation.Imagesinthis directoryareautomaticallypopulatedtotheMediaLibrarylist. b IfyourISOimagefiledoesnotappearintheMediaLibrarylist,specifythe detailsontheUNCpath: EntertheUNCnameofyourimage(forexample, \\10.6.1.2\Public\Floppy\floppy.vfd). UseEnglishcharactersfortheUNCpath. Ifrequired,enterausernameandpassword. c ClickUse.
Thevirtualmachineconsoleappears.TheEjectFloppyoptionreplacestheInsert Floppyoptiononthemouseovermenu.
38
VMware, Inc.
2 3
To access the properties for virtual machines 1 2 3 4 Intheleftpane,clickWorkspace. Ifthevirtualmachineisdeployed,movethepointerovertheconfigurationname andchooseUndeploySaveStateorUndeployDiscardStatefromthemenu. MovethepointerovertheconfigurationnameandchooseDetailsfromthemenu. MovethepointeroverthevirtualmachinenameandchoosePropertiesfromthe menu.
Thenewharddiskappearsintheinformationonproperties.
Ifthiserroroccurs,downloadandinstalltheappropriatedriver,andcontact VMwareforfurthersupport. IfyouaddthefirstinstanceofaSCSIharddisktoaWindowsmachinetemplate, rebootthetemplateandloginoncebeforepublishingit.Thisprocessallows Windowstoproperlyrecognizethenewvirtualhardware. IfyouaddthefirstinstanceofaSCSIharddisktoaWindowsvirtualmachineina Workspaceconfiguration,verifythatthevirtualmachinenetworksettingsare unaltered. To verify that the virtual machine network settings are unaltered 1 2 3 Logintothevirtualmachineconsolewindow. Fromthecommandline,runtheipconfigcommand. IftheIPaddressisnotthesameastheonelistedinthepropertiesinformationfor thevirtualmachine,resettheIPaddress.SeeChangingIPorMACAddresseson page 34. IfyougetanerrormessagewhenchangingtheIPaddress,clickNo.
40
VMware, Inc.
VMware, Inc.
41
IfyouuninstallVMwareToolsmanually,failtoinstallVMwareToolsproperly,or importatemplatethatwasnotpreviouslyexportedfromLabManager,youmight needtoselectthischeckboxbecauseLabManagerisunabletodetectwhether VMwareToolsexistsinthesecircumstances. IftheoptionindicatesthatVMwareToolsisinstalled,theInstallVMwareTools buttonnolongerappearsonthevirtualmachineconsole.Youcanstillaccessthe optiontoinstallVMwaretoolsthroughthemouseovermenuonthevirtual machineconsole. LMToolsTextnotingwhetherLMToolsisinstalledonthevirtualmachine. VMChainLengthThenumberofdeltadisksgeneratedbycertainoperations. Foreachchange,LabManagerfreezestheoriginaldeltadiskandcreatesanew one. Thechainlengthindicateshowscatteredthevirtualmachineimageisacrossthe directoriesofastorageserver. VMDirectoryIDLocationofthevirtualmachineonthefilesystem. Memory(MB)AmountofRAMallocatedforrunningthevirtualmachine. IPAddressVirtualmachineIPaddress. YoumustundeployavirtualmachinebeforeeditingthevirtualmachineIP addresses. EditingtheIPaddressdoesnotchangetheIPaddressonthemachine.The editingprocessaffectsonlytheIPaddressthatLabManagerconfigured internallyforthemachine.SeeChangingIPorMACAddressesonpage 34. MACAddressMachineMediaAccessControl(MAC)Addressofthevirtual machine.Ifthevirtualmachineisundeployed,youcanclicktheResetMAC AddressbuttontorecreatetheMACaddress.SeeChangingIPorMAC Addressesonpage 34. BootSequenceIntegernumber(0n)indicatingthebootorderforvirtual machines.LabManagercanbootvirtualmachinesinaconfigurationinaspecific sequenceorallatonce. Youdonotneedtousesequentialnumbers.LabManagercandeterminethe relativeorderforvirtualmachines. WaitAfterTurnOn(Seconds)Integernumberindicatingthedelaytime(or pause)betweenthebootupprocessofthismachineandthenextmachine. DeploymentLeaseorStorageLeaseDependingonwhetherthevirtualmachine isdeployed,thisoptionallowsyoutospecifyorupdateatimetoundeploythe
42 VMware, Inc.
templateoratimetodeletethetemplate(orjustmarkitfordeletion).Thedefault optionformarkingorpermanentdeletionispresetbyanadministrator. MostoperationsrenewthestorageleasebecauseLabManageridentifiesthe virtualmachineasinuse. Ifanadministratorsetsasystemwideleasetime,auserwithoutadministrator privilegescannotoverridethevaluebutcanextendtheleasetoanyvalueuptothe valuesetbytheadministrator. Iftheadministratorchangesthevalueaftertheinitialsetting,theusercanextend aleasetotheoriginalmaximumvalue.Oncetheuseralterstheleasetime,thelease choicesresetuptothelatestvaluedeterminedbytheadministrator. HardDisksStorage,bustype,busnumber,andbusIDforeachvirtualharddisk. SeeAddingVirtualHardDiskstoVirtualMachines(Templates)onpage 38. Toaddanewvirtualharddisk,clicktheAddHardDiskbuttonatthetopof thepage. Toeditavirtualharddisk,clicktheEditbutton. Todeleteavirtualharddisk,clicktheDeletebutton. Addingoreditingavirtualharddiskrequiresunpublishingthevirtualmachine.
VMware, Inc.
43
44
VMware, Inc.
VMware, Inc.
45
About Templates
Atemplateisavirtualmachineimageloadedwithanoperatingsystem,applications anddata.Youcanthinkofatemplateasarawvirtualmachine. Onceyoupublishatemplate,youcanlaythefoundationformultimachine configurationswithoutreinstallingsoftwareorperformingsetuptasksagain.Theuse oftemplatesensuresthatvirtualmachinesareconsistentlyconfiguredwithoperating systems,versions,systempacks,andmoreacrossanentireorganization. VMwarerecommendsinstallingLMToolsontemplates.LMToolsrequiresVMware ToolsandisafeaturethatallowsLabManagertoconfigurenetworksettings(IP address,MACaddress,SecurityIdentifier,andmore)forvirtualmachines.Thesetools saveyouthetroubleofmanuallyconfiguringthesettings.SeeInstallingLMToolson page 61formoreinformation.
46
VMware, Inc.
Usingthemouseovermenutotheleftofthefield,youcanfilteracrossallcolumns onthepageorwithinaspecificcolumn. Thefiltertextsearchdoesnotrecognizewildcards.Ifyouenteratraditional wildcard,suchasanasterisk(*),thisfunctionperformsaliteralsearchforan asterisksymbol. AddTemplateCreateatemplate. ImportTemplateImportatemplatefromSMBstorage. ImportfromVMFSImportatemplatefromVMFSstorage. Inthetopleftcorner,usethedropdownmenutodeterminethetemplatesthatappear onthepage: MyTemplatesViewonlyyourtemplates,bothsharedandprivate. TemplatesSharedbyOthersViewallsharedtemplatesexceptforyourown template. AllTemplatesAccessiblebyMeViewyourtemplates,bothsharedandprivate, andtemplatessharedbyothers. AllTemplates(AdministratorsOnly)Viewthesharedandprivatetemplatesof allusers.
VMware, Inc.
47
Copy
48
VMware, Inc.
VMware, Inc.
49
Creating Templates
Useoneofthesemethodstocreateamachinetemplate: Importamachinetemplatefromadirectoryonyournetwork.Usethisoptionto incorporateavirtualmachineexternaltoLabManager.SeeImportingTemplates onpage 51. Installanoperatingsystemandotherapplicationsonanewtemplate.See CreatingTemplatesfromScratchonpage 56. UseanactivevirtualmachineinLabManagerasthebasisofanewtemplate.See CreatingTemplatesfromActiveVirtualMachinesinLabManageronpage 66. Cloneorcopyatemplate.SeeCloningTemplatesonpage 67orCopying Templatesonpage 69.
Updating Templates
Ifyouneedtochangeanexistingtemplatewithanupdate,suchasapatchorservice pack,completethesetasks: Unpublishthetemplate. Deploythetemplate. Installthenecessaryupdates. Shutdownthevirtualmachineaftercompletingallthenecessaryupdates. Undeploythetemplate. Publishthetemplate. (Optional)Sharethetemplate. AsnotedinCreatingTemplatesfromScratchonpage 56,installinganimageontoa virtualmachineinvolvesloadingitfromavirtualCD.Refertothatsectionfor guidelinesoncompletingthesebulletedtasks.
50
VMware, Inc.
Importing Templates
ImportingatemplateimpliesbringingavirtualmachineexternaltotheLabManager systemintothesystem.YoucanimportanexistingvirtualmachinefromSMBorVMFS storagetoserveasatemplate.Forexample,refertotheinstructionsinthissectionfor VMFSstorageifyouhaveanexistingtemplateonanESXServermachineandyouwant tomovethetemplateunderLabManagercontrol. YoucanimportavirtualmachinethatLabManagerwasnotawareof,oryoucan importavirtualmachinethatwaspreviouslyexportedbyLabManager.LabManager changestheMACaddressofallimportedvirtualmachinesexceptfortheonesina suspendedstate. Thesetupforthevirtualmachineisprimarilystoredinthesefiles: Virtualmachinedisk(.vmdk)file.Youcanhavemultiple.vmdkfiles. Virtualmachineconfiguration(.vmxforVMware)file.Thisfileisapproximately 15K. LabManagersupportsthesetypesofvirtualmachinesforimportoperations: VMwareWorkstation VMwareServer VMwareESXServer LabManagerdoesnotsupporttemplateswithmultipleNICsorIDEdiskdrives.Ifyou arenotsurewhetheryourvirtualmachinescanruninanESXServerenvironment,you canrefertotheVMwareConverterproductdocumentationfordetailsonconverting virtualmachineformats. NOTE ExportandimportoperationsrequireanopenSMBportontheManaged Serversystems.ThoughtheinstallationoftheManagedServeragentsoftware takescareofopeningthatport,beawareofthisrequirementincasesomeone closestheportaftertheinstallation.Tochecktheportstatus,usethe esxcfg-firewall-qsmbClientcommandoneachManagedServersystem.
VMware, Inc.
51
NOTE
DonotimporttemplatesmanuallywithESXServercommands.
To import a template from SMB storage 1 2 3 Intheleftpane,clickTemplates. ClicktheImportTemplatebutton. Entertheinformationforthetemplate: a EntertheUNCpathtotheappropriatedirectory(forexample, \\10.10.10.10\importdir). UseEnglishcharactersfortheUNCpath. b c d e IftheUNCfolderneedsauthentication,specifytheusernameandpassword toaccessthefiles. Enterthename. (Optional)Enteradescription. Specifyatimetoundeploythetemplate. Ifanadministratorsetsasystemwideleasetime,auserwithout administratorprivilegescannotoverridethevaluebutcanextendtheleaseto anyvalueuptothevaluesetbytheadministrator. Iftheadministratorchangesthevalueaftertheinitialsetting,theusercan extendaleasetotheoriginalmaximumvalue.Oncetheuseraltersthelease time,theleasechoicesresetuptothelatestvaluedeterminedbythe administrator. f Specifyatimetodeletethetemplate(ormarkitfordeletion).Thedefault optionformarkingorpermanentdeletionispresetbyanadministrator. MostoperationsrenewthestorageleasebecauseLabManageridentifiesthe templateasinuse. Ifanadministratorsetsasystemwideleasetime,auserwithout administratorprivilegescannotoverridethevaluebutcanextendtheleaseto anyvalueuptothevaluesetbytheadministrator. Iftheadministratorchangesthevalueaftertheinitialsetting,theusercan extendaleasetotheoriginalmaximumvalue.However,oncetheuseralters theleasetime,theleasechoicesresetuptothelatestvaluedeterminedbythe administrator. g ClickNext.
52
VMware, Inc.
4 5
Selectthestorageservertoimportthetemplateto. IfyouimportatemplatethatwasnotexportedfromLabManager,specifydetails onVMwareToolsandLMToolsbecauseLabManagercannotdetectifthese utilitiesareinstalledonthetemplate: a SelecttheVMwareToolsInstalledcheckboxifyouknowthatVMwareTools existsonthattemplate. Ifyouselectthischeckbox,theInstallVMwareToolsbuttonnolonger appearsonthevirtualmachineconsole.Youcanstillaccesstheoptionto installVMwaretoolsthroughthemouseovermenuonthevirtualmachine console. TheselectionofthischeckboxactivatestheLMToolsInstalledcheckbox becauseyoucannotrunLMToolswithoutVMwareTools. b SelecttheLMToolsInstalledcheckboxifyouknowthatLMToolsexistson thattemplate.ThisselectioncausesLabManagertopasstherequired informationtotheLMToolsutilitytocustomizenetworksettings.Ifyouhave atemplatewithLMToolsbutyoudonotselectthischeckbox,LMToolsruns butfailstocustomizethenetworksettings. Afterselectingthischeckbox,theInstallLMToolsbuttonnolongerappears onthevirtualmachineconsole.YoucanstillaccesstheoptiontoinstallLM Toolsthroughthemouseovermenuonthevirtualmachineconsole.
7 8
VMware, Inc.
53
54
VMware, Inc.
Iftheadministratorchangesthevalueaftertheinitialsetting,theusercan extendaleasetotheoriginalmaximumvalue.Oncetheuseraltersthelease time,theleasechoicesresetuptothelatestvaluedeterminedbythe administrator. g Specifyatimetodeletethetemplate(orjustmarkitfordeletion).Thedefault optionformarkingorpermanentdeletionispresetbyanadministrator. MostoperationsrenewthestorageleasebecauseLabManageridentifiesthe templateasinuse. Ifanadministratorsetsasystemwideleasetime,auserwithout administratorprivilegescannotoverridethevaluebutdoeshavetheoptionto extendtheleasetoanyvalueuptothevaluesetbytheadministrator. Iftheadministratorchangesthevalueaftertheinitialsetting,theusercan extendaleasetotheoriginalmaximumvalue.However,oncetheuseralters theleasetime,theleasechoicesresetuptothelatestvaluedeterminedbythe administrator. h 4 ClickImport.
BecauseLabManagercannotdetectifLMToolsisinstalledonthetemplate, specifythatinformationifnecessaryintheWebconsole: a b MovethepointeroverthetemplatenameandchoosePropertiesfromthe menu. SelecttheLMToolsInstalledcheckboxifyouknowthatLMToolsexistson thattemplate.ThisselectioncausesLabManagertopasstherequired informationtotheLMToolsutilitytocustomizenetworksettings.Ifyouhave atemplatewithLMToolsbutyoudonotselectthischeckbox,LMToolsruns butfailstocustomizethenetworksettings. Afterselectingthischeckbox,theInstallLMToolsbuttonnolongerappears onthevirtualmachineconsole.YoucanstillaccesstheoptiontoinstallLM Toolsthroughthemouseovermenuonthevirtualmachineconsole. c ClickUpdate.
VMware, Inc.
55
56
VMware, Inc.
Specifythetemplateinformation: a b c d Enteraname. (Optional)Enteradescription. (Optional)Selectthestorageserver. Selecttheguestoperatingsystem. Ifyouselecta64bitguestoperatingsystem,thestorageservermustbe connectedtoaManagedServersystemthatprovidestherequired64bit processorforthatguestOS.Youcanproceedwithoutfulfillingthis requirementbutyoucannotdeploythetemplateuntilyouattachaManaged Serversystemwiththecorrectprocessor. ForinformationonenablingaManagedServersystemtoprovide64bit support,seetheVMwareInfrastructure3InstallationandUpgradeGuide. e SpecifythenumberofvirtualCPUs. ThestorageserverforvirtualmachinesmustbeconnectedtoaManaged ServersystemthatprovidestherequiredSMPtechnologyfortheguest operatingsystem.IfyouchooseaCPUnumbernotcurrentlycompatiblewith theCPUoftheManagedServersystem,youcannotdeploythevirtual machineuntilyouattachaManagedServersystemwiththeappropriateSMP support. f g h i Selectthedisktype. Enterthedisksize(GB). Enterthememory(MB). Specifyatimetoundeploythetemplate. LabManagerallowsyoutorenewaleaseatalatertimeinthepropertiespages fortemplates,virtualmachines,Workspaceconfigurations,andlibrary configurations. Iftheadministratorchangesthevalueaftertheinitialsetting,theusercan extendaleaseuptotheoriginalmaximumvalueorthenewvaluesetbythe administrator,whicheverisgreater. j Specifyatimetodeletethetemplateormarkthetemplatefordeletion.This leaseisintendedtodeleteunusedorinactivetemplates.Mostoperations renewtheleasebecauseLabManageridentifiesthetemplateasinuse.This optionformarkingorpermanentdeletionispresetbyanadministrator.
VMware, Inc.
57
TheTemplatespageliststhenewtemplatewithanUndeployedstatus.
Deploying a Template
Beforeinstallinganoperatingsystemandothersoftwareontothemachinetemplate, deployitonaManagedServersystem. To deploy a template 1 2 3 4 Fromtheleftpane,clickTemplates. Ifthetemplateispublished,movethepointeroverthetemplatenameandchoose Unpublishfromthemenu. MovethepointeroverthetemplatenameandchooseDeployfromthemenu. IftheNTLMAuthenticationdialogboxappears,selecttheDontAskMeAgain checkboxandclickYes.
58
VMware, Inc.
Creating an ISO File MostCDauthoringutilitiesgeneratenewISOimagefilesfromexistingfilesandrecord themonadisk.YoucreateanISOfilebycopyinganentiredisk,fromSector0tothe end,toafile.CommonWindowsutilitiesforcreatingISOfilesfromaCDorDVD includeISORecorder,WinImage,andRoxio. To install an operating system on a template virtual machine 1 2 3 Fromtheleftpane,clickTemplates. Ifyourtemplateisundeployed,movethepointeroverthetemplatenameand chooseDeployfromthemenu. ClickthethumbnailconsoleiconintheConsolecolumnforthemachineyouwant toinstallon. ThemachineconsoleappearsontheTemplates>MachineTemplate:<NAME> page. 4 5 MovethepointeroverthetabwiththetemplatenameandchooseInsertCDfrom themenu. Specifytheinformationfortheoperatingsystem: a SelectanoperatingsystemISOimage. IfyourISOimagefiledoesnotappearinthemedialibrarylist,enterthe UniversalNamingConvention(UNC)nameofyourmachineimage(for example,\\<Server>\LM\ISO\wind2k3.iso),username,andpassword. UseEnglishcharactersfortheUNCpath. NOTE DownloadyouroperatingsystemISOimagefilestothe\\VMwareLM\ISO directorycreatedduringtheLabManagerinstallationortoa\ISOdirectory onadditionalNFSmediaservers.YoucanusetheSynchronizefeatureofthe medialibrarytosyncupwiththefilesinanymediastorage.Mediafilesinthe medialibraryautomaticallyappearintheInsertCDpage. ToviewallLabManagerISOimagefiles,clickMediaintheleftpane.See WorkingwithMediaonpage 101forinformationonthemedialibrary. b 6 ClickUse.
VMware, Inc.
59
60
VMware, Inc.
Installing LM Tools
LMToolsisacollectionofsoftwareutilitiesforanewormodifiedmachinetemplate. InstallingLMToolsallowsLabManagertocustomizethenetworksettingsforavirtual machinemadefromatemplate. LabManagerassignsIPaddressesfromanIPaddresspool.SeetheVMwareLab ManagerInstallationGuideformoreinformationonnetworksettings. Do I Need to Install LM Tools? LMToolssetsthemachinenameandnetworkparameters(IPaddress,MACaddress, SecurityIdentifier,andmore)forthevirtualmachine.Thevirtualmachineretainsthese networkparameterswheneveritruns. WithoutLMTools,thevirtualmachineusestheIPaddressofthetemplate.This situationcreatesnetworkconflictswhenyoucreatevirtualmachinesfromthesame templateatthesametime.ToavoidthisconflictwithoutusingLMTools,accessthe virtualmachineconsolethroughLabManagerandmanuallysetthenetwork parameterstouniquevalues. IfyouhaveaWindowsvirtualmachinewithoutLMTools,andyouintendtoaddthe virtualmachinetoaWindowsdomain,changetheSecurityIdentifier(SID)using MicrosoftSyspreporanotherthirdpartytool. VMwarerecommendsinstallingLMToolsontemplatesexceptunderthese circumstances: Thesoftwareinthetemplateisconfiguredtousespecificnetworksettings. Youhavevirtualmachinesthatmustremainuntouchedforspecificsecurityor integrityrequirements. YouhaveguestoperatingsystemsthatLabManagerdoesnotsupport. ToreviewalistofsupportedoperatingsystemsforLMTools,seeAppendix B, GuestOperatingSystemSupport,onpage 167. Prerequisites to Install LM Tools Reviewtheseprerequisites: YoumustinstallVMwareToolspriortoinstallingLMTools. Youmustbeanadministratorfortheguestoperatingsysteminthevirtual machine. IfyouplantoinstallLMToolsona64bitguestoperatingsystem,anadministrator mustsetupacustomISOpriortotheinstallation.Forinstructions,seeReviewing theLMToolsTabonpage 147.
VMware, Inc. 61
YoucannotinstallLMToolsonatemplatethatisalreadyinadomain. Fordetailsonrunningvirtualmachinesinadomain,refertotheVMware Knowledgebase. YoucannotinstallLMToolsonatemplateconfiguredasaMicrosoftCluster Serviceserver,aMicrosoftCertificateServicesserver,oradomaincontroller. Installing LM Tools on Windows, Linux, and Solaris Machines ReviewtheseinstallationstepsforWindows,Linux,andSolarismachines. To install LM Tools on Windows machines 1 2 3 4 Intheleftpaneoftheconsole,clickTemplates. Movethepointeroverthenameofadeployedtemplate,andchooseViewConsole fromthemenu. Logintotheguestoperatingsystem. ClicktheInstallLMToolsbutton. Iftheinstallationdoesnotstart,autorunmightbedisabledintheregistry.To manuallyrunLMTools,navigatetotheCDdriveinWindowsExplorerandrun lmtools.exe. 5 6 ReviewtheinstallationnotesandclickOK. Completetheinstallation. IfyouareinstallingLMToolsonWindowsNT4.0orWindows2000,LMTools cannotvalidatepasswordsfortheseoperatingsystems.Proceedwiththe installationwhennotifiedaboutthisissue. 7 Aftertheinstallation,shutdownthemachine. LMToolssetstheNICtoDHCP.Thisavoidsnetworkconflictsinasituationwhere LMToolscustomizesWorkspacevirtualmachinesbasedonatemplate,andan existingvirtualmachinehasthesameIPaddressasthetemplate. Youcanproceedtoundeployandpublishthetemplateforconfigurations. NOTE YoucaninstallLMToolsonlybyusingtheconfigurationmouseovermenuon Windows2000,Windows2003,andWindowsXPmachines.
62
VMware, Inc.
To install LM Tools on Linux and Solaris machines 1 2 3 4 5 Intheleftpaneoftheconsole,clickTemplates. Movethepointeroverthenameofadeployedtemplate,andchooseViewConsole fromthemenu. Logintotheguestoperatingsystem. ClicktheInstallLMToolsbutton. Inthevirtualmachineconsole,performtheinstallationwiththesecasesensitive commands. ForRHEL,type:
> > > > > mount -t iso9660 /dev/cdrom /mnt/cdrom cd /etc/rc.d/init.d cp /mnt/cdrom/lm-tools . sh lm-tools install umount /mnt/cdrom
ForSUSELinux,type:
> > > > > mount -t iso9660 /dev/cdrom /media/cdrom cd /etc/rc.d cp /media/cdrom/lm-tools . sh lm-tools install umount /media/cdrom
ForSolaris,type:
> > > > > /etc/init.d/volmgt stop /etc/init.d/volmgt start cp -p /cdrom/cdrom/lm_tools. /etc/init.d/lm-tools sh /etc/init.d/lm-tools install eject cdrom
6 7 8
10
VMware, Inc.
63
Addressing a Failed Attempt at Installing LM Tools IftheinstallationofLMToolsfails,LabManagermayremainunawareofthefailure andassumeLMToolsisavailable.LabManagerremovestheInstallLMToolsbutton fromthevirtualmachineconsolepageafteritassumesaninstallationhasalreadytaken place. IfyoutrytoinstallLMToolsafterafailedattempt,youcanstillcompletethisoperation throughthemouseovermenuonthevirtualmachineconsolepage. To install LM Tools after a failed attempt 1 2 3 Intheleftpaneoftheconsole,clickTemplates. Movethepointeroverthenameofadeployedtemplate,andchooseViewConsole fromthemenu. ThoughtheInstallLMToolsbuttonisnolongeravailableafterthefirst installationattempt,youcaninsteadmovethepointeronthetabbedfolderand chooseInstallLMToolsfromthemouseovermenu.
Modifying a Machine Template After Installing LM Tools ModificationstoatemplatemayaffectLMTools.Ifyoumakechanges,reviewthese restrictions: Donotaddthetemplatetoadomain. Ifyouchangethepassword,youneedtouninstallandreinstallLMTools. NOTE IfyoustartaLinuxtemplatethatalreadyhasLMToolsinstalled,thiserror mightoccur: Starting lm-tools: Key KEYNUM not found. Youcanignoretheerrorandproceedtousethetemplate. Uninstalling LM Tools IfyouneedtouninstallLMTools,refertotheseinstructions. To uninstall LM Tools on a Linux or Solaris guest operating system 1 2 Loginasroot. UninstallLMTools:
# sh /etc/init.d/lm-tools uninstall # rm rf /etc/init.d/lm-tools
64
VMware, Inc.
To uninstall LM Tools on a Windows guest operating system UsetheAddorRemoveProgramswindowintheControlPaneltoremoveLMTools. IfyouuninstallLMToolsinavirtualmachineenvironment,LabManagerisisolated fromandunawareofthatoperation.MakesuretodeselecttheLMToolsInstalled checkboxthatisautomaticallyselectedafterinstallingLMTools. To deselect the LM Tools check box 1 2 3 4 Intheleftpaneoftheconsole,clickTemplates. Movethepointeroverthenameofthetemplate,andchoosePropertiesfromthe menu. DeselecttheLMToolsInstalledcheckbox. ClickOK.
ForSolarisguestoperatingsystems,navigatetothevirtualmachineconsoleand type:
> shutdown -y -g0 -i5
Undeploying a Template
YoucanundeployatemplatetostopthevirtualmachinefromrunningontheManaged Serverpool.Undeployatemplatebeforesuchoperationsaspublishing,exporting, consolidating,copying,anddeletingatemplate. To undeploy the template 1 2 Fromtheleftpane,clickTemplates. Ifthetemplateisdeployed,movethepointeroverthetemplatenameandchoose UndeploySaveStateorUndeployDiscardStatefromthemenu.Tounderstand theconceptofsavingmemorystate,seeSettingUserPreferencesonpage 111.
VMware, Inc.
65
Publishing a Template
Publishingatemplatemakesitavailableforuseinbuildingconfigurations. NOTE Storageleasesarenotapplicabletopublishedtemplates.Onceatemplate changesfromapublishedtounpublishedstate,thestorageleasebecomes applicable.Fordetailsonleases,seeReviewingtheResourceCleanupTab onpage 149.
Sharing a Template
YouhavetheoptiontokeeptemplatesforyourownuseorsharethemwithotherLab Managerusers. Administratorscandeploysharedtemplates.Ifanadministratorortemplateowner publishesatemplate,userswithoutadministratorprivilegescanuseittocreate configurations. To share your template with other users 1 2 Fromtheleftpane,clickTemplates. Movethepointeroverthetemplatename,andchooseMakeSharedfromthe menu.
66
VMware, Inc.
Fromtheleftpane,clickTemplates. TheTemplatespageappearswiththenewtemplate.
IfyouchooseAddtoTemplatesinthisprocedureorfromthemouseovermenuina virtualmachineconsole(andthatvirtualmachineisrunningWindows2000,Windows 2003,orWindowsXP),shutdowntheoperatingsystem,andpublishthetemplate,LM Toolsdoesnotworkuntiltheuserdeploysthevirtualmachineandlogsinforthefirst time.(YoucanseeautilityforLMToolsrunningafteryoulogin.) Theworkaroundinvolvesdeployingthetemplate,uninstallingLMToolsinsidethe virtualmachine,reinstallingLMToolswiththemouseovermenu,shuttingdownthe operatingsystem,andpublishingthetemplate. ForgeneralinformationonLMTools,seeInstallingLMToolsonpage 61.
Cloning Templates
Youcancloneatemplatetotakeadvantageofsoftwarealreadyinstalledonthat template.Userswithoutadministrativeprivilegescannotclonetemplatessharedby otherusers. Acloningoperationcreatesadeltadiskinsteadofcopyinganentirevirtualharddisk. Thisoperationaddressesvirtualmachineproliferationbyusingreferential provisioning,aprocessthatinvolvesstoringnewchangesbutreferringbacktoachain ofdeltadisks.Foreachchange,LabManagerfreezestheoriginaldeltadiskandcreates anewone. To clone a template 1 2 Fromtheleftpane,clickTemplates. Movethepointeroverthetemplatename,andchooseClonefromthemenu.
VMware, Inc.
67
Specifythedetailsonthetemplate: a b c Enteraname. (Optional)Enteradescription. Specifyatimetoundeploythetemplate. Ifanadministratorsetsasystemwideleasetime,auserwithout administratorprivilegescannotoverridethevaluebutcanextendtheleaseto anyvalueuptothevaluesetbytheadministrator. Iftheadministratorchangesthevalueaftertheinitialsetting,theusercan extendaleasetotheoriginalmaximumvalue.Oncetheuseraltersthelease time,theleasechoicesresetuptothelatestvaluedeterminedbythe administrator. d Specifyatimetodeletethetemplate(ormarkitfordeletion).Thedefault optionformarkingorpermanentdeletionispresetbyanadministrator. MostoperationsrenewthestorageleasebecauseLabManageridentifiesthe templateasinuse. Ifanadministratorsetsasystemwideleasetime,auserwithout administratorprivilegescannotoverridethevaluebutcanextendtheleaseto anyvalueuptothevaluesetbytheadministrator. Iftheadministratorchangesthevalueaftertheinitialsetting,theusercan extendaleasetotheoriginalmaximumvalue.Oncetheuseraltersthelease time,theleasechoicesresetuptothelatestvaluedeterminedbythe administrator. e ClickClone. ThenewtemplateappearsontheTemplatespage.
68
VMware, Inc.
Copying Templates
Copyatemplatetocreateacomplete(deep)copy.Userswithoutadministrative privilegescannotcopytemplatessharedbyotherusers. Thisoperationtakesalongertimethanthecloneoperationandcopies(ratherthan consolidates)allofthedeltadisksandthemasterdisk.Typically,youdonotcopya templateunlessyouneedtodismantlethestorageandmovethevirtualmachinetoa differentserver. To copy a template 1 2 3 4 Fromtheleftpane,clickTemplates. Ifthetemplateisdeployed,movethepointeroverthetemplatenameandchoose Undeployfromthemenu. MovethepointeroverthetemplatenameandchooseCopyfromthemenu. Specifythedetailsonthetemplate: a b c d Enteraname. (Optional)Enteradescription. Selectthestorageserverforthecopyofthetemplate. Specifyatimetoundeploythetemplate. Ifanadministratorsetsasystemwideleasetime,auserwithout administratorprivilegescannotoverridethevaluebutcanextendtheleaseto anyvalueuptothevaluesetbytheadministrator. Iftheadministratorchangesthevalueaftertheinitialsetting,theusercan extendaleasetotheoriginalmaximumvalue.Oncetheuseraltersthelease time,theleasechoicesresetuptothelatestvaluedeterminedbythe administrator. e Specifyatimetodeletethetemplate(ormarkitfordeletion).Thedefault optionformarkingorpermanentdeletionispresetbyanadministrator. MostoperationsrenewthestorageleasebecauseLabManageridentifiesthe templateasinuse. Ifanadministratorsetsasystemwideleasetime,auserwithout administratorprivilegescannotoverridethevaluebutcanextendtheleaseto anyvalueuptothevaluesetbytheadministrator. Iftheadministratorchangesthevalueaftertheinitialsetting,theusercan extendaleasetotheoriginalmaximumvalue.Oncetheuseraltersthelease
VMware, Inc.
69
Exporting Templates
YoucanexportatemplatetoSMBstorage.Thisoperationassumesthatyouenableda sharedfolderwithreadandchangepermissions(alsocoveredbyfullcontrol permissions).Exportingcantakeupto30minutes,dependingonthesizeofthevirtual machine. NOTE ExportandimportoperationsrequireanopenSMBportontheManaged Serversystems.ThoughtheinstallationoftheManagedServeragentsoftware takescareofopeningthatport,beawareofthisrequirementincasesomeone closestheportaftertheinstallation.Tochecktheportstatus,usethe esxcfg-firewall-qsmbClientcommandoneachManagedServersystem.
70
VMware, Inc.
Consolidating Templates
Avirtualmachineimagecanchangeovertime,typicallywiththeadditionofnew softwareandchangedsettings.Eachchangetoavirtualmachineimageisstoredasa deltadisk. Overtime,theincreasingnumberofdeltadisksstoredacrossthedirectoriesofa storageservercanaddtothetimeittakestodeploy,transfer,orexecuteanimage.To improveaccessanddeploymenttime,consolidateavirtualimageanditsdeltachanges. Usethisoptionwhenthevirtualmachinechainlengthistenormore. Consolidatingavirtualmachineimagecantakeupto30minutes,dependingonthe imagesizeandnumberofdeltasbeingmerged. To consolidate a template 1 2 3 Fromtheleftpane,clickTemplates. Ifthetemplateisdeployed,movethepointeroverthetemplatenameandchoose Undeployfromthemenu. MovethepointeroverthetemplatenameandchooseConsolidatefromthemenu. OntheTemplatespage,thevirtualmachinestatuschangestoConsolidatingthe harddisk.Theharddiskisthevirtualmachinedisk(.vmdk).
VMware, Inc.
Review,select,andedittheappropriateproperties: NameCancontainonlyalphanumericcharacters(az,AZ,09),hyphens, underscores,orperiods.Maximumlengthis15characters. Description(Optional)Maximumnumberofcharactersis128. OwnerNameofthetemplateowner. NumberofVirtualCPUsMaximumnumberofprocessorsis4. ThestorageserverforvirtualmachinesmustbeconnectedtoaManaged ServersystemthatprovidestherequiredSMPtechnologyfortheguest operatingsystem.IfyouchooseaCPUnumbernotcompatiblewiththeCPU oftheManagedServersystem,youcannotdeploythevirtualmachineuntil youattachaManagedServersystemwiththeappropriateSMPsupport. GuestOSGuestoperatingsystemofthetemplate. Ifyouselecta64bitguestoperatingsystem,thestorageservermustbe connectedtoaManagedServersystemthatprovidestherequired64bit processorforthatguestOS.Youcanproceedwithoutfulfillingthis requirementbutyoucannotdeploythetemplateuntilyouattachaManaged Serversystemwiththecorrectprocessor.Forinformationonenablinga ManagedServersystemtoprovide64bitsupport,seetheVMware Infrastructure3InstallationandUpgradeGuide. StorageServerStorageservertostorethevirtualmachineon. VirtualMachineTechnologyVMwareESXServer. 32bitVirtualCPUBydefault,thevirtualCPUtypeassumesthephysical hostCPUtype. Selectthischeckboxtooverridethedefaultbehaviorandensurethevirtual CPUtypeis32bit.Forexample,youmightselectthisoptionwhenyouneed tocompleteatestingprocessspecificallywith32bitvirtualCPU. UseTimeSynchronizationEnablestimesynchronizationbetweentheguest (virtualmachine)andhost(ManagedServer)operatingsystems.Youmust installVMwareToolstousethisoption. Thisoptionsetsthevalueoftools.syncTimeinthe.vmxfile. VMwareToolsInstalledSpecificationofwhetherVMwareToolsisinstalled onthetemplate. IfyouuninstallVMwareToolsmanually,failtoinstallVMwareTools properly,orimportatemplatethatwasnotpreviouslyexportedfromLab
72
VMware, Inc.
Manager,youmightneedtoselectthischeckboxbecauseLabManageris unabletodetectwhetherVMwareToolsexistsinthesecircumstances. Ifyouselectthischeckbox,theInstallVMwareToolsbuttonnolonger appearsonthevirtualmachineconsole.Youcanstillaccesstheoptionto installVMwaretoolsthroughthemouseovermenuonthevirtualmachine console. TheselectionofthischeckboxactivatestheLMToolsInstalledcheckbox becauseyoucannotrunLMToolswithoutVMwareTools. LMToolsInstalledSpecificationofwhetherLMToolsisinstalledonthe template. IfyouuninstallLMToolsmanually,failtoinstallLMToolsproperly,orimport atemplatethatwasnotpreviouslyexportedfromLabManager,youmight needtoselectthischeckboxbecauseLabManagerisunabletodetectwhether LMToolsexistsinthesecircumstances. SelectingthischeckboxcausesLabManagertopasstherequiredinformation totheLMToolsutilitytocustomizenetworksettings.Ifyouhaveatemplate withLMToolsbutyoudonotselectthischeckbox,LMToolsrunsbutfailsto customizethenetworksettings. Afterselectingthischeckbox,theInstallLMToolsbuttonnolongerappears onthevirtualmachineconsole.YoucanstillaccesstheoptiontoinstallLM Toolsthroughthemouseovermenuonthevirtualmachineconsole. SIDMechanism(ForWindowsmachines)SpecificationofthetoolLab ManagerusestochangetheSID.Thisentryappearsonlyifyoucreateda customLMToolsISO(seeReviewingtheLMToolsTabonpage 147). IfatemplateusesaparticularSIDmechanism(SIDgenorSysprepas designatedontheLMToolstaboftheWebconsole),youcanswitchthe mechanism.LMToolsrequiresSysprepon64bittemplates. VMChainLengthNumberofdeltadisksgeneratedbycertainoperations. Foreachchange,LabManagerfreezestheoriginaldeltadiskandcreatesa newone. VMDirectoryIDLocationofthevirtualmachineonthefilesystem. Memory(MB)AmountofRAMallocatedforrunningthevirtualmachine. MACAddressMachineMediaAccessControl(MAC)Address.Ifthe templateisundeployed,youcanclicktheResetMACAddressbuttonto recreatetheMACaddress.
VMware, Inc.
73
DeploymentLeaseorStorageLeaseDependingonwhetherthetemplateis deployedornot,thisoptionallowsyoutospecifyorupdateatimeto undeploythetemplateoratimetodeletethetemplate(ormarkitfor deletion).Thedefaultoptionformarkingorpermanentdeletionispresetby anadministrator. MostoperationsrenewthestorageleasebecauseLabManageridentifiesthe templateasinuse.SeeReviewingtheResourceCleanupTabonpage 149. Ifanadministratorsetsasystemwideleasetime,auserwithout administratorprivilegescannotoverridethevaluebutcanextendtheleaseto anyvalueuptothevaluesetbytheadministrator. Iftheadministratorchangesthevalueaftertheinitialsetting,theusercan extendaleasetotheoriginalmaximumvalue.Oncetheuseraltersthelease time,theleasechoicesresetuptothelatestvaluedeterminedbythe administrator. HardDisksStorage,bustype,busnumber,andbusIDforeachvirtualhard disk.SeeAddingVirtualHardDiskstoVirtualMachines(Templates)on page 38. Toaddanewvirtualharddisk,clicktheAddHardDiskbuttonatthetop ofthepage. Toeditorremoveavirtualharddisk,clicktheEditorDeletebuttons. NOTE Addingoreditingavirtualharddiskrequiresunpublishingthetemplate.If thetemplateispublished,clickTemplatesintheleftpane,movethepointer overthetemplatename,andchooseUnpublishfromthemenu.
ClickUpdate.
Deleting Templates
LabManagerallowsonlytheadministratororthetemplateowner(evenifthetemplate issharedwithotherusers)todeleteatemplate. To delete a template 1 2 Fromtheleftpane,clickTemplates. Ifthetemplateisdeployed,movethepointeroverthetemplatenameandchoose UndeploySaveStateorUndeployDiscardStatefromthemenu. Ifthetemplateisundeployedbutpublished,VMwarerecommendsunpublishing atemplatebeforedeletingit.Anexceptiontothisrecommendationmightcomeup
74 VMware, Inc.
VMware, Inc.
75
76
VMware, Inc.
VMware, Inc.
77
About Configurations
Templatesmustbepublishedbeforeyoucancreateconfigurations.Forinformationon buildingandusingmachinetemplates,seeChapter 4,WorkingwithMachine Templates,onpage 45. LabManagerprovidestheWorkspacepagetoworkwithconfigurationsandthe configurationlibrarytostoreandcheckoutconfigurations.
Accessing Configurations
YoucanaccessconfigurationsintheWorkspaceandintheconfigurationlibrary. To access the Workspace page ClickWorkspaceintheleftpane. TheWorkspacepageincludestheseelements: ConsolesProvidesaccesstothevirtualmachineconsolesoftheconfiguration throughthethumbnailicons. ConfigurationNameProvidesamouseovermenutoperformvariousoperations ontheconfiguration. StatusIndicateswhethertheconfigurationisdeployedorinthemidstofan operation. OwnerShowstheowneroftheconfiguration. DateDeployedShowsthedateandtimeofthelastdeployoperation. FencedIndicateswhethertheconfigurationisrunninginfencedmode. #MachinesShowsthenumberofvirtualmachinesintheconfiguration. SharingShowsconfigurationsavailableforotherstousebesidetheowner. FilterViewasubsetoftheconfigurations.InthefieldtotheleftoftheFilter button,entertextthatappearsintheattributesoftheconfigurationyouwantto view. Usingthemouseovermenutotheleftofthefield,youcanfilteracrossallcolumns onthepageorwithinaspecificcolumn. Thefiltertextsearchdoesnotrecognizewildcards.Ifyouenteratraditional wildcard,suchasanasterisk(*),thisfunctionperformsaliteralsearchforan asterisksymbol.
78
VMware, Inc.
Inthetopleftcorner,usethedropdownmenutodeterminetheconfigurationsthat appearonthepage: MyConfigurationsViewonlyyourconfigurations,bothsharedandprivate. ConfigurationsSharedbyOthersViewallsharedconfigurationsexceptforyour ownconfiguration. AllConfigurationsAccessiblebyMeViewyourconfigurations,bothshared andprivate,andconfigurationssharedbyothers. AllConfigurations(AdministratorsOnly)Viewthesharedandprivate configurationsofallusers. Reviewthesebuttons: NewConfigurationCreateaconfiguration. ImportConfigurationImportaconfigurationfromthenetwork. To access the configuration library ClickLibraryintheleftpane. TheLibrarypageforconfigurationsincludestheseelements: ConfigurationNameProvidesamouseovermenutoperformoperationsonthe configuration. StatusIndicateswhethertheconfigurationisinthemidstofanoperation. OwnerShowstheowneroftheconfiguration. DescriptionShowstheoptionaldescriptionfromthecaptureoperation. DateCapturedShowsthedateandtimewhentheconfigurationwascaptured fromtheWorkspacetotheconfigurationlibrary. #MachinesShowsthenumberofvirtualmachinesintheconfiguration. SharingShowsconfigurationsavailableforotherstouse. FilterViewasubsetoftheconfigurations.InthefieldtotheleftoftheFilter button,entertextthatappearsintheattributesoftheconfigurationyouwantto view. Usingthemouseovermenutotheleftofthefield,youcanfilteracrossallcolumns onthepageorwithinaspecificcolumn. Thefiltertextsearchdoesnotrecognizewildcards.Ifyouenteratraditional wildcard,suchasanasterisk(*),thisfunctionperformsaliteralsearchforan asterisksymbol.
VMware, Inc. 79
80
VMware, Inc.
Import LiveLink
MakePrivate
VMware, Inc.
81
82
VMware, Inc.
Creating Configurations
AconfigurationusestemplatescreatedbyyouorprovidedbyLabManager.Youmust publishthetemplatestomakethemavailableforbuildingconfigurations. Creatingaconfigurationinvolvesdefiningconfigurationpropertiesandaddingvirtual machinestotheconfiguration. To define configuration properties for a new configuration 1 2 3 Intheleftpane,clickWorkspace. ClicktheNewConfigurationbuttonatthetopofthepage. IntheDefineConfigurationPropertiesarea,completethesetasks: a b c d Enteranamefortheconfiguration. (Optional)Enteradescriptionoftheconfiguration. (Optional)Changethenetworkinginformationforthegateway,netmask,and DNSsettingsforthevirtualmachines. Specifyatimetodeletetheconfigurationormarktheconfigurationfor deletion.Thisoptionformarkingorpermanentdeletionispresetbyan administrator.
Onthesamepage,proceedtoaddvirtualmachinestotheconfiguration.
VMware, Inc.
83
To add virtual machines to a new configuration 1 Selectthetemplateforthevirtualmachine. TheTemplatelistcontainsthetemplatesyoucreatedandthetemplatessharedby others.Ifaknowntemplatedoesnotappearinthelist,verifythatyoupublished thetemplate(seepage 66). Ifyousee(staticIPonly)attheendofthetemplatename,thelegacytemplatehas anoutdatedversionoftheLMToolsutilityandcannotsupportDHCP.Ifyouneed thetemplatetoworkwithDHCP,youmustupgradetheLMToolsutilityonthat templatebyuninstallingtheexistingversionandreinstallingLMToolsthrough theWebconsole.FordetailsoninstallinganduninstallingLMTools,see InstallingLMToolsonpage 61andUninstallingLMToolsonpage 64. 2 3 4 Enterthenameofthevirtualmachine. (Optional)Enteradescriptionofthevirtualmachine. (Optional)Changethedefaultvaluesforbootparameters: BootSequenceEnteranintegernumber(0n)indicatingthebootorderfor thevirtualmachines. Youdonotneedtousesequentialnumbers.LabManagercandeterminethe relativeorder. WaitAfterTurnOn(Seconds)Enteranintegernumberindicatingthedelay time(orpause)betweenthebootupprocessofthismachineandthenext machine. 5 SpecifytheIPaddressassignment. SelectingStatic(manual)activatestheIPAddresstextbox.ForinformationonIP addressallocation,seeUnderstandingIPAddressManagementonpage 139and IPAddressAssignmentforVirtualMachinesonpage 85. 6 Toaddanothermachinetothisconfiguration,clickAddMachineandspecifythe requiredinformation. AnadditionalentryrowentryappearsintheAddMachinestoConfigurationlist. NOTE Duringthecreationoftheinitialconfiguration,youcanaddonly20virtual machines.Toaddvirtualmachinesatalatertime,seeAddingVirtual MachinestoExistingConfigurationsonpage 85.
ClickOK. ThenewconfigurationappearsintheWorkspacepage.
84
VMware, Inc.
DHCP
Selectthetemplatefromthelistofpublishedtemplates.
85
d e
Deploying Configurations
DeployingaconfigurationregistersandrunsthevirtualmachinesontheManaged Serverpool.ThissectionincludesinformationondeployoptionsandIPaddress allocation. NOTE WhenyouinitiallydeployaconfigurationusingtemplateswithLMTools,do notshutdownthevirtualmachinesuntiltheloginpageappears.
86
VMware, Inc.
Deploy Options
ReviewtheoptionsfortheDeployoperation: Specifywhethertodeploytheconfigurationinfencedmode. Fencingisatechnologythatisolatesorfencesgroupsofmachinesonthesame networkfromothermachines.Forcompleteinformationonthisfeatureand consequencesofdeployingafencedconfigurationafterdeployingitwithout fencingandsavingitsstate,seeAppendix C,NetworkFencing,onpage 171. AllowTrafficInandOutVirtualmachinescancommunicatewithmachines outsidethefenceandmachinesoutsidethefencecancommunicatewith virtualmachinesinthefencedconfiguration. AllowTrafficOutVirtualmachinesinafencedconfigurationcaninitiate communicationtomachinesoutsidethefence,andcanreceivemessagesback onthesameconnection.Machinesoutsidethefencecannotinitiate communicationtovirtualmachinesinthefencedconfiguration. Thisoptionisusefulwhenvirtualmachinesneedtoobtaindataorexecute codeoutsidethefence(asseenwithWebservicesordatabases),butdonot wanttoreceivemessagesthatmaydisrupttesting. BlockTrafficInandOutNetworktrafficdoesnottravelacrossthefence. Virtualmachinesinafencedconfigurationcannotcommunicatewith machinesoutsideofthefence,andmachinesoutsidethefencecannot communicatewithvirtualmachinesinthefencedconfiguration. Thisoptionisusefulinthesecircumstances: Youaretestingsoftwareviruseswhichneedtoremainisolatedfromthe network. Youaretestingaclientserverapplicationinisolation. Deployingaconfigurationinfencedmodeplacesallthevirtualmachinesona singleManagedServersystem.YoumusthaveaManagedServersystem connectedtothestorageserverwherethetemplatesthatserveasthebasisofthis configurationreside.TheManagedServersystemmusthavesufficientresources, suchasmemory,slots,andfences.
VMware, Inc.
87
CAUTION Ifyoudeployaclonedorcheckedoutconfigurationandyoudonotuse fencing,errorsaboutduplicateIPaddressesappearwhentheoriginal configurationisalsodeployedinunfencedmode. Otherthanfencingoneoftheconfigurations,youronlyotheroptionis tomanuallychangetheIPandMACaddresses(andSecurity IdentifiersonWindowsmachines)oneachofthevirtualmachinesin oneoftheconfigurations. ChangingvirtualmachineIPandMACaddressesinvolvesmanually changingtheIPandMACaddressesonthevirtualmachine,and editingthepropertiesinformationtoensureLabManagercan acknowledgethenewaddresses.SeeChangingIPorMAC Addressesonpage 34. UseServerBootSequenceYoucanbootvirtualmachinesinaspecificsequence orallatonce.Selectthischeckboxifyouwanttousethebootsequencespecified duringthecreationoftheconfiguration. TurnOnMachinesAfterDeploymentDeselectthischeckboxtopreventLab Managerfromturningonvirtualmachinesimmediatelyafterdeployment.Some usersmightfinditusefultomanuallybringupvirtualmachinesoneatatime. DeploymentLeaseSpecifyatimetoundeploytheconfiguration.LabManager allowsyoutorenewaleaseatalatertime. LabManagerallowsyoutorenewaleaseatalatertimeinthepropertiespagesfor templates,virtualmachines,Workspaceconfigurations,andlibrary configurations. Ifanadministratorsetsasystemwideleasetime,auserwithoutadministrator privilegescannotoverridethevaluebutcanextendtheleasetoanyvalueuptothe valuesetbytheadministrator. Iftheadministratorchangesthevalueaftertheinitialsetting,theusercanextend aleasetotheoriginalmaximumvalue.Oncetheuseralterstheleasetime,thelease choicesresetuptothelatestvaluedeterminedbytheadministrator.
Undeploying Configurations
Undeployingaconfigurationstopsvirtualmachinesinaconfigurationfromrunning ontheManagedServerpool. To undeploy a configuration 1 2 Intheleftpane,clickWorkspace. MovethepointerovertheconfigurationnameandchooseUndeploySaveState orUndeployDiscardStatefromthemenu.
VMware, Inc.
89
Completethecaptureprocess: a b c Enteranameforthecapturedconfiguration. (Optional)Enteradescription. Specifyatimetodeletetheconfigurationormarktheconfigurationfor deletion.Thisoptionformarkingorpermanentdeletionispresetbyan administrator. ClickCapture. OntheWorkspacepage,theentryintheStatuscolumnbrieflychangesto Capturing.TheentrychangesbacktoDeployedorUndeployeddepending ontheoriginalstateofthecapturedconfiguration.
Intheleftpane,clickLibrarytoseethecapturedconfiguration.
Afterabrieftime,anundeployedcopyofthelibraryconfigurationappearsinthe Workspacepage.
Stopping Configurations
MorethanoneoptionisavailableintheWorkspacetostopaconfiguration. UndeployTurnsoffallconfigurationvirtualmachines,freeingresourcesonthe ManagedServerpool. CAUTION Duringtheundeployoperation,anorderlyshutdownofthevirtual machinesdoesnotexist.Theundeployoperationturnsoffthe virtualmachinesbeforeuninstantiatingthem,andremovesthemfrom theManagedServerpool.Forexample,ifyouhaveanapplicationopen onaWindowsvirtualmachine,youmustremembertosaveyourwork. Ifyouneedtopreservethecurrentstateoftheconfiguration,capture theconfigurationtotheconfigurationlibrary. TurnOffTurnsoffallvirtualmachinesintheconfiguration.Turningoffavirtual machineisthevirtualequivalentofpoweringdownaphysicalmachine.The configurationremainsregisteredontheManagedServerpool. TheTurnOnoptionreversesthisoperation. SuspendSuspendsCPUsforallthevirtualmachines.Theconfigurationremains registeredontheManagedServerpool. TheResumeoptionreversesthisoperation.
Cloning Configurations
Youcancloneyourownconfigurationorconfigurationssharedbyotherusers. Acloningoperationcreatesadeltadiskinsteadofcopyinganentirevirtualharddisk. Thisoperationaddressesvirtualmachineproliferationbyusingreferential provisioning,aprocessthatinvolvesstoringnewchangesbutreferringbacktoachain ofdeltadisks.Foreachchange,LabManagerfreezestheoriginaldeltadiskandcreates anewone. Whenyoucloneaconfiguration,LabManagerassignsthesamenetworkparametersto theclonedvirtualmachines.Ifyoudeploytheoriginalandclonedconfigurationsatthe
VMware, Inc.
91
sametime,duplicateIPaddresserrorsoccurunlessoneoftheconfigurationsis deployedinfencedmode. Inafencedconfiguration,virtualmachinesretainthesameIPaddresswithinthefence. LabManagerassignsnewexternalIPaddressesforcommunicationoutsidethefence. Eachtimeyoudeployafencedconfiguration,LabManagerassignsnewexternalIP addressesfromtheLabManagerIPaddresspool.LabManagerreturnstheIP addressestothepoolwhenthefencedconfigurationisundeployed. NOTE LabManagerdoesnotreturntheIPaddressofaclonedorcopiedvirtual machinetotheIPpooluntilthevirtualmachineandallitscopiesaredeleted.
To clone a configuration 1 2 3 Intheleftpane,clickWorkspace. MovethepointerovertheconfigurationnameandchooseClonefromthemenu. Specifythedetailsoftheclone: a b c d Enteranamefortheclone. (Optional)Enteradescription. Specifyatimetodeletetheconfigurationormarktheconfigurationfor deletion.ThedefaultvalueisNever. ClickClone.
Copying Configurations
Youcancreateacomplete(deep)copyofyourconfigurationoraconfigurationshared byanotheruser.Thisoperationcopies(ratherthanconsolidates)allofthedeltadisks andthemasterdisk.Typically,youdonotcopyaconfigurationunlessyouneedto dismantlethestorageandmovethevirtualmachineconfigurationtoadifferentserver. Thisoperationtakesalongertimethanthecloneoperation. To copy a configuration 1 2 Intheleftpane,clickWorkspace. Iftheconfigurationisdeployed,movethepointerovertheconfigurationnameand chooseUndeploySaveStateorUndeployDiscardStatefromthemenu.
92
VMware, Inc.
3 4
Exporting Configurations
YoucanexportanundeployedconfigurationandallitsvirtualmachinefilestoSMB storage.Thisoperationassumesthatyouenabledasharedfolderwithreadandchange permissions(alsocoveredbyfullcontrolpermissions).Exportingcantakeupto30 minutesforeachvirtualmachineintheconfiguration,dependingonthesizeofthe virtualmachine. NOTE ExportandimportoperationsrequireanopenSMBportontheManaged Serversystems.ThoughtheinstallationoftheManagedServeragentsoftware takescareofopeningthatport,beawareofthisrequirementincasesomeone closestheportaftertheinstallation.Tochecktheportstatus,usethe esxcfg-firewall-qsmbClientcommandoneachManagedServersystem.
VMware, Inc.
93
b c 4
Ifnecessary,enterausernameandpasswordfortheexportdirectory. ClickExport.
Confirmtocontinuetheexportprocess. TheconfigurationappearsontheWorkspacepagewithastatusofExporting.
Importing Configurations
YoucanimportaconfigurationandallitsvirtualmachinefilesfromSMBstorage. Importingcantakeupto30minutesforeachvirtualmachineintheconfiguration, dependingonthesizeofthevirtualmachine. NOTE ExportandimportoperationsrequireanopenSMBportontheManaged Serversystems.ThoughtheinstallationoftheManagedServeragentsoftware takescareofopeningthatport,beawareofthisrequirementincasesomeone closestheportaftertheinstallation.Tochecktheportstatus,usethe esxcfg-firewall-qsmbClientcommandoneachManagedServersystem.
To import a configuration 1 2 3 Intheleftpane,clickWorkspace. ClicktheImportConfigurationbuttonatthetopofthepage. Entertheinformationfortheconfiguration: a EntertheUNC(UniversalNamingConvention)nameofthedirectory (relativetotheLabManagerServersystem)fromwhereyouwanttoimport theconfiguration.Asamplepathis \\10.6.1.246\VMwareLM\ExportConfigs. UseEnglishcharactersfortheUNCpath. b c d Ifnecessary,enterausernameandpasswordfortheimportdirectory. Enteranamefortheimportedconfiguration. (Optional)Enteradescription.
94
VMware, Inc.
Specifyatimetodeletethetemplate(ormarkitfordeletion).Thedefault optionformarkingorpermanentdeletionispresetbyanadministrator. MostoperationsrenewthestorageleasebecauseLabManageridentifiesthe templateasinuse.SeeReviewingtheResourceCleanupTabonpage 149. Ifanadministratorsetsasystemwideleasetime,auserwithout administratorprivilegescannotoverridethevaluebutdoeshavetheoptionto extendtheleasetoanyvalueuptothevaluesetbytheadministrator. Iftheadministratorchangesthevalueaftertheinitialsetting,theusercan extendaleasetotheoriginalmaximumvalue.Oncetheuseraltersthelease time,theleasechoicesresetuptothelatestvaluedeterminedbythe administrator.
f 4
ClickNext.
TheWorkspacepagehasanImportingstatusfortheconfiguration.
Sharing Configurations
Sharingaconfigurationtomakeitavailableforotherusers. To share a configuration 1 2 Intheleftpane,clickWorkspace. MovethepointerovertheconfigurationnameandchooseMakeSharedfromthe menu. TheWorkspacepageshowsaSharedentryfortheconfiguration. Toseeallsharedconfigurationsexceptforyourownconfigurations,select ConfigurationsSharedbyOthersinthedropdownmenuatthetopofthepage.
VMware, Inc.
95
To create a LiveLink 1 2 3 Intheleftpane,clickLibrary. Iftheconfigurationisnotyetshared,movethepointerovertheconfiguration nameandchooseMakeSharedfromthemenu. MovethepointerovertheconfigurationnameandchooseLiveLinkfromthe menu. TheURLtothelibraryconfigurationappears. 4 SetuptheLiveLink: a b c ClickCopyURLtocopytheURLtoyourWindowsclipboard. Emailthislinktoanothertesterordeveloper. (Optional)TypeanoteintheAttachacommentfield.Thisnoteappearswhen auserinvokestheURLoftheconfigurationLiveLink.
To restore a configuration LiveLink 1 InvokeaLiveLinkURLinabrowser. Ifyouarenotloggedin,theLabManagerloginpageappears. 2 Enteryourusernameandpassword. TheRestoreLabManagerLiveLinkpageappears.Thumbnailsofthevirtual machinesareavailable. 3 ClickDeploytodeploytheconfigurationintheWorkspace. TheconfigurationnameisthenameoftheLibraryconfigurationwithLiveLink prefixedtoit.Forexample,OracleLinuxBobbecomesLiveLinkOracleLinux Bob(n),wherenindicatesthenumberoftimestheLiveLinkhasbeenrestored.
96
VMware, Inc.
Asnapshotmightbeusefulasabaselineorcleanslatethatyoucanreturnto whenrunninganumberoftestsonthesameconfiguration. To take a snapshot of a configuration 1 2 3 Intheleftpane,clickWorkspace. MovethepointerovertheconfigurationnameandchooseDeployfromthemenu. MovethepointerovertheconfigurationnameandchooseSnapshotfromthe menu. TheconfigurationstatusdisplaysSettingtheRevertPoint.Afterabrieftime,the configurationreturnstoitspreviousstate. To revert a configuration to its snapshot 1 2 Intheleftpane,clickWorkspace. MovethepointeroverthedeployedconfigurationnameandchooseRevertfrom themenu. ThestatusoftheconfigurationappearsasReverting.Thethumbnailiconsforthe virtualmachinesareupdatedtoreflecttherevertpointstate.
VMware, Inc.
97
todeletetheconfiguration(orjustmarkitfordeletion).Thedefaultoptionfor markingorpermanentdeletionispresetbyanadministrator. Aconfigurationisdeployedifanyvirtualmachineintheconfigurationis deployed.Deploymentleasesdonotapplytolibraryconfigurationsbecause youcannotdeploythem. MostoperationsrenewastorageleasebecauseLabManageridentifiesthe configurationasinuse. Ifanadministratorsetsasystemwideleasetime,auserwithout administratorprivilegescannotoverridethevaluebutcanextendtheleaseto anyvalueuptothevaluesetbytheadministrator. Iftheadministratorchangesthevalueaftertheinitialsetting,theusercan extendaleasetotheoriginalmaximumvalue.Oncetheuseraltersthelease time,theleasechoicesresetuptothelatestvaluedeterminedbythe administrator. f ClickOK.
98
VMware, Inc.
VMware, Inc.
99
Deleting Configurations
YoucandeleteaconfigurationfromtheWorkspacepageorconfigurationlibrary.Lab Managerallowsonlytheadministratororconfigurationowner(evenifthe configurationissharedwithotherusers)todeleteaconfiguration. To delete a configuration from the Workspace page 1 2 3 4 Intheleftpane,clickWorkspace. Iftheconfigurationisdeployed,movethepointerovertheconfigurationnameand chooseUndeploySaveStateorUndeployDiscardStatefromthemenu. MovethepointerovertheconfigurationnameandchooseDeletefromthemenu. Confirmthedeletion.
100
VMware, Inc.
6b
VMware, Inc.
101
102
VMware, Inc.
To add media to the library 1 2 3 4 Intheleftpane,clickMedia. ClickAdd. Confirmtoabortanyongoingmediaupload. Enterthedetailsofthefile: a Enteraname. Youcannotenteranamethatalreadyexistsinthelibrary. b c d e f Browseforthefile. Specifywhetheryouwanttosharethefilewithothers. SelecttheSMBstorageserverthatcontainsthemediafile. Enterspecificnotesonthefile. ClickAdd.
Duringtheuploadprocess,youcannavigatetootherpagesandcheckontheprogress atyourconvenience.
VMware, Inc.
103
104
VMware, Inc.
VMware, Inc.
105
106
VMware, Inc.
UsetheLabManagerWebconsoletomanageandmonitoryourLabManagersystem. Manyoperationsappearonlyforuserswithadministratorprivileges. Thischaptercoversthesetopics: MonitoringLabManageronpage 108 ManagingUsersonpage 111 ManagingManagedServerSystemsonpage 118 ManagingStorageServersonpage 126 ConfiguringNetworkSettingsonpage 137 ConfiguringLabManagerSettingsonpage 140
VMware, Inc.
107
Thetypeofvirtualtechnology(ESXServer)runningoneachManagedServer system. Thetypeofvirtualmachine(machineinaWorkspaceconfigurationortemplate) runningoneachManagedServersystem. ThenumberofavailableslotsyouhaveforvirtualmachinesonyourManaged Serversystems. Usethedisplayoptionsintheleftpanelofthepagetoviewdifferentdetailsonthe ManagedServersystems: Ifyoudonotselectanyoption,LabManagerdisplaystheoutlineofeachManaged Serversystemthatyouhavealicensefor. ClickaManagedServersystemtoviewmachineinformationinthebottomofthe leftpanel.Thisinformationincludesthename,machinetype,CPU,localdisk,and versionoftheManagedServeragentsoftware. IfyouselecttheShowDeployedMachinescheckbox,theredboxesoneach ManagedServersystemindicatedeployedvirtualmachines.Ifyouselectabox,the colorturnstoyellowwithcrosshatching. Afterselectingadeployedvirtualmachine,additionalinformationappearsinthe lowerleftpanelbelowthemachinedetailsontheManagedServersystem: MachinetabAccessinformationonthevirtualizationtechnology,virtual machinetype,operatingsystem,andstorageserver. Toaccessthevirtualmachineconsole,clickthethumbnailicon. OwnertabAccessinformationabouttheowneroftheconfiguration,the deployedandstoredvirtualmachinequotasetbytheadministrator,andthe numberofdeployedvirtualmachines. ConfigurationtabAccessmoreinformationabouttheconfigurationandits owner. TheManagedServersystemsdisplaytheothervirtualmachinesinthe configurationasyellowboxes.Theoriginalvirtualmachinethatyouselected retainsthecrosshatchingdesign. YoucandeployvirtualmachinesinaconfigurationondifferentManaged Serversystems,captureconfigurations,andundeployconfigurations. IfyouselecttheShowAvailableSlotscheckbox,thelightblueboxesoneach ManagedServersystemindicateavailableslotsforvirtualmachines.
VMware, Inc.
109
SearchesusingtheFilterfeatureareeasierifyouhaveanamingconventionforthe machines,templates,andconfigurationsinyourorganization. Inthetopleftcorner,useadropdownmenutodeterminetheconfigurationsfor display: MyDeployedMachinesViewonlyyourmachines,bothsharedandprivate. DeployedMachinesSharedbyOthersViewsharedmachinesbutnotyourown machines. AllDeployedMachinesAccessiblebyMeViewyourmachines,bothshared andprivate,andallsharedmachines. AllDeployedMachines(AdministratorsOnly)Vieweverymachine,both sharedandprivate.
Managing Users
Managingusersinvolvestheseprocedures: SettingUserPreferencesonpage 111.Thisfeatureisavailabletoallusers. ViewingUsersonpage 114 AddingNewUsersonpage 115 DeletingUsersonpage 117 EditingUserPropertiesonpage 117
Defaults Tab
TheDefaultstabsetsdefaultdisplayanddeploymentoptions. Reviewtheoptions:
VMware, Inc.
111
StartPageSetsthefirstpagethatappearsafterloggingin.TheWorkspacepage isthedefaultsetting. ShowPageHeaderbyDefaultDeselectthecheckboxtopreventthedisplayof informationthatusuallyappearsatthetopoftheeachpage. ThisinformationincludesIPaddresses,virtualmachinedescription,virtual machineowner,breadcrumbtitle,linkfordownloadingtheLabManagerWeb consoleandasnapshotthumbnail(ifset).Removingtheheadergivesyoumore roomtoviewtheconsole. NumberofItemsonPageDeterminesthenumberofrowsdisplayedonpages withdataintabularformat. Themaximumnumberis500.Thedefaultnumberis20. BehavioronUndeploySpecifiesundeploybehaviorforconfigurations: SaveMemoryStateCapturesalldatainRAM. ThissettingaffectstheForceUndeploy,UndeployallVMs,andRedeployall VMsoperationsandcreatesafiletostorethedatafromtheRAMofthevirtual machines.Savingthememorystateofvirtualmachineshelpsyoutodebug memoryspecificissuesandmakesvirtualmachinesreadyfordeployment andusealmostinstantly. Aconsequenceofthisfeatureisthepossibleimpactonperformancefor certainoperations.Ifyouspecifytosavememorystatebutwanttoavoid savingstateforaparticularoperation,shutdowntheguestoperationsystem fromwithintheguestbeforeperformingtheoperation. Whilethissettingaffectsonlycertainoperationssystemwide,LabManager allowsyoutosavestateordiscardstateatthevirtualmachinelevelduring standardUndeployoperations. TurnOffTurnsoffallthevirtualmachinesinaconfiguration. Thisoperationisthevirtualequivalentofphysicallypoweringoffall machines. UseNetworkFencingRunsyourconfigurationsinfencedmode.See Appendix C,NetworkFencing,onpage 171. AllowTrafficInandOutVirtualmachinescancommunicatewithmachines outsidethefenceandvirtualmachinesoutsidethefencecancommunicate withvirtualmachinesinthefencedconfiguration. AllowTrafficOutVirtualmachinesinafencedconfigurationcaninitiate communicationtomachinesoutsidethefenceandcanreceivemessagesback
112 VMware, Inc.
onthesameconnection.Machinesoutsidethefencecannotinitiate communicationtovirtualmachinesinthefencedconfiguration. Thisoptionisusefulwhenvirtualmachinesneedtoobtaindataorexecute codeoutsidethefence(asseenwithWebservicesordatabases)butdonot wanttoreceivemessagesthatdisrupttesting. BlockTrafficInandOutNetworktrafficdoesnottravelacrossthefence. Virtualmachinesinafencedconfigurationcannotcommunicatewith machinesoutsideofthefence,andmachinesoutsidethefencecannot communicatewithvirtualmachinesinthefencedconfiguration. Thisoptionisusefulinthesecircumstances: Youaretestingsoftwarevirusesthatneedtoremainisolatedfromthe network. Youaretestingaclientserverapplicationinisolation. UseServerBootSequenceSpecifieswhethertousetheassignedbootorderto bootvirtualmachinesinaconfiguration. Fordetailsondeterminingtheorder,seeReviewingthePropertiesListon page 41andCreatingConfigurationsonpage 83. WaitAfterTurnOn(Seconds)Setthedefaultvalueforthedelaytime(or pause)betweenbootingeachvirtualmachineinaconfiguration. LabManagerusesthisdefaultvaluewhentheusercreatesanewconfigurationor addsavirtualmachinetoanexistingconfiguration. DeploymentLeaseExpirationAlertRequestanemailnotificationofthetime beforeatemplateorconfigurationisautomaticallyundeployed. StorageLeaseExpirationAlertRequestanemailnotificationofthetimebefore atemplateorconfigurationisautomaticallydeletedormarkedfordeletion.This optionformarkingorpermanentdeletionispresetbyanadministrator.
Password Tab
UsethePasswordtabtochangeyourpassword.YoucannotuseLabManagertochange anLDAPaccountpassword.FordetailsonLDAPsupport,seeLDAPandLab Manageronpage 144.
VMware, Inc.
113
Viewing Users
Administratorscanviewallusers. To view all users Intheleftpane,clickUsers. TheUserspageincludesaUserstabandNotificationtab. TheUserstabincludestheseelements: UsernameDisplaysaniconinthiscolumn. AgrayiconindicatestheuserisdisabledandcannotlogintotheWebconsole. Ablueandyellowiconindicatestheuserisenabled. NOTE Ausercanexistinthesystemwithoutanenabledstatus.Forexample,youcan disableauseronextendedleave.
FilterShowsasubsetofthetotalnumberofusers.LabManagermatchesthetext enteredinthefieldtotheleftofthebuttonagainsttheattributedataofthe columns.Entriesarenotcasesensitive. Usingthemouseovermenutotheleftofthefield,youcanfilteracrossallcolumns onthepageorwithinaspecificcolumn. Thefiltertextsearchdoesnotrecognizewildcards.Ifyouenteratraditional wildcard,suchasanasterisk(*),thisfunctionperformsaliteralsearchforan asterisksymbol. RoleShowsAdministratorforuserswithadministratorprivileges.Only administratorscanperformthesetasks: Add,remove,andmodifyotherusers. ChangeLabManagernetworksettings. Viewalldeployedmachinesandconfigurations. Add,delete,andconfigureManagedServersystems,storageservers,andthe LabManagerServersystem. DeployedVMQuotaDisplaystwonumbers(separatedby/).Thefirstnumber indicatesthenumberofvirtualmachinesthisuserdeployed.Thesecondnumber indicatesthenumberofvirtualmachinesthattheuserisallowedtodeploy.(The administratorsetsthatlimitduringtheprocessofaddingauser.)
114
VMware, Inc.
StoredVMQuotaDisplaystwonumbers(separatedby/).Thefirstnumber indicatesthenumberofvirtualmachineimagesthisuserstoredinthe configurationlibrary.Thesecondnumberindicatesthetotalnumberofvirtual machineimagesthattheuserisallowedtostore.(Theadministratorsetsthatlimit duringtheprocessofaddingauser.) TheNotificationtaballowsyoutosendemailtofourdifferentgroups: AllUsers Administrators NonAdministrators UsersWithDeployedVM Forexample,usetheUsersWithDeployedVMoptionwhenyouarerunninglowon resourcesandwantuserstoundeployinactivevirtualmachines.Theseemailoptions aredependentontheproperSMTPsettingsintheLabManagerWebconsole. To verify SMTP settings Intheleftpane,clickSettings. VerifytheinformationintheEmailPreferencessection. ClickTestSMTPSettingstoverifytheserverconnectionworks.
DeployedVMQuotaIndicatesthenumberofvirtualmachinesatatimethe userisallowedtodeployonManagedServersystems. Useanintegernumbertosetaquota.Youcanleavethisfieldblankorenter 0toavoidsettingaquota. UseNetworkFencingcheckboxAllowsconfigurationstoruninfenced mode.SeeAppendix C,NetworkFencing,onpage 171. AllowTrafficInandOutVirtualmachinescancommunicatewith machinesoutsidethefenceandvirtualmachinesoutsidethefencecan communicatewithvirtualmachinesinthefencedconfiguration. AllowTrafficOutVirtualmachinesinafencedconfigurationcan initiatecommunicationtomachinesoutsidethefence,andcanreceive messagesbackonthesameconnection.Machinesoutsidethefence cannotinitiatecommunicationtovirtualmachinesinthefenced configuration. Thisoptionisusefulwhenvirtualmachinesneedtoobtaindataor executecodeoutsidethefence(asseenwithWebservicesordatabases) butdonotwanttoreceivemessagesthatmaydisrupttesting. BlockTrafficInandOutNetworktrafficdoesnottravelacrossthe fence.Virtualmachinesinafencedconfigurationcannotcommunicate withmachinesoutsideofthefence,andmachinesoutsidethefence cannotcommunicatewithvirtualmachinesinthefencedconfiguration. Thisoptionisusefulwhenyoutestsoftwarevirusesthatneedtoremain isolatedfromthenetwork,oryoutestaclientserverapplicationin isolation. UseServerBootSequencecheckboxBootsvirtualmachinesina configurationaccordingtotheassignedbootorder. Fordetailsondeterminingtheorder,seeReviewingthePropertiesListon page 41andCreatingConfigurationsonpage 83. WaitAfterTurnOn(Seconds)Setsthedefaultvalueforthedelaytime(or pause)betweenbootingeachvirtualmachineinaconfiguration. 4 ClickOK.
ThenewuserappearsontheUserspage.
116
VMware, Inc.
Deleting Users
Administratorscandeleteauser. To delete a user 1 2 3 4 Intheleftpane,clickUsers. Iftheuserisenabled,movethepointerovertheusernameandchooseDisable fromthemenu. MovethepointerovertheusernameandchooseDeletefromthemenu. Confirmthedeletionoftheuser. Thedeletionremovesallundeployedconfigurationsfortheuser.
VMware, Inc.
117
118
VMware, Inc.
InServiceIndicateswhethertheManagedServersystemisavailableforrunning deployedmachines. IftheManagedServersystemisnotreachable,itisalsonotinservice.The ManagedServersystemmightalsonotbeinserviceiftheadministratordisallows deployments(usingtheManagedServermouseovermenu)forthisManaged Serversystem. #VM/QuotaDisplaystwonumbers(separatedby/).Thefirstnumberindicates thenumberofvirtualmachinesrunningontheManagedServersystem.The secondnumberindicatesthemaximumnumberofvirtualmachinesallowedto runontheManagedServersystem. Fordetailsonsettingthequota,seeEditingManagedServerPropertieson page 123. MemoryDisplaystwonumbers(separatedby/).Thefirstnumberindicatesthe amountofRAMthattheManagedServersystemusestorunvirtualmachines.The secondnumberindicatesthemaximumamountofRAMallowedtorunvirtual machines. NOTE IfthenumberofvirtualmachinesrunningontheManagedServersystems frequentlyreachesmaximumcapacity,youcanaddmoreManagedServer systems.Ifyouareunabletodeploythemaximumnumberofvirtual machinesonaManagedServersystem,youmightneedtoaddmoreRAM.
DiskUsed/Capacity(GB)Displaystwonumbers(separatedby/).Thefirst numberindicatestheamountofdiskspacethattheESXServerserviceconsole uses.Thesecondnumberindicatesthemaximumdiskspacespecifiedforthe serviceconsole. Ifyoureachmaximumcapacity,ESXServermightexperienceoperational problemsthataffectLabManager. #CPUShowsthenumberofphysicalCPUsrunningontheManagedServer system. LabManagerAgentVersionDisplaystheversionoftheManagedServeragent software.
VMware, Inc.
119
120
VMware, Inc.
Enteranamountofreservedmemoryforthehostoperatingsystem.This settingindicatestheamountofmemorysetasideforvirtualmachinesnot managedbyLabManager.LabManagercanusetheremainderofmemory. (Optional)DeselecttheEnabledcheckboxifyoudonotwanttoputthe ManagedServersystemintoproductionrightaway. (Optional)SelecttheVMFSdevicesyouwantthisManagedServersystemto useforstorage. IfyouarenotputtingthisManagedServersystemintoproductionrightaway, youdonothavetoselectanydevices. IftheManagedServersystemhasnoavailableVMFSpartitions,thispage informsyouofthatsituationandwhethertheManagedServersystemis capableofsupportingNFSstorageforvirtualmachines.Forinformationon theVMkernelnetwork,seetheVMwareLabManagerInstallationGuide.
c d
ClickAdd. ThenewManagedServersystemappearsontheManagedServerspage.
VMware, Inc.
121
Reviewtheseelementsofthepage: ConsoleProvidesaccesstothevirtualmachineconsolethroughthethumbnail icon. MachineNameProvidesamouseovermenutoviewthevirtualmachineconsole orundeploythevirtualmachine. StatusIndicateswhetherthevirtualmachineisdeployedorinthemidstofan operation. ConfigurationSpecifieswhetherthevirtualmachineisatemplate(indicatedby adash)orpartofaconfiguration. IPAddressProvidestheIPaddressofthevirtualmachineorspecifiesDHCP. ExternalIPProvidestheexternalIPaddressforthevirtualmachineifitrunsin fencedmode.Fordetailsaboutfencedmode,seeAppendix C,NetworkFencing, onpage 171. TemplateShowsthetemplatethatservesasthebasisofthevirtualmachine.This isusefulwhenyouplantoretireatemplateandneedtoevaluateitsusage.When atemplateisremovedforaconfigurationorisdeployed,adashappearsinthe column. ManagedServerDisplaystheManagedServername. DeployedByIndicatesthepersonwhodeployedthevirtualmachine. SharingIndicateswhethertheconfigurationisaccessibleforotherstouse. DateDeployedDisplaysthedateandtimeofdeployment. FilterDisplaysasubsetofthetotalnumberofconfigurations.Entertextthat appearsintheattributesofthemachinesyouwanttoview.
122
VMware, Inc.
VMware, Inc.
123
ofvirtualmachinesdeployedonthesystemandlessthan128(maximumfor ESXServer). CPUTypeProcessortype. NumberofCPUs(packages)PhysicalCPUcountoftheManagedServer system. NumberofCPUs(logical)CPUcorecountthatESXServerdetectsonthe ManagedServersystem. EnablinghyperthreadingonthehostwiththeVIClientdoublesthisCPUcore count.Fordetails,seetheVMwareInfrastructure3documentation. CPUCapabilitySpecifiesthe32or64bitCPUcapabilityoftheManaged Serversystem. ForinformationonenablingaManagedServersystemtoprovide64bit support,seetheVMwareInfrastructure3InstallationandUpgradeGuide. MemoryRAMoftheManagedServersystem. OSNameVersionofESXServer. VirtualizationTechnologyVersionofESXServer. ProcessorTypeIDInternalprocessorgroupID. NFScapable(VMkernelnetworkingconfigured)Indicateswhetherthe VMkernelnetwork,requiredforNFSstorage,isconfiguredfortheManaged Serversystem. (Optional)VMFSSelecttheVMFSdevicesyouwantthisManagedServer systemtouseforstorage. IfyoudonotwanttoputthisManagedServersystemintoproductionright away,youdonotneedtoselectanydevices. IftheManagedServersystemhasnoavailableVMFSpartitions,thispage informsyouofthatsituationandwhethertheManagedServersystemis capableofsupportingNFSstorageforvirtualmachines.Forinformationon theVMkernelnetwork,seetheVMwareLabManagerInstallationGuide. 4 ClickOK.
124
VMware, Inc.
VMware, Inc.
125
126
VMware, Inc.
Used/Capacity(Gb)Displaystwonumbers(separatedby/).Thefirstnumber indicatestheamountofdiskspaceyouuse.Thesecondnumberindicatesthetotal amountofdiskspace. %UsedDisplaysthepercentageofuseddiskspace. MountPointShowsthedirectorytoaccessthestorageserveraftermountingit. FilterShowsasubsetofthetotalnumberofstorageservers.LabManager matchesthetextenteredinthefieldtotheleftofthebuttonagainsttheattribute dataofthecolumns.Entriesarenotcasesensitive. Usingthemouseovermenutotheleftofthefield,youcanfilteracrossallcolumns onthepageorwithinaspecificcolumn. Thefiltertextsearchdoesnotrecognizewildcards.Ifyouenteratraditional wildcard,suchasanasterisk(*),thisfunctionperformsaliteralsearchforan asterisksymbol. AddNFSStorageEnablesyoutoaddanNFSserverforvirtualmachines. ViewStorageUsageEnablesyoutoviewthehighleveltopographyofvirtual machinedirectories,assessdiskspace,andperformmaintenanceoperations. ReviewtheseelementsoftheMediatab: StorageServerNameIndicatesthestorageserverformediafiles. StatusIndicateswhetheranoperationisinprogressorfailed. TypeSpecifiesNFSandSMBstorage. ReachableIndicatesthattheLabManagerServersystemcancommunicatewith thestorageserver. EnabledIndicateswhetherthestorageserverisavailableforstoringmedia. Ifthestorageserverisnotreachable,itisnotenabled. Used/Capacity(Gb)Displaystwonumbers(separatedby/).Thefirstnumber indicatestheamountofdiskspaceyouuse.Thesecondnumberindicatesthetotal amountofdiskspace. %UsedDisplaysthepercentageofuseddiskspace. MountPointShowsthedirectorytoaccessthestorageserveraftermountingit. FilterShowsasubsetofthetotalnumberofstorageservers.LabManager matchesthetextenteredinthefieldtotheleftofthebuttonagainsttheattribute dataofthecolumns.Entriesarenotcasesensitive.
VMware, Inc.
127
NOTE
ReviewtheseelementsoftheVirtualMachineStorageUsagepage: MachineNameProvidesamouseovermenutoviewthehighleveltopography ofthevirtualmachinedirectories(seeAssessingVirtualMachineDiskSpaceon page 130)andundeploythevirtualmachine. ConfigurationNameIndicatesthenameoftheconfigurationcontainingthe virtualmachine. Adashappearsinthiscolumnfortemplates. StorageServerIndicatestheVMFSstorageserverforvirtualmachines. UserNameIndicatesthenameoftheuserwhoownsthevirtualmachine. StatusDisplaysthestatus(forexample,DeployedorUndeployed)ofthevirtual machine. Whenavirtualmachineisinatransitorystate,suchasexporting,importing,or consolidating,aspinningiconappearsinthiscolumn.Ifanerroroccursduringan operation,clicktheerrormessagesinthiscolumnfordetails.
128
VMware, Inc.
DiskSpaceFreedUponDeletion(MB)Indicatestheamountofspacethatyou canreclaimupondeletingthevirtualmachine.Thisspaceincludesthearea occupiedbythevirtualmachinedirectoryandparentdirectoriesuptoan ancestorthathaschildrenorotherdependentdirectories.Formoreinformation onvirtualmachinedirectoriesanddiskspaceassessment,seeAssessingVirtual MachineDiskSpaceonpage 130. NOTE UsetheRefreshVMStoragebuttontorefreshthediskspacetoviewan accurateestimateofthespace.
ChainLengthThenumberofdeltadisksgeneratedbycertainoperations.For variouschanges,LabManagerfreezestheoriginaldeltadiskandcreatesanew one. Thechainlengthindicateshowscatteredthevirtualmachineimageisacrossthe directoriesofastorageserver.WorkingwithVirtualMachinesonpage 27and WorkingwithMachineTemplatesonpage 45containinformationon consolidatingchainstoimproveperformance. CleanupDateDatetoautomaticallyundeployordeletevirtualmachines. IfLabManagerflagsavirtualmachinefordeletionandthestorageleaseexpires, thiscolumndisplaysthedateofexpiration. FilterShowsasubsetofthetotalnumberofstorageservers.LabManager matchesthetextenteredinthefieldtotheleftofthebuttonagainsttheattribute dataofthecolumns.Entriesarenotcasesensitive. Usingthemouseovermenutotheleftofthefield,youcanfilteracrossallcolumns onthepageorwithinaspecificcolumn. Thefiltertextsearchdoesnotrecognizewildcards.Ifyouenteratraditional wildcard,suchasanasterisk(*),thisfunctionperformsaliteralsearchforan asterisksymbol. RefreshVMStorageRefreshesthediskspaceforeachvirtualmachinetoensure theinformationiscurrent.Usethisbuttonbeforeassessingdiskspace(see AssessingVirtualMachineDiskSpaceonpage 130). DeleteExpiredVMsDeletesallundeployedvirtualmachineswithastorage leasethatexpired.
VMware, Inc.
129
E C A B D
IfyoudeletenodeDinthissampledirectorytree,nodeBstaysintactbecausenodeC andEaredependentonit.IfyoudeletenodeE,thespacefornodeEandnodeC becomesavailablebecausethedeletionaffectsallnodesuptoadirectorywithchild dependencies(nodeB).
130 VMware, Inc.
IntheContextimage,viewthechainsofvirtualmachineandinternalnodedirectories fromrighttolefttomoveupthelineagechaintowardparentorancestordirectories. To assess virtual machine disk space with the Context view 1 2 ClickStorageintheleftpane. ClicktheViewStorageUsagebutton. Toviewtheusageonasinglestorageserver,movethepointeroverthestorage servernameandchooseViewStorageUsagefromthemenu. 3 4 5 ClicktheRefreshVMStoragebuttontoensurethedataiscurrent. MovethepointeroverthevirtualmachinenameandchooseContextfromthe menu. Intheimagedisplayingthevirtualmachinedirectorystructureanddependencies, youcanevaluatetheamountofdiskspacethatwouldbecomeavailableupon deletionofthevirtualmachine. Boxeswiththickbordersrepresentthevirtualmachinesthatyoucanseeinthe LabManagerWebconsole.Boxeswithlighterbordersrepresentthehidden internaldirectoriesassociatedwiththevirtualmachines.Deletionofinternal nodesonlyoccursasasideeffectofdeletingthevirtualmachinesassociated withthosenodes. Blueboxesindicatedeployeddirectorieswhileyellowboxesindicatethe selectedvirtualmachine.Thegraycoloristhedefaultcolorfordirectories. Viewthechainsofvirtualmachineandinternalnodedirectoriesfromrightto lefttomoveupthelineagechaintowardolderorancestordirectories. Ifyoumovethepointeroverabox,youcanseevariousdetailsincludingthe amountofspacethevirtualmachineorinternalnodeconsumesandthetotal amountofspacereclaimedwiththeremovalofallattachedorhidden nodes.Forexample,ifyouseeSize:277MB(554MB),thefirstnumber(277) reflectsthespaceoftheselectednodeandthenumberinparentheses(554) reflectsthetotalspace. Thistotalamountiscalculatedbyaddingthespaceofthenodeandall associatednodestotherightoftheselectednode. PreviouslydeployedandcurrentlydeployedvirtualmachinesshowLast Deployedinformation.Internalnodesdonotdisplaythisinformation. ARevertReferenceappearsasaturquoisebox.Thisreferencepointimplies anotherdirectory(createdbyacopyoperationonadifferentstorageserver) existsoutsideofthedisplayeddirectorytreebutusesadirectorylinkedtothis
VMware, Inc. 131
To add NFS storage for virtual machines 1 2 3 ClickStorageintheleftpane. IntheVirtualMachinestab,clicktheAddNFSStoragebutton. Enterthisinformation: a Enteranameforthenewserver. Thenamecanonlycontainalphanumericcharacters(az,AZ,09),hyphens, underscores,orperiods.Themaximumlengthis15characters. b c (Optional)Ifyoudonotwantthestorageserverimmediatelyavailableforuse, deselecttheEnabledcheckbox. EnteravalueforDiskSpaceThresholdYellow. Whenavailablediskspacefallsbelowthislevel,LabManagersendsanemail warningmessagetoalladministrators. d EnteravalueforDiskSpaceThresholdRed. Whenavailablediskspacefallsbelowthislevel,LabManagersendsanemail alert(moreseverethantheDiskSpaceThresholdYellowmessage)toall administrators. e f SpecifyNFSmediastorage(ifapplicable),andentertheNFSexportpath. ClickOK.
132
VMware, Inc.
VMware, Inc.
133
OntheSecuritytab,addEveryone(ifitdoesnotalreadyexist)andallowfull control.
f g
134
VMware, Inc.
VMware, Inc.
135
136
VMware, Inc.
VMware, Inc.
137
TheDHCPoptionallowsLabManagertopullIPaddressesfromaDHCPserver. ThoughthisoptionavoidsthepreparationandspecificationofanIPaddressorIP range,keepinmindthatyoucannotuseLabManagerfencing(seeNetwork Fencingonpage 171)withDHCP. YoucansetorupdatethedefaultIPsettingsforanewvirtualmachine. IntheLabManagerInstallationIDsection,LabManagerusesthisIDtogenerateMAC addressesforvirtualmachines.Keepthesepointsinmind: IfyouhavemorethanoneLabManagerinstallationonthesamenetwork,each installationmusthaveauniqueID.LabManagerrandomlyassignsanIDand allowstheadministratortomanuallyeditthevalueincaseanIDcollisionoccurs. SettingauniqueinstallationIDensuresthevirtualmachinenetworktrafficofeach installationdoesnotinterferewitheachother. LabManagergenerateshundredsofMACaddressesbasedontheinstallationID. LabManagerassignstheseMACaddressestovirtualmachines.Ifyouhavemore thanoneLabManagerinstallationonanetworkwiththesameinstallationID,Lab ManagergeneratesthesamesetofMACaddressesforbothinstallationsand causesaMACaddressconflictthatcancreatecomplications. LabManagercannotregenerateMACaddressesondeployedmachines.Ifyou changetheinstallationIDinanenvironmentwithdeployedvirtualmachines,the changefailsbecausesomeaddressesareinuse.
138
VMware, Inc.
TheNetworkpagedisplaysthenewIPaddresses.
VMware, Inc. 139
LabManagerremovestheIPaddressesfromtheNetworkpage.
140
VMware, Inc.
Server Preferences
Reviewtheserverpreferences: LoginModeLabManagercanretaintheusernameandpasswordandcanalso logintheuser. NOTE Likemostbrowserapplications,LabManagerusespersistentcookies (physicallystoredinthecomputerharddisk)toretainthelogininformation. Ifyoudeletethebrowsercookies,thisinformationisnolongerunavailable untilthenexttimeyoulogin. RememberusernameonlyLabManagerretainstheusernamebutnotthe password. AutomaticallyLoginLabManagerlogsusersinwhentheystarttheLab Managerapplication. ServerHostIPAddressIPaddressoftheLabManagerServersystem. ServerHostNameDNSnameoftheLabManagerServersystem. SessionTimeout(Minutes)AmountoftimeyouwanttheLabManager applicationtoremainactivewithoutuserinteraction. EnablePingforMonitoringIfyournetworkblocksICMP,youcandisablethe pingbetweentheLabManagerServersystemandManagedServersystemsto preventtheManagedServersystemsfromreportinganunreachablestate. PingFrequency(Seconds)FrequencyofareyoualivemessagesfromtheLab ManagerServersystemtoManagedServersystemsandstorageservers. ThisvalueonlycomesintoplayifyouselecttheEnablePingforMonitoringcheck box. #FailedPingstoDeclareUnavailableNumberoftimesaManagedServer systemorstorageserverfailstorespondtoapingbeforebeingdeclared unavailable. ManagedServerHungTimeout(Seconds)Lengthoftimetowaitbefore determiningaManagedServersystemishung.Forexample,ifthetimeoutis20 secondsandLabMangerpingsaManagedServersystemevery10seconds,Lab Managermarksthesystemashungifitfailstorespondfor20seconds. ManagedandStorageServerRefreshFrequency(Seconds)Frequencyof updatingpageinformationaboutastorageserverorManagedServersystem.
VMware, Inc.
141
StorageServerGarbageCollectionFrequency(Seconds)Frequencyof performinggarbagecollection(theautomaticdetectionandfreeingofimagesthat arenolongerinuse)onstorageservers. LabManagerdoesnotimmediatelydeletefilesassociatedwithadeletedvirtual machine.LabManagerstoresvirtualmachinefilesinatreeofrelatedlinkedclones (seeAssessingVirtualMachineDiskSpaceonpage 130).Eachpassofthe garbagecollectorinvolvesanattempttodeleteanynodesthatnolongerhave dependencies.Severalpassesovertimemightberequiredtofreeupthespace associatedwithadeletedvirtualmachine. ActiveLogHistoryshown(indays)Specifytheamountofloghistorytodisplay intheWebconsole. Avalueof0showsallactivity. DisplayBackgroundImageonLoginScreenSpecifywhethertodisplaythe backgroundimage. IfyouhaveasloworremoteconnectiontoLabManager,youcanturnoffthe backgroundimagetospeeduploadingtime.
LDAP Preferences
LDAPBindingString(LDAP://server/path)SeeLDAPandLabManageron page 144.RefertothissampleLightweightDirectoryAccessProtocol(LDAP) string:
LDAP://your_ldap_servername/department=QA,DC=companyabc,DC=com
Email Preferences
SMTPServerDNShostnameorIPaddressofamailserverthatLabManager usesforsendingoutemailalertsandwarnings.Administratorsreceiveemailalerts orwarningsundertheseconditions:
142
VMware, Inc.
VMware, Inc.
143
Thisoptionisusefulwhenyoutestsoftwarevirusesthatneedtoremain isolatedfromthenetwork,oryoutestaclientserverapplicationinisolation WaitAfterTurnOn(Seconds)Delaytime(orpause)betweenbootingeach virtualmachineinaconfiguration. UseServerBootSequenceUsetheassignedsequenceordertobootvirtual machinesinaconfiguration. Fordetailsondeterminingtheorder,seeReviewingthePropertiesListon page 41andCreatingConfigurationsonpage 83.
144
VMware, Inc.
Becausetheadministratorselectingthecheckboxisalreadyauthenticatedasan LDAPuser,thischeckboxenablestheIsLDAPcheckboxonthepropertiespage forusersandallowsLabManagertovalidatetheexistenceoftheuserintheLDAP database(seestep5). 3 4 5 Intheleftpane,clickUsers. MovethepointerovertheusernameandchoosePropertiesfromthemenu. Specifytheauthenticationmethod. SelectingtheIsLDAPcheckboxandclickingOKensurestheLDAPserver, ratherthantheLabManageruserdatabase,authenticatesthisuserwhenheor shelogsintotheWebconsole.SeeLDAPPreferences:LDAPBindingand GroupStringsonpage 146. IfLabManagercannotvalidatetheuserasanLDAPuser,amessageappears notingtheissue. DeselectingtheIsLDAPcheckboxandclickingOKensurestheLabManager userdatabase,ratherthananLDAPserver,authenticatesthisuserwhenheor shelogsintotheWebconsole. To specify the user authentication method as a Lab Manager Administrator without LDAP server access: 1 2 Intheleftpane,clickSettings. CleartheValidateLDAPUserswhenEditedcheckbox. ThisactionactivatestheIsLDAPcheckboxdescribedinstep5. 3 4 5 Intheleftpane,clickUsers. MovethepointerovertheusernameandchoosePropertiesfromthemenu. Specifytheauthenticationmethod. SelectingtheIsLDAPcheckboxandclickingOKensuresanLDAPserver, ratherthantheLabManageruserdatabase,authenticatesthisuserwhenheor shelogsintotheWebconsole.SeeLDAPPreferences:LDAPBindingand GroupStringsonpage 146. BecausetheLabManageradministratorisnotauthenticatedagainsttheLDAP server,theadministratorcannotmakeuseofthevalidationprocessavailable toLDAPusers. DeselectingtheIsLDAPcheckboxandclickingOKensurestheLabManager userdatabase,ratherthananLDAPserver,authenticatesthisuserwhenheor shelogsintotheWebconsole.
VMware, Inc. 145
Forexample,type:
LDAP://ldap.vmware.com/corp,ou=Corp,ou=Sales
146
VMware, Inc.
2 3
VMware, Inc.
C:\Program Files\VMware\VMware Lab Manager Server\Tools\LMTools\Sysprep\win2k3 C:\Program Files\VMware\VMware Lab Manager Server\Tools\LMTools\Sysprep\win2000 C:\Program Files\VMware\VMware Lab Manager Server\Tools\LMTools\Sysprep\winxp 5 6 7 RepeatthisproceduretoextractSysprepfilesforeachWindowsguestoperating system. IntheLabManagerWebconsole,clickSettingsintheManagesectionoftheleft pane. IntheLMToolstab,clickBuildISO. NOTE IfyoudonothaveanexistingcustomISO,certainoptionsdonotappear.
AftercreatingtheISO,thepagenotestheexistenceoftheISO.Atthispoint,any personinstallingLMToolsontemplatesusesthisdefaultISO. IfyouneedtoremovetheISOforanyreason,usetheDeleteISObuttonintheLM Toolstab. IfanindividualtemplateownerneedstochangetheSIDmechanismfora particulartemplate,heorshecaneditthepropertiesofthattemplateandswitch themechanism. IfyouaredependentonSysprepfor64bitguestoperatingsystems,skipstep8. 8 IfyouarenotreadytouseSysprepbecauseoftestingactivityoranothersituation, selecttheUsePreInstalledSIDGenerationTool(SIDgen)optiontousethe defaultLabManagerSIDmechanism.IfyouarereadytouseSysprep,selectUse UserSuppliedSIDGenerationTool(Sysprep). AtemplatewithanullpasswordaffectstheautomaticWindowssetupby Sysprep.AfterbuildingacustomISOwithSysprep,installingLMToolsina template,andcreatingaWorkspaceconfiguration,theconfigurationstartsto runbutrequiresyoutoclickNextduringtheprocess.
NOTE
148
VMware, Inc.
VMware, Inc.
149
Unpublish Clone Copy Export MakeShared MakePrivate Consolidate NOTE Storageleasesarenotapplicabletopublishedtemplates.Onceatemplate changesfromapublishedtounpublishedstate,thestorageleasebecomes applicable.
SettingorchangingtheseGUIsettingsrenewstheleasebecauseLabManageridentifies thetemplateorvirtualmachineasinuse: Memory(MB)(availableonthepropertiespagefortemplatesandvirtual machines) UseTimeSynchronization(availableonthepropertiespagefortemplatesand virtualmachines) IfanadministratorsetsthevalueoftheleasetimetoNever,auserwithout administratorprivilegeshastheabilitytosetaleasetime. To set deployment and storage leases 1 2 Intheleftpaneoftheconsole,clickSettings. IntheResourceCleanuptab,specifythedetailsfordeploymentandstorage leases: a b SpecifyatimetoundeployWorkspaceconfigurations,libraryconfigurations, andtemplates.ThedefaultvalueisNever. SpecifyatimetodeleteWorkspaceconfigurations,libraryconfigurations,and templatesormarktheseconfigurationsandtemplatesfordeletion.The defaultvalueisNever.
ClickOK.
150
VMware, Inc.
Thischapteraddressesthesetroubleshootingtopics: BlankScreenAppearsWhenAccessingLabManageronpage 152 LabManagerDoesNotDisplayVirtualMachineConsoleonpage 152 DuplicateIPAddressErrorsAppearonpage 153 AdditionofSCSIVirtualHardDiskFailsonpage 153 MouseNavigationonVirtualMachineConsoleFailsonpage 153 RemoteAccesstoVirtualMachineFailsonpage 154 LiveLinkURLErrorAppearsonpage 154 HostServerCDDriveCannotInstallSoftwareonpage 154 ImportingaVirtualMachineasaTemplateFailsonpage 155 ImportingaVirtualMachinefromVMFSStorageFailsonpage 155 InsertingMediafromNFSServerFailsonpage 156 VirtualHardDiskSpaceIsLowonpage 157 LabManagerServerFails,LosesConnectivity,orRebootstheSystemon page 158 SMBMediaStorageServerFailsonpage 158 PermanentFailureofManagedServerOccursonpage 159 TemporaryFailureofManagedServerOccurs(RebootorTurnOff)onpage 160 TemporaryFailureofManagedServerOccurs(Networking)onpage 161
VMware, Inc. 151
152
VMware, Inc.
VMware, Inc.
153
154
VMware, Inc.
Solution Toimportavirtualmachinewithanabsolutepathtoits.vmdkfileintoLab Manager,reviewtheserequirements: The.vmdkfileshavetoresideinthesamedirectoryasthe.vmxfile. Thepathtoa.vmdkfilemustberelativetothevirtualmachine. Forexample,ifa.vmxfileisin[storage1] abc/abc.vmx,the.vmdkpathinthe .vmxfilemustbeabc.vmdk.Youcannotuse /vmfs/volumes/storage1/abc/abc.vmdk. Ifyouneedtoimportavirtualmachinewithanabsolutepathtoits.vmdkfile,power offthevirtualmachine,openits.vmxfile,andmakethepathrelativetothe.vmxfile.
VMware, Inc.
155
156
VMware, Inc.
Forexample,toexpanda000017-import-0-0-flat.vmdkfileto10GB,type:
vmkfstools -X 10G 000017-import-0.0-flat.vmdk
Usetheguestoperatingsystemtoexpandthepartition.Differentmethodsare availabledependingontheoperatingsystem.
IfyouneedtoshrinkadiskforaWindowsvirtualmachine,useVMwareConverterto clonethemachineandresizeit.
VMware, Inc.
157
158
VMware, Inc.
VMware, Inc.
159
160
VMware, Inc.
VMware, Inc.
161
162
VMware, Inc.
A
Firefox 1.5 No Yes Firefox 2.0 No Yes
Reviewthematrixofbrowsersandoperatingsystemsforclientmachinesthatallow accesstotheLabManagerWebconsole.TableA1andTableA2specifythesupportfor 32and64bitoperatingsystems. Table A-1. 32-bit Client Operating System and Web Browser Support
Operating System Microsoft Windows Vista Server2003 Standard Edition SP1 IE 5.5 No No IE6.0 Yes Yes IE 7.0 Yes Yes
No No No
No No No No Yes Yes
VMware, Inc.
163
Table A-1. 32-bit Client Operating System and Web Browser Support (Continued)
Operating System 2000 Advanced Server SP3 IE 5.5 Yes IE6.0 Yes IE 7.0 No Firefox 1.5 No Firefox 2.0 No
SP4 RedHat Enterprise Linux 2.1 AS/ES/WS 3AS/ES/WS 4AS/ES/WS 5AS/ES/WS SUSE Linux Enterprise Server8 (SLES) Enterprise Server9 (SLES) Enterprise Server10 (SLES) SP4
Yes No
Yes No
No No
No Yes
No Yes
No No No No
No No No No
No No No No
SP3
No
No
No
Yes
Yes
No
No
No
Yes
Yes
Table A-2. 64-bit Client Operating System and Web Browser Support
Operating System Microsoft Windows Vista Server2003 Standard Edition SP1 IE 5.5 No No IE6.0 No Yes IE 7.0 Yes Yes Firefox 1.5 No No Firefox 2.0 No Yes
No No No
No No No
SP2 R2
No No
Yes Yes
Yes Yes
No No
Yes Yes
164
VMware, Inc.
Table A-2. 64-bit Client Operating System and Web Browser Support (Continued)
Operating System XP Professional SP1 SP2 RedHat Enterprise Linux 3AS/ES/WS Update 7 Update 8 4AS/ES/WS Update 2 Update 3 Update 4 SUSE Linux Enterprise Server9 (SLES) Enterprise Server10 (SLES) SP3 IE 5.5 No No No IE6.0 Yes Yes No IE 7.0 Yes Yes No Firefox 1.5 No No Yes Firefox 2.0 No No Yes
No No No No No
No No No No No
No No No No No
RTM
No
No
No
Yes
Yes
VMware, Inc.
165
166
VMware, Inc.
ReviewtheguestoperatingsystemssupportedbyLabManager.TableB1andTable B2specifysupportfor32and64bitoperatingsystems,uniprocessor(UP)and multiprocessor(MP)operatingsystems,andtheSIDgenandSysprepcomponentsin LMTools,akeyutilityinLabManagerthatvariousfeaturesaredependenton.As notedinthesetables,VMwareoffersexperimentalsupportforcertainguestoperating systems. NOTE ThoughLabManagerusesLMToolsonbothWindowsandUnixbasedguest operatingsystemstoconfigurenetworksettings,thesetablesaddressonlythe WindowsspecificsupportfortheSIDgenandSysprepcomponentsofLM Tools.ThesecomponentschangetheSecurityIdentifier(SID).Fordetailsonall aspectsofLMTools,seeInstallingLMToolsonpage 61,ReviewingtheLM ToolsTabonpage 147,andExtendingLMToolsonpage 179.
Operating System Microsoft Windows Vista Ultimate Server2003 Standard Edition RTM SP1
UP Experimental Yes
MP Experimental Yes
SP2
Yes
Yes
Yes
Yes
VMware, Inc.
167
UP Yes Yes
MP Yes Yes
SP2 R2 Server2003 WebEdition XP Professional SP1 SP1 SP2 2000Server SP3 SP4 2000 Advanced Server SP3
Yes Yes
Yes Yes
Yes Yes
Yes Yes
Yes No Yes
Yes No N/A
3AS/ES/WS
Update7 Update8
4AS/ES/WS
168
VMware, Inc.
Operating System 5AS/ES/WS SUSE Linux Enterprise Server9 (SLES) Enterprise Server10 (SLES) Solaris 10 SP3
UP Yes Yes
MP Yes Yes
Yes
Yes
N/A
N/A
Yes
Yes
N/A
N/A
UP Yes
MP Yes
No No No
No No No
Yes Yes
Yes Yes
No N/A
Yes N/A
VMware, Inc.
169
Operating System Update8 464bit Update2 Update3 Update4 SUSE Linux Enterprise Server9, 64bit (SLES) Enterprise Server10, 64bit (SLES) Solaris 10 SP3
RTM
Yes
Yes
N/A
N/A
Update3
Yes
Yes
N/A
N/A
170
VMware, Inc.
Network Fencing
LabManagerusesnetworkfencing,atechnologythatisolatesorfencesvirtual machineconfigurationswhileallowingfullnetworkaccess.Fencingenablesyouto workwithliveinstancesofthesameconfigurationonthesamenetwork. Forexample,whenyouwanttohaveconcurrentdevelopmentortestingonthesame configuration,youcanduplicateorclonetheconfigurationandavoidanyIPorMAC addresscollisionwiththistechnology. Thisappendixcoversthesetopics: WhyShouldIFenceConfigurations?onpage 172 HowDoesFencingWork?onpage 172 ViewingVirtualSwitchesforFencesonpage 176 ReviewingAdditionalFencingOperationsonpage 177
VMware, Inc.
171
172
VMware, Inc.
VM1
II M P1 AC 9 2 00 .16 :5 8.0 0: .1 56 :0 0: 00
VM2
VM1
fenced network
VM2
configuration a
VR
configuration b (fenced)
network EIP 192.168.0.4 client machine legend connection fenced connection IIP EIP VR internal IP address external IP address for fenced configurations virtual router EIP 192.168.0.3
VMware, Inc.
173
Fencing Options
Youcandeployfencedconfigurationsinthreeways: AllowTrafficInandOutVirtualmachinescancommunicatewithmachines outsidethefenceandmachinesoutsidethefencecancommunicatewithvirtual machinesinthefencedconfiguration.SeeFigureC2. Figure C-2. Allow Traffic In and Out Fencing Mode
VM1
fenced network
VR
configuration
network
174
VMware, Inc.
VM1
fenced network
VRb
configuration
network
BlockTrafficInandOutNetworktrafficdoesnottravelacrossthefence.Virtual machinesinafencedconfigurationcannotcommunicatewithmachinesoutsideof thefence,andmachinesoutsidethefencecannotcommunicatewithvirtual machinesinthefencedconfiguration.SeeFigureC4. Figure C-4. Block Traffic In and Out Fencing Mode
VM1
fenced network
VR
configuration
network
VMware, Inc.
175
SeetheVMwareInfrastructure3documentationfordetailsonusingVIClient.
176
VMware, Inc.
Selectadifferentnetworkswitchforvirtualmachines.
Forexample,updatethenumberoffencesto30:
> lm-fencecfg --numFenced 30
VMware, Inc.
177
178
VMware, Inc.
Extending LM Tools
InstallingLMToolsallowsLabManagertocustomizethenetworksettingsforavirtual machinemadefromatemplate.ForgeneralinformationonLMTools,seeInstalling LMToolsonpage 61. Insomecases,youmightwanttoextendthecustomizationofLMTools.Reviewsome examples: IfyouhaveanapplicationthatdependsontheSID,youmightneedtopreventLM ToolsfromchangingtheSIDbutstillallowLMToolstomakeotherchanges. YouwanttoincorporatesomekindofverificationintheLMToolsscript.For example,thescriptcouldcheckforvirusesorstartandstopprocesses. ExtendingLMToolsinvolvesmakingchangestoeachtemplate. NOTE ExtendingLMToolsisdifferentfrombuildingacustomLMToolsISO (specificallyforMicrosoftSysprep).ForinformationonbuildingacustomISO, seeReviewingtheLMToolsTabonpage 147.
VMware, Inc.
179
180
VMware, Inc.
Torunthelm-toolsscriptonRHEL,type:
/etc/rc.d/init.d/lm-tools start
VMware, Inc.
181
182
VMware, Inc.
Index
A
ActiveX control installing 29 activity log monitoring Lab Manager 108 adding IP addresses to Lab Manager pool 139 Managed Server systems 120 media 102 users 115 virtual machines to configurations 85 Administrators configuring Lab Manager settings 140 configuring network settings 137 managing Managed Server systems 118 managing storage servers 126 managing users 111 monitoring Lab Manager 108 All Deployed Machines page 110 attributes for configurations 83 audience for Lab Manager manual 9
C
capturing configurations 89 CD images ejecting from virtual machine 37 inserting into virtual machines 36 client users about 15 cloning configurations 91 templates 67 column sorting 25 configuration library accessing 79 checking out configurations 90 configurations accessing a virtual machine console 99 accessing all virtual machine consoles 99 accessing the configuration library 79 accessing the Workspace page 78 adding virtual machines 85 capturing 89 checking out from library 90 cloning 91 copying 92 creating 83 creating LiveLink 95 defining 77, 78
B
breadcrumb titles 25
VMware, Inc.
183
deleting 100 deploying 86 deploying in fenced mode 87, 174 exporting 93 importing 94 operations 80 properties 97 resuming 91 reverting to snapshots 96 sharing 95 states and attributes 83 stopping 91 suspending 91 taking snapshots 96 turning off 91 undeploying 89, 91 viewing details on virtual machines 98 consolidating templates 71 copying configurations 92 templates 69 creating configurations 83 templates 50, 51
templates 58
E
expiration alerts leases 113 exporting configurations 93 templates 70
F
filters for text 25 Firefox support for 163 floppy files ejecting from virtual machines 38 inserting into virtual machines 37
G
guest operating systems 32 and 64-bit support 167 requirements 167
I
importing configurations 94 Internet Explorer support for 163 IP addresses allocating 139 changing for virtual machines 34 removing 140 static and DHCP 84, 85, 110, 122, 137 ISO images creating 59 customizing with LM Tools 147 defining 58
D
deleting configurations 100 media 104 templates 74 users 117 deploying configurations 86 leases 42, 52, 54, 57, 68, 69, 74, 88, 97, 149
184
VMware, Inc.
Index
K
knowledge base accessing 10
working with media 101 working with virtual machines 27 Lab Manager Server about 14 LDAP authenticating users 144 binding string and groups 146 leases cleanup date 129 deployment 42, 52, 54, 57, 68, 69, 74, 88, 97, 149 expiration alerts 113 Resource Cleanup tab 149 storage 42, 52, 55, 57, 66, 68, 69, 74, 90, 92, 93, 95, 97, 149 system-wide settings 149 Library page 79 license viewing details 146 LiveLink creating 95 restoring 96 LM Tools addressing failed installations 64 customizing ISO images 147 defining 179 extending the customization 179 guest operating system support 167 installing on Linux and Solaris 63 installing on Windows 62 modifying templates after installation 64 overview 61 prerequisites 61 reasons to install 61 uninstalling 64 upgrading to work with DHCP 84 accessing 21 activity log 108 administering 107 all deployed machines 110 authenticating users with LDAP 144 benefits and features 15 client user 15 components 14 general settings 140 general workflow 26 getting started 19 introducing 13 Lab Manager Server 14 license details 146 LM Tools 179 Managed Server 14 managing IP addresses 139 managing users 111 media library 102 monitoring 108 network fencing 171 overview of operations 23 Overview page 22 SOAP API 15 storage server 14 troubleshooting 151 Web console 15 working with configurations 77 working with machine templates 45
L
Lab Manager
VMware, Inc.
185
M
MAC addresses changing for virtual machines 34 Managed Server about 14 adding 120 allowing deployments 125 disallowing deployments 125 managing systems 118 properties 123 rebooting 126 redeploying all virtual machines 125 removing 121 undeploying all virtual machines 125 viewing 118 Managed Server pool monitoring usage 108 Managed Servers page 118 media about 101 adding storage 133 adding to library 102 attaching storage 134 deleting 104 NFS storage 103 operations 102 privatizing 104 properties 104 removing NFS servers 135 sharing 104 synchronizing Lab Manager with media storage 103 Media page 102 mouseover menus 25
N
network adding IP addresses 139 configuring settings 137 IP pool 138 removing IP addresses 140 viewing settings 137 network fencing changing switches 177 defining 171 how it works 172 options 87, 174, 177 processor incompatibility 176 reasons for 172 viewing virtual switches 176 NFS servers 103, 133, 135
O
operating systems 32 and 64-bit support 167 operations for configurations 80 for media 102 for templates 47 for virtual machines 31 Overview page 22
P
privatizing media 104 properties of configurations 97 of Managed Server systems 123 of media 104 of storage servers 136 of templates 71
186
VMware, Inc.
Index
disabling 136 enabling 136 managing 126 properties 136 refreshing 136 removing 135 viewing 126 Storage Servers page 126 Support using SupportLink 149 SupportLink setting up 149
R
remote desktop connection for virtual machines 35 removing Managed Server systems 121 storage servers 135 requirements client machines accessing Web console 163 guest operating systems 167
S
SAN servers 135 sharing configurations 95 media 104 templates 66 SMB servers 133, 135 snapshots for virtual machines 36 of configurations 96 reverting to 96 SOAP API about 15 states of configurations 83 of templates 49 of virtual machines 33 storage expired virtual machines 129 leases 42, 52, 55, 57, 66, 68, 69, 74, 90, 92, 93, 95, 97, 149 storage servers about 14 adding media storage 133
VMware, Inc.
T
technical support resources 10 templates accessing Templates page 46 adding virtual hard disks 38 cloning 67 consolidating 71 copying 69 creating 50, 51 creating from active virtual machines 66 creating from scratch 56 defining 45, 46 deleting 74 deleting after Managed Server failure 75 deleting with force 75 deploying 58 exporting 70 installing additional software 60 installing guest operating systems 58 installing LM Tools 61 installing VMware Tools 60
187
operations 47 properties 71 publishing 66 sharing 66 states and attributes 49 undeploying 65 Templates page 46 troubleshooting 151
accessing all machines in configuration 28 accessing consoles 29 accessing single machine in configuration 28 accessing template consoles 28 adding NFS storage 132 adding to configurations 85 adding virtual hard disks 38 assessing disk space 130 changing console display sizes 31 changing IP or MAC addresses 34 creating templates from 66 defining 27 directory structure 130 ejecting CD images 37 ejecting floppy files 38 expiration alerts 113 expired 129 inserting CD images 36 inserting floppy files 37 installing ActiveX 29 installing VMware Remote MKS Plugin 29 leases 42, 52, 54, 55, 57, 66, 68, 69, 74, 88, 90, 92, 93, 95, 97, 149 manually configuring IP addresses 85 operations 31 properties 40 remote desktop connection 35 reverting to snapshots 36 states 33 taking snapshots 36 understanding node relationships 130
U
undeploying configurations 89 templates 65 user groups accessing 10 User Preferences page 111 users adding 115 authenticating with LDAP 144 deleting 117 managing 111 properties 117 setting preferences 111 viewing 114 Users page 114
V
virtual hard disks adding 38 expanding and shrinking 157 Virtual Machine Storage Usage page 128 virtual machines accessing 28 accessing a specific console 99 accessing all consoles in a configuration 99
188
VMware, Inc.
Index
viewing details 98 viewing storage usage 128 virtual machine console page 30 VirtualCenter Server using with Lab Manager 16 VMware community forums accessing 10 VMware Remote MKS Plugin installing 29 VMware Tools about 25 installing 60
W
Web console about 15 access requirements 163 breadcrumb titles 25 browser and client machine support 163 column sorting 25 filters 25 mouseover menus 25 Workspace page 78
VMware, Inc.
189
190
VMware, Inc.