Beruflich Dokumente
Kultur Dokumente
VMware, Inc.
ViewComposercreatesareplicaforeachvariantofthedesktopimageusedinyourdeployment.Forexample, ifyoudeploytwotypesofdesktops,onewithWindowsXPandotherwithWindowsVista,onasingleLUN, ViewComposercreatestworeplicadisksonthatLUN,oneforeachimagetype. TheViewComposerreplicamechanismhelpslinkedclonestoscaleupinlargeenvironmentsandmakesit easiertoinstallpatchesbyupdatingtheparentvirtualmachine.Thereplicaisalsoprotectedfrombeingerased fromVMwarevCenter.Thisprotectioniscritical,becauseifareplicaisdeleted,thelinkedclonedesktops basedonthatreplicaarenolongeravailable. Figure 1. Parent and Replica Disks
Clone 1 Replica
Clone 2
OS data disk
OS data disk
VMware, Inc.
VMware, Inc.
Storage Overcommitment
VMwarerecommendsthatyouuseaconservativesettingforstorageovercommitmentinmostdeployments. Modelingandsizingyourenvironmentisthebestwaytounderstandwhenyoucanusetheotheroptions, basedonthedatapresentedbelow. StorageovercommitmentsettingsdeterminehowaggressivelyViewComposerallocatesvirtualmachinesto availablefreespace.Themoreaggressivetheovercommitmentsetting,thehigherthenumberofvirtual machinesthatareplacedonadatastore.Asmorevirtualmachinesareassignedtotheavailablefreespace,less spaceremainsavailabletoaccommodatethegrowthofvirtualmachinesovertime,soyouneedtomanage yourstorageenvironmentactivelytoensurethatyoudonotrunoutofspace.Innonpersistentdesktopuse cases,thisislessofanissuethanitisinusecaseswithpersistentdesktops.
CreateaseparateActiveDirectorycontainerforvirtualdesktopsbasedontheorganizationalunit(OU) forthosedesktops.IfthedesktopadministratorhasOUadministratorprivileges,thedesktop administratorcanprovisiondesktopswithoutdomainadministratorprivileges.Ifthereisachangeinthe activedirectoryadministratorcredentials,thedesktopadministratormustupdatethecredential informationinViewComposer,aswell. Onceyoucreatethepathandfolderinformationforthevirtualmachines,youshouldnotchangeitwithin vCenter.AnychangesyoumakeinvCenterwillcauseproblemsforVMwareViewManagerwhenit attemptstolookupvirtualmachinesinvCenter.Ifchangesareneeded,itisabestpracticetochangethe folderinformationfromViewManageradministratorinterface. Whencreatingmorethan120virtualmachinesasdesktops,makesuretoeditthevSwitchsettingsonthe ESXhosttoaccommodatethenumberofportsneededforthevirtualmachines.BydefaultESXis configuredfor120ports. ViewComposerreliesondynamicnameresolutionforcommunicatingwithotherhosts.Makingsurethat DNSresolutionisoperatingcorrectlywillhelpovercomeintermittentissuesthatmightotherwisebeseen becauseofDNSerrors.Asatest,pingtheADserverandtheViewConnectionServerhostbynametotest DNSoperation. VMwarehighlyrecommendsthatyouusesuchVMwareInfrastructurefeaturesasVMwareDistributed ResourceScheduler(DRS).DRSensuresthatvirtualmachinesaredistributedefficientlyamongyour hosts. VMwarerecommendsthatyoustaggerruntimesforyourantivirussoftware.Iftheantivirussoftware runsinsidealllinkedclonesatthesametime,youseeexcessiveIOPSinyourstoragesubsystem. Whendeployingthedesktopsinaresourcepool,besurethatyourVMwareInfrastructureenvironment hasenoughcomputeresources(CPUandmemory)tohosttherequirednumberofdesktops.Currently thereisnowaytotellifaresourcepoolisavailableorfullfromtheVMwareViewAdministratorportal. WhenusingViewComposer,payattentiontothelimitofeighthostspercluster.Youmayneedtobuild manysucheighthostclustersforalargerenvironment. VMwarerecommendsthatyoubackuptheADAMdatabasemanuallyonaregularbasis.
VMware, Inc.
ViewComposercreatestheuserdatadiskwhenthedesktopisprovisionedanddestroysitwhenthe desktopisdeletedfromthedatacenter.Takecaretopreservetheuserdataandprofilesstoredonthisdisk incasetheyareneededafterthedesktopisremoved.Asabestpractice,youshouldkeeptheuserdata diskonadatastoreseparatefromthevirtualmachinesystemdisk.Thisallowsyoutobackupthewhole LUNthatholdsuserdatadisks.Youshouldbackupthedatastorethatholdsuserdatadisksregularly. Youshouldsavedataonthemappingofuserstovirtualmachinesonaregularbasis.Thisinformationis alsoavailableintheADAMdatabase,andyoucanachievethegoalofsavingthemappingdatabybacking uptheADAMdatabaseatregularintervals. Youshouldusescriptingtoolstoprepareforthepossibilityofvirtualmachinefailure.Ifonevirtual machinefails,yourscriptshouldassociatetheuserdatadiskwiththenewvirtualmachinecreatedto replaceit.Forstepstorestoretheuserdatadisk,seeAppendix:AssociatingaUserDataDiskwithaNew LinkedCloneonpage 6. Sizetheuserdatadiskbeforecreatingdesktoppools.ViewComposerallowsonlyoneuserdatadiskper virtualmachine.Oncetheuserdatadiskisprovisioned,itcannotbeexpandeddynamically.
VMware, Inc.
Conclusion
ViewComposerprovidescapableimagemanagementtoolsthathelpyouperformpatchandoperatingsystem management.Featuressuchasrefreshandrecomposeofferextraflexibility.BecauseViewComposeris integratedwithViewManager,itiseasytouseaswellaspowerful. TobesttakeadvantageoftheverypowerfultoolsinViewComposer,youshouldinvesttimeandthoughtin planningbeforeyoudeployViewComposer.UnderstandingthewayViewComposerinteractswiththerest oftheinfrastructurehelpsyouleveragethesetoolswithoutcausingproblemsafterthedeploymentisfully operational.
7 8 9
If you have comments about this documentation, submit your feedback to: docfeedback@vmware.com VMware, Inc. 3401 Hillview Ave., Palo Alto, CA 94304 www.vmware.com Copyright 2009 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware, the VMware boxes logo and design, Virtual SMP, and VMotion are registered trademarks or trademarks of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies. Revision: 20090312 Item: BP-088-PRD-01-01