设为首页 收藏本站
查看: 1021|回复: 0

[经验分享] VMware Horizon View 7: Instant Clone Desktop Pool [Part 8]

[复制链接]

尚未签到

发表于 2018-6-3 08:29:16 | 显示全部楼层 |阅读模式
  In Part 8 of this Boring series I will be setting up an Instant Clone Desktop Pool. This is one of the coolest features announced of Horizon 7 in my opinion! You may have heard of Project Fargo (aka vmFork) announced during the keynote speech of VMworld 2014. This is the result of that project! Instant Clone gives you the ability to rapidly deploy VMs (children) from a already powered on and running VM (parent). The child clones share the memory and disk of the parent for Reads while Writes are placed in a delta disk. To read more about Instant Clone technology check out this VMware Blog post.
  

  vBoring Blog Series:

  •   VMware Horizon View 7: Deployment and Installation
  •   VMware Horizon View 7: Apply SSL Certificates
  •   VMware Horizon View 7: Create Events Database
  •   VMware Horizon View 7: Add Microsoft RDS Farm
  •   VMware Horizon View 7: Setup Remote Access through Security Server
  •   VMware Horizon View 7: Create Master Desktop Template
  •   VMware Horizon View 7: Automated Desktop Pool
  •   VMware Horizon View 7: Instant Clone Desktop Pool
Creating the Instant Clone Template:
  For a guide to setup your Master Template follow my previous post: https://www.virtuallyboring.com/vmware-horizon-view-7-create-master-desktop-template/
  There are a few additional stipulations that needs to be met:

  •   Windows 7 and Windows 10 are the only supported operating systems for Instant Cloning
  •   Only VSAN and VMFS datastores are supported; NFS and local storage are not allowed
  •   Ensure your template is VM Hardware Version 11
  •   When installing the Horizon View Agent, ensure you enabled the VMware Horizon Instant Clone option:

    • DSC0000.jpg


  

  •   Once you have the template completed, shut it down and create a snapshot of it. The template must be in a powered off state with a snapshot. View Instant Clone setup won’t accept the template unless both are satisfied.

    • DSC0001.jpg


Preparing Horizon View:
  There are two items that need to be configured in the View Admin Console. First an Instant Clone Engine Domain Administrators needs to be defined. Browse to View Configuration -> Instant Clone Domain Admins -> Add.
  The user account you add must have certain Active Directory permissions in order for Instant Clone to work properly. For a list of permissions click here.
DSC0002.jpg

  The last setting that needs to be configured is View Storage Accelerator. Ensure it is enabled by browsing to View Configuration -> Servers -> vCenter Servers tab -> select your vCenter instance then Edit -> Storage tab then check Enable View Storage Accelerator:
DSC0003.jpg

Create Instant Clone Pool:
  With all the required tasks completed above, you are now ready to create the Instant Clone pool! In the View Admin Console, navigate toDesktop Pools -> then click Add:
DSC0004.jpg

  Select Automated Desktop Pool then click Next:
DSC0005.jpg

  Instant Clone Pool requires Floating user assignment. Click Next:
DSC0006.jpg

  Select Instant Clones and your vCenter instance, then click Next:
DSC0007.jpg

  Enter an ID and Display name then click Next:
DSC0008.jpg

  The default settings should be good. You can tweak them depending on your environment. I like to enabled HTML Access. Click Next:
DSC0009.jpg

  Enter a naming pattern for the Clones. For example, my VM names will look like this: VIEW-IC-01, 02, 03, etc…. If you want to have triple digits just use {n:fixed=3}
  Select the max number of VMs you want the pool to have then select how you want them provisioned. If you select Provision machines on demand the VMs won’t be deployed until a user attempts to launch the Instant Clone pool. If Provision all machines up-front is used then the pool will be deployed with number in the Max number of machines field. For my lab I will select the second option so I can play with Instant Clone elasticity.
  Click Next:
DSC00010.jpg

  If you are using VSAN make sure you select Use VMware Virtual SAN. Click Next:
DSC00011.jpg

  Make your selections for each setting. Once finished click Next:
DSC00012.jpg

  Browse to the Active Directory container where you want to place the Clones computer objects. Click Next:
DSC00013.jpg

  Check the box to Entitle users after this wizard finishes. If you are satisfied with the information click Finish:
DSC00014.jpg

  On the Entitlement pop up window, click Add. I created an AD group called G-View-InstantClonePool. Any user assigned to this group will be entitled to an Instant Clone workstation. Click Close:
DSC00015.jpg

  Back in the vSphere Client you may have noticed View created new folders with VMs that are oddly named. Each folder has a purpose for Instant Clones:

  •   ClonePrepInternalTemplateFolder

    •   cp-template-xxxx: This is the template VM that is used to create your Instant Clones. It was created from your master image.

  •   ClonePrepParentVmFolder

    •   cp-parent-xxxx: The number of these VMs should match the number of hosts in your cluster. I have 3 hosts so I have 3 cp-parent VMs. Each ESXi server will have 1 of these powered on and in memory to create the Instant Clone VMs.

  •   ClonePrepReplicaVmFolder

    •   cp-replica-xxxx: This VM is used to create the cp-parent VMs. It is used to provision additional cp-parent VMs.

  •   ClonePrepResyncVmFolder

    •   If you want to update the Clones with a new image it will create a VM in here for staging

DSC00016.jpg

  Once the tasks complete you should see your Instant Clone workstations deployed and showing Available. They are ready for use!
DSC00017.jpg

Elasticity with Instant Clones:
  Now that we have a functioning Instant Clone pool, I thought I’d see how well the pool can expand! I am going to expand my pool of 3 to 50! To do this click Edit while browsing the pool -> Provisioning Settings -> then change the Max number of machines to 50. Note: This will only work if you have selected Provision all machines up-front. Click Ok:
DSC00018.jpg

  And that’s it! Time to watch vCenter pop out massive amounts of VMs. Watching them come online with correct DNS names and IP addresses gives satisfaction
DSC00019.jpg

  Within 4 minutes I had over 20 workstations Online and showing Available!
DSC00020.jpg

  When it finished I was at the 11 minute marker. 11 minutes to have 50 workstations up and ready for use?? That is just insanely awesome!!
DSC00021.jpg

  And now let’s shrink the pool. Click Edit while in the Instant Clone pool -> Provisioning Settings -> now lower the Max number of machines then click Ok:
DSC00022.jpg

  View should start to remove VMs until it reaches the new pool size. View kept the last 5 workstations in the pool. Essentially it doesn’t matter which VMs remain, it’s a floating pool where all machines are the same!
DSC00023.jpg

Updating the Instant Clone Image:
  Updating the Instant Clone environment is almost as easy as the deployment. Go back to your Master Image you used to create the pool and power it back on. Make all the changes you want such as Microsoft Updates or installation of additional applications. Once finished, shut it back down. You can have multiple snapshots on your template VM. If you want to clean it up go ahead and right click the VM, go to Snapshots -> Snapshot Manager. Click Delete All to merge the original snapshot from the initial setup. Once the merge completes right click the VM again, Snapshot -> Take Snapshot. Give it a descriptive name then click Ok:
DSC00024.jpg

  Now that you have a new snapshot of the Master Image, switch back over to the View Admin Console. On your Instant Clone desktop pool click Push Image then click Schedule:
DSC00025.jpg

  Here, you select when the Instant Clone pool gets refreshed with the new snapshot template. You have two options, Force Users to log off will re-provision the entire pool at the set time. The second option is Wait for users to log off. When a user logs out of a workstation the VM will be redeployed with the new snapshot template.
  If you have a non critical update the Wait for users to log off has less of an impact for the users. If it is a required update then it would be best to select a time when the least amount of users will be impacted and use Force users to log off:
DSC00026.jpg

  If you selected Force users to log off this is the message users will receive. It can be edited in the Global Settings of View:
DSC00027.jpg

  Note: If you wish to change the message the View Global Settings can be found under View Configuration -> Global Settings:
DSC00028.jpg

  Ensure everything is set to your liking then click Finish:
DSC00029.jpg

  You can monitor the progress of the image update on the Summary tab of the Instant Clone pool. The Pending Image field will now be populated with the current status:
DSC00030.jpg

  Once the update is complete the Pending Image will go back to None:
DSC00031.jpg

  You now have a updated Instant Clone pool! It even redeployed using the first available names in your naming scheme!
DSC00032.jpg

Today’s Limitations of Instant Clone:
  There are some limitations with the current release of Instant Clone:

  •   Floating desktops only; no support for dedicated desktops
  •   Only supports Windows 7 and Windows 10 virtual desktops
  •   Microsoft Remote Desktop Services is not supported
  •   Scales to 2,000 desktops
  •   Only a single vCenter can be used
  •   Only a single vLAN is supported
  •   VMware Hardware Version 11 or newer is required
  •   No NVDIA GRID; limited SVGA options
  •   Only VMware Virtual SAN or shared VMFS datastores are supported for storage
  •   Data persistence and desktop personalization is provided by using VMware App Volumes, User-Writeable Drives, and VMware User Environment Manager (UEM)
Profile Management:
  To make Instant Clones truly usable from a end user perspective there needs to be user profile management. VMware has product called User Environment Manager. Blog post coming soon!!
  

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-508321-1-1.html 上篇帖子: VMware Horizon View 7: Automated Desktop Pool [Part 7] 下篇帖子: 使用VMWare Workstation安装苹果(OSX)系统
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表