Sub topic 13
Virtual Desktop Infrastructure
Virtual desktop infrastructure (VDI) runs users' desktop operating systems as virtual machines (VMs) on servers in a data center. Users see the desktop from a thin client, a laptop, or a browser. This chapter assumes you know what a hypervisor is, what a VM is, and how the cloud service models differ (IaaS, PaaS, SaaS).
How VDI Works
In VDI, the desktop OS and applications run on a server host. The user's device only displays the screen and sends keyboard and mouse input. A remote display protocol carries this traffic over the network. Examples include Microsoft RDP, VMware Blast, and Citrix HDX.
A typical VDI environment has four parts:
- Hypervisor hosts. Type 1 hypervisors run on server hardware and host many desktop VMs.
- Connection broker. This service authenticates the user and assigns them a desktop VM.
- Desktop images. A golden image is a master copy of the desktop. Many VMs are created from it.
- Client endpoint. A thin client, an old PC, a tablet, or a web browser shows the remote desktop.
Persistent and Non-Persistent Desktops
A persistent desktop is assigned to one user. Settings, files, and installed software remain after logoff. It feels like a personal PC.
A non-persistent desktop is created from the golden image at logon and reset at logoff. Changes are discarded. This suits call centers, labs, and kiosks, where many users need the same standard desktop.
| Feature | Persistent | Non-persistent |
|---|---|---|
| User changes kept | Yes | No, reset at logoff |
| Storage needed | More, one disk per user | Less, shared image |
| Management effort | Higher, each desktop needs patching | Lower, patch the image once |
| Typical use | Developers, power users | Call centers, training labs |
Why Organizations Use VDI
- Central management. Administrators patch and back up desktops in one place.
- Data stays in the data center. Lost laptops do not leak files, because the data never leaves the server.
- Any device, anywhere. Staff can work from home or from personal devices (BYOD).
- Cheaper endpoints. Thin clients cost less and last longer than full PCs.
- Fast provisioning. A new employee's desktop is cloned from the image in minutes.
VDI and the Cloud Service Models
An organization can host VDI on its own servers, which is a private cloud arrangement. It can also rent desktops from a provider, which is called desktop as a service (DaaS). DaaS is delivered as SaaS: the provider runs the hosts, the broker, and the images, and you pay per user. Building VDI yourself on rented virtual servers is IaaS.
Common Problems
- Network dependence. If the network is down or slow, users cannot work. Latency causes laggy screens.
- Server capacity. Too many desktops on too little CPU, RAM, or storage makes every user slow. Logon storms, when everyone signs in at 9:00, are a classic cause.
- Graphics-heavy work. Video editing and CAD may need servers with GPUs.
- Licensing and cost. Servers, storage, and software licenses can cost more than ordinary PCs.
Exercise
A hospital wants nurses to sign in to the same standard desktop from shared workstations. No patient data may be stored on the workstations, and every desktop should be reset after each shift. Which VDI design fits, and why?
Show answer
Non-persistent VDI desktops. Each desktop is created from a golden image at logon and discarded at logoff, so users get the same standard environment each time. Because the VMs run on servers in the data center, patient data stays off the workstations.
Exercise
Users report that their virtual desktops freeze every weekday at 9:00 but run fine later in the day. Name the likely cause and one fix.
Show answer
A logon storm: many users sign in at once and overload the host's CPU, RAM, or storage. Fixes include adding host capacity, using faster storage, or staggering logons.