stephan pfister deep dive personal v disk

30
Deep Dive on Personal vDisk Stephan Pfister Conapro GmbH, Zug [email protected] Jozsef Rozsahegyi Conapro GmbH, Zug [email protected]

Upload: digicomp-academy-ag

Post on 26-May-2015

774 views

Category:

Technology


5 download

TRANSCRIPT

Page 1: Stephan pfister deep dive personal v disk

Deep Dive on Personal vDisk

Stephan Pfister Conapro GmbH, Zug

[email protected]

Jozsef Rozsahegyi Conapro GmbH, Zug

[email protected]

Page 2: Stephan pfister deep dive personal v disk

Agenda

• Personal vDisk (PVD) overview

• Install and Config

• The disk in Personal vDisk

• Technical Internals

• Advanced Config

• Troubleshooting and Support

Page 3: Stephan pfister deep dive personal v disk

Personal vDisk Overview

Page 4: Stephan pfister deep dive personal v disk

VDI Desktop Models – Pooled Desktops

4

No personalization

Poor user acceptance

Limited scope/user base

Reduced storage requirements

Centralized management

Uptime & predictability

Common Base Image

Operating System

BASE / PARENT VM

Page 5: Stephan pfister deep dive personal v disk

VDI Desktop Models – Assigned Desktops

5

Increased storage

High per user cost

Increased management overhead

Complex and unique base images

Highly personalized for users

Increased user acceptance

User Profile & Settings

------------- Departmental Applications

------------- User Installed Applications

------------- Local Peripherals

Base Image

Operating System

User Profile & Settings

------------- Departmental Applications

------------- User Installed Applications

------------- Local Peripherals

Base Image

Operating System

User Profile & Settings

------------- Departmental Applications

------------- User Installed Applications

------------- Local Peripherals

Base Image

Operating System

VM1 VM2 VM3

Page 6: Stephan pfister deep dive personal v disk

Citrix Personal vDisk

6

User Profile & Settings

------------- Departmental Applications

------------- User Installed Applications

------------- Local Peripherals

User Profile & Settings

------------- Departmental Applications

------------- User Installed Applications

------------- Local Peripherals

User Profile & Settings

------------- Departmental Applications

------------- User Installed Applications

------------- Local Peripherals

PVD 1 PVD 2 PVD 3

Enterprise scope

Highly personalized for users

Increased user acceptance

Reduced infrastructure reqs.

Centralized management

Uptime & predictability

Common Base Image

Operating System

BASE PARENT VM

Page 7: Stephan pfister deep dive personal v disk

1. Common Base Setup

» Install OS, common apps and VDA in base VM

» Create VM pool and entitle

Operating System

2. User Access

» Login through Xen Desktop Client

» PVD assigned on first login

» Locally administered dept. apps

» User installed apps

» Streamed apps

3. Image Update

» Update base VM without affecting any user personalization

Common Base Image

User’s Workspace

Delivering and Managing the PvD Desktop

Page 8: Stephan pfister deep dive personal v disk

Are PvD enabled desktops for everyone?

• Users needing control and personalization beyond a roaming profile

○ Today many opt for dedicated which is a poor on mgt and storage cost model

• A means to manage app sets beyond the base image

• Blindly deploying PvD as the default desktop could be costly

○ Over delivering on personalization capabilities will come at infrastructure costs

○ You don’t need to provide call center employees a PvD enabled desktop

Page 9: Stephan pfister deep dive personal v disk

Installation and Configuration

Page 10: Stephan pfister deep dive personal v disk

Install

10

• New option in meta-installer (VDA) to

‘enable’ PvD

• Installs no matter selection

○ Disabled means PvD Service will be

running but will remain idle

○ Enable later by running inventory

• You cannot disable once enabled

○ Would need to revert to a snapshot when

PvD was disabled

Page 11: Stephan pfister deep dive personal v disk

What is installed

11

Page 12: Stephan pfister deep dive personal v disk

Program Data

12

Page 13: Stephan pfister deep dive personal v disk

Creating Machines

13

Page 14: Stephan pfister deep dive personal v disk

Host Setup

14

Page 15: Stephan pfister deep dive personal v disk

PvS XenDesktop Wizard

15

Page 16: Stephan pfister deep dive personal v disk

Using MCS

16

Page 17: Stephan pfister deep dive personal v disk

Inventory Reminder

• Shutdown/Reboot

○ Windows 7 – click cancel when prompted and update PvD inventory

Page 18: Stephan pfister deep dive personal v disk

Live Demo

18

Page 19: Stephan pfister deep dive personal v disk

The User Disk (PvD)

19

Page 20: Stephan pfister deep dive personal v disk

PvD – The User’s Disk

• PvDs are created and attached by Studio, ViaB and PvS wizards

• They are formatted during first PvD boot

• \UserData.v2.vhd (located on the root of the PvD)

○ Contain everything not in the user’s profile (aka not in c:\users)

○ Sized according to the allocation split (default is 50/50)

○ A .thick_provision sparse file exists to display the correct amount of free space to user

Page 21: Stephan pfister deep dive personal v disk

The P: Drive …

21

Hidden and captures all machine state (aka data not in c:/users) – Merged as c: drive

Page 22: Stephan pfister deep dive personal v disk

PvD

PvD Factory Reset

• Separating the user profile area from the

application area allows the App VHD to be

deleted and profile saved

• We call this “Factory Reset, and is available in

Desktop Director

Profile App VHD

Page 23: Stephan pfister deep dive personal v disk

PvD

PvD Allocation Split (v5.6)

• Separates the user profile data from the application data

Profile App VHD

Page 24: Stephan pfister deep dive personal v disk

PUD

PvD Allocation Splits (v5.6)

• Different allocation splits can be used

• For example …

Profile (4.5GB)

App VHD (10.5GB)

15GB PvD with 30/70% ratio …

Page 25: Stephan pfister deep dive personal v disk

NEW: Dynamic Allocation (v5.6.5+)

• Dynamically adjusting free space as needed

• For example …

Page 26: Stephan pfister deep dive personal v disk

NEW: Dynamic Allocation (v5.6.5+)

• As free space is reduced on one side, will shift space on a reboot

• Based on a free space threshold (configurable)

• For example …

App VHD grows into any unused profile space,

until threshold reached

Page 27: Stephan pfister deep dive personal v disk

PUD

PvD Expansion

• Either expand on the hypervisor console …

○ Or use the PoSH script

• For example …

Profile (5GB) App VHD (5GB)

PvD increased to 15GB …

Page 28: Stephan pfister deep dive personal v disk

PUD

PvD Expansion

• VHDs will adhere to allocation ratio on PvD when resizing …

• For example …

Profile (7.5GB) App VHD (7.5GB)

50/50 split preserves desired allocation ratio

Page 29: Stephan pfister deep dive personal v disk

Machine Creation Services with PvD adds PVDisk

Virtual Desktop 1

VHD Chain

Storage Subsystem

Diff Disk ID Disk

Personal vDisk • This part is seen by the user as Drive P:\

• Used for USERDATA e.g. My Documents

• Free space is the split allocation

• This part is hidden from user

• Merged with the Diff Disk • Seen by user as Drive C:\ • E.g. Installed apps • PVDisk auto-created during

catalog creation by copying PvD template from Base VM

• 10GB by default with 50 / 50 split for User Data / App Data

Windows 7 Master

Page 30: Stephan pfister deep dive personal v disk

Provisioning Services with PvD

Streamed Desktop 1

Streamed vDisk

Storage Subsystem

Streamed

vDisk

PVS Write

Cache

Personal vDisk • This part is seen by the user as Drive P:\

• Used for USERDATA e.g. My Documents

• Free space is the split allocation

• This part is hidden from user

• Merged with the Diff Disk • Seen by user as Drive C:\ • E.g. Installed apps • PVDisk is auto-created during

catalog creation by copying PvD template from Base VM

• 10GB by default with 50 / 50 split for User Data / App Data

Windows 7 Master