Professional Documents
Culture Documents
I'd like to acknowledge the following individuals whom I have had the pleasure of working with or who contributed to this book by proofreading, editing, mentoring, commenting, and discussing its content. In no particular order, they are Dwayne Lessner ( ), Simon Bramfitt ( ), Elvedin Trnjanin ( ), Andy Murphy ( ), Jordan Harding, Pam Takahama, Tyler Rohrer ( ), Steve Kaplan ( ), and the SPSS team at VMware Federal. I'd also thank VMware for being the catalyst to many great professional relationships and friendships over than the last seven years.
Andre Leibovici ( ) is a leading expert in the current area of virtualization and End User Computing and maintains an award-winning and world-recognized blog. For the last 10 years, his passion and dedication around virtualization and End User Computing has helped many organizations while working for VMware Professional Services, EMC Virtualization Team (vSpecialists), and through creating professional blogging resources. His expertise is backed by more than 20 years industry experience managing IT infrastructures for large organizations. Andre's blog is recognized as one of the industry leading technical VDI blogs with more than 1.5 million views every month. Based on his field experience, he developed a number of free tools to help beginners and advanced architects to appropriately size and architect VDI solutions. Those tools include the VMware View Online Calculator, the XenDesktop Online Calculator, and the Display Protocol Online Calculator. His passion for End User Computing led him to find the APAC Virtualization Podcast and speak at conferences such as the Brazil vForum 2011, Las Vegas VMworld 2011, and the Sydney vForum 2010. Due to his creativity and accomplishments, he received the VMware Virtual Desktop Ingenuity Award 2009 and was recognized as vExpert recipient award for two consecutive years. Degree qualified, Andre also holds VCP 5, VCAP4-DCA, VCAP4-DCD, VCP4-DT, ITIL V3, EMCCA, EMCDCA, and MCSE certifications. He is currently helping to shape the future of End User Computing by working at VMware as an architect in the Office of the CTO and enjoying his work.
Remote connectivity in times of crisis: Whether it's H1N1, an erupting volcano, mega-blizzard, or a swarm of locusts, VDI can allow workers to still work when they can't physically get to their work area.
No matter the driving reason, VDI is a technology that has gained a lot of traction across many verticals all over the world. It's also likely that many server virtualization architects will be asked to include a VDI as part of their overall virtualized datacenter solution.
Chapter 10, Migrating from Physical Desktops to Virtual Desktops, discusses techniques to successfully migrate a user base from a physical desktop to a virtual desktop. It also focuses on user persona management and abstraction. Chapter 11, Backing Up the VMware View Infrastructure, focuses on scheduling proper backups of a VMware View environment. Chapter 12, VMware View 5.1, discusses the new capabilities in VMware View 5.1 along with Content-Based Read Cache (CBRC) and additional product highlights. Appendix, Additional Tools, provides additional tools, online references, and suggested Twitter personalities that may prove helpful in designing a VDI solution.
A persistent desktop is a vDesktop that is assigned to a specic end user and whose state is saved after logoff:
VDI
Users
For example, in the preceding diagram, if User_1 signs into a VMware View environment for the rst time and is automatically assigned vDesktop_7, he would connect to vDesktop_7 today, tomorrow, and until the assignment is removed. If vDesktop_7 has an issue and is unavailable, User_1 will not have a functioning work environment and will be unable to be productive. When using persistent desktops, VMware View does not automatically reassign the end user to an available vDesktop if their assigned vDesktop is unavailable. A persistent vDesktop has persistent data until: The vDesktop is unassigned from the specic user The desktop pool that the vDesktop is a member of is refreshed (linked clones) The desktop pool that the vDesktop is a member of is recomposed (linked clones)
A non-persistent desktop is a vDesktop that is not assigned to a specic end user and instead is made available to the end user population:
VDI
Users
For example, in the preceding diagram, if User_1 signs into a VMware View environment, he is assigned one of the available vDesktops (for example, vDesktop_9). When he/she logs off and then logs back in to the VMware View environment, he/she is randomly assigned another available vDesktop from the pool. A vDesktop may only have a maximum of one owner at any given time. There are several settings that can be manipulated from the VMware View Admin console that dictate how fast a non-persistent vDesktop is unassigned from a user that executes a logoff.
[ 54 ]
Chapter 3
Persistent desktops
Historically, persistent vDesktops have been used in VDI implementations as persistent vDesktops most resemble the physical world and allows both end users and IT administrators to be able to relate to the virtual world. This 1:1 relationship (of end user to vDesktop) is likely the most simplied deployment option available, but its design and cost considerations should be properly understood. Persistent vDesktops are often the easier political sell to an organization, as each user still maintains possession of an individual (virtual) desktop asset. The following table explains areas related to the persistent vDesktops:
Area Desktop pool sizing Availability RecoverabilityOS failure Implications It requires a vDesktop for every end user. If a user's assigned vDesktop is unavailable, the user is unable to connect. VMware HA can be used to monitor a vDesktop's response to a basic ping command. If a vDesktop does not respond, it can be automatically restarted by VMware vSphere. There is no easy way to recover from a site failure. The VDI must support vDesktops for the entire target user population; this includes compute and storage requirements.
Example scenario
For this example, consider that Customer_A has 6,000 end users. They are targeting to move to a VMware View solution. Customer_A operates three shifts a day, with 2,000 end users working at any given time. The customer has asked for help in scoping the hardware required for the solution (for example, in the form of a bill of materials or list of materials). The platform will be Windows 7, with 1 vCPU, 2 GB of RAM, and a 50 GB C:\ drive. The hardware platform is determined to consist of 2U servers with two 6-core processors per server (a total of 12 cores per server). Using an average and conservative estimate of 10 VMs per core, it yields 120 vDesktops per server. Using 2 GB of RAM per vDesktop, 240 GB of RAM would be required to support 120 vDesktops. Adding in RAM for overhead and for amounts that can be easily ordered from any vendor rounds 240 GB of RAM up to 256 GB of RAM per server.
[ 55 ]
Therefore, the server specication used for this solution includes a 2U server with two 6-core processors and 256 GB of RAM. The following table explains about the server specications and the costs related to the persistent vDesktop:
Area Physical server specication Number of vDesktops/physical servers Total end user population Total number of end users that require a vDesktop at any given time Total number of vDesktops that must be provisioned and available Total number of physical servers required without n + 1 considerations Estimated number of racks required Cost per individual physical server Subtotal for physical server costs Total number of processors Estimated VMware vSphere View Premier per vDesktop Subtotal for VMware View licensing Total cost Description A 2U server with two 6-core processors and 256 GB of RAM 120 6,000 2,000 6,000 50 3 $40,000 $2,000,000 100 $250 $1,500,000 $3,500,000
Even though Customer_A only has 2,000 end users online at any given time, the fact that Customer_A has 6,000 unique end users means that to support this environment with persistent vDesktops, the VDI must have 6,000 vDesktops. It is possible to use extremely strict timeout values and logoff parameters to decrease the total number of supported vDesktops (perhaps from 6,000 to 5,000), but it does add risk to the overall solution and may or may not be feasible in a given environment. Using rough estimates of $40,000 per physical server, the estimated total cost, including server costs and rough estimates for VMware vSphere and VMware View Premiere (excluding bundle or add-on pricing), is $3,500,000.
[ 56 ]
Chapter 3
This estimate does not include nancial considerations for port costs. For example, if each server only required two network connections (for example, using 10GbE), then an additional 99 switch ports would be required for the production network connections and a single out-of-band management connection (for example, HP ILO). This estimate does not include nancial considerations for additional quantities of VMware vCenter Server Heartbeat, used to protect the VMware vCenter Servers in a VMware View environment. As a large VMware View solution will require additional VMware vCenter Servers likely protected by VMware vCenter Server Heartbeat (approximately $15,000 per vCenter Server). This estimate also does not include nancial considerations for cooling and power costs associated with the servers. Operationally, it's also harder to manage from a human resources perspective. As people leave and enter the company, vDesktop sprawl could potentially eat up resources, as there is no easy way to track and maintain the User Data Disks in conjunction with user accounts. A nal consideration is the amount of physical U-space the persistent solution requires. For environments that require minimal footprint (for example, tactical installation), every U is of signicance. In summary, persistent desktops are likely to be an inefcient solution for most environments, especially those of signicant scale.
Non-persistent desktops
Non-persistent vDesktop solutions are starting to become more commonplace as VDI is not only adopted more within the industry but also implemented at a larger scale. As persistent vDesktops often require vast amounts of additional resources, that is, both technical, human, and nancial, this book will focus primarily on solutions leveraging non-persistent vDesktops. While persistent vDesktops are still what most people think of when they think of VDI, it's important to demonstrate the advantages and cost savings realized by leveraging a non-persistent solution in certain situations.
[ 57 ]
VDI is less about ownership of a particular virtual machine in the data centre and more about the availability of a desktop resource when needed, which is customized for the user (via that user's specic prole). While there are plenty of solutions that do not require customization of the vDesktop (for example, kiosk solution in a hotel), a large percentage of VDI implementations will be for unique users with potentially unique desktops at an organization. The following table explains about the areas related to the non-persistent vDesktops:
Area Desktop pool sizing Availability RecoverabilityOS failure Recoverabilitysite failure Implications It requires a vDesktop for the maximum number of concurrent users. A user will be able to connect to a vDesktop as long as there is an available vDesktop in the pool. A user will be able to connect to a vDesktop as long as there is an available vDesktop in the pool. While it still isn't out of the box to recover from a site failure, a non-persistent vDesktop forces the user's persona to live outside the vDesktop, thereby making the replication and recovery of a viable vDesktop environment much easier. The VDI must support vDesktops for the target maximum concurrent users; this includes compute and storage requirements for peak load and not for theoretical maximum, based on the total number of users.
Cost
Example scenario
To continue from the example earlier in this chapter, Customer_A has 6,000 end users. They are targeting to move to a VMware View solution. Customer_A operates three shifts a day, with 2,000 end users working at any given time. The following table explains about the server specications and the costs related to the non-persistent vDesktops:
Area Physical server specication Number of vDesktops per physical server Total end user population Total number of end users that require a vDesktop at any given time
[ 58 ]
Description A 2U server with two 6-core processors and 256 GB of RAM 120 6,000 2,000
Chapter 3
Area Recoverabilitysite failure Total number of physical servers required without n + 1 considerations Estimated number of racks required Cost per individual physical server Subtotal for physical server costs Total number of processors Estimated VMware vSphere View Premier per vDesktop Subtotal for VMware View licensing Total cost
The advantages of a non-persistent solution are clearly evident. For example, in a persistent solution, 50 physical servers were required (versus 17 in a non-persistent solution) to meet the demands of the user load. By saving a signicant number of physical servers from being procured (and the associated software licensing), the overall VDI solution requires one third less funding. These savings come from having to support only the maximum concurrent user load instead of having a named vDesktop for every user that will connect to the VDI.
[ 59 ]
The potential drawback is that there could be an increase in supporting the persona management layer, depending on the solution chosen, its design, and its implementation.
Multisite solutions
A VMware View solution that spans multiple sites is not extremely atypical. College campuses, large corporations, and even small businesses, may have requirements to deliver vDesktops from more than one physical locations. In these scenarios, there are a few qualifying questions to ask the organization. They are as follows: 1. Should the desktop experience be unique for each end user? Essentially, should end user personas be saved to include changes to the desktop environment, customizations to applications, and so on?
2. If the answer to the preceding question is yes, should the user persona be consistent across all the sites? For example, if Liliana logs into Site_A and makes modications to her desktop, should those settings be reected if Liliana were to log in to the VDI at Site_B?
Site A
VDI
Site B
VDI
The preceding diagram shows a multisite VDI with VMware View persistent vDesktops and it is based on a real-world scenario. In this example, Site_A and Site_B are owned by the same organization, Acme Corp. Acme must support worker mobility as two of their locations (Site_A and Site_B) are used by their entire workforce.
[ 60 ]
Chapter 3
A user could be working at Site_A in the morning and then at Site_B in the afternoon for meetings. The user, as shown in the preceding diagram, connects to the VDI in Site_A in the morning and as persistent vDesktops are being used, he gets his assigned vDesktop. Remember, when using persistent vDesktops, a user is assigned a specic vDesktop and will keep this assignment until unassigned by the VMware View Administrator. When the user leaves Site_A and drives over to Site_B, the following two cases are possible: 1. He does not have a vDesktop assigned. 2. He has a second vDesktop assigned in the completely independent VDI running at Site_B. Why is the user's vDesktop in Site_A not copied to Site_B? This is because VMware View persistent vDesktops are independent virtual machines assigned to an individual user. If using VMware View persistent vDesktops, replicating the changes to a peer persistent vDesktop in one site (for example, Site_A) to another site (for example, Site_B) is not an out of the box supported use case. Making persistent VMware View vDesktops behave in such a manner would require signicant scripting, a deep understanding of the underlying storage platform, a deep understanding of the VMware View ADAM database, and likely an understanding of how to manipulate objects using PowerCLI. It would also add too many variables to make it a sustainable VDI model to properly support. The authors' experience is that almost anything is possible with VMware View, given enough time, deep knowledge of VMware vSphere and VMware View, and ample time to test. However, VMware View was not designed to support multisite persistent vDesktops. Third-party add-on solutions (for example, Unidesk) are potentially helpful in these scenarios.
[ 61 ]
Site A
VDI
Site B
VDI
Profiles
Profiles
Imagine the same aforementioned scenario. An organization has two sites, Site_A and Site_B. A user works at Site_A in the morning, connects to his/her vDesktop running on the VDI in Site_A, and then heads to Site_B for afternoon meetings. When at Site_B, the user connects to the VDI local to that site. How can the VDI architect make the VDI experience consistent across both the sites? By using non-persistent vDesktops, the user's persona is naturally separated from the underlying desktop operating environment. By using VMware View prole management, or a third-party solution such as AppSense or Liquidware Labs ProleUnity, a non-persistent vDesktop can have the same look and feel of a persistent desktop (for example, customizations are retained) yet offer the advantages of non-persistent vDesktops (for example, greater exibility). In the preceding diagram, the user proles are stored on a le share that is replicated between the two sites. It does not matter which site's VDI the end user connects to as long as his/her prole has been replicated. If a non-persistent vDesktop solution with replicated proles is implemented, it is important to ensure that there are no unnecessary les in the user persona. Proper ltering techniques can ensure that gigabytes of MP3s or downloaded movies are not considered as part of the user's persona, and prevent them from congesting the replication transmission.
[ 62 ]
Chapter 3
[ 63 ]
The following diagram shows a multisite VDI with the VMware View non-persistent vDesktops and the cloud-based Persona storage:
Profiles Site A
VDI
The cloud, in this sense, is any external storage platform that maintains the user proles. This could be an Amazon-based solution, a local cloud provider, or a peer's community cloud offering, just to name a few. In this scenario, there is no cross-site replication because the user proles are always read and written to the cloud-based storage platform. The advantage is that replication issues are no longer a concern, but the drawback is that a connection to the cloud (internet, VPN, and so on) is required to load a user's prole. A lack of connectivity to the cloud storage means that user proles cannot be read or saved. In addition, most cloud providers charge a fee for inbound and/or outbound trafc. Exceptions to this rule (for example, Amazon Direct Connect) do exist however, and may come into play if deciding on a hosting partner.
Chapter 3
In these types of situations, persistent vDesktops can make life a bit easier. There aren't any user proles to worry about, per se, and the application distribution is conceptually the same as it is in the physical world. It may also be the easiest to troubleshoot for the executive team, as you know which executive has which desktop quite easily. VMware View natively supports the ability to have both persistent and nonpersistent desktop pools side by side. There are no real design considerations to be made other than those found in their respective solutions. Prole management can be applied across non-persistent and persistent vDesktops uniformly. One point of consideration is that in the above preceding example of a classroom and an executive team, there may be different support personnel responsible for each group. If that is indeed the case, then the appropriate permissions will need to be dened in the VMware View Admin console.
How to choose
Fortunately, with VMware View, both persistent and non-persistent vDesktops can be tested side by side to see which works best with an organization's requirements. However, when designing a solution for an organization, some guidelines can be followed to help choose between persistent or non-persistent vDesktops. The following are some questions with their suggested (not necessarily only) solution type. The suggestions assume that the reader will answer yes to the question: Will users be installing their own native applications? Persistent. Does the environment support a large percentage of shift workers? Non-persistent. Will application virtualization be used? Non-persistent. Will a roaming prole solution be used? Non-persistent. Will the solution support a disaster recovery event? Non-persistent. Will users be assigned their own specic desktop for application or operating system licensing restrictions? Persistent.
These high-level questions will help the architect steer the solution in the proper direction. It is important to keep in mind that that preceding suggestions are not steadfast answers. Finally, it is important to remember that persistent and non-persistent solutions can cohabit in the same VMware View environment.
[ 65 ]
Summary
The question of persistence is one of the cornerstone decisions of any VDI design. Persistence denes how volatile the vDesktops may be, how applications may be distributed, and the amount of underlying hardware required. For VDI architects, it is important to build a portfolio of proven designs. VDI is a complicated technology as there are a lot of moving parts. Reducing the number of variables for each project is important and this can be done by building some loose parameters. The following is an example mission statement taken from a real-world scenario: "I'm the Director of IT for Acme and I have a 2,000-seat classroom environment I need to support, with frequent turnover." A VDI architect's formula in this scenario may be: VMware View non-persistent vDesktops + VMware ThinApp + zero clients
By already having an idea of what the solution should look like, the architect can focus on some of the key variables as follows: How large is the desktop image? How will the applications be managed?
Building a VMware View solution from scratch for every project is not efcient and more error-prone than building a stable one from a few solid VMware View designs. The next chapter discusses the end devices used to connect into the VMware View solution. End devices are another important part in a VDI solution as choosing the right end device can drastically improve the probability of success. Understanding the limitations of each end device type is important in choosing the right device for a given organization, and this will be discussed in the next chapter.
[ 66 ]
Alternatively, you can buy the book from Amazon, BN.com, Computer Manuals and most internet book retailers.
www.PacktPub.com