Tips ‘n tricks to · Have to enter all parameters, like domain credentials, WVD SP, OU, …...

Preview:

Citation preview

Tips ‘n tricks to automate & monitor your WVD workloads

About me

Responsible for Consulting at sepago GmbH

Microsoft AzureMachine LearningAzure Monitor / Log Analytics

Mail: marcel.meurer@sepago.deTwitter: https://twitter.com/MarcelMeurer

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

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

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

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

Windows V i r tua l Desktop

DEMO

Creating a host pool with PowerShell / WVDAdmin

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 ;-)

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

Deployments of Sess ion HostsPowerShell

Deployments of Sess ion HostsWVDAdmin

Deployments of Sess ion Hosts

DEMO

Building Images and roll out Session Hosts

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!)

Deployments of Sess ion Hosts

DEMO

Ephemeral disks and scale sets

Scare Resources

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

▪ Work with reserved instances

▪ Use resources in other regions at night time

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

Azure Monitor for WVD

DEMO

Questions

Recommended