Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 18 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
18
Dung lượng
862,25 KB
Nội dung
VMware, Inc. 91 Chapter 5 Client Management VirtualPrintingconsistsofaguestcomponent(.printClient)whichresideswithinthe ViewClientorViewClientwithOfflineDesktopapplication,andahostcomponent (.printEngine)whichispartoftheViewAgentserviceontheViewManagerdesktop. Jobsaresentby.printEngineto.printClientoveranRDPconnection. Whereaus erhasadministrativeprivileges,printerdriverscanstillbeinstalledonthe ViewManagerdesktop;thisactiondoesnotinterferewiththevirtualprinting component. To configure a virtual printer instance on the View Manager desktop 1ClickStart>Settings>PrintersandFaxes.ThePrintersandFaxeswindowis displayed. 2Right‐clickanyofthelocallyav ailableprintersandselectPropertiesfromthe contextmenu.Youarepresentedwiththeprintpropertieswindowassociatedwith theselectedprinter. 3 SelecttheThinPrintDeviceSetuptab. 4Usingtheslider,selectanoptionforprintdatacompression: Noimages—Onlytextisprinted. Extreme—Imagesarecompressedwithmaximumpossiblecompressionrate withoutregardtoimagequality. Maximum—Imagesarecompressedwithgoodquality. Optimal—Imagesarecompressedwithoptimalquality. Normal EnableordisabletheduplexandShowtrayselectioncheckboxesasrequired. 5 SelecttheGeneraltabandclickPrintingPreferences. 6Editthepageandcolorsettings;thedefaultvaluesareacquiredfromthehost printer. N OTEOnanofflinedesktop,.printEngineusesanamedpipe(Com1:)topassprint datato.printClient. View Manager Administration Guide 92 VMware, Inc. 7ClicktheAdvancedtab.Iftheprinterinstalledonthehostsupportstheseoptions, editthefollowingsettingsfordouble‐sidedprinting:Longedgeforportraitor Shortedgeforlandscapeprinting. Toprevieweachprintoutonthehost,enablePreviewonclientbeforeprinting. Fromthispreview,youcanuseanyprin terwithallitsavailableproperties. 8ClicktheAdjustmenttabtoviewtheautomaticprintadjustmentoptions.VMware recommendsthatyouretainthedefaultsettings. 9ClickApplyorOK.ClickOKtoclosetheprintpropertieswindow. VMware, Inc. 93 6 TheViewComposerfeatureprovidesaversatileandhighlystorage‐efficient alternativetocreatingandmanagingmanystandalonevirtualmachines.Thischapter providesanoverviewofViewComposerfunctionalityofViewManager. Inadditiontoofferingaconceptualoverviewofhowlinkedclonedesktopsarecreated withinVirtualCenterbyViewComposerandmanagedbyVi ewManager,the followingsectionsdescribehowtoprepareVirtualCenterandabasevirtualmachine imageforuseinaViewComposerdeployment. Thischapterdiscussesthefollowingtopics: “OverviewofViewComposer”onpage 93 “PreparingVirtualCenterforViewComposer”onpage 102 “PreparingaParentVM”onpage 106 “DeployingLinkedCloneDesktopsfromViewManager”onpage 108 “Refreshing,Recomposing,andRebalancingLinkedCloneDesktops”onpage 116 “UsinganExistingLinkedCloneDesktopDatabase”onpage 120 Overview of View Composer TheViewComposerfeatureenablesViewManageradministratorstorapidlycloneand deploymultipledesktopsfromasinglecentralizedbaseimage,calledaParentVM. Oncethedesktopshavebeencreatedtheyremainindirectlylinkedtoasnapshot residingontheParentVM. View Composer 6 View Manager Administration Guide 94 VMware, Inc. Thelinkisindirectbecausethefirsttimeoneormoredesktopclonesarecreated,a uniquelyidentifiedcopyoftheParentVM—calledareplica—isalsocreated.Allthe desktopclonesareanchoreddirectlytothereplicaandnottotheParentVM.Desktops ofthistypearecalledlinkedclonede sktops. TheParentVMcanbeupdatedorreplacedwithoutdirectlyaffectingthelinkedclone desktopsandcanthereforecanbeviewedasastandalonevirtualmachine.Thissetof relationshipsisillustratedinFigure 6‐1. Figure 6-1. Parent VM, Linked Replica, and Desktop Clones Becauseallthelinkedclonedesktopsinthisenvironmentareconnectedtoacommon source,ViewComposerpermitsthecentralizedmanagementofdesktopswhile maintainingaseamlessuserexperience.Taskssuchasresettingeachsystemtoits defaultconfiguration,balancingstorage,installingsoftware,andapplyingservice packsaregreatlyacceleratedbythistypeofdeployment. ViewManageradministratorscansimultaneouslyupdate(orchange)theoperating sy stemsofalllinkedclonedesktops,installorupdateclientapplications,ormodifythe desktophardwaresettingsbycarryingouttheseactivitiesontheParentVMandthen anchoringthelinkedclonestoanewsnapshotofthisconfiguration.Thisactioniscalled desktoprecomposition. N OTEIfareplicaisdeletedthedesktopsanchoredtothemwillceasetowork,so replicasaretreatedasprotectedentitieswithinVirtualCenter. base image + snapshot user data disk replica OS data disk user data disk OS data disk parent VM can be on a different datastore clone 1 clone 2 VMware, Inc. 95 Chapter 6 View Composer Administratorscanalsoreturntheoperatingsystemdataofeachlinkedclone desktop—whichmayhaveexpandedthroughongoingusage—toitsoriginalstate (that oftheParentVM)bycarryingoutanactioncalleddesktoprefresh. ViewAdministratordeliversahigh‐leveloverviewofwhatactionsarebeingcarried out.Policiescancontrolwhatactio nsareexecutedandatwhattimeinorderto minimizedisruptiontotheuserbase.Connecteduserscanbenotifiedwithcustom messagesifanupdatethatwillaffecttheirsessionisabouttotakeplace. Linked Clone Desktop Disk Usage Theinitialdiskusageofalinkedclonevirtualmachineisfarlowerthanthatofafull clonebecausetheoperatingsystemandclientapplicationsarederivedfromaParent VM.Thegreatlyreducedstorageoverheadforoperatingsystemanduserdatais accomplishedthroughtheuseofdeltadisksandthinprovision ing. Everynewdesktopcreatedinastandard(non‐linkedclone)automatedpoolisa duplicateofabasetemplate.Consequently,eachstandardcloneusesthesameamount ofdiskspaceasthebasetemplatebecausetheoperatingsystemdataanduserdataof thebasetemplateisreplicatedbyev eryclonecreatedinthepool. ViewComposergreatlyreducesthephysicalstorageoverheadoflinkedclonedesktop poolsthroughuseofdeltadisks:abstractstoragemechanismswhoselogicalsizecanbe greaterthantheirphysicalsize.Thindiskgrowthdependsonfactorssuchasworkload, power‐offpolicy,pooltypeandsoforth. Inali nkedclonedeployment,deltadisksareusedbythedesktoptostorethedata differencebetweenitsownoperatingsystemandtheoperatingsystemoftheParent VMfromwhichitisderived.Immediatelyafterdeployment,thedifferencebetweenthe ParentVMandeachofit slinkedclonesisextremelysmall;thus,thedeltadiskisalso extremelysmall. Becausethedeltadisksforeachdesktopwillinevitablygrowovertime,duringlinked clonedeploymentyoucandefinethemaximumallowablesizeofeachvirtualmachine, uptotheoriginalsizeoftheParentVM.Theamountofdi skspacerequiredtostorethe differencebetweenthelinkedcloneoperatingsystemdataandParentVMoperating systemdatawilltypicallyremainfarsmallerthanthatrequiredbyastandardclone.If thesizeofthedeltadiskgetstoolargeitcanbereturnedtoitsba selinestatebycarrying outadesktoprefresh. N OTELinkedclonescanalsobeanchoredtoanewsnapshotofacompletelydifferent ParentVM. View Manager Administration Guide 96 VMware, Inc. Thinprovisioneddisks(thindisks)areusedbythelinkedclonestostoreuserdata,and arenotlinkedtotheParentVM.Thistypeofdiskoccupiesnomorespacethanthat requiredbythedataitcontainsbutdoesnotreduceinsizeifdataisremoved.These disksarenotaffectedbyrecompositionorrefreshev ents. Storage Overcommit Whenthedatastoreforanewlinkedclonedesktoppoolisbeingassigned, administratorscancontrolhowaggressivelythesystemassignsnewvirtualmachines tothefreespaceavailableonthedatastorebymodifyingthestorageovercommit property. Whenthestorageovercommitlevelislow,themajorityoffreespaceisusedasbuffe r inwhichthedeltadisksforeachclonecanexpand.Astheovercommitlevelincreases, lessspaceisreservedforindividualdeltadiskgrowthbutmorevirtualmachineswill fitonthedatastore. Averyaggressivelevelofstorageovercommitresultsinarelativelysmallamountof spacebeingre servedfordeltadiskexpansion;however,administratorscanaddalotof extravirtualmachinestothedatastoreiftheypredictthatthedeltadisksofeachvirtual machinewillnevergrowtotheirmaximumpossiblesize. Whileahighovercommitlevelmaybeoptimalforcreatingalargenumberofvi rtual machines,adesktoppoolofthistypealsodemandsmoreattentionfromthe administratorinordertoensurethattheremainingdiskspaceisnotcompletely consumedbyvirtualmachineexpansion.Thisconditioncanbepreventedby periodicallyrefreshingorrebalancingthedesktoppoolandreducingthesizeofthe ope ratingsystemdatatoitsbaselinelevel. Storageovercommitlevelscanbevariedbetweendifferenttypesofdatatstoresinorder toaddressthedifferentlevelsofthroughputoneachdatastore(forexample,NAS versusSAN).Wherethroughputisrelativelyslow,theovercommitlevelcanbesettoa lowerleveltoensurethatasmallernu mberofclonesarecreatedonthedatastore. Conversely,ahigherlevelofovercommitcouldbeappliedtodatastoresthatexhibita greaterrateofdatatransfer. Storageovercommitonlyappliestodeltadisks.Itdoesnotapplytouserdisksor standard(nonlinked)cloneswhereth indisksareused. Desktop Recomposition InFigure 6‐2anassigneddesktopcloneislinkedtoreplica1,whichitselfisacopyof ParentVM1.Arecompositionactionisinitiatedwhentheadministratorselectsa differentsnapshotinthesameParentVMordifferentParentVM(asinthisexample). Ineithercaseanewre plicaisprovisioned. VMware, Inc. 97 Chapter 6 View Composer Figure 6-2. Desktop Recomposition Replica2isanexactcopyofParentVM2.Whentherecompositionactioniscomplete thedesktopwillbeanchoredtoreplica2andtheoperatingsystemdatamodified accordingly.Theoperatingsystemdataofarecomposeddesktopisreducedinsizeafter recomposition,howevertheuserdataisunaffectedbythisev ent. Source Virtual Machine Recompositionisexpeditedthroughtheuseofanadditionalprotectedlinkedclone desktopinVirtualCenter—calledasourcevirtualmachine—thatiscreatedalongside thereplicawhenalinkedclonedesktoppoolisfirstdeployed. Whenarecompositioneventtakesplace,thesourcevirtualmachineisthefirstdesktop toberecomposedagainstanewsnapshot.Vi ewComposerremovestheexistinglinked clonedesktoppoolfromVirtualCenterandthencopiesthesourcevirtualmachineas manytimesasnecessaryinordertoreplaceit. Thismethodofpoolgenerationoptimizestherecompositionprocessandistypically muchfasterthanindividuallyrecomposingeachlinkedcl onedesktopinthepool. N OTEThesourcevirtualmachineislocatedwiththereplicainsideafoldercalled VMwareViewComposerReplicaFolderinVirtualCenter. base image + snapshot bloated OS data disk refreshed OS data disk user data disk user data disk replica 2— new base image after recomposition replica 1 parent VM 1 base image + snapshot parent VM 2 recompose View Manager Administration Guide 98 VMware, Inc. Desktop Refresh Adesktoprefreshissimilartoadesktoprecompositionbutwithoutanychangetothe baseimage.Thisactioniscarriedoutinordertorestorethesystemdataforadesktop pooltoabaselinestateandtherebyreducethesizeoftheoperatingsystemdataofeach attachedclone. Ade sktoprefreshcanbecarriedouteitherondemand,asatimedevent,orwhenthe operatingsystemdatareachesaspecifiedsize.Figure 6‐3illustratestheeffectofthis action—notethattheuserdatadiskremainsunaffectedbythisevent. Figure 6-3. Desktops Refresh Itisimportanttooccasionallyrefreshtheattachedsy stemsinordertopreventthe desktopclonesgrowingtothesizeofafullvirtualmachine.Ifalltheanchoredvirtual machinesarelefttogrowuncheckedthenallfreespaceremainingonthedatastore couldberapidlyconsumed—particularlyifthestorageovercommitlevelisparticularly aggressive. Desktop Rebalance Alogicaldriveisastructurecreatedonasubsystemfordatastoragethatisdefinedover asetofdrivescalledanarray.Logicaldrives—oftenreferredtoasLUNs,whichstands forLogicalUnitNumberandrepresentstheidentifierahostusestoaccessthelogical drive—arethelogicalsegmentationofarrays. base image + snapshot replica 1 parent VM refresh user data disk bloated OS data disk refreshed OS data disk user data disk VMware, Inc. 99 Chapter 6 View Composer IfadministratorsarecreatinglargepoolsofdesktopsandareusingmultipleLUNs, thereisapossibilitythatthespaceisnotbeingusedefficientlyiftheinitialsizingwas inaccurate.Figure 6‐4showsanumberofvirtualdesktops,distributedunevenlyover twoLUNs. Figure 6-4. Desktop Rebalance – Before base image + snapshot OS data disk user data disk replica 1 parent VM LUN A OS data disk user data disk OS data disk user data disk OS data disk user data disk replica 2 LUN B free space View Manager Administration Guide 100 VMware, Inc. RebalancingtheLUNsevenlydistributesanyselected(orall)virtualmachinesbetween theavailablelogicaldriv es.ThisresultofthisactionisillustratedinFigure 6‐5. Figure 6-5. Desktop Rebalance – After base image + snapshot user data diskOS data disk replica 1 parent VM LUN A user data disk OS data disk user data diskOS data disk user data disk OS data disk replica 2 LUN B free space free space [...]... data source name (DSN) must be created in order to store linked clone desktops 102 VMware, Inc Chapter 6 View Composer Adding the View Composer Service to VirtualCenter View Composer is used by View Manager to create and deploy linked clone desktops from VirtualCenter. During the installation of the service you are offered the opportunity to specify which port the service should use to communicate with View Connection Server. If Windows firewall is running on the VirtualCenter system you ... Administration Guide VirtualCenter User Permissions If the View Manager user is not an administrator in VirtualCenter you must assign a role to the VirtualCenter user entry in order to confer upon it the appropriate level of authority over the objects it creates and manages In addition to the standard privileges described in “VirtualCenter Permissions for View Manager Users” on page 36, the View Composer service requires that you enable some ... The installation wizard opens. Click Next 2 VMware, Inc Accept the VMware license terms and click Next 107 View Manager Administration Guide 3 Choose your custom setup options. You must install the View Manager Composer Agent, however you may also select or deselect the following features: Install the View Secure Authentication component if you want to install the Graphical Identification and Authentication (GINA) dynamic‐link library. ... 1 06 VMware, Inc Chapter 6 View Composer System disk contains a single volume (multiple virtual disks are supported) CAUTION Do not attempt to deploy clones from a Parent VM that contains more than one volume as the result of disk partitioning. Multiple partitions are not supported by the View Composer service The View Agent service is installed and is running NOTE For automated updating of View Agent in large environments, VMware ... ipconfig /release Installing the View Agent on the Parent VM If it is not already present, you must install the View Agent on the Parent VM in order to allow the View Connection Server to communicate with the desktop clones created from the base image To install View Agent 1 Run the View Agent installation program, where xxx is the build number of the executable file: VMware-viewagent-xxx.exe The installation wizard opens. Click Next... User for View Composer View Composer requires the credentials of domain user account with the requisite level of domain administration authority to add systems to a domain. While you may use an existing domain administrator account for this role, it is strongly recommended that your Active Directory administrator creates a user account specifically for this purpose VMware, Inc 103 View Manager Administration. .. In the Server field, enter the server details in the form \, where is the name of the host system and is the SQL Server instance. For example: VCHOST1\SQLEXP_VIM Click Next VMware, Inc 105 View Manager Administration Guide 6 Ensure that the Connect to SQL Server to obtain default settings for the additional configuration options checkbox is selected and select one of the following options: If you are using local SQL Server, select Windows NT authentication. It is also ... This can help minimize the space requirements of the pool. Similarly, non‐persistent pools can be set to delete after first use, which reduces the number of inactive desktops in the pool overall VMware, Inc 101 View Manager Administration Guide QuickPrep QuickPrep is a system tool executed by View Composer during a linked clone desktop deployment that is responsible for personalizing each desktop created from the Parent VM. During the initial startup of each new desktop, QuickPrep ensures that the system ... Once View Agent has been installed on the base image you must use VirtualCenter to take a snapshot of the system in its powered‐down state. This snapshot will be used as the baseline configuration for the first set of linked clone desktops anchored to the Parent VM NOTE The Parent VM must be completely shut down before you take the snapshot Deploying Linked Clone Desktops from View Manager View Manager can only deploy linked clone desktops if it is able to communicate with ... must add this port to the exception list or deactivate the local firewall service. The following procedure describes how to install the View Composer service on the VirtualCenter server, and configure it to use a datasource that is dedicated to the storage of linked clones Install the View Composer Service 1 Run the View Composer service installation program, where xxx is the build number of the executable file: VMware-viewcomposer-xxx.exe 2 Accept the VMware license terms and click Next . name>,where<hostname>isthenameofthehostsystemand<databa se>isthe SQLServerinstance.Forexample: VCHOST1SQLEXP_VIM ClickNext. N OTEIfaSQLserverdoesnotresideontheVirtualCenterhostsystemorelsewhere withinyourenvironmentyoumustinstalloneasthe View Composerserviceinstaller doesnotincludeadatabase. View Manager Administration Guide 1 06 VMware, Inc. 6EnsurethattheConnecttoSQLServertoobtaindefaultsettingsforthe additionalconfigurationoptionscheckboxisselectedandselectoneofthe followingoptions: . Ifonedoesnotalreadyexistwithinyournetworkenvironment,adatabaseand datasourcename(DSN)mustbecreatedinordertostorelinkedclonedesktops. VMware, Inc. 103 Chapter 6 View Composer Adding the View Composer Service to VirtualCenter View Composerisusedby View Manager tocreateanddeploylinkedclonedesktops fromVirtualCenter. Composer View Composerrequiresthecredentialsofdomainuseraccountwiththerequisitelevel ofdomain administration authoritytoaddsystemstoadomain.Whileyoumayusean existingdomainadministratoraccountforthisrole,itisstronglyrecommendedthat yourActiveDirectoryadministratorcreatesauseraccountspecificallyforthispur pose. View Manager Administration Guide 104 VMware, Inc. VirtualCenter User Permissions Ifthe View Manager userisnotanadministratorinVirtualCenteryoumustassigna roletotheVirtualCenteruserentryinordertoconferuponittheappropriatelevelof authorityovertheobjectsitcreatesandmanages. Inadditiontothestandardprivilegesdescribedin“VirtualCenterPermissionsfor View Manager Us ers”onpage