16
Tips ‘n tricks to automate & monitor your WVD workloads

Tips ‘n tricks to · Have to enter all parameters, like domain credentials, WVD SP, OU, … Limited flexibility; fails if DSC extensions cannot be loaded from the internet (policies,

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Tips ‘n tricks to · Have to enter all parameters, like domain credentials, WVD SP, OU, … Limited flexibility; fails if DSC extensions cannot be loaded from the internet (policies,

Tips ‘n tricks to automate & monitor your WVD workloads

Page 2: Tips ‘n tricks to · Have to enter all parameters, like domain credentials, WVD SP, OU, … Limited flexibility; fails if DSC extensions cannot be loaded from the internet (policies,

About me

Responsible for Consulting at sepago GmbH

Microsoft AzureMachine LearningAzure Monitor / Log Analytics

Mail: [email protected]: https://twitter.com/MarcelMeurer

GitHub: https://github.com/MarcelMeurerBlog: https://blog.itprocloud.de/

https://www.sepago.de/en/wvd-value-add-tools/

Page 3: Tips ‘n tricks to · Have to enter all parameters, like domain credentials, WVD SP, OU, … Limited flexibility; fails if DSC extensions cannot be loaded from the internet (policies,

Windows V i r tua l DesktopCommon sense

Image source:

https://azure.microsoft.com/de-de/services/virtual-desktop/#featured

Windows Virtual Desktop Multi-session

Windows ServerRD Session Host

Windows 10 Enterprise

Page 4: Tips ‘n tricks to · Have to enter all parameters, like domain credentials, WVD SP, OU, … Limited flexibility; fails if DSC extensions cannot be loaded from the internet (policies,

Windows Vir tual Desktop

WVD

Tenant Group

Tenant-Group-Name

Tenant

Tenant-Name

Host Pool

Pool 2

(Shared Desktops)

Host Pool

Pool 1

(Personal Desktops)

Host Pool

Pool 3

(Remote Apps)

App Group

Desktop Applications

App Group

Multi Remote Apps

App Group

Desktop Applications

Agent

AD Domain

ServicesMonitor

Page 5: Tips ‘n tricks to · Have to enter all parameters, like domain credentials, WVD SP, OU, … Limited flexibility; fails if DSC extensions cannot be loaded from the internet (policies,

Windows V i r tua l Desktop

DEMO

Creating a host pool with PowerShell / WVDAdmin

Page 6: Tips ‘n tricks to · Have to enter all parameters, like domain credentials, WVD SP, OU, … Limited flexibility; fails if DSC extensions cannot be loaded from the internet (policies,

Deployments of Sess ion Hosts▪ Deployment from the Azure Market place

▪ Vanilla images or syspreped images▪ Have to enter all parameters, like domain credentials, WVD SP, OU, …▪ Limited flexibility; fails if DSC extensions cannot be loaded from the internet (policies, proxies,…)▪ Experience for admins :-/

▪ Deployment from PowerShell▪ You can do anything in a high automated way▪ You need PS know-how and have to work with the Azure resources directly▪ High flexibility▪ Experience for admins ☺

▪ Deployment with WVDAdmin (free community tool)▪ Like deployment from PowerShell with a friendly GUI▪ Build-in image creation process from template VMs (re-usable)▪ Experience for admins ;-)

Page 7: Tips ‘n tricks to · Have to enter all parameters, like domain credentials, WVD SP, OU, … Limited flexibility; fails if DSC extensions cannot be loaded from the internet (policies,

Deployments of Sess ion Hosts

Who has ever created an image?

The golden image approach

Template

SnapShotCustomized

and

prepared

Image

Temporary VMTemplate VM

Custom extension and

preparation tasks

Page 8: Tips ‘n tricks to · Have to enter all parameters, like domain credentials, WVD SP, OU, … Limited flexibility; fails if DSC extensions cannot be loaded from the internet (policies,

Deployments of Sess ion HostsPowerShell

Page 9: Tips ‘n tricks to · Have to enter all parameters, like domain credentials, WVD SP, OU, … Limited flexibility; fails if DSC extensions cannot be loaded from the internet (policies,

Deployments of Sess ion HostsWVDAdmin

Page 10: Tips ‘n tricks to · Have to enter all parameters, like domain credentials, WVD SP, OU, … Limited flexibility; fails if DSC extensions cannot be loaded from the internet (policies,

Deployments of Sess ion Hosts

DEMO

Building Images and roll out Session Hosts

Page 11: Tips ‘n tricks to · Have to enter all parameters, like domain credentials, WVD SP, OU, … Limited flexibility; fails if DSC extensions cannot be loaded from the internet (policies,

Kind of D isks and VM‘s

▪ Different disk sizes

▪ HDD (don‘t use this one except for a template VM)

▪ Standard SSD (my favorite)

▪ Premium SSD

▪ And very special: Ephemeral disks

Source:

https://docs.microsoft.com/en-us/azure/virtual-machines/windows/disks-types

▪ VMs

▪ „Normal“ VMs

▪ Virtual Machine Scale Sets(they don‘t scale in a WVD perspective!)

Page 12: Tips ‘n tricks to · Have to enter all parameters, like domain credentials, WVD SP, OU, … Limited flexibility; fails if DSC extensions cannot be loaded from the internet (policies,

Deployments of Sess ion Hosts

DEMO

Ephemeral disks and scale sets

Page 13: Tips ‘n tricks to · Have to enter all parameters, like domain credentials, WVD SP, OU, … Limited flexibility; fails if DSC extensions cannot be loaded from the internet (policies,

Scare Resources

What can be done if resources (Azure VM) become scared?

▪ Work with reserved instances

▪ Use resources in other regions at night time

Page 14: Tips ‘n tricks to · Have to enter all parameters, like domain credentials, WVD SP, OU, … Limited flexibility; fails if DSC extensions cannot be loaded from the internet (policies,

Azure Monitor for WVDArchitecture

▪ Customers Azure Monitor Workspace

▪ Data transmission eachminute

▪ https:443

▪ 100% native Azure

▪ Free for non-commercial use (community, trial)

https://azuremarketplace.microsoft.com/en-us/marketplace/apps/sepagogmbh.loganalyticsagent-rds

Page 15: Tips ‘n tricks to · Have to enter all parameters, like domain credentials, WVD SP, OU, … Limited flexibility; fails if DSC extensions cannot be loaded from the internet (policies,

Azure Monitor for WVD

DEMO

Page 16: Tips ‘n tricks to · Have to enter all parameters, like domain credentials, WVD SP, OU, … Limited flexibility; fails if DSC extensions cannot be loaded from the internet (policies,

Questions