Вы находитесь на странице: 1из 190

VMware Lab Manager Users Guide

VMware Lab Manager 2.5

VMware Lab Manager Users Guide

VMware Lab Manager Users Guide Revision: 20070709 Item: VLM-ENG-Q207-359

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.

VMware, Inc. 3401 Hillview Ave. Palo Alto, CA 94304 www.vmware.com


2 VMware, Inc.

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.

VMware Lab Manager Users Guide

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

EditingTemplateProperties 71 DeletingTemplates 74 DeletingPublishedTemplatesAfterManagedServerFailure

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.

VMware Lab Manager Users Guide

ChangingSharedMediaFilestoPrivateFiles 104 EditingMediaProperties 104

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

VMware Lab Manager Users Guide

A ClientandBrowserSupport 163 B GuestOperatingSystemSupport 167 C NetworkFencing 171


WhyShouldIFenceConfigurations? 172 HowDoesFencingWork? 172 FencingOptions 174 ProcessorTypeIncompatibility 176 ViewingVirtualSwitchesforFences 176 ReviewingAdditionalFencingOperations 177

D ExtendingLMTools 179
HowdoesLMToolswork? 180 ExtendingtheLMToolsScript 181 ExtendingtheLMToolsScriptonaWindowsGuestOS 181 ExtendingtheLMToolsScriptonaLinuxGuestOS 181

Index 183

VMware, Inc.

Preface

ThisprefaceprovidesinformationabouttheVMwareLabManagerUsersGuideand linkstoVMwaretechnicalsupportandeducationalresources. Thisprefacecontainsthefollowingtopics: AboutThisBookonpage 9 TechnicalSupportandEducationResourcesonpage 10

About This Book


TheVMwareLabManagerUsersGuideprovidesdetailedinformationabouttheVMware LabManagersystemanditscomponents,commands,operations,configuration,and userinterface.

Intended Audience
Theguideisintendedforexperienceddevelopersandtestersofsoftwareapplications. Thisdocumentassumestheuserhassomefamiliaritywiththesetopics: Virtualmachinetechnology Basicconceptsofdistributed,multitieredsystems Currentdevelopmentandtestingpractices WindowsandLinuxoperatingsystems

VMware, Inc.

VMware Lab Manager Users Guide

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

Technical Support and Education Resources


Thefollowingsectionsdescribethetechnicalsupportresourcesavailabletoyou.

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

Online and Telephone Support


Useonlinesupporttosubmittechnicalsupportrequests,viewyourproductand contractinformation,andregisteryourproducts.Goto: http://www.vmware.com/support Customerswithappropriatesupportcontractsshouldusetelephonesupportforthe fastestresponseonpriority1issues.Goto: http://www.vmware.com/support/phone_support.html

Support Offerings
FindouthowVMwaresupportofferingscanhelpmeetyourbusinessneeds.Goto: http://www.vmware.com/support/services

VMware Education Services


VMwarecoursesofferextensivehandsonlabs,casestudyexamples,andcourse materialsdesignedtobeusedasonthejobreferencetools.Formoreinformationabout VMwareEducationServices,goto: http://mylearn1.vmware.com/mgrreg/index.cfm

VMware, Inc.

11

VMware Lab Manager Users Guide

12

VMware, Inc.

Introducing Lab Manager

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

VMware Lab Manager Users Guide

Lab Manager Components


LabManagerserverscollectivelyreferstotheLabManagerServersystem,Managed Serversystems,andstorageservers.Figure11illustratesthecomponentsofLab Manager. Figure 1-1. Lab Manager Components
network Lab Manager client user Lab Manager Managed Server

administrator

Lab Manager Server Lab Manager client user Lab Manager Managed Server

Lab Manager client user

default media storage

Lab Manager Managed Server

virtual machine storage (SAN)

media and virtual machine storage (NFS)

LabManagerServerAserverthatprovidesWebandSOAPinterfacesfortheLab Managersystem.TheLabManagerServersystemmanagesanddeploysconfigurations againstapoolofManagedServersystems. LabManagerManagedServerAserverrunningVMwareESXServerandManaged Serversoftware.TheLabManagerServersystemusestheManagedServersystemto deployconfigurationsandtheirvirtualmachines.YoucanhavemultipleManaged Serversystems. LabManagerstorageserverStorageforvirtualmachines(forexample,anESXServer SANorNFSserver)andstorageformedia(CDandfloppyimages).Youcanhave multiplestorageservers. EveryLabManagerinstallationprovidesdefaultmediastorageontheLabManager Serversystem.

14

VMware, Inc.

Chapter 1 Introducing Lab Manager

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.

Lab Manager Benefits and Features


LabManagerenablesuserstolowerdevelopment,test,andintegrationcosts,aswellas tapintoasharedpoolofserverandnetworkingresources,eliminatemanualsetup,and decreasesoftwaredevelopmenttimes. Reviewthesespecificbenefits: ProductivitySavestimewhenprovisioningmachines. ProcessimprovementAssistswithcommunicationbetweentestingand developmentteams. ServerconsolidationIncludespoolandshareservers,storage,andothertesting anddevelopmentresources. ComputeraccessProvidesaccesstomorecomputersthanavailablephysical machines.

VMware, Inc.

15

VMware Lab Manager Users Guide

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.

Using Lab Manager with VirtualCenter Management Server


YoucanuseVMwareVirtualCenterManagementServer(VirtualCenterServer)to monitorESXServersystemsmanagedbyLabManager.However,allVirtualCenter ServeractionsthatregisterorunregisterLabManagervirtualmachines(including thosetriggeredbyVMwareHAandVMwareVMotion)cancauseerrorsinLab Manager. VMwarerecommendsmanagingESXServersystemswithLabManageror VirtualCenterServer,butnotboth.AvoidinstallingLabManageronthesamesystem asVirtualCenterServertoavoidperformancecomplications.Formoreinformationon VirtualCenterServer,seetheVMwareInfrastructure3documentation.

16

VMware, Inc.

Chapter 1 Introducing Lab Manager

Enabling High Availability for Lab Manager Server


TotakeadvantageofVMwareHA,VMwareDRS,orVMwareVMotion,installtheLab ManagerServercomponentonavirtualmachineratherthanaphysicalsystem.

VMware, Inc.

17

VMware Lab Manager Users Guide

18

VMware, Inc.

Getting Started with Lab Manager

TogetstartedwithLabManager,youcanbecomefamiliarwiththemainelements, operations,andnavigationoftheLabManagerWebconsole. Thischaptercoversthesetopics: SettingInternetExplorerOptionsonpage 20 AccessingtheLabManagerConsoleonpage 21 ReviewingtheLabManagerUserInterfaceonpage 22 ReviewingtheGeneralWorkflowinLabManageronpage 26

VMware, Inc.

19

VMware Lab Manager Users Guide

Setting Internet Explorer Options


ReviewtherequirementsforclientusermachinesintheVMwareLabManager InstallationGuide.WhenaccessingtheLabManagerWebconsolewithIE,makesureto enabletheproperbrowsersettings. To set IE options for machines accessing the Web console 1 OpentheControlPanelfromthedesktopandclickAddorRemovePrograms. IfyouareusingaWindowsplatformotherthanWindows2003,proceedtoStep 4. 2 3 4 5 6 ClickAdd/RemoveWindowsComponents. DeselecttheEnhancedInternetExplorerSecurityConfigurationcheckboxand clickNext. FromtheToolsmenuinIE,chooseInternetOptions. IntheSecuritytab,clickCustomLevel. Enablethesebrowseroptions: DownloadsignedActiveXcontrols RunActiveXcontrolsandplugins AllowMETAREFRESH Activescripting Allowpasteoperationsviascript 7 IntheAdvancedtab,enablethePlayanimationsinwebpagesoption.

20

VMware, Inc.

Chapter 2 Getting Started with Lab Manager

Accessing the Lab Manager Console


AccesstheLabManagerWebconsoleandOverviewpageusingIEorFirefox. To access the Lab Manager console 1 ObtainaLabManageraccount. Ifyoudonothaveanaccountorneedaccountinformation,seeaLabManager administrator. 2 3 OnaWindowsmachineconnectedtotheInternetoryourlocalintranet,launcha browserwindow. ToconnecttoaLabManagerServersystem,gotohttps://<LabManagerserver domainnameorIPaddress>/. Thefirsttimeyouaccesstheconsole,anSSLwarningmightappear.Toavoid thiswarning,usefullyqualifieddomainnamesoraskyouradministratorfor moreinformation. Toaddthecertificatetoyourtrustedcertificatelist,clickViewCertificatein theIESSLalert,andclickInstallCertificate. 4 Enteryourusernameandpasswordtologintotheconsole. Passwordsfortheconsolerequireatleastsixcharacters. 5 IntheOverviewpage,usethecheckboxatthebottomofthepagetospecify whetheryouwanttheconsoletoopentotheWorkspacepageatstartup. Forhighlightsonthispageandtheuserinterface,seeReviewingtheLabManager UserInterfaceonpage 22.

NOTE

VMware, Inc.

21

VMware Lab Manager Users Guide

Reviewing the Lab Manager User Interface


TheLabManagerWebconsolehasanavigationpaneontheleftandamaindisplayarea ontheright. Thenavigationpaneprovidesaccesstomajorconceptsandoperations: MyLabManager BuildandDeploy Monitor Manage(administratoroperationsonly) Support(administratoroperationsonly) Themaindisplayareashowsconfiguration,virtualmachine,machinetemplate,server, andsystemadministrationinformationintableformat.Thisareaalsodisplaysdatain tabbedfolders.

Default Landing Page


ThedefaultlandingpageistheOverviewpage. NOTE YoumustenableSupportLinkifyouwanttoviewallstatistics.SeeReviewing theSupportLinkTabonpage 149.

ThePerformanceSummarycolumnincludesthesestatistics: TotalSlotsNumberofreservedspacesacrossallvirtualmachinesonthe ManagedServersystems. SlotsUsedNumberofdeployedmachines. SlotsAvailableDifferencebetweenTotalSlotsandSlotsUsed. MaximumMemoryPhysicalmemoryoftheManagedServersystems. TotalDeploymentsOverTimeSumofalldeployedvirtualmachinessincethe installationofLabManager. ConfigurationsinLibraryNumberofvirtualmachineconfigurationsstoredin theconfigurationlibrary. TotalVMFSDiskSpaceSumofthediskspaceintheVMwareVirtualMachine FileSystem(VMFS)storage. VMsundermanagementNumberofvirtualmachines(exceptrouters)under LabManagercontrol.
22 VMware, Inc.

Chapter 2 Getting Started with Lab Manager

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.

Specific Areas and Operations


TheLabManagerWebconsoleincludesthesespecificareasandoperations: OverviewProvidesinformationonperformance,support,documentation,and tutorials.YoucanspecifywhethertomaketheWorkspacepagethedefaultlanding pageoftheconsole. PreferencesEnablesyoutosetpreferencesforsuchitemsasthedefaultstart page,numberofitemsonapage,behaviorforcertainoperations(ForceUndeploy, UndeployAllVMs,andRedeployAllVMs),networkfencing,andtheserverboot sequence.Usethisareatochangeyourpassword. WorkspaceServesasthecontrolcenterfortheLabManagersystem.Thisspace issimilartotheconceptofadesktopwhereyoucanworkonconfigurations,share themwithindividuals,andperformotheroperations.Ifyouareanadministrator, allconfigurations(privateandshared)arevisible. Fromthislocation,navigatetothedetailsforaparticularconfigurationoraccess allofthevirtualmachineconsolesforaconfigurationwiththeShowConsoles feature.

VMware, Inc.

23

VMware Lab Manager Users Guide

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.

Chapter 2 Getting Started with Lab Manager

Interface Features
TheLabManagerinterfaceincludesfeaturessuchasmouseovermenus,breadcrumb titles,andfilters.

Mouseover Menus
Theconsolehasmouseovermenusthataresimilartorightclickmenusandappear whenyoumovethepointeroveranobjectname.Anameortitlehasamouseovermenu ifanarrowappearstoitsright.

Breadcrumb Titles
Ifyounavigatetospecifictemplatesorconfigurations,thetitleofthepagedisplaysthe objectpath.Theobjectslinktotheappropriatepages.

Text Search Filter


UsetheFilterbuttonatthetopofcertainpagestoviewasubsetoftheinformationon thecurrentpage.LabManagermatchesthetextenteredinthefieldtotheleftofthe buttonagainsttheattributedataofthesearchobjects.Entriesarenotcasesensitive. Usingthemouseovermenutotheleftofthefield,youcanfilteracrossallcolumnson thepageorwithinaspecificcolumn. NOTE Thefiltertextsearchdoesnotrecognizewildcards.Ifyouenteratraditional wildcard,suchasanasterisk(*),thisfunctionperformsaliteralsearchforan asterisksymbol.

Column Sorting
MostpagesinLabManagerpresentdataintables.Youcansortthedataineachcolumn inascendingordescendingorder.Clickthetableheadingnametoperformthesort operation.Thearrowtotherightofthecolumnnameindicateswhetherthedata appearsindescendingorascendingorder.

VMware Tools and Mouse Control


Whenmovingyourmouseintoandoutofthevirtualmachineconsolewindow,you mightlosethepointer.VMwareToolscorrectsthisproblem. IfyoudonotinstallVMwareTools,pressCtrl+Alttoregainmousecontrol.

VMware, Inc.

25

VMware Lab Manager Users Guide

Reviewing the General Workflow in Lab Manager


Thebasicworkflowmightinvolvethesetasks: Creatingorimportingtemplates,whichserveastherawvirtualmachines. Creatingconfigurationscomposedofoneormorevirtualmachinesbasedon machinetemplates. PerformingarangeofoperationsintheWorkspace,suchascapturing configurationstotheconfigurationlibrary. Forexample,aQAengineerfindsabuginaconfigurationandcapturesitto preservethecurrentstate. ProvidingaccesstolibraryconfigurationsusingtheLiveLinkfeature. Forexample,aQAengineerputsaLiveLinkURLinabugreportorsendsa LiveLinkURLtoadeveloper.Thedeveloperclicksthelinktoaccessandreview theliveconfigurationintheWorkspace. Thesetasksarecoveredthroughoutthisguide.

26

VMware, Inc.

Working with Virtual Machines

Avirtualmachineisasimulatedcomputerenvironmentrunningaguestoperating systemandassociatedapplicationsoftware.Virtualtechnologyallowsahostserver torunmultiplevirtualmachinesconcurrentlyandisolateeachvirtualmachineina selfcontainedenvironment. LabManagerenablesyoutocreatevirtualmachinesfrommachinetemplatesandto createconfigurationscomposedofmultiplevirtualmachines.Fordetailsontemplates andconfigurations,seeChapter 4andChapter 5. Thischaptercoversthesetopics: AccessingVirtualMachinesonpage 28 ReviewingtheVirtualMachineConsolePageonpage 30 ReviewingVirtualMachineOperationsonpage 31

VMware, Inc.

27

VMware Lab Manager Users Guide

Accessing Virtual Machines


FromtheLabManagerWebconsole,youcannavigatetoindividualvirtualmachine consolesandperformarangeofoperations.SeeAccessingaVirtualMachineConsole fortheFirstTimeonpage 29. Fordetailsonaccessingavirtualmachineconsoleofthesampletemplate (ttylinux4ESX3(<owner>))orconfiguration(Sample1)packagedwithLabManager, seetheVMwareLabManagerInstallationGuide.Youcanlogintoavirtualmachine consoleofthesesamplesasrootanduselabmanagerasthepassword. To access the console of a virtual machine template from the Templates page 1 2 3 4 Intheleftpane,clickTemplates. Ifthetemplateisundeployed,movethepointeroverthetemplatenameand chooseDeployfromthemenu. IntheConsolecolumn,clickthethumbnailiconofthedeployedtemplate. Clickintheconsoletoworkwiththeguestoperatingsystem.

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.

To access all virtual machines in a configuration 1 Intheleftpane,clickWorkspace.

28

VMware, Inc.

Chapter 3 Working with Virtual Machines

Iftheconfigurationisundeployed,movethepointerovertheconfigurationname andchooseDeployfromthemenu. SeeDeployOptionsonpage 87andDeploywithDefaultsOptiononpage 88.

3 4

MovethepointerovertheconfigurationnameandchooseShowConsolesfrom themenu. Clickintheconsoletoworkwiththeguestoperatingsystem.

IfVMwareToolsisnotinstalledinparticularvirtualmachinesandyouneedtonavigate betweenconsoles,pressCtrl+Alttoreleasethemousecursor.

Accessing a Virtual Machine Console for the First Time


Ifyouareaccessingavirtualmachineconsoleforthefirsttime,reviewthesesections: InstallingtheActiveXControlonpage 29 InstallingtheVMwareRemoteMKSPluginforFirefoxonpage 29

Installing the ActiveX Control


Whenyouinitiallydeployatemplateorconfigurationtoaccessavirtualmachine console,youmustfollowtheinstructionstoinstalltheActiveXcontrol.

Installing the VMware Remote MKS Plugin for Firefox


WhenyouinitiallyaccessanindividualvirtualmachineconsolepageusingFirefox,a messagenotesthatyoumustinstalltheVMwareRemoteMKSPlugintousethe console. To install the VMware Remote MKS Plugin 1 2 ClickInstallPlugin. WhenthemessageappearsacrossthetopofthepageaboutFirefoxpreventingthe installationtoprotectyourcomputer,clicktheEditOptionsbuttoninthetopright corner. ClickAllowandclickClose. Inthevirtualconsole,clickInstallPlugin. ClickInstallNow. ClosethedialogboxandclicktherefreshbuttonintheLabManagerpage. ForsomeversionsofFirefox,youmighthavetorestartthebrowser. Thevirtualmachineconsoleisreadyforuse.
VMware, Inc. 29

3 4 5 6

VMware Lab Manager Users Guide

Reviewing the Virtual Machine Console Page


Reviewtheelementsofthevirtualmachineconsolepage: FencingIfthevirtualmachineusesLabManagernetworkfencing,theinternal andexternalIPaddressesappearattheupperleftcornerofthepage. SeeAppendix C,NetworkFencing,onpage 171. ConfigurationDisplaysthumbnailiconsofothervirtualmachinesinthesame configurationwhenyoumovethepointeroverthisbutton. Clickathumbnailicontoseetheconsoledisplay,orclickAllConsolestoseeall virtualmachineconsolesinaconfiguration. ClickConfigurationtoviewthedetailsoftheconfiguration.SeeViewingDetails onVirtualMachinesinaConfigurationonpage 98. SnapshotCapturesaconfigurationanditsvirtualmachinesatacertainpointin time. RevertReturnsthevirtualmachinetothelastsnapshot. Thethumbnailiconofthelastsnapshotisavailableintheupperrightcornerunder RevertPoint. Afterthevirtualmachinerevertstothelastsnapshot,thedisplaymatchesthe RevertPointthumbnailicon. InstallVMwareToolsInstallsVMwareToolsonthistemplate. SeeInstallingVMwareToolsonpage 60. InstallLMToolsInstallsLMToolsonthistemplate. SeeInstallingLMToolsonpage 61andReviewingtheLMToolsTabon page 147. CTRLALTDELProvidesthesamefunctionalityasCtrl+Alt+Delonaphysical machine. RevertPointDisplaysathumbnailiconofthelastsnapshotpoint. RemotingToolsDisplaystoolstosetupaRemoteDesktopConnectionforthe virtualmachine.

30

VMware, Inc.

Chapter 3 Working with Virtual Machines

Changing the Console Display Size


Youcanchangethesizeofavirtualmachineconsoleasyouwouldforaphysical machine. To change a virtual machine console size (Windows) 1 2 3 4 5 Fromthevirtualmachineconsole,opentheControlPanel. DoubleclickDisplay. FromtheSettingstab,movethescreenresolutionsliderbartoyourpreferred displaysize. ClickOK. Confirmthechange.

Reviewing Virtual Machine Operations


Theoptionsinthemouseovermenuforavirtualmachinearecontingentuponitsstate. Operationsonindividualvirtualmachinesaffectthemenuoptionsforconfigurations. Forexample,youhaveaconfigurationwithfourdeployedvirtualmachines.Ifyou undeployoneofthevirtualmachines,theconfigurationstatusintheWorkspacepage remainsDeployedbutboththeDeployandUndeploySaveStateandUndeploy DiscardStateoptionsappearinthemouseovermenu.

Summary of Virtual Machine Operations


Table31summarizestheoperationoptionsforvirtualmachines. Forinformationonrelatedoperationsinvolvingtemplatesandconfigurations,see Chapter 4andChapter 5. Table 3-1. Virtual Machine Operations
.

Operation AddtoTemplates ConsolidateVMChain

Description Createsamachinetemplatefromthisvirtualmachine. Consolidatesavirtualmachineimageandallitschanges, whichcanbescatteredacrossthedirectoriesofastorage server. Thisoperationissimilartodefragmentingaharddiskto improveaccessefficiency.

CtrlAltDelete Delete

ExecutesaCtrl+Alt+Deloperationonthevirtual machine. Removesanundeployedvirtualmachine.

VMware, Inc.

31

VMware Lab Manager Users Guide

Table 3-1. Virtual Machine Operations (Continued)


Operation Deploy Description RunsavirtualmachineontheManagedServerpool. Youmustdeployavirtualmachinebeforeinstalling softwareonit. EjectCD EjectFloppy InsertCD InsertFloppy InstallLMTools EjectstheCDinthevirtualCDdriveofthevirtual machine. Ejectsthefloppyinthevirtualfloppydriveofthevirtual machine. PromptsyoutoselectanISOimagefromthemedia libraryorenteraUNCpathtotheimageonyournetwork. PromptsyoutoselectafloppyimageorenteraUNCpath tothefloppyimagefile. InstallsLMTools. ThisinstallationallowsLabManagertocustomizethe networksettingsforavirtualmachine. InstallVMwareTools InstallsVMwareToolsonWindowsmachines. Thisinstallationhasnumerousbenefitsandmakesit easierforyoutomovethemouseintoandoutofthe consolewindow. Properties Reset Allowsyoutoviewandeditvirtualmachineproperties. Restartsthevirtualmachineandclearsthemachinestate. Thisoperationistheequivalentofresettingaphysical computeranddoesnotshutdowntheguestoperating system. Ifabootimageisnotavailableinperipheralstorage,the virtualmachinebootsoffthevirtualharddisk. Resume ShutDown Snapshot Resumestheoperationofasuspendedvirtualmachine. Shutsdowntheoperatingsystemofthevirtualmachine. Capturesaconfiguration(andallitsvirtualmachines)at aspecificpointintime.Youcanreverttothissnapshot imageifnecessary. Onlyonesnapshotcanexistatatime.Takinganew snapshotreplacesthepreviousone.

32

VMware, Inc.

Chapter 3 Working with Virtual Machines

Table 3-1. Virtual Machine Operations (Continued)


Operation Suspend Description FreezesavirtualmachineoperationanditsCPU.This optionpreservesthestateofthevirtualmachineuntilyou usetheResumeoption. Forexample,suspendamachinewhenyouneedtostep awayfromthisenvironmentbutyoudonotwanttolose thecurrentstate. Suspendingamachinegeneratesthesameresultas choosingtheSaveMemoryStateoptionforundeploy operationsintheUserPreferencespage.Optionsonthe UserPreferencespageaffectbehaviorforalloperations ratherthanasingleoperation. TurnOff TurnOn Undeploy(SaveStateorDiscard State) Turnsoffthevirtualmachine.Thisoptionisthevirtual equivalentofpoweringoffaphysicalmachine. Turnsonthevirtualmachine.Thisoptionisthevirtual equivalentofpoweringonaphysicalmachine. StopsrunningavirtualmachineontheManagedServer pool. Youhavetheoptiontosavethememorystateordiscard thestateofeachvirtualmachine.Forinformationonthe conceptofsavingstate,seetheSuspendentryinthistable andSettingUserPreferencesonpage 111.

Summary of Virtual Machine States


Table32summarizesthenontransitorystatesofvirtualmachines. Table 3-2. Virtual Machine States (Nontransitory)
State On Off Suspended Description VirtualmachineisdeployedandrunningontheManagedServersystem. Youcanseethethumbnailiconofthevirtualmachineconsole. Virtualmachineisdeployed(registeredontheManagedServersystem)butnot running. Virtualmachineprocessorisfrozen. Processorcanleavethesuspendedstateatthepointwhereitbecame suspended. Undeployed VirtualmachineisoffandnotregisteredontheManagedServersystem. Ifyoudeploythevirtualmachine,LabManagerregistersandrebootsitonthe ManagedServersystem.

VMware, Inc.

33

VMware Lab Manager Users Guide

Table33summarizesthetransitorystatesofvirtualmachines. Table 3-3. Virtual Machine States (Transitory)


State Busy Pending Description Virtualmachineisinthemidstofanoperation. Virtualmachineisstuckandposesinteractivequestionsinthevirtualmachine console.

Changing IP or MAC Addresses


YoucanchangeanIPorMediaAccessControl(MAC)addressforavirtualmachine afteraddingthevirtualmachinetoaconfiguration. To change the IP or MAC address for a virtual machine 1 2 3 4 5 Intheleftpane,clickWorkspace. MovethepointerovertheconfigurationnameandchooseDetailsfromthemenu. Ifthevirtualmachineisdeployed,movethepointerovertheconfigurationname andchooseUndeploySaveStateorUndeployDiscardStatefromthemenu. MovethepointerovertheconfigurationnameandchoosePropertiesfromthe menu. Enterthepropertiesinformation: a TocreatearandomMACaddress,clickResetMACAddress. YoucannotspecifyyourownMACaddress. b c d 6 Confirmtheoperation. EnteranewIPaddress. ClickUpdate.

MovethepointeroverthevirtualmachineconfigurationnameandchooseDeploy fromthemenu. Whenyoudeploythevirtualmachine,anerrormessagemightappearabout aduplicateIPaddressbecauseonlyLabManagerisawareofthenewIP address. Ifthiserrormessageappears,clickNo.

NOTE

Fromthevirtualmachineconsolewindow,manuallychangetheIPaddressofthe virtualmachine.
VMware, Inc.

34

Chapter 3 Working with Virtual Machines

ForWindowsmachines: a b c d e f Fromthevirtualmachineconsole,opentheControlPanel. NavigatetotheLocalAreaConnection(LAN)windowthroughtheNetwork Connectionswindow. ClickProperties. FromtheGeneraltab,selecttheInternetProtocol(TCP/IP)checkboxand clickProperties. ClickUsethefollowingIPaddress,andenterthenewIPaddress. Closeallscreens.

ForLinuxmachines: a b c Loginasroot. Usetheifconfig-acommandtoretrievetheIPaddressofthemachineand thenameoftheEthernetCardIdentifier. UsetheifconfigcommandtochangetheIPaddress:


ifconfig <interface> <new IP address> netmask <netmask>

Refertothisexample:
ifconfig eth0 10.10.10.10 netmask 255.255.0.0

Setting Up Remote Desktop Connections


Fromthepagewithasinglevirtualmachineconsole(ratherthanthepagewithall consoles),youcanremotelyconnecttoavirtualmachineconfiguration.TheRemote Desktopoptionallowsyoutoconnecttothevirtualmachinefromanylocationwith theserequirements: ThevirtualmachinemustberunningtheWindowsoperatingsystem. Youmusthavenetworkaccess. YoumusthaveaccesspermissionasaLabManageradministratororanauthorized remoteaccessuser. To set up a remote desktop connection to a virtual machine 1 2 3 Fromthevirtualmachineconsolewindow,opentheControlPanel. NavigatetotheRemotetaboftheSystemPropertiesdialogbox. ClicktheAllowuserstoconnectremotelytothiscomputercheckbox.

VMware, Inc.

35

VMware Lab Manager Users Guide

4 5

Tospecifyindividualusers,clickSelectRemoteUsersandentertheinformation. Fromthevirtualmachineconsolewindow,selectRemoteDesktopfromthe RemotingToolslistandcompletetheinstructions.

Taking Snapshots and Reverting the Snapshots


Afterdeployingavirtualmachine,youcantakeasnapshotandrevertthevirtual machinetothatsnapshotatalatertime. Thesnapshotisacapturedvirtualmachinestateataspecificpointintime.Lab Managerstoressnapshotspersistentlywiththevirtualmachineimage.Ifyouundeploy avirtualmachineanddeployit,thesnapshotremains. NOTE Onlyonesnapshotforavirtualmachineisactiveatatime.

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.

Chapter 3 Working with Virtual Machines

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.

Inserting Floppy Disks


Youcanuploaddata(forexample,drivers)toatemplatefromthemedialibrary.During theInsertFloppyoperationavailablefromtheindividualconsoleofatemplateor configuration,youcanaccessthefloppyfilesinthemedialibrary. Formoreinformationonmediaandfloppyfilenames,seeWorkingwithMediaon page 101.

VMware, Inc.

37

VMware Lab Manager Users Guide

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.

Ejecting Floppy Disks


Afterinsertingafloppydisktoavirtualmachine,youcanejectthefloppydisk. To eject the floppy disk from a virtual machine Fromthevirtualmachineconsolewindow,movethepointeroverthevirtualmachine nameandchooseEjectFloppyfromthemenu.

Adding Virtual Hard Disks to Virtual Machines (Templates)


Afteraccessingthepropertiessettingsforvirtualmachinesandtemplates,youcanadd oneormorevirtualharddisks(.vhd)foramachinetemplateoravirtualmachine. Differentmethodsareavailabletoaccesspropertiesinformation. To access the properties for machine templates 1 Intheleftpane,clickTemplates.

38

VMware, Inc.

Chapter 3 Working with Virtual Machines

2 3

Ifthevirtualmachineisdeployed,movethepointeroverthetemplatenameand chooseUndeploySaveStateorUndeployDiscardStatefromthemenu. MovethepointeroverthetemplatenameandchoosePropertiesfromthemenu.

To access the properties for virtual machines 1 2 3 4 Intheleftpane,clickWorkspace. Ifthevirtualmachineisdeployed,movethepointerovertheconfigurationname andchooseUndeploySaveStateorUndeployDiscardStatefromthemenu. MovethepointerovertheconfigurationnameandchooseDetailsfromthemenu. MovethepointeroverthevirtualmachinenameandchoosePropertiesfromthe menu.

To add virtual hard disks 1 2 Afteraccessingthepagewithpropertiesinformationforeithermachinetemplates orvirtualmachines,clickAddHardDisk. Enterthediskinformation: a b SpecifywhetherthebustypeisBusLogicSCSIorLSILogicSCSI. Reviewthesedetailsonthebusnumber,busID,anddisksize:

Table 3-4. Bus Number and ID Entries


Bus Type SCSI Bus Number 03 Bus ID 015

Ifbusnumbersarenotavailable,NoneappearsintheBusNumberlist. BusID#7isreservedforaSCSIadapter. Ifabusiscompletelyused,theBusIDlistappearsasanemptylist. DiskSize(GB)islimitedbythespaceavailableforstorageservers. c ClickAdd.

Thenewharddiskappearsintheinformationonproperties.

Adding SCSI Virtual Hard Disks


ReviewthesepointsaboutaddingSCSIvirtualharddisks: IfyouaddaSCSIharddisktoavirtualmachine,youmightgenerateanoperating systemerrormessageaboutmissingdriversforthisdevice.
VMware, Inc. 39

VMware Lab Manager Users Guide

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.

Editing Virtual Machine Properties


Youcanaccessandeditthepropertiesofvirtualmachines. To edit virtual machine properties 1 2 3 4 5 Intheleftpane,clickWorkspace. Ifthevirtualmachineisdeployed,movethepointerovertheconfigurationname andchooseUndeploySaveStateorUndeployDiscardStatefromthemenu. MovethepointerovertheconfigurationnameandchooseDetailsfromthemenu. MovethepointeroverthevirtualmachinenameandchoosePropertiesfromthe menu. Edittheproperties. SeeReviewingthePropertiesListonpage 41. 6 ClickUpdate.

40

VMware, Inc.

Chapter 3 Working with Virtual Machines

Reviewing the Properties List


Reviewthepropertieslistforvirtualmachines: NameCancontainonlyalphanumericcharacters(az,AZ,09),hyphens, underscores,orperiods.Maximumlengthis15characters. Description(Optional)Maximumnumberofcharactersis128. NumberofCPUsMaximumnumberofprocessorsis4. ThestorageserverforvirtualmachinesmustbeconnectedtoaManagedServer systemthatprovidestherequiredSMPtechnologyfortheguestoperatingsystem. IfyouchooseaCPUnumbernotcurrentlycompatiblewiththeCPUofthe ManagedServersystem,youcannotdeploythevirtualmachineuntilyouattacha ManagedServersystemwiththeappropriateSMPsupport. GuestOSOperatingsystemofthevirtualmachine. Ifyouselecta64bitguestoperatingsystem,thestorageservermustbeconnected toaManagedServersystemthatprovidestherequired64bitprocessorforthat guestOS.Youcanproceedwithoutfulfillingthisrequirementbutyoucannot deploythetemplateuntilyouattachaManagedServersystemwiththecorrect processor.ForinformationonenablingaManagedServersystemtoprovide64bit support,seetheVMwareInfrastructure3InstallationandUpgradeGuide. StorageServerStorageserverorstoragedevicewherethevirtualmachineimage resides. VirtualMachineTechnologyVirtualizationtechnology(VMwareESXServer) thatthismachineisconfiguredfor. 32bitVirtualCPUBydefault,thevirtualCPUtypeassumesthephysicalhost CPUtype. SelectthischeckboxtooverridethedefaultbehaviorandensurethevirtualCPU typeis32bit.Forexample,youmightselectthisoptionwhenyouneedto completeatestingprocessspecificallywith32bitvirtualCPU. TemplateMachinetemplatethatthevirtualmachineiscreatedfrom. UseTimeSynchronizationEnablestimesynchronizationbetweentheguest (virtualmachine)andhost(ManagedServer)operatingsystems.Youmustinstall VMwareToolstousethisoption. Thisoptionsetsthevalueoftools.syncTimeinthe.vmxfile. VMwareToolsInstalledSpecificationofwhetherVMwareToolsisinstalledon thevirtualmachine.

VMware, Inc.

41

VMware Lab Manager Users Guide

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.

Chapter 3 Working with Virtual Machines

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

VMware Lab Manager Users Guide

44

VMware, Inc.

Working with Machine Templates

Machinetemplatesarevirtualmachineimagesusedasbuildingblocksfor configurations.Youcanbuildacollectionoftemplatescontainingavarietyofoperating systems,applicationservers,databases,directoryservers,andotherinfrastructures usedindevelopmentandtesting. Thischaptercoversthesetopics: AboutTemplatesonpage 46 AccessingtheTemplatesPageonpage 46 ReviewingTemplateOperationsonpage 47

VMware, Inc.

45

VMware Lab Manager Users Guide

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.

Accessing the Templates Page


UsetheTemplateslinkintheleftpanetoaccesstheTemplatespage.Thepageincludes theseelements: ConsoleProvidesaccesstothevirtualmachineconsolethroughthethumbnail icon. TemplateNameProvidesamouseovermenutoperformcertainoperationson thetemplate. StatusIndicateswhetherthetemplateisdeployed,published,orinthemidstof suchoperationsasimporting,exporting,copying,andcloning. OwnerShowstheownerofthetemplate. VMTypeIndicatesthevirtualizationtechnology(ESXServer). SharingIndicateswhetherthetemplateissharedamongusers.Privatetemplates areavailableonlytotheowners. LMToolsIndicateswhetherthetemplatehasLMTools.VMwarerecommends installingLMTools. VMwareToolsIndicateswhetherthetemplatehasVMwareTools.VMware recommendsinstallingVMwareTools. DateDeployedShowsthedateandtimeofthelastdeployoperation. FilterViewasubsetofthetemplates.InthefieldtotheleftoftheFilterbutton, entertextthatappearsintheattributesofthetemplatesyouwanttoview.

46

VMware, Inc.

Chapter 4 Working with Machine Templates

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.

Reviewing Template Operations


Reviewthemachinetemplateoperations,states,andspecificprocedures.Most operationsareavailablefromthemouseovermenuorbuttonsontheTemplatespage.

Summary of Template Operations


Table41summarizestheoperationoptionsfortemplates.Inadditiontotheseoptions, AddingVirtualHardDiskstoVirtualMachines(Templates)onpage 38isa procedurethatappliestobothvirtualmachinesinaconfigurationandmachine templates.

VMware, Inc.

47

VMware Lab Manager Users Guide

Table 4-1. Machine Template Options


Option Clone Description Createsadeltadiskinsteadofcopyinganentirevirtualharddisk.This operationaddressesvirtualmachineproliferationbyusingreferential provisioning.Thisprocessinvolvesstoringnewchangesbutreferring backtoachainofdeltadisks.Foreachchange,LabManagerfreezesthe originaldeltadiskandcreatesanewone. Createsacomplete(deep)copyofthetemplate.Thisoperationcopies (ratherthanconsolidates)allofthedeltadisksandthemasterdisk. Typically,youdonotcopyatemplateunlessyouneedtodismantlethe storageandmovethevirtualmachinetoadifferentserver. Thisoperationtakesalongertimethanthecloneoperation. Consolidate Collapsesthedeltadisksthatmightaffectperformanceintoonemaster disk. Usethisoptionwhenperformanceisslowandthevirtualmachinechain lengthistenormore.(Toviewthechainlength,choosePropertiesinthe mouseovermenu.) Delete Deploy Export ForceUndeploy Removesatemplatefromthetemplatelist. RegistersandrunsthevirtualmachineontheManagedServerpool.After youdeployatemplate,youcanviewandusethevirtualmachineconsole. Exportsthemachinetemplatetoanetworkdirectory. Forcestheundeployprocessafterafailedundeployoperation.Ifyouare awareofaproblem(forexample,theManagedServersystemisdown),you mightforcefullyneedtocleanthetemplatesarea. Ifanattempttoundeployatemplatefailsandyouneedtoaccessthis option,clicktheErrorinUndeployinglinkintheStatuscolumnandclick ForceUndeploy. ForceDelete Deletesapublishedtemplate.VMwarerecommendsunpublishinga templatebeforedeletingit.Usethisoptionwhenyouareunableto unpublishatemplatebecauseofaManagedServersystemfailure. Importsamachinetemplatefromanetworkdirectory. Makesatemplatevisibleandaccessibleonlyforyouruse. Makesatemplateavailableforotherstouse. Enablesyoutoviewandeditmachinetemplateproperties. Makesthetemplateavailableforuseinbuildingconfigurations. UnregistersandstopsrunningthevirtualmachineontheManagedServer pool. Youhavetheoptiontosavethememorystateordiscardthestateofeach virtualmachine.Forinformationontheconceptofsavingstate,seeSetting UserPreferencesonpage 111.

Copy

Import MakePrivate MakeShared Properties Publish Undeploy(Save StateorDiscard State)

48

VMware, Inc.

Chapter 4 Working with Machine Templates

Table 4-1. Machine Template Options (Continued)


Option Unpublish ViewConsole Description Makesthetemplateunavailableforuseinbuildingconfigurations. Enablesyoutoviewandusethevirtualmachineconsoleforthetemplate.

Summary of Template States and Attributes


Machinetemplatestatesaretransitoryornontransitory. TransitorystatesincludeCloning,Deploying,Copying,Importing,Exporting,and Consolidating.ThesestatesandaspinningiconappearintheStatuscolumnonthe Templatespage. Nontransitorystates(forexample,DeployedandUndeployed)andattributes(for example,PublishedandUnpublished)appearintheStatuscolumn.Variousattributes appearforbothsharedandprivatetemplates. Table42summarizesthenontransitorystates. Table 4-2. Machine Template States and Attributes (Nontransitory)
State Deployed Unpublished Private Shared Published Undeployed Description Templateisregisteredandrunningonthe ManagedServerpool. Templateisnotavailableforuseinbuilding configurations. Templateisnotavailableforotherstoaccess anduse. Templateisavailableforotherstoaccessand use. Templateisavailableforuseinbuilding configurations. Templateisneitherregisterednorrunningon theManagedServerpool.

VMware, Inc.

49

VMware Lab Manager Users Guide

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.

Chapter 4 Working with Machine Templates

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.

Importing a Template from SMB Storage


Youcanimportvirtualmachinesupto2GBper.vmdkfile.Virtualmachineslargerthan thissizemayrequireVMwareVirtualDiskManagerpackagedwithWorkstation.See ImportingaVirtualMachineasaTemplateFailsonpage 155.

VMware, Inc.

51

VMware Lab Manager Users Guide

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.

Chapter 4 Working with Machine Templates

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.

ClickImport. TheTemplatespagedisplaystheimportedtemplate.Theimportprocesstakes severalminutes. IfyouimportatemplatethatwasexportedfromLabManager,LabManagercan detectwhetherVMwareToolsorLMToolsisinstalledandreflectsthatinformation intheTemplatespage.

7 8

MovethepointeroverthetemplatenameandchoosePublishfromthemenu. Publishingmakesthetemplateavailableforuseinbuildingconfigurations. (Optional)MovethepointeroverthetemplatenameandchooseMakeShared fromthemenu. Sharingallowsotheruserstousethetemplatetobuildconfigurations.

VMware, Inc.

53

VMware Lab Manager Users Guide

Importing a Template from VMFS Storage


IfyouhaveanexistingvirtualmachineonanESXServersystem,youcanusethe ImportfromVMFSoptiontoplacethatvirtualmachineunderLabManagercontrol. Becauseyouaremovingthevirtualmachineandnotcopyingit,theoriginalvirtual machineislostinthisprocess.Ifyouneedtheoriginalvirtualmachine,makeacopyof it. TheoriginalvirtualmachineremainsregisteredundertheVIClientbutisnolonger available.YoucanusetheVIClienttounregisterthevirtualmachine.SeetheVMware Infrastructure3documentationforinformationonunregisteringavirtualmachine. NOTE TheImportfromVMFSoptiondoesnotworkforavirtualmachinewithan absolutepathtoits.vmdkfileoravirtualmachinethathassnapshots.Delete anysnapshotspriortoimportingatemplatefromVMFSstorage. Tocheckifyouhaveanabsolutepathtothe.vmdkfile,useatexteditortoopen the.vmxfile,lookforthelinethatpointstothevirtualdisk(.vmdk),andverify thatthevaluedoesnotstartwithaforwardslash(/). To import a template from VMFS storage (ESX Server machine) 1 2 3 Intheleftpane,clickTemplates. ClicktheImportfromVMFSbutton. Entertheinformationforthetemplate: a b c d e Selecttheserverhostingthe.vmxfile. Enterthepathto.vmxfile(forexample,[storage1]abc/abc.vmx). Enteraname. (Optional)Enteradescription. SpecifywhetherVMwareToolsisinstalledonthetemplate. Ifyouselectthischeckbox,theInstallVMwareToolsbuttonnolonger appearsonthevirtualmachineconsole.Youcanstillaccesstheoptionto installVMwaretoolsthroughthemouseovermenuonthevirtualmachine console. f Specifyatimetoundeploythetemplate. Ifanadministratorsetsasystemwideleasetime,auserwithout administratorprivilegescannotoverridethevaluebutcanextendtheleaseto anyvalueuptothevaluesetbytheadministrator.

54

VMware, Inc.

Chapter 4 Working with Machine Templates

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

VMware Lab Manager Users Guide

Creating Templates from Scratch


Creatingamachinetemplatefromscratchinvolvesthesetasks: Createablanktemplatewithoutanoperatingsystemoradditionalsoftware.See page 56. Deploythetemplate.Seepage 58. Installaguestoperatingsystemonthevirtualmachine.Seepage 58. (Optionalbuthighlyrecommended)InstallVMwareToolstoallowthemouseto moveintoandoutofthevirtualmachineconsolewindow.Seepage 60. Beawareoftheproblemofmovingamouseintoandoutofavirtualmachine consolewindowbeforeVMwareToolsisinstalled.YoumustpressCtrl+Altto correctthisproblemuntilyouinstallVMwareTools. Installanyadditionalsoftwareyouneedtorunonthevirtualmachine.See page 60. (Optionalbuthighlyrecommended)InstallLMToolstoconfigurenetwork settingsforvirtualmachines.Seepage 61. Shutdownthevirtualmachineandbringitbackup.Seepage 65. Undeploythetemplate.Seepage 65. Publishthetemplatetomakeitavailableforbuildingconfigurations.Seepage 66. (Optional)Sharethetemplatetomakeitavailableforotherstouse.Seepage 66. NOTE Toinstallanimageontoavirtualmachine,youmustloaditfromavirtualCD. TheCDistheUniversalNamingConvention(UNC)nameforamachine imageonthenetwork.Typically,themachineimageisanISOfile(imageofa CDROM).

Creating a Blank Template


Createablanktemplatetostarttheprocessofcreatingatemplatefromscratch. To create a blank template 1 2 Fromtheleftpane,clickTemplates. ClickAddTemplate.

56

VMware, Inc.

Chapter 4 Working with Machine Templates

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

VMware Lab Manager Users Guide

LabManagerallowsyoutorenewaleaseatalatertimeinthepropertiespages fortemplates,virtualmachines,Workspaceconfigurations,andlibrary configurations. Iftheadministratorchangesthevalueaftertheinitialsetting,theusercan extendaleaseuptotheoriginalmaximumvalueorthenewvaluesetbythe administrator,whicheverisgreater. k ClickAdd.

TheTemplatespageliststhenewtemplatewithanUndeployedstatus.

Deploying a Template
Beforeinstallinganoperatingsystemandothersoftwareontothemachinetemplate, deployitonaManagedServersystem. To deploy a template 1 2 3 4 Fromtheleftpane,clickTemplates. Ifthetemplateispublished,movethepointeroverthetemplatenameandchoose Unpublishfromthemenu. MovethepointeroverthetemplatenameandchooseDeployfromthemenu. IftheNTLMAuthenticationdialogboxappears,selecttheDontAskMeAgain checkboxandclickYes.

Installing the Guest Operating System


Installinganoperatingsystemonthetemplaterequiresenteringthepathnameofan ISOimagefile. ForinformationonISOfiles,seeDefininganISOFileonpage 58andCreatingan ISOFileonpage 59.Otherwise,proceedtothestepstoinstallanoperatingsystem. Defining an ISO File AnISOimagefileisanexactrepresentationofaCDorDVD,includingitscontentand logicalformat. TheISOfilesthatrepresentCD/DVDdatacontainanimageofanISO9660filesystem. ISO9660isastandardpublishedbytheInternationalOrganizationforStandardization definingafilesystemforCDROMmedia. Manyoperatingsystemsaredistributedfordownloadasselfcontained,bootableISO fileimages.Mostoperatingsystemsallowyoutomounttheseimagesasphysicaldisks, makingthemusefulasauniversalarchiveformat.

58

VMware, Inc.

Chapter 4 Working with Machine Templates

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.

Fromthetab,movethepointeroverthetemplatenameandchooseResetfromthe menutolaunchtheinstallation. Resettingthemachinerestartsthevirtualmachineandclearsthemachinestate. Thisoperationdoesnotshutdowntheguestoperatingsystem.

VMware, Inc.

59

VMware Lab Manager Users Guide

Enteranyrequiredinformationfortheinstallationprocess. Theinstallationoftheoperatingsystemresemblestheinstallationonaphysical machineandtakesasimilaramountoftime.

Installing VMware Tools


VMwarerecommendsinstallingVMwareToolsintheguestoperatingsystem.This utilitysupportssharedfoldersandcutandpasteoperationsbetweentheguest operatingsystemandthemachinefromwhichyoulaunchtheLabManagerWeb console,improvesmouseperformanceinsomeguestoperatingsystems,and significantlyimprovesgraphicperformance.VMwareToolsisarequirementforLM Tools(seeInstallingLMToolsonpage 61). InstallingVMwareToolsallowsyoutomovethepointerintoandoutofthevirtual machineconsolewindow.PriortoinstallingVMwareTools,youcanlosethemouse whennavigatingintoandoutoftheconsolewindow.PressCtrl+Alttofixtheproblem. To install VMware Tools 1 2 3 4 5 Fromtheleftpane,clickTemplates. Ifthetemplateisnotdeployed,movethepointeroverthetemplatenameand chooseDeployfromthemenu. MovethepointeroverthetemplatenameandchooseViewConsolefromthe menu. Logintotheguestoperatingsystem. ClickInstallVMwareTools. Iftheinstallationdoesnotstart,autorunmightbedisabledintheregistry.To manuallyrunVMwareTools,navigatetotheCDdriveinWindowsExplorerand runVMwareTools.exe. InstallingVMwareToolstakesseveralminutesandrequiresyoutorestartthe machine.

Installing Additional Software


Youcaninstallanyothersoftwarethatyouwantonthetemplate.

60

VMware, Inc.

Chapter 4 Working with Machine Templates

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

VMware Lab Manager Users Guide

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.

Chapter 4 Working with Machine Templates

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

Leavetheconsole. IntheTemplatespage,movethepointeroverthetemplatename,andchooseEject CD. Shutdownthevirtualmachinefrominsidetheguestoperatingsystem. SeeShuttingDownaTemplateonpage 65.

(Optional)Publishthetemplatetomakeitavailableforconfigurations. SeePublishingaTemplateonpage 66.

10

(Optional)Shareyourtemplate. SeeSharingaTemplateonpage 66.

VMware, Inc.

63

VMware Lab Manager Users Guide

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.

Chapter 4 Working with Machine Templates

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.

Shutting Down a Template


Reviewthemethodsofshuttingdownatemplate: ForWindowsguestoperatingsystems,navigatetothevirtualmachineconsoleand usetheStartmenutoshutdownthevirtualmachine. ForLinuxguestoperatingsystems,navigatetothevirtualmachineconsoleand type:
> shutdown -h now

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

VMware Lab Manager Users Guide

Publishing a Template
Publishingatemplatemakesitavailableforuseinbuildingconfigurations. NOTE Storageleasesarenotapplicabletopublishedtemplates.Onceatemplate changesfromapublishedtounpublishedstate,thestorageleasebecomes applicable.Fordetailsonleases,seeReviewingtheResourceCleanupTab onpage 149.

To publish a template 1 2 Verifythetemplateisturnedoffandundeployed. FromtheTemplatespage,movethepointeroverthetemplatenameandchoose Publishinthemenu.

Sharing a Template
YouhavetheoptiontokeeptemplatesforyourownuseorsharethemwithotherLab Managerusers. Administratorscandeploysharedtemplates.Ifanadministratorortemplateowner publishesatemplate,userswithoutadministratorprivilegescanuseittocreate configurations. To share your template with other users 1 2 Fromtheleftpane,clickTemplates. Movethepointeroverthetemplatename,andchooseMakeSharedfromthe menu.

Creating Templates from Active Virtual Machines in Lab Manager


YoucancreateatemplatefromanactivevirtualmachineinLabManager.Aftera virtualmachineinaconfigurationundergoeschanges,suchastheadditionofsoftware oralteredproperties,youmightwanttouseitasthebasisofanewmachinetemplate. To create a machine template from an active virtual machine 1 2 3 Fromtheleftpane,clickWorkspace. Movethepointerovertheconfigurationname,andchooseDetailsfromthemenu. Movethepointeroverthevirtualmachinename,andchooseAddToTemplates fromthemenu.

66

VMware, Inc.

Chapter 4 Working with Machine Templates

Specifythedetailsofthetemplate: a b c d e Enteraname. (Optional)Enteradescription. Specifyatimetoundeploythetemplate. Specifyatimetodeletethetemplate(ormarkitfordeletion).Thisoptionfor markingorpermanentdeletionispresetbyanadministrator. ClickAdd.

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

VMware Lab Manager Users Guide

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.

(Recommended)InstallLMTools. YoumustinstallVMwareToolsbeforeinstallingLMTools.SeeInstallingVMware Toolsonpage 60andInstallingLMToolsonpage 61.

VirtualmachinescreatedfromtemplateswithLMToolsinstalledautomaticallyhave networkparameters(IPaddress,MACaddress,SecurityIdentifiers,andmore)set whenfirstdeployed. Formoreinformationoncloningoperations,seeReviewingTemplateOperationson page 47.

68

VMware, Inc.

Chapter 4 Working with Machine Templates

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

VMware Lab Manager Users Guide

time,theleasechoicesresetuptothelatestvaluedeterminedbythe administrator. f ClickCopy.

Afterabrieftime,thenewtemplateisavailableontheTemplatespage. 5 (Recommended)InstallLMTools. YoumustinstallVMwareToolsbeforeinstallingLMTools.SeeInstallingVMware Toolsonpage 60andInstallingLMToolsonpage 61. Formoreinformationoncopyoperations,seeReviewingTemplateOperationson page 47.

Changing Shared Templates to Private Templates


Youcanreserveatemplateforpersonaluse. To change a shared template to a private template 1 2 Fromtheleftpane,clickTemplates. Movethepointeroverthetemplatename,andchooseMakePrivatefromthe menu.

Exporting Templates
YoucanexportatemplatetoSMBstorage.Thisoperationassumesthatyouenableda sharedfolderwithreadandchangepermissions(alsocoveredbyfullcontrol permissions).Exportingcantakeupto30minutes,dependingonthesizeofthevirtual machine. NOTE ExportandimportoperationsrequireanopenSMBportontheManaged Serversystems.ThoughtheinstallationoftheManagedServeragentsoftware takescareofopeningthatport,beawareofthisrequirementincasesomeone closestheportaftertheinstallation.Tochecktheportstatus,usethe esxcfg-firewall-qsmbClientcommandoneachManagedServersystem.

To export a template 1 2 3 Fromtheleftpane,clickTemplates. Ifthetemplateisdeployed,movethepointeroverthetemplatenameandchoose UndeploySaveStateorUndeployDiscardStatefromthemenu. MovethepointeroverthetemplatenameandchooseExportfromthemenu.

70

VMware, Inc.

Chapter 4 Working with Machine Templates

Entertheinformationfortheexportprocess: a IntheUNCPathtoExportDirectorytextbox,entertheUniversalNaming Convention(UNC)nameofthedirectory(relativetotheLabManagerServer system)whereyouwanttostoretheconfigurationfiles.Asamplepathis \\10.10.10.10\VMwareLM\ExportTemplates. UseEnglishcharactersfortheUNCpath. b c ClickExport. Confirmtocontinuetheexportprocess.

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).

Editing Template Properties


Youcaneditandselectthepropertiesofthetemplate. To edit template properties 1 2 Fromtheleftpane,clickTemplates. Movethepointeroverthetemplatename,andchoosePropertiesfromthemenu. Youcanalsoclickthetemplate.
71

VMware, Inc.

VMware Lab Manager Users Guide

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.

Chapter 4 Working with Machine Templates

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

VMware Lab Manager Users Guide

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.

Chapter 4 Working with Machine Templates

ifyouareunabletounpublishatemplate.SeeDeletingPublishedTemplatesAfter ManagedServerFailureonpage 75. 3 4 MovethepointeroverthetemplatenameandchooseDeletefromthemenu. Confirmthedeletion.

Deleting Published Templates After Managed Server Failure


Ifyoucannotperformastandarddeleteoperationforapublishedtemplatebecausea ManagedServerfailurepreventsyoufromunpublishingthetemplate,usetheForce Deleteoperationtodeletethetemplate. To delete a published template 1 2 3 Fromtheleftpane,clickTemplates. MovethepointeroverthepublishedtemplatenameandchooseForceDeletefrom themenu. Confirmthedeletion.

VMware, Inc.

75

VMware Lab Manager Users Guide

76

VMware, Inc.

Working with Configurations

ConfigurationsarethecoreoftheLabManagersystemandarecomposedofoneor morevirtualmachinescreatedfrommachinetemplates.LabManagerofferstheability togroup,deploy(powerontointeractwithatemplate),save,share,andmonitor multimachineconfigurations. Thischaptercoversthesetopics: AboutConfigurationsonpage 78 AccessingConfigurationsonpage 78 ReviewingConfigurationOperationsonpage 80

VMware, Inc.

77

VMware Lab Manager Users Guide

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.

Chapter 5 Working with Configurations

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

VMware Lab Manager Users Guide

Inthetopleftcorner,usethedropdownmenutodeterminetheconfigurationsthat appearonthepage: MyConfigurationsViewonlyyourconfigurations,bothsharedandprivate. ConfigurationsSharedbyOthersViewallsharedconfigurationsexceptforyour ownconfiguration. AllConfigurationsAccessiblebyMeViewyourconfigurations,bothshared andprivate,andconfigurationssharedbyothers. AllConfigurations(AdministratorsOnly)Viewthesharedandprivate configurationsofallusers.

Reviewing Configuration Operations


Mostoperationsforaconfigurationaffectallthevirtualmachinesintheconfiguration. Ifyouneedtoinitiateanoperationforasinglevirtualmachine,navigatetothe individualmachineconsoletospecifyanoperation. Ifaparticularoperationappearsinaconfigurationmenu,theappearanceindicatesthe stateofoneormorevirtualmachinesinthatconfiguration.Reviewtheseexamples: IfUndeploySaveStateorUndeployDiscardStateappearsinaconfiguration menu,atleastonevirtualmachineintheconfigurationisdeployed. IfDeployappearsinaconfigurationmenu,atleastonevirtualmachineinthe configurationisundeployed. IfTurnOnappearsinaconfigurationmenu,atleastonevirtualmachineinthe configurationisoff. Operationsforaconfigurationmightnotaffectallitsvirtualmachines.Reviewthese examples: IfyoustarttheTurnOnoperation,virtualmachinesthatarealreadyturnedonare unaffected. IfyoustarttheRevertoperation,onlythevirtualmachinesthathaveasnapshot setarereverted.

80

VMware, Inc.

Chapter 5 Working with Configurations

Summary of Configuration Operations


Table51summarizestheoperationsforconfigurations.Toaccesstheoptions,movethe pointeroveraconfigurationnameandusethemouseovermenu. Thedisplayedoptionsdependonwhethertheconfigurationiscurrentlydeployedor undeployed. Table 5-1. Configuration Options
Operation CapturetoLibrary Checkout Clone Description Capturestheconfigurationandsavesittotheconfigurationlibrary. Checksoutacopyofaconfigurationfromtheconfigurationlibrary andmovesittotheWorkspace. Makesaquickcopyofthisconfigurationandmovesittothe Workspace. Insteadofcopyinganentirevirtualharddisk,LabManagercreatesa deltadisk.Thisoperationaddressesvirtualmachineproliferationby usingreferentialprovisioning.Thisprocessinvolvesstoringnew changesbutreferringbacktoachainofdeltadisks.Foreachchange, LabManagerfreezestheoriginaldeltadiskandcreatesanewone. Copy Createsacomplete(deep)copyoftheconfiguration.Copiesincludeall ofthedeltadisks.Typically,youdonotcopyaconfigurationunless youneedtodismantlethestorageandmovethevirtualmachine configurationtoadifferentserver. Thisoperationtakesalongertimethanthecloneoperation. Delete Deploy Deploywithdefaults Details Export ForceUndeploy Deletesaconfiguration. Registersandrunsthevirtualmachinesofaconfigurationonthe ManagedServerpool. Deploysaconfigurationwiththedefaultuserpreferences. Enablesyoutoviewdetailsaboutvirtualmachinesinthe configuration. Exportsaconfigurationtoadirectoryonthenetwork. Forcestheundeployoperationtooccurafteranundeployoperation fails.Youmightknowofaproblem(forexample,theManagedServer systemisdown)butyouforcefullyneedtocleantheWorkspacearea. Importstheconfigurationfromdirectoryonyournetwork. CreatesaURLforaconfigurationintheconfigurationlibrary.Lab ManagercanemailthisURLtoanotheruser.Whenauserclicksthe URL,theconfigurationreturnstoanactivestate. Makesthisconfigurationaccessibleonlyforyouandadministrators.

Import LiveLink

MakePrivate

VMware, Inc.

81

VMware Lab Manager Users Guide

Table 5-1. Configuration Options (Continued)


Operation MakeShared Properties Description Makesthisconfigurationavailableforalluserstouseandperform operationson. Enablesyoutoviewandeditconfigurationproperties. Anychangestothepropertiesaffectthedefaultsettingsfornewvirtual machinesaddedtotheconfiguration,networkconfigurationofthe virtualrouterduringfencedeployment,anddisplay.Thechangesdo notmodifyexistingvirtualmachinesintheconfiguration. Reset Resume Revert ShowConsoles ShutDown Snapshot Restartsthevirtualmachinesinaconfigurationandclearsthemachine states.Thisoperationdoesnotshutdowntheguestoperatingsystems. Resumestheoperationofasuspendedconfiguration. Returnstheconfigurationtoitslastsnapshotrevertpoint. Showsalarge,graphicaldisplayofallconfigurationvirtualmachine consolewindows. Shutsdowntheguestoperatingsystemsofthevirtualmachinesina configuration. Capturesaconfiguration(andallitsvirtualmachines)ataspecific pointintime. Onlyonesnapshotcanexistatatime.Takinganewsnapshotreplaces thepreviousone. Suspend TurnOff TurnOn Undeploy(SaveState orDiscardState) Stopstheoperationaffectingthevirtualmachinesinaconfiguration. ThissuspendsorfreezesCPUsforthevirtualmachines. Turnsoffthevirtualmachinesinaconfiguration.Thisoperationisthe virtualequivalentofphysicallypoweringoffmachines. Turnsonthevirtualmachinesinaconfiguration.Thisoperationisthe virtualequivalentofphysicallypoweringonmachines. StopsrunningthevirtualmachinesofaconfigurationontheManaged Serverpool.

82

VMware, Inc.

Chapter 5 Working with Configurations

Summary of Configuration States and Attributes


Configurationstatesaretransitoryornontransitory. Transitorystates,suchasDeployingandSuspending,existformostoperations. ThesestatesappearintheStatuscolumnontheWorkspacepagewhenactive. Whenaconfigurationisinatransitorystate,aspinningiconappearsintheStatus column. Nontransitorystates(forexample,DeployedandUndeployed)appearinthe Statuscolumn. Configurationattributescovertheseareas: Dateandtimeofdeployment(ifdeployed) Numberofmachines Sharedorprivatestatus Fencedmodestatus(ifdeployed)

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

VMware Lab Manager Users Guide

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.

Chapter 5 Working with Configurations

IP Address Assignment for Virtual Machines


OntheNewConfigurationpage,enteringanIPaddresschangestheinformationthat LabManagerhasaboutthemachinebutdoesnotnecessarilychangetheIPaddress configuredonthemachine.ThissituationdependsonwhetherthetemplatehasLM Tools. ReviewthescenariosinTable52. Table 5-2. IP Address Entry Scenarios
IP Management Static(IPPool) Template With LM Tools LabManagerassignstheIPaddress internallyandconfiguresthevirtual machine. Template Without LM Tools LabManagerassignstheIPaddress internally,butyoumustmanually configurethevirtualmachine: Navigatetotheproperties informationforthevirtualmachine, notetheassignedIPaddress,and manuallyconfigurethevirtual machineIPaddress. Static (Manual) LabManagertakestheaddressthat youenter,assignsitinternally,and configuresthevirtualmachine. LabManagerconfiguresthevirtual machinetoobtainitsnetwork settingsfromaDHCPserver. LabManagerassignstheIPaddress thatyouenter,butyoumust manuallyconfigurethevirtual machineIPaddress. LabManagerdoesnotconfigureor assignanIPaddress.Manually configurethevirtualmachine.

DHCP

Adding Virtual Machines to Existing Configurations


Afteryoubuildaconfiguration,youcanaddmorevirtualmachinestoitatanytime. To add virtual machines to configurations 1 2 3 4 Intheleftpane,clickWorkspace. MovethepointerovertheconfigurationnameandchooseDetailsfromthemenu. ClicktheAddVMbutton. Entertheinformationforthevirtualmachine: a Enteravirtualmachinename. Thenamemustcontainalphanumericcharacters(az,AZ,09),hyphens, underscores,orperiods.Maximumlengthis15characters. b
VMware, Inc.

Selectthetemplatefromthelistofpublishedtemplates.
85

VMware Lab Manager Users Guide

SpecifytheIPaddressassignment. SelectingStatic(manual)fromthelistactivatestheIPAddresstextbox.For moreinformationonIPaddressallocation,seeUnderstandingIPAddress Managementonpage 139andIPAddressAssignmentforVirtual Machinesonpage 85

d e

SeeyourITadministratortochangenetworksettingsforthegateway, netmask,DNS1,andDNS2. Enteranintegernumber(0n)indicatingthebootsequenceforthevirtual machines. Youdonotneedtousesequentialnumbers.LabManagercandeterminethe relativeorder.

Enteranintegernumber(inseconds)indicatingthedelaytime(orpause) betweenthebootupprocessofthismachineandthenextmachine. Forexample,ifyouhaveaserverandclientsetup,theclientrequiresthe servertofunctionuponstartup.Youcanusethisfeaturetostarttheserver, pause,andstarttheclient.

ClickOK. Thenewvirtualmachineappearsaspartoftheconfigurationinthe Workspacepage.

Deploying Configurations
DeployingaconfigurationregistersandrunsthevirtualmachinesontheManaged Serverpool.ThissectionincludesinformationondeployoptionsandIPaddress allocation. NOTE WhenyouinitiallydeployaconfigurationusingtemplateswithLMTools,do notshutdownthevirtualmachinesuntiltheloginpageappears.

To deploy a configuration 1 2 Intheleftpane,clickWorkspace. MovethepointeroverthenameoftheconfigurationandchooseDeploywith defaults(page 88)orDeployfromthemenu. SeeDeployOptionsonpage 87andDeploywithDefaultsOptiononpage 88.

86

VMware, Inc.

Chapter 5 Working with Configurations

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

VMware Lab Manager Users Guide

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.

Deploy with Defaults Option


IfyouruntheDeploywithDefaultsoperationonaconfiguration,LabManageruses thedeploymentoptionsfromyouruserpreferences.Reviewthesepoints: ClickPreferencesintheleftpanetoviewandedityouruserpreferences. OntheWorkspacepage,theconfigurationentryintheStatuscolumnchangesto Deploying.Afterabrieftime,thisstatuschangestoDeployed.
88 VMware, Inc.

Chapter 5 Working with Configurations

Toviewconfigurationdetailsonavirtualmachinelevel,movethepointeroverthe configurationnameandchooseDetailsfromthemenu.Thedetailscovereach virtualmachineintheconfigurationandprovideoptionstodeployanddelete virtualmachines,consolidatevirtualmachinechains,andaccessvirtualmachine properties. LabManagerallowsonlytheadministratororthevirtualmachineowner(evenif thevirtualmachineissharedwithotherusers)todeletethevirtualmachine. Toviewafullscreendisplayofthevirtualmachinesintheconfiguration,clickthe virtualmachineconsolethumbnailintheConsolescolumn.

Undeploying Configurations
Undeployingaconfigurationstopsvirtualmachinesinaconfigurationfromrunning ontheManagedServerpool. To undeploy a configuration 1 2 Intheleftpane,clickWorkspace. MovethepointerovertheconfigurationnameandchooseUndeploySaveState orUndeployDiscardStatefromthemenu.

Ifanundeployoperationfails,youcanforcetheundeployoperationtooccurtoclean theWorkspacearea. To undeploy configurations with force 1 2 Ifanattempttoundeployaconfigurationfailsandyouneedtoaccessthisoption, clicktheErrorinUndeployinglinkintheStatuscolumn. ClickForceUndeploy.

Capturing Configurations to the Library


Capturedconfigurationsintheconfigurationlibraryarereadonly.Youcannotaltera capturedconfiguration.Youcandeleteacapturedconfiguration. NOTE VMwarerecommendsdevisinganamingconventionforyourstored configurationsthatassistsinuniqueandsimpleidentification.

To capture a configuration to the configuration library 1 2 Intheleftpane,clickWorkspace. MovethepointerovertheconfigurationnameandchooseCapturetoLibrary.

VMware, Inc.

89

VMware Lab Manager Users Guide

Completethecaptureprocess: a b c Enteranameforthecapturedconfiguration. (Optional)Enteradescription. Specifyatimetodeletetheconfigurationormarktheconfigurationfor deletion.Thisoptionformarkingorpermanentdeletionispresetbyan administrator. ClickCapture. OntheWorkspacepage,theentryintheStatuscolumnbrieflychangesto Capturing.TheentrychangesbacktoDeployedorUndeployeddepending ontheoriginalstateofthecapturedconfiguration.

Intheleftpane,clickLibrarytoseethecapturedconfiguration.

Checking Out Configurations from the Library


Configurationsstoredinthelibraryarereadonly.Whenyoucheckoutaconfiguration, LabManagercreatesacopythatrequiresadifferentname. To check out and copy a configuration 1 Intheleftpane,clickLibrary. TheLibrarypageshowsallyourcapturedconfigurationsandcaptured configurationssharedbyotherusers. 2 3 MovethepointerovertheconfigurationnameandchooseCheckoutfromthe menu. Completethecheckoutprocess: a b Enterauniquenameforthecheckedoutconfiguration. Specifyatimetodeletetheconfigurationormarktheconfigurationfor deletion.Thedefaultoptionformarkingorpermanentdeletionispresetbyan administrator. MostoperationsrenewthestorageleasebecauseLabManageridentifiesthe templateasinuse.SeeReviewingtheResourceCleanupTabonpage 149. Ifanadministratorsetsasystemwideleasetime,auserwithout administratorprivilegescannotoverridethevaluebutdoeshavetheoptionto extendtheleasetoanyvalueuptothevaluesetbytheadministrator. Iftheadministratorchangesthevalueaftertheinitialsetting,theusercan extendaleasetotheoriginalmaximumvalue.Oncetheuseraltersthelease
90 VMware, Inc.

Chapter 5 Working with Configurations

time,theleasechoicesresetuptothelatestvaluedeterminedbythe administrator. c ClickCheckout.

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

VMware Lab Manager Users Guide

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.

TheclonedconfigurationappearsintheWorkspacepagewithanUndeployed status.ThestatusoftheoriginalconfigurationbeingclonedisCloning.After cloningprocess,thestatusrevertstoitspreviousstate.

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.

Chapter 5 Working with Configurations

3 4

MovethepointeroverthetemplatenameandchooseCopyfromthemenu. Specifythedetailsoftheconfiguration: a b c d e Enteraname. (Optional)Enteradescription. Specifyatimetodeletetheconfigurationormarktheconfigurationfor deletion.ThedefaultvalueisNever. Selectthestorageserverforeachvirtualmachineintheconfiguration. ClickCopy.

IntheWorkspacepage,theconfigurationstatusisCopying.Afterabrieftime,the newconfigurationisavailableonthepage. Formoreinformationoncopyoperations,seeReviewingConfigurationOperations onpage 80.

Exporting Configurations
YoucanexportanundeployedconfigurationandallitsvirtualmachinefilestoSMB storage.Thisoperationassumesthatyouenabledasharedfolderwithreadandchange permissions(alsocoveredbyfullcontrolpermissions).Exportingcantakeupto30 minutesforeachvirtualmachineintheconfiguration,dependingonthesizeofthe virtualmachine. NOTE ExportandimportoperationsrequireanopenSMBportontheManaged Serversystems.ThoughtheinstallationoftheManagedServeragentsoftware takescareofopeningthatport,beawareofthisrequirementincasesomeone closestheportaftertheinstallation.Tochecktheportstatus,usethe esxcfg-firewall-qsmbClientcommandoneachManagedServersystem.

To export a configuration 1 2 3 Intheleftpane,clickWorkspace. MovethepointerovertheundeployedconfigurationnameandchooseExport fromthemenu. Entertheinformationontheconfiguration:

VMware, Inc.

93

VMware Lab Manager Users Guide

EntertheUNC(UniversalNamingConvention)nameofthedirectory (relativetotheLabManagerServersystem)whereyouwantyour configurationfilesstored.Asamplepathis \\10.6.1.246\VMwareLM\ExportConfigs. UseEnglishcharactersfortheUNCpath.

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.

Chapter 5 Working with Configurations

Specifyatimetodeletethetemplate(ormarkitfordeletion).Thedefault optionformarkingorpermanentdeletionispresetbyanadministrator. MostoperationsrenewthestorageleasebecauseLabManageridentifiesthe templateasinuse.SeeReviewingtheResourceCleanupTabonpage 149. Ifanadministratorsetsasystemwideleasetime,auserwithout administratorprivilegescannotoverridethevaluebutdoeshavetheoptionto extendtheleasetoanyvalueuptothevaluesetbytheadministrator. Iftheadministratorchangesthevalueaftertheinitialsetting,theusercan extendaleasetotheoriginalmaximumvalue.Oncetheuseraltersthelease time,theleasechoicesresetuptothelatestvaluedeterminedbythe administrator.

f 4

ClickNext.

Entertheinformationonthestorageserver: a b Selectthestorageservertoimporttheconfigurationto. ClickImport.

TheWorkspacepagehasanImportingstatusfortheconfiguration.

Sharing Configurations
Sharingaconfigurationtomakeitavailableforotherusers. To share a configuration 1 2 Intheleftpane,clickWorkspace. MovethepointerovertheconfigurationnameandchooseMakeSharedfromthe menu. TheWorkspacepageshowsaSharedentryfortheconfiguration. Toseeallsharedconfigurationsexceptforyourownconfigurations,select ConfigurationsSharedbyOthersinthedropdownmenuatthetopofthepage.

Creating and Restoring Configuration LiveLinks


ALiveLinkistheHTTPURLofaconfigurationintheconfigurationlibrary.Youcan emailthisURLtoanotherLabManageruserwhocanclickittoreturntheconfiguration toitsactivestate.

VMware, Inc.

95

VMware Lab Manager Users Guide

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.

Taking Snapshots and Reverting to Snapshots


Afterdeployingaconfiguration,youhavetheoptiontotakeasnapshotandrevertto thesnapshotatalatertime.Reviewthesepoints: Asnapshotisacompleteconfiguration(includingallitsvirtualmachines)ata specificpointintime. Onceset,LabManagerstoresthesnapshotwiththeconfiguration. Onlyonesnapshotforaconfigurationisactiveatatime.Themostrecentsnapshot replacesthepreviousone.

96

VMware, Inc.

Chapter 5 Working with Configurations

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.

Editing Configuration Properties


YoucaneditthepropertiesforconfigurationsintheWorkspaceorconfigurationlibrary. To edit configuration properties 1 2 3 Intheleftpane,clickWorkspaceorLibrary. MovethepointerovertheconfigurationnameandchoosePropertiesfromthe menu. Edittheappropriateproperties: a b c d e Enteranamefortheconfiguration. Enteradescriptionoftheconfiguration. Specifywhethertosharethisconfigurationwithotherusers. Changethenetworkinginformationforthegateway,netmask,andDNS settingsforthevirtualmachines. Dependingonwhethertheconfigurationisdeployedornot,thisoption allowsyoutospecifyorupdateatimetoundeploytheconfigurationoratime

VMware, Inc.

97

VMware Lab Manager Users Guide

todeletetheconfiguration(orjustmarkitfordeletion).Thedefaultoptionfor markingorpermanentdeletionispresetbyanadministrator. Aconfigurationisdeployedifanyvirtualmachineintheconfigurationis deployed.Deploymentleasesdonotapplytolibraryconfigurationsbecause youcannotdeploythem. MostoperationsrenewastorageleasebecauseLabManageridentifiesthe configurationasinuse. Ifanadministratorsetsasystemwideleasetime,auserwithout administratorprivilegescannotoverridethevaluebutcanextendtheleaseto anyvalueuptothevaluesetbytheadministrator. Iftheadministratorchangesthevalueaftertheinitialsetting,theusercan extendaleasetotheoriginalmaximumvalue.Oncetheuseraltersthelease time,theleasechoicesresetuptothelatestvaluedeterminedbythe administrator. f ClickOK.

Viewing Details on Virtual Machines in a Configuration


FromtheWorkspaceorconfigurationlibrary,youcanviewdetailsonthevirtual machinesinaconfiguration. To view details on all virtual machines in a configuration 1 2 3 Intheleftpane,clickWorkspaceorLibrary. MovethepointerovertheconfigurationnameandchooseDetailsfromthemenu. Foreachvirtualmachineintheconfiguration,viewdetailsonthevirtualmachine status,IPaddresses(twoforeachvirtualmachineinfencedmode),template,and more.Libraryconfigurationsdonotincludeallofthedetailsthatappearfor Workspaceconfigurations. Reviewthesehighlights: IPAddressProvidestheIPaddressofthevirtualmachine. ExternalIPProvidestheexternalIPaddressforthevirtualmachineifitruns infencedmode. ThiscolumnappearsonlyforfencedconfigurationsintheWorkspace.For detailsaboutfencedmode,seeAppendix C,NetworkFencing,onpage 171. TemplateIndicatesthetemplatethatthevirtualmachineisbasedon.

98

VMware, Inc.

Chapter 5 Working with Configurations

ManagedServerIndicateswhichManagedServersystemishostingthe virtualmachine. ThiscolumnappearsonlyforWorkspaceconfigurations. FenceIndicateswhetherthevirtualmachineisfencedornot. ThiscolumnappearsonlyforWorkspaceconfigurations. BootSequenceIndicatestheordertobootthevirtualmachines. BootDelayIndicatesthedelaytime(inseconds)afterbootingthismachine andbeforebootingthenextmachine.

Accessing a Virtual Machine Console


FromtheWorkspace,youcannavigatetoaspecificvirtualmachineconsole.Fordetails onoperationsrelatedtoaconsole,seeReviewingtheVirtualMachineConsolePage onpage 30. To navigate to a large-screen display of a virtual machine console 1 2 3 Intheleftpane,clickWorkspace. Iftheconfigurationisundeployed,movethepointerovertheconfigurationname andchooseDeployfromthemenu. ClickthevirtualmachinethumbnailiconintheConsolecolumn.

Accessing All Virtual Machine Consoles in a Configuration


LabManagerprovidesapagewithallvirtualmachineconsolesinaconfiguration.For detailsonoperationsrelatedtoaconsole,seeReviewingtheVirtualMachineConsole Pageonpage 30. To view all virtual machine consoles for a configuration on one page 1 2 3 4 Intheleftpane,clickWorkspace. Iftheconfigurationisundeployed,movethepointerovertheconfigurationname andchooseDeployfromthemenu. MovethepointerovertheconfigurationnameandchooseShowConsolesfrom themenu. Scrollupordowntoaccessavirtualmachineconsole.

VMware, Inc.

99

VMware Lab Manager Users Guide

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.

To delete a configuration from the configuration library 1 2 3 Intheleftpane,clickLibrary. MovethepointerovertheconfigurationnameandchooseDeletefromthemenu. Confirmthedeletion.

100

VMware, Inc.

6b

Working with Media

Themedialibraryenablesyoutostoremedia(CDandfloppy)imagefiles.Youcan uploaddata(forexample,drivers)toatemplatefromthemedialibrary. DuringtheInsertCDorInsertFloppyoperationsavailablefromtheindividualconsole ofatemplateorconfiguration,youcanaccesstheISOsinthemedialibrary. Thischaptercoversthesetopics: AccessingtheMediaLibraryonpage 102 ReviewingMediaOperationsonpage 102

VMware, Inc.

101

VMware Lab Manager Users Guide

Accessing the Media Library


AccesstheMediapagetoworkwithCDandfloppyimagefiles. To access the media library Intheleftpane,clickMedia. Thepagehighlightstheownerofthefile,thetypeofmedia,thesharingstatus,andthe pathlocation.Youcanviewimagefilessharedbyotherusers.Administratorscanview allmediaimages. LabManagerprovidesthe(LMStorage1) vmscsi-1.2.0.4.flpfileinthemedia library.ThismediafileisaBusLogicdriverdiskfortheinstallationofWindows operatingsystems(suchasWindowsXP).Forinformationonthisdriver,seethe VMwareGuestOperatingSystemInstallationGuide: http://pubs.vmware.com/guestnotes/wwhelp/wwhimpl/js/html/wwhelp.htm

Reviewing Media Operations


ReviewtheoperationsavailablefromtheMediapage: AddingMediatotheLibraryonpage 102 SynchronizingLabManagerwithMediaStorageonpage 103 DeletingMediafromtheLibraryonpage 104 SharingMediaFilesonpage 104 ChangingSharedMediaFilestoPrivateFilesonpage 104 EditingMediaPropertiesonpage 104

Adding Media to the Library


YoucanaddmediafromanSMBservertothelibrary.Reviewthesefilerequirements: LabManagercanhandleimagefilesupto2GB. CDfilesmustendwith.iso. Floppyfilesmustendwith.img,.vfd,or.flp. YoucannotaddmediafromanNFSserver,butyoucansynchronizethelibrarywith thecontentsofanNFSserver.SeeSynchronizingLabManagerwithMediaStorage onpage 103.

102

VMware, Inc.

Chapter 6 Working with Media

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.

Synchronizing Lab Manager with Media Storage


YoucansynchronizethecontentsoftheLabManagermedialibrarywiththecontents ofmediastorageservers.Specifically,LabManagerenablesyoutosynchronizethe medialibrarywiththefilesinthe\\VMwareLM\ISOfolderofthedefaultmedia repositoryora/ISOfolderinNFSstorage. TosynchronizeLabManagerwithfilesonNFSmediaservers,refertotheVMwareLab ManagerInstallationGuideforinformationonNFSstoragesetup.Formoredetailson NFSstorage,seeAddingMediaStoragetoLabManageronpage 133. TheabilitytosynchronizethelibraryenablesuserstoperformISOoperationsoutside oftheLabManagerWebconsole.Usethesynchronizefeatureaftermovingordeleting largefilesorlargenumbersoffiles. To synchronize Lab Manager Server with NFS media storage 1 2 3 4 Intheleftpane,clickStorage. Intheleftpane,clickMedia. ClickSynchronizetomakeLabManagerrecognizethecontentsoftheNFSserver. Confirmtosynchronizethecontents.

VMware, Inc.

103

VMware Lab Manager Users Guide

Deleting Media from the Library


Administratorsandownersofmediafilescandeletemedia. DeletingamediafileonSMBstoragedeletesthefileinthestorageserver. DeletingamediafileonNFSstorageonlydeletestheLabManagerdatabaseentry, nottheactualfile. To delete media from the library 1 2 3 Intheleftpane,clickMedia. MovethepointeroveramediafilenameandchooseDeletefromthemenu. Confirmtodeletethefile.

Sharing Media Files


Youcanmakemediafilesavailabletoothersforuse. To share media files 1 2 Intheleftpane,clickMedia. MovethepointeroverthenameofaprivatemediafileandchooseMakeShared fromthemenu.

Changing Shared Media Files to Private Files


Youcankeepmediafilesforprivateuse. To change shared media files to private files 1 2 Intheleftpane,clickMedia. MovethepointeroverthenameofasharedmediafileandchooseMakePrivate fromthemenu.

Editing Media Properties


FromtheMediapage,youcaneditthepropertiesofamediafile. To edit media properties 1 2 Intheleftpane,clickMedia. MovethepointeroveramediafilenameandchoosePropertiesfromthemenu.

104

VMware, Inc.

Chapter 6 Working with Media

Edittheproperties: a b c d Enterthenameofthefile. Specifywhethertosharethetemplateamongusers. Enterextradetailsonthefile. ClickOK.

VMware, Inc.

105

VMware Lab Manager Users Guide

106

VMware, Inc.

Administering and Monitoring Lab Manager

UsetheLabManagerWebconsoletomanageandmonitoryourLabManagersystem. Manyoperationsappearonlyforuserswithadministratorprivileges. Thischaptercoversthesetopics: MonitoringLabManageronpage 108 ManagingUsersonpage 111 ManagingManagedServerSystemsonpage 118 ManagingStorageServersonpage 126 ConfiguringNetworkSettingsonpage 137 ConfiguringLabManagerSettingsonpage 140

VMware, Inc.

107

VMware Lab Manager Users Guide

Monitoring Lab Manager


Youcanmonitortheseareas: ActivityLogViewinformationaboutasynchronousactions.Thisfeatureis availabletoallusers. ServerPoolViewagraphicaldisplayoftheManagedServersystemsandcurrent usage.Fromthispage,youcanperformconfigurationoperationsandaccess virtualmachineconsoles. DeployedMachinesViewinformationaboutalldeployedvirtualmachines.

Monitoring the Activity Log


Alluserscanviewtheactivitylogtomonitortimeconsuming(asynchronous)tasksor jobswhichdonotrequireimmediatecompletion. Examplesofasynchronousoperationsincludedeployingaconfiguration,undeploying aconfiguration,cloningaconfiguration,andsettingarevertpointforaconfiguration. To monitor activities Intheleftpane,clickActivityLog. Reviewtheseelementsofthelog: TheStatuscolumnindicatesthesuccess,failure,orinprogressstatusofajob.A failedjobincludesashortdescriptionintheDetailscolumn. ThejobtypesincludeConfiguration,Machine,StorageServer,andManaged Server. DetailsanddebugginginformationareavailablethroughthelinkintheOperation column.

Monitoring the Server Pool


AdministratorscanviewagraphicaldisplayoftheManagedServerpoolanditsusage. To monitor the server pool Intheleftpane,clickServerPool. ReviewtheseelementsoftheManagedServerpool: ThenumberofManagedServerlicensesasindicatedbythenumberofManaged Serversystemsthatappearonthepage. ThenumberofManagedServersystemsinuse.
108 VMware, Inc.

Chapter 7 Administering and Monitoring Lab Manager

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

VMware Lab Manager Users Guide

IfyouselecttheShowTypescheckbox,ESXappearsnexttoalltheManaged Serversystems. IfyouselecttheShowActivitiescheckbox,aniconappearsnexttoaManaged Serversystemthatisinthemidstofsomeactivity.

Monitoring Deployed Machines


AdministratorscanmonitoralldeployedvirtualmachinesinLabManager. Tomonitoralldeployedmachines Intheleftpane,clickDeployedMachines. TheAllDeployedMachinespageincludesthesehighlights: ConsoleProvidesaccesstothevirtualmachineconsolethroughthethumbnail icon. MachineNameProvidesamouseovermenutoviewthevirtualmachineconsole orundeploythevirtualmachine. StatusIndicateswhetherthevirtualmachineisdeployed. ConfigurationSpecifieswhetherthevirtualmachineisatemplate(indicatedby adash)orpartofaconfiguration. IPAddressProvidestheIPaddressofthevirtualmachineorspecifiesDHCP. ExternalIPProvidestheexternalIPaddressforthevirtualmachineifitrunsin fencedmode.SeeAppendix C,NetworkFencing,onpage 171. TemplateShowsthetemplatethatservesasthebasisofthevirtualmachine.This isusefulwhenyouplanonretiringatemplateandneedtoevaluateitsusage. Whenatemplateisremovedforaconfigurationorisdeployed,adashappearsin thecolumn. ManagedServerDisplaystheManagedServername. DeployedByIndicatesthepersonwhodeployedthevirtualmachine. SharingIndicateswhethertheconfigurationisaccessibleforotherstouse. DateDeployedDisplaysthedateandtimeofdeployment. FilterDisplaysasubsetofthetotalnumberofconfigurations.Entertextthat appearsintheattributesofthemachinesyouwanttoview. Usingthemouseovermenutotheleftofthefield,youcanfilteracrossallcolumns onthepageorwithinaspecificcolumn.Ifyouenteratraditionalwildcard,suchas anasterisk(*),thisfunctionperformsaliteralsearchforanasterisksymbol.
110 VMware, Inc.

Chapter 7 Administering and Monitoring Lab Manager

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

Setting User Preferences


Alluserscansetarangeofuserpreferences. To set user preferences Intheleftpane,clickPreferences. TheUserPreferencespageincludesaDefaultstabandPasswordtab.

Defaults Tab
TheDefaultstabsetsdefaultdisplayanddeploymentoptions. Reviewtheoptions:

VMware, Inc.

111

VMware Lab Manager Users Guide

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.

Chapter 7 Administering and Monitoring Lab Manager

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

VMware Lab Manager Users Guide

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.

Chapter 7 Administering and Monitoring Lab Manager

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.

Adding New Users


Administratorscanaddnewusers. To add a new user 1 2 3 Intheleftpane,clickUsers. ClickAddUser. Entertheuserinformation: IsAdministratorcheckboxAssignsadministratorprivileges. IsEnabledcheckboxBlockstheuserfromimmediateaccesstotheWeb consoleifyoudeselectit.(Althoughuserinformationremainsstoredinthe system,youcanenableanddisableaccess.) StoredVMQuotaIndicatesthenumberofvirtualmachineimagestheuser isallowedtostoreintheconfigurationlibrary. Useanintegernumbertosetaquota.Youcanleavethisfieldblankorenter 0toavoidsettingaquota.
VMware, Inc. 115

VMware Lab Manager Users Guide

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.

Chapter 7 Administering and Monitoring Lab Manager

Deleting Users
Administratorscandeleteauser. To delete a user 1 2 3 4 Intheleftpane,clickUsers. Iftheuserisenabled,movethepointerovertheusernameandchooseDisable fromthemenu. MovethepointerovertheusernameandchooseDeletefromthemenu. Confirmthedeletionoftheuser. Thedeletionremovesallundeployedconfigurationsfortheuser.

Editing User Properties


Administratorscanedituserproperties. To edit user properties 1 2 3 Intheleftpane,clickUsers. MovethepointerovertheusernameandchoosePropertiesfromthemenu. Edittheinformation: AlterthepasswordinthePasswordandConfirmPasswordfields. Enteranameandemailaddress. SelecttheIsAdministratorcheckboxtogivetheuseradministrator privileges. Onlyadministratorscanaddusers,changenetworksettings,viewall deployedmachinesandconfigurations,andadd,deleteandconfigure ManagedServersystemsandtheLabManagerServersystem. DeselecttheIsEnabledcheckboxtoallowtheusertoremaininthesystem butblockstheuserfromimmediateaccesstotheWebconsole. SelecttheIsLDAPcheckbox(ifactivated)toallowLabManagertoverify LDAPusers. SeeLDAPandLabManageronpage 144. SpecifytheStoredVMQuotawhichdeterminesthenumberofvirtual machineimagestheuserisallowedtostoreintheconfigurationlibrary.

VMware, Inc.

117

VMware Lab Manager Users Guide

Useanintegernumbertosetaquota.Youcanleavethisfieldblankorenter 0toavoidsettingaquota. SpecifytheDeployedVMQuotawhichdeterminesthenumberofvirtual machinesatatimetheuserisallowedtodeployonManagedServersystems. Useanintegernumbertosetaquota.Youcanleavethisfieldblankorenter 0toavoidsettingaquota. 4 ClickOK.

Managing Managed Server Systems


ManagingManagedServersystemsinvolvestheseprocedures: ViewingManagedServerSystemsonpage 118 AddingManagedServerSystemsonpage 120 RemovingManagedServerSystemsonpage 121 EditingManagedServerPropertiesonpage 123 ReviewingAdditionalManagedServerOperationsonpage 125

Viewing Managed Server Systems


AdministratorscanviewalistofManagedServersystems. To view Managed Server systems Intheleftpane,clickServers. TheManagedServerspageincludestheseelements: FilterShowsasubsetofthetotalnumberofManagedServersystems.Lab Managermatchesthetextenteredinthefieldtotheleftofthebuttonagainstthe attributedataofthecolumns.Entriesarenotcasesensitive. Usingthemouseovermenutotheleftofthefield,youcanfilteracrossallcolumns onthepageorwithinaspecificcolumn. Thefiltertextsearchdoesnotrecognizewildcards.Ifyouenteratraditional wildcard,suchasanasterisk(*),thisfunctionperformsaliteralsearchforan asterisksymbol. ReachableIndicatesthattheLabManagerServersystemcancommunicatewith theManagedServersystemandgeneratearesponsefromtheManagedServer agent.

118

VMware, Inc.

Chapter 7 Administering and Monitoring Lab Manager

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

VMware Lab Manager Users Guide

Adding Managed Server Systems


AdministratorscanaddaManagedServersystem. ReviewtheserequirementstoaddaManagedServersystem: TheManagedServersystemmustbeaphysicalmachine. AllManagedServersystemsmustexistonthesamesubnet.TheLabManager ServersystemdoesnotneedtoexistonthesamesubnetastheManagedServer systems. BeforeaddingaManagedServersystemtoLabManager,youmustinstallthe ManagedServeragentsoftwareonthetargetsystem.Forinstallationinstructions, seetheVMwareLabManagerInstallationGuide. YoucannothavetwoManagedServersystemswiththesameVMFSpartition name.ThissituationcanoccurwhentwoManagedServersystemsusethesame nameforlocalstorage.WhenyouaddthesecondManagedServersystem,its identicallynamedVMFSpartitionbecomesdisabled. To add a Managed Server system 1 2 3 Intheleftpane,clickServers. ClickAddServer. EntertheinformationfortheManagedServersystem: a b c d EnterthenameoftheManagedServersystem. (Optional)Enteradescription. EnterthehostnameorIPaddress. Enterahostadministratorusernameandpasswordforwhenyoulogintothe ManagedServersystem.AManagedServersystemisahostcomputer, whilethevirtualmachinesrunningonthesystemareguestcomputers. DonotconfusethesefieldswithyourLabManagerWebconsolelogin. e 4 ClickNext.

Entertheinformationfortheseitems: a Enteranintegernumberforthemaximumnumberofvirtualmachines. Thehigherthenumber,thesloweryourManagedServersystemwillrun whenreachingmaximumcapacity.TheLabManagerServersystemprevents theManagedServersystemfromrunningmorethanthisnumberofvirtual machines.

120

VMware, Inc.

Chapter 7 Administering and Monitoring Lab Manager

Enteranamountofreservedmemoryforthehostoperatingsystem.This settingindicatestheamountofmemorysetasideforvirtualmachinesnot managedbyLabManager.LabManagercanusetheremainderofmemory. (Optional)DeselecttheEnabledcheckboxifyoudonotwanttoputthe ManagedServersystemintoproductionrightaway. (Optional)SelecttheVMFSdevicesyouwantthisManagedServersystemto useforstorage. IfyouarenotputtingthisManagedServersystemintoproductionrightaway, youdonothavetoselectanydevices. IftheManagedServersystemhasnoavailableVMFSpartitions,thispage informsyouofthatsituationandwhethertheManagedServersystemis capableofsupportingNFSstorageforvirtualmachines.Forinformationon theVMkernelnetwork,seetheVMwareLabManagerInstallationGuide.

c d

ClickAdd. ThenewManagedServersystemappearsontheManagedServerspage.

Removing Managed Server Systems


AdministratorscanremoveManagedServersystems. To remove a Managed Server system 1 2 3 Intheleftpane,clickServers. MovethepointerovertheManagedServername,andchooseDisallow Deploymentsfromthemenu. UndeployallvirtualmachinesrunningonthisManagedServersystem: a b Intheleftpane,clickDeployedMachines. ForeachvirtualmachinerunningonthisManagedServersystem,movethe pointeroverthevirtualmachinenameandchooseUndeploySaveStateor UndeployDiscardStatefromthemenu. Beforeundeployingthevirtualmachines,notifyusersofthesevirtual machinesaboutyourpendingaction. 4 FromtheManagedServerspage,movethepointerovertheManagedServername andchooseRemovefromthemenu.

VMware, Inc.

121

VMware Lab Manager Users Guide

Viewing the Deployed Machines on a Managed Server


YoucanviewthedeployedmachinesonaspecificManagedServersystem.Toviewall deployedmachinesacrossManagedServersystems,seeMonitoringDeployed Machinesonpage 110. To view the deployed machines on a single Managed Server system 1 2 Intheleftpane,clickServers. MovethepointerovertheManagedServername,andchooseDeployedMachines fromthemenu.

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.

Chapter 7 Administering and Monitoring Lab Manager

Usingthemouseovermenutotheleftofthefield,youcanfilteracrossallcolumns onthepageorwithinaspecificcolumn.Ifyouenteratraditionalwildcard,suchas anasterisk(*),thisfunctionperformsaliteralsearchforanasterisksymbol. SearchesusingtheFilterfeatureareeasierifyouhaveanamingconventionforthe machines,templates,andconfigurationsinyourorganization.

Editing Managed Server Properties


AdministratorscaneditManagedServerproperties. To edit Managed Server properties 1 2 3 Intheleftpane,clickServers. MovethepointerovertheManagedServernameandchoosePropertiesfromthe menu. Editthepropertiesthatcanbealtered: NameContainsalphanumericcharacters(az,AZ,09),hyphens, underscores,orperiods.Themaximumlengthis15characters. (Optional)DescriptionMaximumnumberofcharactersis128. HostNameorIPAddressDomainNameSystem(DNS)nameorIPaddress oftheManagedServersystem. HostComputerAdministratorUsernameUsernameoftheadministrator accountontheManagedServersystem. HostComputerAdministratorPasswordPasswordoftheadministrator accountontheManagedServersystem. ReservedMemory(MB)Enteranamountofreservedmemoryforthehost operatingsystem.Thissettingindicatestheamountofmemorysetasidefor virtualmachinesnotmanagedbyLabManager.LabManagercanusethe remainderofmemory. (Optional)EnabledDeselectthecheckboxifyoudonotwanttoputthe ManagedServersystemintoproductionrightaway. MaximumNumberofVMsMaximumnumberofvirtualmachinesthatcan bedeployedontheManagedServersystem. ThevaluedependsontheCPUandRAMcapacityoftheESXServerhost,and theestimatedCPUandRAMrequirementsofthevirtualmachinesyou anticipatedeployingonthehost.Thevaluemustbegreaterthanthenumber

VMware, Inc.

123

VMware Lab Manager Users Guide

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.

Chapter 7 Administering and Monitoring Lab Manager

Reviewing Additional Managed Server Operations


Reviewtheseadditionaloperationsavailablefromthemouseovermenuonthe ManagedServerspage: DisallowDeploymentsPreventsLabManagerfromfurtherdeployingvirtual machinesontheManagedServersystem. Thisoperationdoesnotaffectthevirtualmachinescurrentlydeployed.Youmust performthisoperationbeforeremovingaManagedServersystemfromLab Manager. UndeployallVMsUndeploysallvirtualmachinescurrentlyrunningonthe ManagedServersystem.Usethisoptionwhenyouwanttocleanupthe configurationsontheManagedServersystemorremoveaManagedServer system. ThisoptionappearsafterchoosingDisallowDeploymentsfromthemenu. RedeployallVMsUndeploysallvirtualmachinescurrentlyrunningonthe ManagedServersystemandredeploysthemtootherManagedServersystems. ThisoperationisusefulwhenyouneedtoperformmaintenanceonaManaged ServersystemandappearsafterchoosingDisallowDeploymentsfromthemenu. TheUndeployallVMsfeatureleavesvirtualmachinesinanundeployedstate.If youwantthosevirtualmachinestocontinuerunning,youwouldneedtomanually redeployoneconfigurationatatime.Ifmanyconfigurationsexistinthe Workspace,youmayhavedifficultylocatingthecorrectconfiguration.The RedeployallVMsoptionaddressesthisissue. Ifyouredeployvirtualmachinesinasuspendedstate,makesurethattheother ManagedServersystemsareCPUcompatible.Virtualmachinesareina suspendedstatewhentheSaveMemoryStateoptionisselectedasthedefault undeployoptionintheUserPreferencespage.(Intheleftpane,clickPreferences toviewthispage.)Virtualmachinescanalsoexistinasuspendedstateifyouuse theSuspendoptionavailablefromtheWorkspacepage. Forfencedconfigurations,allvirtualmachinesinthatconfigurationmovetogether toanotherManagedServersystem.Ifyouneedtopreservetheoriginalbootorder, youmustselecttheSaveMemoryStateoptionintheUserPreferencespageprior toredeployingallvirtualmachines. AllowDeploymentsAllowsyoutodeploymorevirtualmachinesonthe ManagedServersystem.

VMware, Inc.

125

VMware Lab Manager Users Guide

RebootRebootstheManagedServersystem. Beforeperformingthisoperation,undeployallvirtualmachinesontheManaged Serversystem.

Managing Storage Servers


Managingstorageserversinvolvestheseprocedures: ViewingStorageServersonpage 126 ViewingVirtualMachineStorageUsageonpage 128 AddingMediaStoragetoLabManageronpage 133 RemovingStorageServersonpage 135 EditingStorageServerPropertiesonpage 136 ReviewingAdditionalStorageServerOperationsonpage 136

Viewing Storage Servers


Administratorscanviewstorageserversforvirtualmachinesandmedia. To view storage servers Intheleftpane,clickStorage. TheStoragepageincludestheVirtualMachinestabandtheMediatab. ReviewtheseelementsoftheVirtualMachinestab: StorageServerNameIndicatestheVMFSorNFSstorageserverforvirtual machines. StatusIndicateswhetherthevirtualmachineisblockedfromperforming maintenance(forexample,DeployedorBusy)andwhetherthelastoperation failed. TypeSpecifiesSCSIorNFSstorage. ReachableIndicatesthattheLabManagerServersystemcancommunicatewith thestorageserver. EnabledIndicateswhetherthestorageserverisavailableforcapturing configurations. Ifthestorageserverisnotreachable,itisnotenabled.

126

VMware, Inc.

Chapter 7 Administering and Monitoring Lab Manager

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

VMware Lab Manager Users Guide

Usingthemouseovermenutotheleftofthefield,youcanfilteracrossallcolumns onthepageorwithinaspecificcolumn. Thefiltertextsearchdoesnotrecognizewildcards.Ifyouenteratraditional wildcard,suchasanasterisk(*),thisfunctionperformsaliteralsearchforan asterisksymbol. AddMediaStorageEnablesyoutoaddSMBorNFSstorageformediafiles.

Viewing Virtual Machine Storage Usage


FromtheVirtualMachineStorageUsagepage,youcanassessdiskspaceusageforall virtualmachinesfromgraphicalandtabularviewsandcompletemaintenancetasks. To access the Virtual Machine Storage Usage page 1 2 Intheleftpane,clickStorage. IntheVirtualMachinestab,clickViewStorageUsage. Toviewthecontentsofasinglevirtualmachinestorageserverratherthanthe contentsofallvirtualmachinestorageservers,clicktheVirtualMachinestab describedinthissection,movethepointeroverthestorageservername,and chooseViewStorageUsagefromthemenu.

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.

Chapter 7 Administering and Monitoring Lab Manager

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

VMware Lab Manager Users Guide

Assessing Virtual Machine Disk Space


LabManagerhelpsyoumaintaindatastorecontentbyprovidingagraphicviewofdisk spaceusage.WhiletheDiskSpaceFreedUponDeletion(MB)columnontheVirtual MachineStorageUsagepageinformsyouhowmuchtotalstorage(inclusiveofthe spaceoccupiedbyhiddennodesassociatedwiththevirtualmachine)canbereclaimed upondeletionofavirtualmachine,theContextviewonthatsamepageprovidesthe highleveltopographyofdirectoriesthatyoucanusetoidentifyhiddennodesinthe interiorareaofthedirectorystructure.Usethisviewtoassessthediskspacethatwould becomeavailableifyoudeletedaparticularvirtualmachineanditschainofinternal nodes. Deletingavirtualmachineactuallymeansdeletingthestorageoccupiedbythevirtual machinedirectoryandancestordirectoriesthatcanbesafelydeleted.Tounderstand ancestorandchilddirectories,LabManagerstoresfilesinatreeofrelatedlinked clones.Foroperationssuchascloning,LabManagercreatesadeltadiskinsteadof copyinganentirevirtualharddisk.Witheachchange,LabManagerfreezestheoriginal deltadiskandcreatesanewone.Thevirtualmachinediskasawholeconsistsnotonly ofitsowndeltadiskbutalsothedeltadisksofancestordisks. Youcannotdeleteancestornodesundercertainconditions: Theancestordirectoryhasotherchilddirectoriesdependentonit. Avirtualmachine(forexample,atemplateorvirtualmachineintheconfiguration library)isassociatedwiththatancestornode. Anothernodeusestheancestornodeasarevertpoint.Forexample,acopy operationcouldconsolidateandcreateanewdiskbutrefertotherevertpointof theoriginalchain. Figure71showsabasicexampleofvirtualmachineandinternalnodesaffectedbya deleteoperation. Figure 7-1. Example of Nodes Affected by a Delete Operation

E C A B D
IfyoudeletenodeDinthissampledirectorytree,nodeBstaysintactbecausenodeC andEaredependentonit.IfyoudeletenodeE,thespacefornodeEandnodeC becomesavailablebecausethedeletionaffectsallnodesuptoadirectorywithchild dependencies(nodeB).
130 VMware, Inc.

Chapter 7 Administering and Monitoring Lab Manager

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

VMware Lab Manager Users Guide

revertreferenceasarevertpoint.Thisdependencyaffectsyourabilityto deletedirectories. Ifyouwanttodeleteadirectorylinkedtoarevertreference,deletethevirtual machineassociatedwiththerevertreferenceandthedescendantsofthe directory.

Adding NFS Virtual Machine Storage


YoucanaddNFSstorageforvirtualmachines. NOTE DonotsetupNFSdatastoresthroughtheVIClientontheESXServersystem. UnlikeVMFSdatastores,NFSdatastorescreatedthroughtheVIClientarenot recognizedbyLabManager.SuchdatastoresconflictwiththecreationofNFS datastoresthroughtheLabManagerWebconsole.

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.

Chapter 7 Administering and Monitoring Lab Manager

Adding Media Storage to Lab Manager


AddingmediastoragetoLabManagerinvolvesatwostepprocess: ConfiguringthetargetstorageserverforLabManager. AttachingthestorageserverthroughtheLabManagerWebconsole. NOTE Youcanaddonlystorageserversformedia.YoucannotaddordeleteaVMFS partition(ESX)storagedevice.

Media Storage Requirements


ForinformationonmediastoragerequirementsandNFSstoragesetup,seetheVMware LabManagerInstallationGuide.

Setting Up SMB Media Storage for Lab Manager


Ifnecessary,settheservercomputernameandDNSsuffix. To set up SMB media storage for Lab Manager 1 2 3 4 5 6 7 Fromthedesktop,chooseStart>ControlPanel>System. SelecttheComputerNametabandclickChange. Enteracomputername. SelecttheWorkgroupcheckbox. ClickMore. EnteraDNSsuffix(forexample,VMware.com). Ifyoumadechanges,restartthecomputer.

Creating a Shared Folder for Lab Manager


CreateasharedfolderbeforeattachingSMBmediastorage. To create a shared folder for Lab Manager 1 2 3 4 5 InWindowsExplorer,createafolder(forexample,VMware). RightclickthefolderandselectSharingandSecurity. OntheSharingtab,selecttheSharethisFoldercheckboxandenterasharename. ClickPermissions. SetpermissionstograntEveryonefullcontrol.

VMware, Inc.

133

VMware Lab Manager Users Guide

OntheSecuritytab,addEveryone(ifitdoesnotalreadyexist)andallowfull control.

Attaching Media Storage to Lab Manager


Afterpreparingthemediastorage,youcanattachittoLabManager. To attach media storage 1 2 3 Intheleftpane,clickStorage. IntheMediatab,clickAddMediaStorage. EnterthedetailsontheSMBorNFSserver: 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 SpecifySMBmediastorage(ifapplicable),entertheUNCpathofthefolder whereLabManagerwillstorefiles,andentertheusernameandpasswordof anaccountwithadministratorprivilegesforaccessingthestorageserver. UseEnglishcharactersfortheUNCpath. NOTE Alimitmayexistonthenumberofstorageserversyoucanadd dependingonyourlicensetype.

f g

SpecifyNFSmediastorage(ifapplicable),andentertheNFSexportpath. ClickOK. ThenewstorageserverappearsontheStorageServerspage.Toverifya successfulattachment,createanewconfigurationanddeployitonthenew storageserver.

134

VMware, Inc.

Chapter 7 Administering and Monitoring Lab Manager

Removing Storage Servers


AdministratorscanremoveaSAN(VMFS),NFS,orSMBstorageserverfromLab Manager.Ifvirtualmachinesexistontheserver,undeploythembeforestartingthis operation. To remove a storage server 1 2 3 4 5 ClickStorageintheleftpane. ClicktheVirtualMachinestab. Iftheserverisenabled,movethepointerovertheserverandchooseDisablefrom themenu. MovethepointerovertheserverandchooseRemovefromthemenu. Ifapplicable,reviewthelistofaffectedvirtualmachinesandclickDelete.

ThoughLabManagerremovesthestorageserverfromtheLabManagersystem,the filesonthestorageserverstillexist.Theusermustdeletethesefilesmanuallytoreclaim thespace.

Additional Tasks for Removing an NFS Media Server


AfteryouremoveanNFSstorageserver,themediafilesinitsISOsubfolderdisappear fromthemedialibrarylistingbutthefilesonthestorageserverstillexist. IfanyNFSmediaontheremovedNFSserverisinuse,ejecttheNFSCDorfloppyfiles fromallthevirtualmachinestoavoidpotentialerrors.Specifically,ifavirtualmachine usesmediaonanNFSstorageserverandyouremovethatserver,themediadisappears fromtheLabManagerServersystembutstillexistsontheManagedServersystem becauseitisstillinuse.IfyouaddthesameNFSserveragain,theManagedServer cannotlocatethemediabecauseitoperatesasifitalreadyhasthatNFSserver. Afteryouejectthemediafileandwaitforthenextmonitoringcycle(defaulttimeisfive minutes),themonitoringcycleremovestheoldNFSstorageserver.Atthatpoint,you canaddthesamestorageserveragainunderanewnametoallowthemediaonthat servertowork.

VMware, Inc.

135

VMware Lab Manager Users Guide

Editing Storage Server Properties


Administratorscaneditpropertiesforallstorageservers. To edit storage server properties 1 2 3 ClickStorageintheleftpane. FromeithertheVirtualMachinestaborMediatab,movethepointeroverthe storageserverandchoosePropertiesfromthemenu. Editthepropertiesthatapplytoyourserver: a b c Enteranamethatonlycontainsalphanumericcharacters(az,AZ,09), hyphens,underscores,orperiods.Themaximumlengthis15characters. (Optional)Ifyouneedtotakethestorageserveroutofproduction,deselect theEnabledcheckbox. EnterthevalueforDiskSpaceThresholdYellow. Whenavailablediskspacefallsbelowthislevel,LabManagersendsanemail warningmessagetoalladministrators. d EnterthevalueforDiskSpaceThresholdRed. Whenavailablediskspacefallsbelowthislevel,LabManagersendsanemail alertmessagetoalladministrators. e f IfyouareusingaUNCpath,entertheusernameandpasswordforthe administratoronthestorageserver. ClickOK.

Reviewing Additional Storage Server Operations


ReviewtheseadditionaloperationsavailablefromthemouseovermenuontheVirtual MachineStorageandMediaStoragepages: DisableMakesthisstorageserverunavailableforLabManageruse. EnableMakesthisstorageserveravailableforLabManageruse. Refresh(Availableformediastorage)Updatesdisplayedstorageserver information.

136

VMware, Inc.

Chapter 7 Administering and Monitoring Lab Manager

Configuring Network Settings


Configuringnetworksettingsinvolvesthesesections: ViewingNetworkSettingsonpage 137 UnderstandingIPAddressManagementonpage 139 AddingIPAddressestotheLabManagerIPPoolonpage 139 RemovingIPAddressesfromtheLabManagerIPPoolonpage 140

Viewing Network Settings


Administratorscanviewnetworksettings.ConsultyournetworkITadministratorfor questionsonsettingsestablishedpriortotheinstallation. To view network settings Intheleftpane,clickNetwork. TheNetworkpageincludestheSettingstabandIPPooltab.

Reviewing the Settings tab


UsethistabtoalterthedefaultnetworksettingsandtheLabManagerinstallationID. IntheVirtualMachineIPAddressOptionssection,youcanselectandupdatethe methodofIPaddressallocation.ThisistheplacewhereyoucanoverridetheIP allocationchoicesmadeintheinitializationwizarddescribedintheVMwareLab ManagerInstallationGuide. TheStatic(IPPool)optionallowsLabManagertopullstaticIPaddressesfroma pooloriginallysetupduringtheinitializationwizardorsetintheStaticIP Settingssectionofthistab.ThemaximumnumberofIPaddressesyoucanaddat onetimeis1024. LabManagerusesthenetworksettingsforunfencedvirtualmachinesandthe externalIPaddressesoffencedvirtualmachines.FordetailsonLabManager fencing,seeNetworkFencingonpage 171. TheStatic(Manual)optionallowsyoutospecifyanIPaddress.LabManageruses thenetworksettingsforunfencedvirtualmachinesandtheexternalIPaddresses offencedvirtualmachines. ThisoptionworkswithLabManagerfencing(seeNetworkFencingon page 171).

VMware, Inc.

137

VMware Lab Manager Users Guide

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.

Reviewing the IP Pool Tab


UsethistabtoviewIPaddressinformationfortheLabManagerIPpool. ReviewtheelementsoftheIPPooltab: NetworkNetworkinformationinthetopleftcornershowsthetotalnumberof IPaddressesintheLabManagerIPpoolandthenumberofavailableIPaddresses. FilterShowsasubsetofthetotalnumberofIPaddressesintheLabManagerIP pool.LabManagermatchesthetextenteredinthefieldtotheleftofthebutton againsttheattributedataofthecolumns.Entriesarenotcasesensitive. Usingthemouseovermenutotheleftofthefield,youcanfilteracrossallcolumns onthepageorwithinaspecificcolumn. Thefiltertextsearchdoesnotrecognizewildcards.Ifyouenteratraditional wildcard,suchasanasterisk(*),thisfunctionperformsaliteralsearchforan asterisksymbol. AllocatedGreencheckmarkindicatesavirtualmachinehasthisIPaddress.

138

VMware, Inc.

Chapter 7 Administering and Monitoring Lab Manager

DeployedGreencheckmarkindicatesthevirtualmachineisdeployed.A hyphen()indicatesthevirtualmachineisnotdeployed. TypeAllocatedIPaddressisassignedtoavirtualmachine(VM)orvirtualrouter (VR). MachineNameVirtualmachinenamescanbethesameunlessthevirtual machinesareinthesameconfiguration. ConfigurationConfigurationthatthevirtualmachinebelongsto.

Understanding IP Address Management


WhenyoucreateavirtualmachinefromatemplateintheWorkspace,andyouselecta staticIPallocationmethod,LabManagerallocatesanIPaddressfromtheIPpooltothe virtualmachine.ThisIPaddressstayswiththevirtualmachinethroughthevarious operationsinLabManager.Whenyoudeleteallinstancesofthevirtualmachinewith thisIPaddress,LabManagerreleasestheIPaddresstotheIPpool. Ifyoudeployaconfigurationinfencedmode,LabManagerallocatesanadditionalIP addressfromtheIPpoolandassignsitastheexternalIPaddressforeachvirtual machineintheconfiguration.YoucanusetheexternalIPaddresstoaccessthevirtual machinefromoutsidethefencedconfiguration(forexample,fromyourdesktop). Whenyouundeploythisconfiguration,LabManagerreleasestheIPaddresstotheIP pool.

Adding IP Addresses to the Lab Manager IP Pool


Administratorscanaddamaximumof1024IPaddressesatatimetotheIPpool.No limitexistsonthenumberoftotaladdressesyoucanuse. EveryvirtualmachinerequiresanIPaddress.Avirtualmachinerequiresanadditional IPaddressforfencedmode. Everyvirtualrouter(automaticallycreatedforfencedconfigurations)requirestwoIP addresses.Virtualmachineaddressesremainallocateduntilyoudeleteavirtual machineandallitsclones.TheaddressesforavirtualrouterreturntotheIPpoolwhen youundeployafencedconfiguration. To add IP addresses 1 2 3 FromtheIPPooltab,clickAdd. SpecifytherangeofIPaddresses. ClickAdd.

TheNetworkpagedisplaysthenewIPaddresses.
VMware, Inc. 139

VMware Lab Manager Users Guide

Removing IP Addresses from the Lab Manager IP Pool


AdministratorscanremoveIPaddressesfromtheIPpool. To remove IP addresses 1 2 FromtheIPPooltab,clickRemove. SpecifytherangeofIPaddresses. TheFromaddressmustbelessthantheToaddress. YoucannotdeleteIPaddressesallocatedtoavirtualmachine. 3 ClickDelete.

LabManagerremovestheIPaddressesfromtheNetworkpage.

Configuring Lab Manager Settings


ManagingLabManagersettingsinvolvestheseprocedures: AccessingLabManagerSettingsonpage 140 ReviewingtheGeneralTabonpage 140 ReviewingtheLicenseTabonpage 146 ReviewingtheLMToolsTabonpage 147 ReviewingtheSupportLinkTabonpage 149 ReviewingtheResourceCleanupTabonpage 149

Accessing Lab Manager Settings


AdministratorscanaccesssystemwidesettingsforLabManager. To access Lab Manager settings Intheleftpane,clickSettings. ThepageincludestheGeneral,License,LMTools,SupportLink,andResource Cleanuptabs.

Reviewing the General Tab


Thegeneraltabcoversserverpreferences,emailpreferences,defaultuserpreferences, anddefaultdeploymentoptions.

140

VMware, Inc.

Chapter 7 Administering and Monitoring Lab Manager

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

VMware Lab Manager Users Guide

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

FormoreinformationonLDAPbindingstringsandformattingmethods,seethis site: http://msdn2.microsoft.com/enus/library/aa746384.aspx LDAPAllowedGroups(group1,group2)SeeLDAPandLabManageron page 144. ValidateLDAPUsersWhenEditedSeeLDAPandLabManageronpage 144.

Email Preferences
SMTPServerDNShostnameorIPaddressofamailserverthatLabManager usesforsendingoutemailalertsandwarnings.Administratorsreceiveemailalerts orwarningsundertheseconditions:

142

VMware, Inc.

Chapter 7 Administering and Monitoring Lab Manager

ThestatusofaManagedServersystemorstorageserverchanges. Thediskthreshold(yelloworred)ofaManagedServersystemorstorage serveriscrossed. RequiresUsernameIndicatestheSMTPserverrequiresausername. UsernameEntertheusernameoftheSMTPserveraccount. PasswordEnterthepasswordoftheSMTPserveraccount. DefaultEmailSubjectPrefixInitialtextforthesubjectfieldofmessages. TestSMTPSettingsClickthebuttontoverifytheserverconnectionworks.

Default User Preferences


DefaultStoredVMQuotaNumberofvirtualmachinesyoucanstoreonstorage servers. DefaultDeployedVMQuotaNumberofvirtualmachinesyoucandeployat onetime. DefaultMediaServerMediaserverforCDandfloppyimages.

Default Deployment Options


Theseoptionssetthedefaultdeploymentoptionsfornewusers. UseNetworkFencingRunyourconfigurationsinfencedmode.SeeAppendix C, NetworkFencing,onpage 171. AllowTrafficInandOutVirtualmachinescancommunicatewithmachines outsidethefenceandmachinesoutsidethefencecancommunicatewith virtualmachinesinthefencedconfiguration. AllowTrafficOutVirtualmachinesinafencedconfigurationcaninitiate communicationtomachinesoutsidethefenceandcanreceivemessagesback onthesameconnection.Machinesoutsidethefencecannotinitiate communicationtovirtualmachinesinthefencedconfiguration. Thisoptionisusefulwhenvirtualmachinesneedtoobtaindataorexecute codeoutsidethefence(asseenwithWebservicesordatabases)butdonot wanttoreceivemessagesthatdisrupttesting. BlockTrafficInandOutNetworktrafficdoesnottravelacrossthefence. Virtualmachinesinafencedconfigurationcannotcommunicatewith machinesoutsideofthefence,andmachinesoutsidethefencecannot communicatewithvirtualmachinesinthefencedconfiguration.

VMware, Inc.

143

VMware Lab Manager Users Guide

Thisoptionisusefulwhenyoutestsoftwarevirusesthatneedtoremain isolatedfromthenetwork,oryoutestaclientserverapplicationinisolation WaitAfterTurnOn(Seconds)Delaytime(orpause)betweenbootingeach virtualmachineinaconfiguration. UseServerBootSequenceUsetheassignedsequenceordertobootvirtual machinesinaconfiguration. Fordetailsondeterminingtheorder,seeReviewingthePropertiesListon page 41andCreatingConfigurationsonpage 83.

LDAP and Lab Manager


YoucanconfigureLabManagertocreateandauthenticateusercredentialsagainstan LDAPserverinsteadoftheLabManageruserdatabase.Thissetupeasestheuser administrationofthesystem.Insteadofmanuallycreatingalltheuseraccounts,you enableanentirecompany(orsubset)ofusersbypointingtheinstallationtothe appropriateLDAPserver. LabManagersupportsonlyMicrosoftActiveDirectoryservice.Reviewtheprocessof usingLDAPwithLabManager: TopointLabManagertoanLDAPserver,enteranLDAPbindingstringand optionalgroupspecificationintheadministratorsettingsareaoftheWebconsole. Fordetails,seeLDAPPreferences:LDAPBindingandGroupStringson page 146. WhenauserinitiallytriestologintoLabManagerwithanunknownlogin,Lab ManagerchecksthecredentialsagainsttheLDAPserver.Ifthecredentialssucceed, LabManagercreatesanewdefaultuseraccount,marksthataccountasanLDAP account,andlogstheuserintothesystem. AdministratorscanaltertherecordsofanexistinguserandchangethewayLab Managerauthenticatesauser.Forexample,youcangiveanLDAPaccount administrativeprivileges.YoucanalsospecifywhetherLabManager authenticatesusersusingtheLDAPserverortheLabManagerdatabase: To specify a user authentication method as a Lab Manager Administrator already authenticated against the LDAP server 1 2 Intheleftpane,clickSettings. IfyouplantochangeauserfromanonLDAPdesignationtoanLDAP designation,selecttheValidateLDAPUserswhenEditedcheckbox.

144

VMware, Inc.

Chapter 7 Administering and Monitoring Lab Manager

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

VMware Lab Manager Users Guide

LDAP Preferences: LDAP Binding and Group Strings


TheLDAPbindingstringreferencestheMicrosoftActiveDirectoryservicethatLab ManagerusestoauthenticateuserswhoareunknownormarkedasLDAPusers.The ActiveDirectoryservicemustberunningtoallowLDAPuserstologintoLab Manager.YoucanmodifythescopeoftheusersusingLDAPorganizationalunits(OUs) andspecificgroupinformation. To enter LDAP binding and group strings 1 2 Intheleftpane,clickSettings. IntheGeneraltab,entertheLDAPbindingstring.Sampleusage:
LDAP://<server>/<path> LDAP://<server>/<path>,ou=<ou1>,ou=<ou2>

Forexample,type:
LDAP://ldap.vmware.com/corp,ou=Corp,ou=Sales

Thestringiscasesensitive.ActiveDirectoryrequirescapitalletters. 3 (Optional)EntertheLDAPAllowedGroupsinformationtofurtherrestrictthe LDAPusertospecificLDAPgroups. TheLDAPadministrator,nottheLabManageradministrator,definesthese groups.Ifyoufilloutthisfield,anLDAPusermustbeamemberofoneofthelisted groups.Ifyouleavethefieldblank,anyuserontheLDAPservercanlogintoLab Manager. Enterastringofgroupsseparatedbycommas.Reviewtheseexamples:


<group1>,<group2>,<group3> QA,Dev,PM

Reviewing the License Tab


Usethistabtoviewdetailsonthelicense,suchasexpiration,capacity,andfeatures.Lab ManageruseshostbasedlicensingwhichinvolvesenteringthelicenseintheWeb Initializationwizard(seetheVMwareLabManagerInstallationGuide)orthistab. UsetheEditLicensebuttontoalterthelicensetext.Youmightneedtochangethetext whenyoupurchaseanupdatedlicenseorfeature.

146

VMware, Inc.

Chapter 7 Administering and Monitoring Lab Manager

Reviewing the LM Tools Tab


LabManagercustomizesvirtualmachines(IPaddress,machinename,security identifier(SID),andmore)usingLMTools.SIDgenisatoolpackagedwithLab ManagertochangetheSIDforamachinerunninganysupported32bitWindowsguest operatingsystemotherthanVistaUltimate.(LabManagerprovidesexperimental supportforVistaUltimate.SeeAppendix B,GuestOperatingSystemSupport,on page 167fordetails.) IfyouprefertouseSysprep(supportedbyMicrosoftandincludedontheinstallation CDsforWindows2000,Windows2003,andWindowsXP),youcancreateacustomISO forthatpurpose. NOTE IfyouhaveavirtualmachinerunningVistaUltimate,donotcreateacustom ISObeforeinstallingLMTools.Vistaistheonlyoperatingsystemforwhich LMToolsautomatesthesetupofSysprepbecauseSysprepisbuiltintothat operatingsystem. FordetailsoninstallingLMTools,seeInstallingLMToolsonpage 61. VMwarerecommendsusingthesetestedversionsofsysprep.exe: 5.2.3790.3959forWindows2003 5.1.2600.2180forWindowsXP ALabManageradministratormustsetupacustomISOforanyuserplanningtoinstall LMToolsona64bitoperatingsystem.ThedefaultSIDgentoolpackagedwithLM Toolscannotoperatewith64bitoperatingsystems. FordetailsonguestoperatingsupportforSIDgenandSysprep,seeAppendix B, GuestOperatingSystemSupport,onpage 167. To build a custom LM Tools ISO with Sysprep 1 Foreachoperatingsystem(Windows2000,WindowsXP,Windows2003,ora 64bitWindowsoperatingsystem),inserttheWindowsOSCDintheCDROM.If youhaveanISO,mounttheISOusingathirdpartytool. LocatetheDEPLOY.CABfileinthe\Support\ToolsdirectoryontheCD. ExpandtheDEPLOY.CABfileusingWinzip.exeoranothertoolcapableofreading MicrosoftCABfiles.YoucanalsouseWindowsExplorerinWindowsXPor Windows2003. CopythefilestotheappropriateLabManagerdirectoryforSysprepsupport.For example,ifyouinstalledLabManagerinC:\Program Files\VMware\VMware LabManagerServer,copythefilestooneofthesedirectories:
147

2 3

VMware, Inc.

VMware Lab Manager Users Guide

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.

Chapter 7 Administering and Monitoring Lab Manager

Reviewing the SupportLink Tab


TheLabManagerSupportLinkfeaturesendsusagedatatoVMwareforimproved productsupport.VMwaredoesnotsharethisdatawithotherorganizationsortrace anydatabacktoindividualusers.DuringtheLabManagerinstallationand initializationprocess,theadministratorinitiallyindicateswhethertoenable SupportLink. WiththeaidofSupportLinkinformation,VMwarecanprovideindividualizedemail supportwithguaranteed24hourresponsetime.Customerswhodeactivate SupportLinkstillhaveaccesstotheWebbasedsupportforum. To set up SupportLink 1 2 Intheleftpaneoftheconsole,clickSettings. IntheSupportLinktab,specifythedetailsforSupportLink: a ChoosewhethertoenableSupportLink. DonotaltertheSupportLinkserverunlessinstructedtochangethename. b c d e Indicatewhethertoenableaproxyserverandspecifythedetails. IfVMwaresupportrequestsatestofSupportLink,clicktheTestSettings buttontoverifytheconnectivitytotheLabManagerSupportLinkServer. IfVMwaresupportrequestsyoutocollectinformationfromyourLab Managerenvironment,clicktheCollectbutton. ClickOK.

Reviewing the Resource Cleanup Tab


Youcandefineleasetimesfordeployedtemplatesandconfigurations.Specifically,you canscheduletheundeploymentanddeletionoftemplatesandconfigurations. Ifanadministratorsetsaleasetime,auserwithoutadministratorprivilegescannot overridethevaluebutcanextendtheleasetoanyvalueuptothevaluesetbythe administrator.Usershaveaccesstoleaseinformationinthepropertiespagesfor templates,virtualmachines,Workspaceconfigurations,andlibraryconfigurations. Iftheadministratorchangesthevalueaftertheinitialsetting,theusercanextendalease totheoriginalmaximumvalue.Oncetheuseralterstheleasetime,theleasechoices resetuptothelatestvaluedeterminedbytheadministrator. Thestorageleaseisintendedtodeleteunusedorinactivetemplates.Theseoperations renewtheleasebecauseLabManageridentifiesthetemplateasinuse:

VMware, Inc.

149

VMware Lab Manager Users Guide

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.

Troubleshooting Lab Manager

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

VMware Lab Manager Users Guide

Blank Screen Appears When Accessing Lab Manager


Problem WhenItrytoaccesstheLabManagerWebconsole,ablankpageappears eventhoughDoneappearsinthebrowserstatusbar.Asrequired,IamusingInternet Explorer5.5orhigher. Solution YoumightnothaveenabledalltheIEoptionsforclientaccess,suchasAllow pasteoperationsviascript.FordetailsonsettingupIEforclientoperation,seeSetting InternetExplorerOptionsonpage 20.

Lab Manager Does Not Display Virtual Machine Console


Problem WhenIclickavirtualmachinethumbnailicon,thevirtualmachineconsole doesnotappear.LabManagertakesmetoapagewhereIseeatabintheupperleft cornerthatcandisplayamouseovermenu. Solution YoumightnothaveenabledalltheIEoptionsforclientaccess,suchasthe optionsfordownloadingandrunningActiveXcontrols.LabManagerusesanActiveX controltodisplayavirtualmachineconsole.FordetailsonsettingupIEforclient operation,seeSettingInternetExplorerOptionsonpage 20. Problem IrecentlyaddedaManagedServersystem.Icannotseetheconsolewindows forvirtualmachinesrunningonthatManagedServersystem. Solution IfyouuseahostnameinsteadofanIPaddresstoaddtheManagedServer system,theDNSmightnotbeconfiguredproperlyandmaypreventtheresolutionof thehostname. To address this issue 1 2 3 Intheleftpane,clickServers. MovethepointerovertheManagedServername,andchoosePropertiesfromthe menu. IntheHostNameorIPAddressfield,enteranIPaddressinsteadofaDNShost name.

Problem IcannotconnecttoavirtualmachineconsolefromLabManager.Theconsole appearsasablackconsole. Solution TrytoconnecttothevirtualmachinefromtheVirtualInfrastructureClient packagedwithESXServer.IftheVIClientisunabletoconnecttothevirtualmachine, connectdirectlytotheESXServermachineandruntheifdown vswif0andifup vswif0commandsinashellconsole.

152

VMware, Inc.

Chapter 8 Troubleshooting Lab Manager

Duplicate IP Address Errors Appear


Problem Aftercreatingabaselineconfigurationandsavingittotheconfiguration library,Icheckitoutandsaveaduplicateconfigurationtothelibrary. Fromtheconfigurationlibrary,Inavigatetothedetailspagefortheduplicate configurationandopenthepropertiespageforeachvirtualmachinetomodifytheIP andMACaddresses.Ideploytheoriginalconfigurationandthendeploytheduplicate configuration.ThesecondconfigurationfailstodeployandgeneratesduplicateIP addresserrors. Solution YoumodifiedtheinformationthatLabManagerhasaboutthevirtual machines,butyoudidnotchangetheactualIPandMACaddresses.Thischange requiresamanualprocessthrougheachvirtualmachineconsole.Youwouldhaveto modifyboththeIPandMACaddressestoavoidnetworkerrors. InsteadofmanuallychangingIPandMACaddresses,considereasieroptionstoavoid duplicateIPaddresserrors: Deployyourconfigurationsinfencedmode.LabManagergiveseachvirtual machineinafencedconfigurationaunique,externalIPaddress.Subnetbroadcasts donottraveloutsidethefence.Ifyouwanttwoconfigurationstotalktoeachother usingbroadcasts,refertothenextoption. Inthebaselineconfiguration,createamachinetemplatefromeachvirtualmachine andinstallLMToolsonit.Tobuildtheduplicateconfiguration,createthevirtual machinesfromthesetemplates.Youcandeploybothconfigurationsinunfenced modewithoutIPaddresserrorsbecauseLMToolsassignsuniqueIPaddresses fromtheIPpool.Thevirtualmachinesintheconfigurationcanrespondtosubnet broadcasts.

Addition of SCSI Virtual Hard Disk Fails


Problem WhenIaddanewSCSIvirtualharddisktoavirtualmachine,anoperating systemmessageappearsbecausedriversforthisdevicearemissing. Solution Downloadandinstalltheappropriatedriversfrom http://www.vmware.com/download.ContactVMwareforsupport.

Mouse Navigation on Virtual Machine Console Fails


Problem WhenImovethepointerintoavirtualmachineconsole,thepointerappears asasmalldot.Icannotmoveitoutofthewindowanduseitonthehostoperating system.

VMware, Inc.

153

VMware Lab Manager Users Guide

Solution VMwareToolsisnotinstalledontheguestoperatingsystem.Ifyoudonot installVMwareTools,youcannotmovethepointeroutsideoftheguestoperating systemunlessyoupressCtrl+Alt. InstallVMwareToolstomovethepointerfreelybetweenthevirtualmachinewindow andthehostoperatingsystem.SeeInstallingVMwareToolsonpage 60.

Remote Access to Virtual Machine Fails


Problem Icannotsetupremoteaccesstoavirtualmachineconsole. Solution Tosetupremoteaccesstoavirtualmachine,youmustconfigurethe operatingsystemofthevirtualmachinetoallowforremoteconnections.OnWindows 2003,theusermusteitherbeanadministratororanauthorizeduser. To allow for remote desktop connections on Windows 1 2 NavigatetotheSystemPropertiesinformationintheControlPanel. FromtheRemotetab,completethesesteps: a b SelecttheAllowuserstoconnectremotelytothiscomputercheckbox. ClickSelectRemoteUsersandentertherequireduserinformation.

LiveLink URL Error Appears


Problem AtesteremailsmeaLiveLinkURL.Iclickthelink,logintoLabManager, andseeanerrormessage:
Could not perform operation because the object is busy.

Solution Dependingonthecomplexity,capturingaconfigurationtotheconfiguration librarycantakesometime.Waitforsometimeandtryagain.

Host Server CD Drive Cannot Install Software


Problem IwanttousethephysicalCDdriveonthehostservertoinstallsoftwareon avirtualmachineinsteadofusingISOimages. Solution LabManagerdoesnotallowdirectphysicalaccesstotheCDROM.Witha serverfarm,youdonotnecessarilyknowwhichphysicalserversvirtualmachineswill bedeployedon.Evenifyoudidhavethisknowledge,someonewouldhaveto physicallyaccesstheserverandinsertaCD. YoucanusethemedialibraryoraUNCpathtoinsertCDorfloppyimagesintoa virtualmachine.Fordetails,seeWorkingwithMediaonpage 101.

154

VMware, Inc.

Chapter 8 Troubleshooting Lab Manager

Importing a Virtual Machine as a Template Fails


Problem Itrytoimportavirtualmachinetoserveasatemplateandseethiserror message:
Disk too large to import. Consider using VMware vdiskmanager to split the large disk.

Solution Youcanimportvirtualmachinesupto2GBper.vmdkfile.Formonolithic templatesthatexceedthesizelimit,createsplitdisksusingtheVMwareVirtualDisk ManagerutilitypackagedwithWorkstation. Forinstructionsonusingthisutility,seetheUsingDiskschapteroftheVMware WorkstationUsersManual.

Importing a Virtual Machine from VMFS Storage Fails


Problem ItrytoimportavirtualmachinefromVMFSstoragetoserveasatemplate. Thiserrormessageappears:
The source VM's vmx configuration file and vmdk disk file(s) must all reside in the same directory on the VMFS volume.

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

VMware Lab Manager Users Guide

Inserting Media from NFS Server Fails


Problem Theprocessofinsertingmedia(CDorfloppyimages)fromanNFSServer fails. Solution PinpointtheManagedServersysteminvolvedintheoperation.(Theerror messagetypicallydisplaysthenameoftheinvolvedsystem.) MakesureallManagedServersystemsmeettheserequirements: YouproperlyconfiguredtheVMkernel. TheVMkernelisattachedtoaNICthathasconnectivitytotheNFSstorageserver. ThegatewayoftheVMkernelissettothecorrectvalueforthenetwork. TheNICisup. ConflictingNFSdatastorescannotexistontheManagedServersystem. Conflictingdatastorescanariseeitherthroughtheexternalcreationofsuch datastoresorthroughinternalprocesseswithinLabManager. Typically,LabManagercreatesdatastoreswiththeLabManagerNFS<ID> namingformatwhichpointstoallNFSstorageserversenabledontheLab ManagerServersystem.Thedatastoreactsasamountpointforinserted media.IfanNFSdatastorealreadymountsanenabledNFSdatastores managedbyLabManager,LabManagercannotcreatetheNFSdatastoreon theManagedServersystemandcannotaccessmediahostedonthestorage server.ESXServerdoesnotallowtwodatastorestosharethesameNFS mount. Toaddressthissituation,removetheNFSdatastorethatisnotmanagedby LabManager. AsituationinwhichLabManagermanagesconflictingNFSdatastorescan arisewhenyouremoveanNFSserverfromLabManagerandavirtual machinecurrentlyusesthatNFSserver.(Thevirtualmachinehasinserted mediahostedontheNFSserver.)AlthoughLabManagerdoesnotreport errorsontheNFSstorageserverremoveoperation,theManagedServeragent cannotremovetheNFSdatastorebecausethevirtualmachineisholdingonto mediahostedbytheNFSdatastore.IfyouaddtheNFSdatastoretoLab Manageragain,LabManagermightfailbecauseitisalreadymountedunder adifferentname. Toaddressthissituation,ejectthemediafromthevirtualmachineand manuallyremovetheNFSdatastorefromtheVIclient.Youcanremovethe datastorefromLabManagerandadditagain.

156

VMware, Inc.

Chapter 8 Troubleshooting Lab Manager

Virtual Hard Disk Space Is Low


Problem Iamoutofvirtualharddiskspaceforthevirtualmachine. Solution Youcaneitheraddmorevirtualharddisksorexpandtheprimarypartition ontheguestoperatingsystem. To expand the virtual hard disk 1 2 3 4 Consolidatethevirtualmachine.SeeConsolidatingTemplatesonpage 71. LocatethevirtualmachinedirectoryID.SeeEditingVirtualMachineProperties onpage 40. Locatethevirtualmachinedisk(.vmdk)fileintheVM/<vm directory ID> directory. UseESXServertoolsorVmwareConvertertoexpandthedisk.Usage:
vmkfstools -X <new size> <VMDK file>

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

VMware Lab Manager Users Guide

Lab Manager Server Fails, Loses Connectivity, or Reboots the System


Table81describesthebehaviorandrecoveryoptionsforaLabManagerServerfailure. Table 8-1. Lab Manager Server Failure and Recovery Options
Failure Behavior Theuserinterfacestops working. LabManageraborts runningoperations. Ifimportandexport operationsoccurred,you mightnotbeabletousethe ManagedServersystemand virtualmachines. Note:Virtualmachinesnot usingtheLabManager Serversystemcontinueto runontheManagedServer systems. Recovery Behavior and Actions TheLabManagerServersystem reconnectswiththedeployed virtualmachinesandresumes control. Ifimportandexportoperations tookplace,youmightneedto restarttheESXServermachine. Additional Steps Deleteorundeployany partiallycreatedobjects (fromabortedoperations) andtrytheoperations again.

SMB Media Storage Server Fails


TheSMBmediastorageincludesthedefaultmediastorageontheLabManagerServer system.Table82describesthebehaviorandrecoveryoptionsforanSMBmedia storagefailure. Table 8-2. SMB Media Storage Server Failure and Recovery Options
Failure Behavior IfCDandfloppy operationsinvolvedSMB mediastorage,youmight notbeabletousethe ManagedServersystem andvirtualmachines. Recovery Behavior and Actions RestarttheESXServermachineif necessary. Additional Steps MigratemediatoNFS storagetoavoidvirtual machineinstability.Lossof connectivitytoNFSmedia storagedoesnotrequirean ESXServermachinereboot. Fordetailsonsettingup NFSmediastorage,seethe VMwareLabManager InstallationGuide.

158

VMware, Inc.

Chapter 8 Troubleshooting Lab Manager

Permanent Failure of Managed Server Occurs


Table83providesdetailsonaddressingapermanentManagedServerfailure. Table 8-3. Managed Server Failure (Permanent) and Recovery Options
Failure Behavior Withintwominutes,theLab ManagerWebconsolenotes thelostManagedServer systemisunreachable. Allvirtualmachineoperations onthatmachinefail(exceptfor ForceUndeploy). Allotheroperationscontinue towork.Virtualmachines runningonotherManaged Serversystemscanfunction properly. Configurationswithvirtual routersrunningonthelost ManagedServersystem cannotcommunicateoutside thenetworkfence. LabManagernolonger deploysvirtualmachineson thisManagedServersystem. Recovery Behavior and Actions Automaticrecoverydoesnotexist. Reviewthemanualstepsfor recovery: Undeployvirtualmachineson thelostManagedServer systemandredeploythe virtualmachinesonother ManagedServersystems. TheUndeployoperationfails butallowsyoutoperforma ForceUndeployoperation. RemovetheManagedServer systemfrommanagement. Additional Steps Noadditionalstepsare necessary.

VMware, Inc.

159

VMware Lab Manager Users Guide

Temporary Failure of Managed Server Occurs (Reboot or Turn Off)


Table84describesthetemporaryfailureoftheManagedServersystemaftersomeone rebootsorturnsofftheserver. Table 8-4. Managed Server Failure (Reboot or Turn Off) and Recovery Options
Failure Behavior Withintwominutes,theLab ManagerWebconsolenotes thelostManagedServer systemisunreachable. Youcannotaccessvirtual machinesrunningonthe ManagedServersystem usingtheremoteconsoles. Thumbnailiconsappearas Unavailable. Allvirtualmachine operationsonthatmachine fail(exceptforForce Undeploy). Configurationswithvirtual routersrunningonthelost ManagedServersystem cannotcommunicateoutside thenetworkfence. LabManagernolonger deploysvirtualmachineson thisManagedServersystem. Recovery Behavior and Actions WhentheManagedServersystem comesbackup,thevirtual machinesareeitherintheOffor Suspendedstate.Youcanaccess thevirtualmachines. Configurationswithvirtual routersrunningontheManaged Serversystemarenolongerable tocommunicateoutsidethefence untilyouredeploythem. Additional Steps Noadditionalstepsare necessary.

160

VMware, Inc.

Chapter 8 Troubleshooting Lab Manager

Temporary Failure of Managed Server Occurs (Networking)


Table85describesthetemporaryfailureoftheManagedServersystembecauseofa networkingglitch. Table 8-5. Managed Server Failure (Networking) and Recovery Options
Failure Behavior Withintwominutes,theLab ManagerConsolenotesthe lostManagedServersystem isunreachable. Youcannotaccessvirtual machinesrunningonthe ManagedServersystem usingremoteconsoles. Thumbnailiconsappearas Unavailable. Allvirtualmachine operationsonthatmachine fail(exceptforForce Undeploy). LabManagernolonger deploysvirtualmachineson thisManagedServersystem. Ifnetworkingfailsbetween thisManagedServersystem andotherManagedServer systems,externalnetworking stopsworkingforfenced configurationswithvirtual routersonthisserver. Recovery Behavior and Actions Whenthenetworkglitch disappears,theManagedServer systemtypicallyworksasitused to. Additional Steps Noadditionalstepsare necessary.

VMware, Inc.

161

VMware Lab Manager Users Guide

162

VMware, Inc.

Client and Browser Support

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

SP2 R2 Server2003 Enterprise Edition SP1

No No No

Yes Yes Yes

Yes Yes Yes

Yes Yes Yes

Yes Yes Yes

SP2 R2 XP Professional SP1 SP2 2000Server SP3 SP4

No No No No Yes Yes

Yes Yes Yes Yes Yes Yes

Yes Yes Yes Yes No No

Yes Yes Yes Yes No No

Yes Yes Yes Yes No No

VMware, Inc.

163

VMware Lab Manager Users Guide

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

Yes Yes Yes Yes

Yes Yes Yes Yes

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

SP2 R2 Server2003 Enterprise Edition SP1

No No No

Yes Yes Yes

Yes Yes Yes

No No No

Yes Yes Yes

SP2 R2

No No

Yes Yes

Yes Yes

No No

Yes Yes

164

VMware, Inc.

Appendix A Client and Browser Support

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

Yes Yes Yes Yes Yes

Yes Yes Yes Yes Yes

RTM

No

No

No

Yes

Yes

VMware, Inc.

165

VMware Lab Manager Users Guide

166

VMware, Inc.

Guest Operating System Support

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.

Table B-1. 32-bit Guest Operating Systems


LM Tools using SIDgen (Windows only) No Yes LM Tools using Sysprep (Windows only) Yes Yes

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

VMware Lab Manager Users Guide

Table B-1. 32-bit Guest Operating Systems (Continued)


LM Tools using SIDgen (Windows only) Yes Yes LM Tools using Sysprep (Windows only) Yes Yes

Operating System R2 Server2003 Enterprise Edition SP1

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 Yes Yes No No Yes Yes Yes

Yes Yes Yes Yes Yes Yes Yes Yes

Yes Yes Yes Yes Yes Yes Yes Yes

SP4 2000 Terminal Services SP3

Yes Yes

Yes Yes

Yes Yes

Yes Yes

SP4 NT4.0 Server RedHat Enterprise Linux 2AS/ES/WS SP6a Update1

Yes Experimental Yes

Yes No Yes

Yes Yes N/A

Yes No N/A

3AS/ES/WS

Update7 Update8

Yes Yes Yes Yes Yes

Yes Yes Yes Yes Yes

N/A N/A N/A N/A N/A

N/A N/A N/A N/A N/A

4AS/ES/WS

Update2 Update3 Update4

168

VMware, Inc.

Appendix B Guest Operating System Support

Table B-1. 32-bit Guest Operating Systems (Continued)


LM Tools using SIDgen (Windows only) N/A N/A LM Tools using Sysprep (Windows only) N/A N/A

Operating System 5AS/ES/WS SUSE Linux Enterprise Server9 (SLES) Enterprise Server10 (SLES) Solaris 10 SP3

UP Yes Yes

MP Yes Yes

Novell OESSP1 Update3

Yes

Yes

N/A

N/A

Yes

Yes

N/A

N/A

Table B-2. 64-bit Guest Operating Systems


LM Tools using SIDgen (Windows only) No LM Tools using Sysprep (Windows only) Yes

Operating System Microsoft Windows Server2003 Enterprise Edition 64bit SP1

UP Yes

MP Yes

SP2 R2 Server2003 Standard Edition 64bit SP1

Yes Yes Yes

Yes Yes Yes

No No No

Yes Yes Yes

SP2 R2 XP Professional x64Edition SP1

Yes Yes Yes

Yes Yes Yes

No No No

Yes Yes Yes

SP2 RedHat Enterprise Linux 364bit Update7

Yes Yes

Yes Yes

No N/A

Yes N/A

VMware, Inc.

169

VMware Lab Manager Users Guide

Table B-2. 64-bit Guest Operating Systems (Continued)


LM Tools using SIDgen (Windows only) N/A N/A N/A N/A N/A LM Tools using Sysprep (Windows only) N/A N/A N/A N/A N/A

Operating System Update8 464bit Update2 Update3 Update4 SUSE Linux Enterprise Server9, 64bit (SLES) Enterprise Server10, 64bit (SLES) Solaris 10 SP3

UP Yes Yes Yes Yes Yes

MP Yes Yes Yes Yes Yes

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

VMware Lab Manager Users Guide

Why Should I Fence Configurations?


Typically,youwanttoenablenetworkfencingunderthesecircumstances: Youhaveaconfigurationwithoneormoreservers,andyouanticipatecloningthe configurationnumeroustimes. Youhaveaconfigurationinvolvingadifficultandcomplexsetup,andcloningthe configurationisaneasierroutethanrepeatingthesetup. Withfencing,engineerscanrunmultiple,independenttestsonaconfiguration deployedmultipletimes.Fencingisparticularlyusefulwhenadeveloperneedsto examineabugwithoutinterruptingorstoppingongoingtestingonaconfiguration. LabManageralsoenablesyoutoreproducethebugatalatertimeifthedeveloperis unavailable. ThedefaultnumberofconcurrentlydeployedfencedconfigurationsonaManaged Serversystemis20.Ifyouneedmoreconfigurations,youcanincreasethenumber withoutanypenalty. Fromaperformanceperspective,networkfencingimpactsthetrafficflowbetween modules.FencingrequiresaslightlyhighernumberofresourcesontheManaged Serversystem,suchasmemory,CPU,networking,andvirtualmachineslots.Ifyou enablefencingbutneveruseit,theseresourcesdonotcomeintoplay.

How Does Fencing Work?


Virtualmachinesinaconfigurationhavepreconfigured(internal)IPaddresses.When youdeployvirtualmachinesinfencedmode,LabManagerassignsauniqueexternal IPaddresstoeachofthesemachines.Throughtheseexternaladdresses,virtual machinesbothinsideandoutsidethefencecancommunicatewitheachother.Lab Managerusesavirtualroutertoroutepacketsbetweenthesevirtualmachines.Lab Managerconfiguresthevirtualrouterwhenyoudeployafencedconfigurationand deletesitwhenyouundeploytheconfiguration. FigureC1illustratesconfigurationswithoutfencingandwithfencing.

172

VMware, Inc.

Appendix C Network Fencing

Figure C-1. Configuration A (Without Fencing) and Configuration B (With Fencing)

Managed Server system 1


:0 1

Managed Server system 2


II M P1 AC 9 2 00 .16 :5 8.0 0: .2 56 :0 0: 00 :0 IIP 2 M 1 AC 9 2. 00 16 :5 8.0 0: .1 56 :0 0: 00 IIP :0 1 M 1 AC 9 2. 00 16 :5 8.0 0: .2 56 :0 0: 00 :0 2

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

Fencingaconfigurationdoesnotrequireanychangestoitsvirtualmachines.Withina fencedconfiguration,virtualmachinescontinuetousepreassignedIPaddressesto communicatewitheachother.FormoreinformationonIPaddressallocationinfenced configurations,seeUnderstandingIPAddressManagementonpage 139.

VMware, Inc.

173

VMware Lab Manager Users Guide

Fencing Options
Youcandeployfencedconfigurationsinthreeways: AllowTrafficInandOutVirtualmachinescancommunicatewithmachines outsidethefenceandmachinesoutsidethefencecancommunicatewithvirtual machinesinthefencedconfiguration.SeeFigureC2. Figure C-2. Allow Traffic In and Out Fencing Mode

Managed Server system

VM1
fenced network

VR
configuration

network

AllowTrafficOutVirtualmachinesinafencedconfigurationcaninitiate communicationtomachinesoutsidethefenceandcanreceivemessagesbackon thesameconnection.Machinesoutsidethefencecannotinitiatecommunicationto virtualmachinesinthefencedconfiguration. Thisoptionisusefulwhenvirtualmachinesneedtoobtaindataorexecutecode outsidethefence(asseenwithWebservicesordatabases)butdonotwantto receivemessagesthatmaydisrupttesting.SeeFigureC3.

174

VMware, Inc.

Appendix C Network Fencing

Figure C-3. Allow Traffic Out Fencing Mode

Managed Server system

VM1
fenced network

VRb
configuration

network

BlockTrafficInandOutNetworktrafficdoesnottravelacrossthefence.Virtual machinesinafencedconfigurationcannotcommunicatewithmachinesoutsideof thefence,andmachinesoutsidethefencecannotcommunicatewithvirtual machinesinthefencedconfiguration.SeeFigureC4. Figure C-4. Block Traffic In and Out Fencing Mode

Managed Server system

VM1
fenced network

VR
configuration

network

VMware, Inc.

175

VMware Lab Manager Users Guide

Thisoptionisusefulinthesecircumstances: Youaretestingsoftwarevirusesthatneedtoremainisolatedfromthe network. Youaretestingaclientserverapplicationinisolation.

Processor Type Incompatibility


Deployingaconfigurationinfencedmodehostsallthevirtualmachinesonasingle ManagedServersystem.YoumusthaveaManagedServersystemconnectedtothe storageserverwherethetemplatesthatserveasthebasisofthisconfigurationreside on.TheManagedServersystemmusthavesufficientresources,suchasmemory,slots, andfences. Ifyoudeployaconfiguration,performanoperationwhichsavesthestateofthe configuration(forexample,suspendorcapturetolibrary),andredeploythe configurationwithfencing(whichrequireshostingallvirtualmachinesonthesame physicalmachine),asituationcouldcomeupwheretheonlyManagedServersystems availableareoneswithincompatibleprocessortypes.Thecapturedmemoryexpectsa particularprocessortype. Toaddressthissituation,deploytheconfigurationwithoutfencing,undeployit withoutsavingthememorystate(usetheTurnOffdeploymentsettingintheUser PreferencespageortheUndeployDiscardStatemouseovermenu),andredeploythe configuration. Ifdeployingaconfigurationwithoutfencingisnotanoption,resettheMACaddressof eachvirtualmachinetoremovethesavedstate,andredeploytheconfiguration.See ChangingIPorMACAddressesonpage 34.

Viewing Virtual Switches for Fences


YoucanusetheVIClientintheESXServersystemtoseetheLMNetwork<n>virtual switchesornetworksthatLabManagercreatesforeachfence. To view virtual switches for fences 1 2 NavigatetotheConfigurationtaboftheVIClient. ClicktheNetworkinglinkintheHardwarelisttoviewvirtualswitches(for example,LMNetwork001).

SeetheVMwareInfrastructure3documentationfordetailsonusingVIClient.

176

VMware, Inc.

Appendix C Network Fencing

CAUTION DonotconnectthevirtualswitchesthatLabManagercreatestoan externalnetwork.LabManagerneedsthesevirtualswitchesfor deployingfencedconfigurations.

Reviewing Additional Fencing Operations


IfyouneedtoviewcurrentfencingoptionsorchangetheswitchthatLabManageruses forfencing,followtheseinstructions(insteadofuninstallingandreinstallingthe ManagedServeragentsoftware). Formoreinformationonswitches,seetheVMwareInfrastructure3documentation. NOTE Undeploythevirtualmachinesbeforechangingtheswitchforfencingor adjustingthenumberoffences.

To change the switch for fencing 1 2 Loginasroot. Fromthecommandline,type:


> lm-fencecfg

Selectadifferentnetworkswitchforvirtualmachines.

To view current fencing options 1 2 Loginasroot. Fromthecommandline,type:


> cat /etc/labmanager/agentconf.xml

TheHostNicfieldcontainsthebridgedeviceandtheVNetCountfieldcontainsthe numberoffences. To adjust the number of fences 1 2 Loginasroot. Fromthecommandline,changethenumberoffences.Usage:


> lm-fencecfg --numFenced NUM_FENCES

Forexample,updatethenumberoffencesto30:
> lm-fencecfg --numFenced 30

VMware, Inc.

177

VMware Lab Manager Users Guide

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.

Thisappendixcoversthesetopics: HowdoesLMToolswork?onpage 180 ExtendingtheLMToolsScriptonpage 181

VMware, Inc.

179

VMware Lab Manager Users Guide

How does LM Tools work?


Theconfigurationfileforavirtualmachine,the.vmxfile,containsamachine.idline. IfyouinstallVMwareToolsonthetemplate,theguestoperatingsystemcanreadthis line. TheLabManagerServersystemsetsthevaluesforthislinewhiledeployingvirtual machines.Seethisexampleofthemachine.idline:
machine.id = "ip=10.6.11.101&netmask=255.255.0.0&gateway=10.6.0.1&dns1=10.5.1.20&dns 2=10.5.1.21&computerName=arp&UseSysPrep=No&KEYNUM=612942190"

To access the machine.id line 1 2 FromtheManagedServersystem,openthe.vmxfile. Searchformachine.idfrominsidetheguestoperatingsystem: FromthecommandpromptonaLinuxguestOS,type:


# vmware-guestd --cmd machine.id.get

FromaWindowsguestOS,navigatetothedirectorywhereVMwareToolsis installed(usuallyC:\Program Files\VMware\VMware Tools)andtype:


>VMwareService.exe -cmd machine.id.get

TheinstallationofLMToolsonatemplateconfiguresascripttoruneverytimethe systemstartsup.Thisscriptreadsthemachine.idinformationanddetermineswhat actiontotake. TheLabManagerServersystemdoesnotsetanyactionsinthemachine.idlinewhile deployingvirtualmachinetemplates.Asaresult,theLMToolsscriptdoesnotperform anycustomizationforthetemplatewhenitstartsup. TheLabManagerServersystemdoessetcustomizationactionsinthemachine.idline whiledeployingWorkspacevirtualmachines.Whenthesevirtualmachinesfirststart up,theLMToolsscriptperformstherelevantactions.

180

VMware, Inc.

Appendix D Extending LM Tools

Extending the LM Tools Script


ReviewtheinstructionstoextendthecustomizationoftheLMToolsscript.

Extending the LM Tools Script on a Windows Guest OS


TheWindowsscript,win_autoconfig.vbs,isinstalledintheLMToolsprogramfiles folder(usuallyC:\Program Files\VMware\LM Tools).Writeyourownscriptbased onwin_autoconfig.vbs,andperformtherequiredcustomizationusingthesettings passedtotheLabManagerServersystem.

Extending the LM Tools Script on a Linux Guest OS


TheLinuxscriptislm-tools.Writeyourownscript,basedonlm-tools,andperform therequiredcustomizationusingthesettingspassedtotheLabManagerServersystem. Youcanalsochangethe.vmxfileofavirtualmachine(forexample,changethe computerNamevalue)andhavelm-toolsapplythosechangeseitherwhentheguest operatingsystemrestartsorwhenyourunthelm-toolsscript. Torunthelm-toolsscriptonSUSELinux,type:
/etc/rc.d/lm-tools start

Torunthelm-toolsscriptonRHEL,type:
/etc/rc.d/init.d/lm-tools start

VMware, Inc.

181

VMware Lab Manager Users Guide

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

VMware Lab Manager Users Guide

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

VMware Lab Manager Users Guide

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

of users 117 of virtual machines 40

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

VMware Lab Manager Users Guide

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

VMware Lab Manager Users Guide

190

VMware, Inc.

Вам также может понравиться