This article describes Horizon View 7 publishing Win10 desktops via linked clones, for the environment preparation and instant cloning section, see the first two articles in this article (Environment preparation: http://jiangjianlong.blog.51cto.com/3735273/ 1875591. Instant Clone Desktop Pool configuration: http://jiangjianlong.blog.51cto.com/3735273/1876060). Link cloning is a traditional feature of Horizon view, which has not changed much in Horizon View 7, and the configuration method is similar to the previous version. Let's start by recalling what a link clone is:
I. Introduction of link cloning
With View Composer link cloning, you can quickly create desktop images that share virtual disks with the master image, help conserve disk space, and simplify the management of patches and updates to the operating system. When we create a linked-clone desktop pool, View Composer generates a linked-clone virtual machine from a snapshot of a parent virtual machine, and then uses a linked-clone virtual machine to share a base system disk image, so the virtual desktop uses less storage space than a full virtual computer. About link cloning has more important three daily maintenance functions: Refresh, refactoring and balance, this is also highlighted here, but the focus of this article is to publish the WIN10 desktop, temporarily do not involve the testing of these three functions.
Refresh:
as users interact with linked clones, the cloned operating system disks grow. A computer refresh operation reduces storage costs by restoring the operating system disk to its original state and size.
The refresh operation does not affect the View Composer permanent disk.
when View Composer creates a linked clone, it takes a snapshot of the cloned operating system disk. The snapshot uses a unique identifier to label this link to clone the virtual machine. The refresh operation restores the operating system disk to the snapshot.
■ View Composer The time it takes to refresh a linked clone is only half the time it takes to delete and recreate the clone.
Refactoring:
in a refactoring operation, you can batch update a parent virtual machine to all virtual desktops generated through a linked clone, such as patching, installing or upgrading software, or modifying the virtual machine hardware settings for all linked clones in the desktop pool.
You can change the parent virtual machine without affecting the linked clone, because the linked clone is linked to the replica virtual machine instead of directly to the parent virtual machine.
Refactoring also refreshes the linked clones, reducing the size of their operating system disks.
refactoring does not affect the View Composer permanent disk.
Re-balance:
rebalancing distributes linked-clone virtual machines evenly between available data stores to conserve storage space on overloaded drives and ensure that all drives are fully utilized.
You can also use the rebalance operation to migrate a linked-clone virtual machine to another data store. Do not use VSphere Client or vCenter Server to migrate or manage linked-clone virtual machines, and do not use Storage vMotion to migrate linked-clone virtual machines to other data stores.
Confirm that desktop pool provisioning is enabled. When pool provisioning is disabled,View stops customizing these virtual machines after the virtual machine is rebalanced.
Rebalancing also refreshes the linked clones, reducing the size of their operating system disks. This does not affect the View Composer permanent disk.
II. deployment Environment
650) this.width=650; "title=" environment. png "alt=" Wkiol1g2fvggszrdaaca2w9gfco153.png "src=" http://s4.51cto.com/wyfs02/M02/ 8a/a3/wkiol1g2fvggszrdaaca2w9gfco153.png "/>
Iii. creating a linked-Clone desktop pool
Next we will create and configure a linked-Clone desktop pool. The original source of this article: Jiangjianrong Technical Blog http://jiangjianlong.blog.51cto.com/3735273/1876536
1. Click the Add button on the desktop pool to open the wizard to add a desktop pool. Because of my limited environmental resources, I disabled the instant Clone desktop pool that I created before I created the linked-Clone desktop pool
650) this.width=650; "Width=" 1008 "height=" 386 "title=" 01.png "style=" Width:725px;height:329px;float:none; "alt=" Wkiom1g2yquqz9bpaadrulql6e4868.png "src=" Http://s2.51cto.com/wyfs02/M02/8A/A6/wKiom1g2YQuQZ9BpAADRuLqL6e4868.png "/>
2. In the wizard to add a desktop pool, select Automatic Desktop Pool
650) this.width=650; "Width=" 858 "height=" 727 "title=" 02.png "style=" Width:727px;height:642px;float:none; "alt=" Wkiol1g2yrtjkmnoaaeohpowqkw210.png "src=" Http://s5.51cto.com/wyfs02/M02/8A/A2/wKioL1g2YRTjKmNoAAEOhpOwQkw210.png "/>
3, in the user assignment here Select dedicated, and tick enable automatic assignment, the right side already have these two options of description, I will not repeat
650) this.width=650; "width=" 859 "height=" 711 "title=" 03.png "style=" Width:729px;height:629px;float:none; "alt=" Wkiom1g2yrvabsnoaad7wlmy92w087.png "src=" Http://s3.51cto.com/wyfs02/M00/8A/A6/wKiom1g2YRvAbsnOAAD7wlmy92w087.png "/>
4. Select the View Composer link clone and select Vcenter Server and view Composer in the list
650) this.width=650; "Width=" 863 "height=" 717 "title=" 04.png "style=" Width:729px;height:646px;float:none; "alt=" Wkiom1g2ystwxr_maaesbpcgrpw471.png "src=" Http://s1.51cto.com/wyfs02/M01/8A/A6/wKiom1g2YSTwXr_MAAESbPcGRpw471.png "/>
5. Enter the ID and display name of the pool in the desktop pool identity
650) this.width=650; "Width=" 860 "height=" 716 "title=" 05.png "style=" Width:729px;height:632px;float:none; "alt=" Wkiol1g2ys3jmcdaaadzownpxi4466.png "src=" Http://s1.51cto.com/wyfs02/M01/8A/A2/wKioL1g2YS3jMcdaAADzownpxI4466.png "/>
6. In the desktop pool settings, tick enable HTML access to support browser access to the desktop, other settings can be set on demand
650) this.width=650; "Width=" 857 "height=" 713 "title=" 06-1.png "style=" Width:725px;height:648px;float:none; "alt=" Wkiom1g2ytoc4flvaaeh8evex8k000.png "src=" Http://s1.51cto.com/wyfs02/M01/8A/A6/wKiom1g2YTOC4flVAAEh8EVEx8k000.png "/>
7. In provisioning settings, choose to use a naming pattern, {n:fixed=3} represents automatic numbering from 001-999, and other about desktop pool sizing and provisioning schedules can be set on demand
650) this.width=650; "Width=" 860 "height=" 713 "title=" 07.png "style=" Width:726px;height:625px;float:none; "alt=" Wkiol1g2ytib-zmxaaeq7_hbw9y369.png "src=" Http://s4.51cto.com/wyfs02/M01/8A/A2/wKioL1g2YTiB-zMXAAEq7_hbW9Y369.png "/>
8, set the permanent disk and a one-time redirection disk, the disk size can be set on demand, here is the default settings OK
650) this.width=650; "Width=" 857 "height=" 718 "title=" 08.png "style=" Width:727px;height:638px;float:none; "alt=" Wkiom1g2ytuaj98raaeuyqi5rs0970.png "src=" Http://s2.51cto.com/wyfs02/M02/8A/A6/wKiom1g2YTuAj98rAAEUYQi5RS0970.png "/>
9, storage optimization is mainly about the use of Vsan, my environment is not directly next
650) this.width=650; "Width=" 857 "height=" 716 "title=" 09.png "style=" Width:728px;height:620px;float:none; "alt=" Wkiol1g2yucsmjxoaaeamctr9nc865.png "src=" Http://s3.51cto.com/wyfs02/M02/8A/A2/wKioL1g2YUCSmJxOAAEAmCTr9Nc865.png "/>
10, vcenter Settings, click Browse to select the parent virtual machine, snapshot, Virtual machine folder location, host or cluster, resource pool, data storage, in the first environment preparation, we have prepared a parent virtual machine for linked clones in the cluster win10-02
650) this.width=650; "Width=" 861 "height=" 724 "title=" 10-1.png "style=" Width:729px;height:643px;float:none; "alt=" Wkiom1g2yutssyi5aaew11xxcds857.png "src=" Http://s5.51cto.com/wyfs02/M02/8A/A6/wKiom1g2YUTSSyI5AAEW11XXCDs857.png "/>
11. Advanced storage options are primarily used to improve performance and reclaim disk space, where the default setting is the next step.
650) this.width=650; "Width=" 860 "height=" 713 "title=" 11.png "style=" Width:730px;height:614px;float:none; "alt=" Wkiol1g2yuit4ep-aafsrxcgudw322.png "src=" Http://s3.51cto.com/wyfs02/M02/8A/A2/wKioL1g2YUiT4eP-AAFSrxcgUdw322.png "/>
12. Select an ad container to place the computer account and tick allow to re-use the existing computer account
650) this.width=650; "width=" 773 "height=" 647 "title=" 12.png "style=" width:732px;height:631px; "alt=" wKioL1g2_ Yji7alzaadeoz38flk336.png "src=" Http://s3.51cto.com/wyfs02/M00/8A/AB/wKioL1g2_Yji7AlZAADeoz38fLk336.png "/>
13, will be completed, check the error after clicking Finish
650) this.width=650; "Width=" 858 "height=" 715 "title=" 13.png "style=" Width:731px;height:620px;float:none; "alt=" Wkiol1g2yvrwx0nyaaet_ppo4dg464.png "src=" Http://s2.51cto.com/wyfs02/M00/8A/A2/wKioL1g2YVrwX0NYAAET_ppo4Dg464.png "/>
650) this.width=650; "Width=" 863 "height=" 734 "title=" 14.png "style=" Width:732px;height:659px;float:none; "alt=" Wkiol1g2yagqpypcaafnfarak9y215.png "src=" Http://s5.51cto.com/wyfs02/M00/8A/A2/wKioL1g2YaGQPypCAAFNfarak9Y215.png "/>
650) this.width=650; "width=" 855 "height=" 727 "title=" 15.png "style=" Width:730px;height:642px;float:none; "alt=" Wkiom1g2ya7hhzj1aaedl6uthsy270.png "src=" Http://s5.51cto.com/wyfs02/M01/8A/A6/wKiom1g2Ya7hhzJ1AAEDl6uThsY270.png "/>
14, Desktop Pool 02 is created successfully, the virtual desktop will be created according to the settings of the pool
650) this.width=650; "width=" 912 "height=" 390 "title=" 16-1.png "style=" Width:731px;height:309px;float:none; "alt=" Wkiol1g2ybeycs7eaad9cwusnjg798.png "src=" Http://s1.51cto.com/wyfs02/M01/8A/A2/wKioL1g2YbeycS7EAAD9cWUsNJg798.png "/>
15. Click the desktop pool ID to access the desktop pool to view information about the desktop pool
650) this.width=650; "Width=" 916 "height=" 639 "title=" 17.png "style=" Width:729px;height:519px;float:none; "alt=" Wkiol1g2yclwji-waagk2cw7j1u850.png "src=" Http://s2.51cto.com/wyfs02/M01/8A/A2/wKioL1g2YcLwjI-WAAGK2Cw7j1U850.png "/>
650) this.width=650; "Width=" 911 "height=" 632 "title=" 18.png "style=" Width:730px;height:549px;float:none; "alt=" Wkiom1g2ycxw4nwvaacoojni5cc494.png "src=" Http://s4.51cto.com/wyfs02/M02/8A/A6/wKiom1g2YcXw4nWvAACOOjNI5cc494.png "/>
16, at the computer can see 2 desktop, one is already available, another is customizing
650) this.width=650; "Width=" 1065 "height=" 444 "title=" 19-1.png "style=" Width:732px;height:296px;float:none; "alt=" Wkiom1g2ycqhoavfaaehfpbezho844.png "src=" Http://s1.51cto.com/wyfs02/M02/8A/A6/wKiom1g2YcqhoAVFAAEHfPbEZho844.png "/>
17. You can also see 2 permanent disks in use in a permanent disk
650) this.width=650; "Width=" 1085 "height=" 420 "title=" 22.png "style=" Width:731px;height:336px;float:none; "alt=" Wkiom1g2ydailcv4aadszvb7raq714.png "src=" Http://s2.51cto.com/wyfs02/M00/8A/A6/wKiom1g2YdailcV4AADSZVB7RaQ714.png "/>
18, Login vcenter can also see two newly generated virtual machines 02win10-001 and 02win10-002
650) this.width=650; "Width=" 848 "height=" 519 "title=" 20.png "style=" Width:729px;height:467px;float:none; "alt=" Wkiol1g2ydcsxmvdaacyr4arv9i480.png "src=" Http://s1.51cto.com/wyfs02/M02/8A/A2/wKioL1g2YdCSxmVdAACYR4Arv9I480.png "/>
650) this.width=650; "Width=" 849 "height=" 515 "title=" 21.-1png.png "style=" Width:728px;height:453px;float:none; "alt = "Wkiol1g2ydpcczo8aadfgolef2e007.png" src= "Http://s2.51cto.com/wyfs02/M02/8A/A2/wKioL1g2YdPCczo8AADFGoLEF2E007.png"/>
18, to the desktop Pool 02 licensing, grant group VIEW7GRP02 access rights, the group has USER03 and user04 two domain users
650) this.width=650; "title=" 23.png "style=" Float:none; "alt=" wkiom1g2ydvzdkryaaciisyj97e861.png "src=" http:/ S3.51cto.com/wyfs02/m00/8a/a6/wkiom1g2ydvzdkryaaciisyj97e861.png "/>
650) this.width=650; "Width=" 920 "height=" 391 "title=" 24.png "style=" Width:730px;height:356px;float:none; "alt=" Wkiol1g2yegyf336aad2rg0vouq327.png "src=" Http://s4.51cto.com/wyfs02/M00/8A/A2/wKioL1g2YeGyF336AAD2Rg0vOUQ327.png "/>
Iv. Win10 Desktop Pool access Testing
The original source of this article: Jiangjianrong Technical Blog http://jiangjianlong.blog.51cto.com/3735273/1876536
1, VMware Horizon Client Login connection server, enter user03 and password, click Login
650) this.width=650; "title=" 01.PNG "style=" Float:none; "alt=" wkiol1g2f2lghvjuaad2s8unnac154.png "src=" http:/ S1.51cto.com/wyfs02/m01/8a/a3/wkiol1g2f2lghvjuaad2s8unnac154.png "/>
2, login can see the access to the desktop pool, that is, Win10 linked clone desktop pool
650) this.width=650; "title=" 02-1.png "style=" Float:none "alt=" wkiom1g2f2fte-beaacvlwjj-my640.png "src=" http:/ S1.51cto.com/wyfs02/m00/8a/a7/wkiom1g2f2fte-beaacvlwjj-my640.png "/>
3, enter the desktop pool, the connection server will be assigned a desktop and log on to the desktop user03
650) this.width=650; "Width=" 882 "height=" 594 "title=" 03.PNG "style=" Width:730px;height:479px;float:none; "alt=" Wkiom1g2f3hdrtyeaart52l4x1w595.png "src=" Http://s3.51cto.com/wyfs02/M02/8A/A7/wKiom1g2f3HDrTyEAARt52l4X1w595.png "/>
4. Successfully enter WIN10 desktop
650) this.width=650; "width=" 850 "height=" 545 "title=" 04-1.png "style=" Width:729px;height:473px;float:none; "alt=" Wkiol1g2f3ab6yipaatfxuwlv3y223.png "src=" Http://s1.51cto.com/wyfs02/M02/8A/A3/wKioL1g2f3aB6YiPAATfXUWLv3Y223.png "/>
5. Use the browser to access the FQDN of the connection server, click VMware Horizon HTML Access on the right, test access to the WIN10 desktop using a browser, enter user04 and password to log in
650) this.width=650; "Width=" 824 "height=" 631 "title=" 05-1.png "style=" Width:731px;height:550px;float:none; "alt=" Wkiom1g2f3eqop-aaadrmrc1esc545.png "src=" Http://s4.51cto.com/wyfs02/M01/8A/A7/wKiom1g2f3eQoP-AAADRMRc1Esc545.png "/>
6, login can see the access to the desktop pool, that is, Win10 linked clone desktop pool
650) this.width=650; "Width=" 751 "height=" 495 "title=" 06-1.png "style=" Width:731px;height:466px;float:none; "alt=" Wkiol1g2f3jxlhfoaac6aunilks825.png "src=" Http://s4.51cto.com/wyfs02/M01/8A/A3/wKioL1g2f3jxlHfoAAC6AUniLks825.png "/>
7, enter the desktop pool, the connection server will be assigned a desktop for the login
650) this.width=650; "Width=" 755 "height=" title= "07.PNG" style= "Width:729px;height:479px;float:none;" alt= " Wkiom1g2f3usoiywaaoz_gi_hd0764.png "src=" Http://s2.51cto.com/wyfs02/M02/8A/A7/wKiom1g2f3uSOiYwAAOz_gI_HD0764.png "/>
8. Successfully log into WIN10 desktop
650) this.width=650; "Width=" 751 "height=" "title=" "08-1.png" style= "Width:726px;height:482px;float:none;" alt= " Wkiol1g2f32bneocaar5gkhfxhy458.png "src=" Http://s2.51cto.com/wyfs02/M02/8A/A3/wKioL1g2f32BneOcAAR5GkhFxhY458.png "/>
9, in the View Management console session, we can see 2 users logged in to the desktop pool related session information
650) this.width=650; "width=" 816 "height=" 388 "title=" 26-1.png "style=" Width:722px;height:357px;float:none; "alt=" Wkiol1g2yeibsdmgaab3lg873e0083.png "src=" Http://s5.51cto.com/wyfs02/M00/8A/A2/wKioL1g2YeiBsdMgAAB3LG873e0083.png "/>
10, in the computer, we can see that the desktop pool is automatically provisioned a new desktop for backup, because we set in Pool 02 "standby (Power-powered) Computer" number is 1
650) this.width=650; "Width=" 959 "height=" "title=" 25.png "style=" Width:722px;height:336px;float:none; "alt=" Wkiom1g2yexgnbdnaaegr6gacmc206.png "src=" Http://s4.51cto.com/wyfs02/M01/8A/A6/wKiom1g2YeXgnBDnAAEGR6GACmc206.png "/>
11, finally log off the desktop, linked clones do not like instant cloning will be removed after the virtual machine, log off after the virtual desktop status will be displayed as available, but can also be set in the pool to refresh the desktop after logging, the effect is equivalent to System Restore
650) this.width=650; "Width=" 753 "height=" 499 "title=" 09.PNG "style=" Width:726px;height:479px;float:none; "alt=" Wkiol1g2f4azqcmcaaopgs6fp4q186.png "src=" Http://s2.51cto.com/wyfs02/M00/8A/A3/wKioL1g2f4azqcmcAAOPgS6FP4Q186.png "/>
650) this.width=650; "Width=" 738 "height=" 438 "title=" 10.PNG "style=" Width:724px;height:433px;float:none; "alt=" Wkiol1g2f47gp03saajhv_ildoi458.png "src=" Http://s5.51cto.com/wyfs02/M00/8A/A3/wKioL1g2f47gP03sAAJhv_ILdoI458.png "/>
650) this.width=650; "Width=" 849 "height=" 545 "title=" 11.PNG "style=" Width:725px;height:457px;float:none; "alt=" Wkiom1g2f5dzm5snaab4ssplz8k004.png "src=" Http://s2.51cto.com/wyfs02/M01/8A/A7/wKiom1g2f5DzM5SNAAB4ssplZ8k004.png "/>
650) this.width=650; "Width=" 755 "height=" 501 "title=" 12-1.png "style=" Width:723px;height:482px;float:none; "alt=" Wkiom1g2f5wijrt_aadcqqyr0ya004.png "src=" Http://s4.51cto.com/wyfs02/M01/8A/A7/wKiom1g2f5WiJRt_AADcQQYR0YA004.png "/>
This article is from the "Jiangjianrong Technology blog" blog, make sure to keep this source http://jiangjianlong.blog.51cto.com/3735273/1876536
Horizon View 7 released WIN10 Desktop III: Linked-Clone Desktop pool configuration