Archive

Archive for the ‘App-V’ Category

Application Virtualization (App-V) – Use Case Scenarios

December 12, 2010 Leave a comment

When, where and how to use Microsoft Application Virtualization

Scenarios of using Application Virtualization

Virtualization of applications in recent years is slowly but surely being used more and more often, but still  I can not say that it is generally accepted technology such as server virtualization. The first step towards a general acceptance of application virtualization is certainly a  good awareness of  possible implementation scenarios and the various benefits that technology brings.

 

 

What is application virtualization?
Virtual applicationMicrosoft Application Virtualization (App-V) is one of application virtualization solutions on which you probably ran into somewhere.  However, it is better to briefly summarize the theoretical aspects so that the usability of technology can also be clarified. So, application virtualization brings a new approach to interaction of applications and operating system. Namely, with standard approach we are aware that we first need to install application on OS to make it work. Also we know that applications are closely related to the operating system on which they are installed (e.g. a lot of registry entries, dll files etc…). If you ignore all those standard application lifecycle behavior  (installation, maintenance, uninstall), then you’d get a lot more dynamic applications and more manageable applications. In simple words, when using App-V Solution applications are turning into services that are available on request. Most applications today can be converted into virtual which brings many new application scenarios.

No more installation!
No installationNot so long ago to install some applications we needed to bring a dozen diskettes and bunch of patience. And then (as we are lucky bastards) on tenth diskette we run into some kind of a read error. That was frustrating in many ways!  Through the years the process has changed in the sense that we do not need so many floppy disks, but still applications "require" to be installed by following specific installation procedure. With App-V, application installation process is gone. Once created, the virtual application package is placed on the central server and deployed to users on request. There are of course many other systems for application deployment (SCCM…), but what with applications that do not have the installation procedure? They can also be packaged using App-V solution. Examples are in-house developed applications that do not have a standard installation procedure, but they must be installed and configured separately and manually on each computer.  For example if you configure application settings (e.g. strings to database, view settings and many others) during packaging phase (App-v Sequencing) those settings will be applied on every application when distributed to clients.

 

Simple application upgrade

Application upgradeOnce installed applications eventually need to be upgraded,  and that can be a tedious job because of computer restarts, errors etc… Virtual applications behave differently. Namely, when applications are placed on a central server, you need to make just one virtual package update on the server and all applications on clients will be upgraded to the latest version or patch. In addition, users will experience no interruption in work. Users can use application at the same time when system administrator wants to set a new upgrade. The next time the user runs the same application it will be upgraded (no restart, no interruptions, no errors, no update procedure). Ok, let’s  briefly switch to the central App-V Server and its relationship with the client computers. Unlike the standard push principle deployment of applications (with SCCM or other ESD solutions), App-V Server uses the pull approach where client computers literally pull a package by package (using SMB, HTTP, or RTSP protocol) until the virtual application is successfully  running. After that entire application is cached on client side (if so configured)  you no longer need a connection to server. That is one of many misunderstandings when it comes to virtual applications. Namely, a lot of users thinks that they need to be constantly connected to central App-V server (Application Virtualization Management Server).

Portable virtual applications
Portable applicationsOn the other hand, if there are no possibilities of using App-V server, applications can be deployed simply using  shared folder on a server or using portable USB drive. One of the characteristics of virtual application here imposes itself – portability of applications. We can say that the virtual application can be transferred from one computer to another using just USB. Of course APP-V client is required on computer for those virtual applications. Without App-V client installed on computer you can not run any App-V virtual applications.

Isolation (Sandbox), virtual plugins… 
Hy there I'm isolated virtual appIn the previous section, I have often mentioned the installation process, which was eliminated in virtual applications. On this characteristic is based on one of the biggest advantages of virtual applications. Specifically, each virtual application is running in so-called isolated environment – Sandbox. When running in sandbox, virtual applications are not in conflict. Today is not uncommon on a single computer that at the same time there are hundred applications, which often causes conflict between them. In such scenarios, there are two possible solutions; simply stop using the conflicting application or implementation of App-V solution. Certainly the latter case is better solution because it does not require much investment in new infrastructure and you  can keep all applications. In addition, it is possible to use application virtualization in scenarios when  having multiple versions of the same application, which is a common need in cases of testing or adaptation of new versions. For example, you can simultaneously on one computer run Office 2007 and Office 2010 (or other combinations).
On the other hand it is possible to integrate"normally" installed applications with virtual plugins. Wondering what is the benefit of this scenario?  Take for example a company with 100 employees who on a daily basis run web applications that use Java version 6, and on the other hand couple of users or departments use applications that do not work normally with specified version of Java.  In this case there is a problem because  upon installing Java update a previous version of Java is replaced and some older web applications does not work.  With the help of App-V solution on the same computer different versions of Java (or any other plugin) can be used simultaneously. Clearly, in this case, these plugins are virtualized.. The same goes for any other applications and plug-ins.
When mentioning conflict of applications, then  probably most affected are terminal servers. Specifically, on terminal server there are bunch of applications which users run using Remote desktop protocol. So all applications are actually executed on terminal server while users only see presentation layer of application. As servers are now quite powerful, it is clear that Terminal Server can run hundreds of application simultaneously. But that is often not the case because a  lot of applications are in conflict. In those scenarios companies implement so called Terminal Server Farms. By doing that, a lot of servers are underutilized and that’s exactly what we want to avoid by using virtualization.  App-V can save the day in that case. Specifically when using App-V on Terminal Server, you can run as many applications as you want, because they are not in conflict – they are in sandbox. So if applications can run on terminal server, they can be served to users using TS (RDS) Remote App etc.

64 bits, VDI, shared cache …
Banner_vApp-V solution tightly integrates with Active Directory so that the applications are only delivered to those users that are entitled to use applications. So administrator defines security group in Active Directory and defines users which should receive the application on their desktop. Once the user logs on to a computer (with domain user and pass),he will see all virtual applications instantly. But keep in mind that virtual applications are not tied to computer meaning that user will see his applications on every computer on which he log on (Roaming).  This scenario is particularly suited for call centers and in general for situations where employees do not use the same computer every day. Scenario can be further extended to remote users, who can use the application wherever they are.
Tight integration of App-V solution with Active Directory has a beneficial effect on the OS deployment process, and generally process of  creating the OS image. By default, companies are creating fat OS images with a lot of preinstalled applications so that every department is covered with all applications. This increases the size of the OS image, and users often have applications which they do not use. On the other hand, if using App-V, OS image can be “clean” with maybe just a few preinstalled applications, while other users receive virtual applications as soon as they firs log on to domain.
Deployment of the new OS is particularly interesting topic at a time when most people still use Windows XP and have  good intention to switch to Windows 7. Since version App-V 4.5 SP1 virtual applications are officially supported on Windows 7. In addition, this year version 4.6 was released with  support for 64 bit platform. The new version also comes with  a little-known possibility of shared cache , which is particularly useful in Virtual Desktop Infrastructure (VDI) solutions. In VDI solutions virtual machines are located in data centers and users access them from their computer, or using thin clients. Of course, users will access these virtual machines to use certain applications. If those applications are installed separately on each virtual machine, then the capacity of these virtual machines occupy a fairly large amount of storage. Take for example that the average virtual machine user have about 20 applications with a total capacity of 10 GB. For 100 users,in this case it is necessary to book 1000 GB of disk space only for applications. Using App-V shared cache all applications doesn’t have to be placed in each virtual machine individually. Instead applications can be placed on shared storage. So all virtual machines will use the same shared cache of virtual applications (10GB), meaning that you could potentially save 90% or more of storage space.

Finally, it is easy to conclude that with the use of virtual applications many new application scenarios appear and virtual applications bring many benefits. According to research, the use of virtual applications significantly reduces the time required for deployment, reducing the number of help desk calls and generally reducing the costs associated with maintaining applications. But of course, with each technology and therefore with App-V there are some risks and limitations. Some applications can not be virtualized, some do not behave well in a virtual environment, but for all other applications I must say that it is really very beneficial to use App-V and by doing that take one step closer to real dynamic desktop.

Free virtualization books: Complete list

 These days it is hard to find useful information, especially if you want to find a lot materials in one place. That’s why I spent some time searching through the web to find interesting and useful information regarding virtualization. So I hope you will find useful my list of free virtualization related books.

To summarize, in my list there are 8 free books (with download links included):

  1. Understanding Microsoft Virtualization Solutions, Second Edition
  2. Introducing Windows Server 2008 R2
  3. Virtualization for Dummies – HP special edition
  4. The Definitive Guide to Virtual Platform Management  
  5. The Essentials Series: Virtualization and Disaster Recovery
  6. The Shortcut Guide to Virtualization and Service Automation
  7. The Shortcut Guide to Selecting the Right Virtualization Solution
  8. Windows Server 2008 Hyper-V: Insider’s Guide to Microsoft’s Hypervisor (this book was free for few weeks and now you can read it on Google)

Ok, so let’s see brief introduction to all books:

Understanding Microsoft Virtualization Solutions, Second Edition

This is the book for IT professionals who want to learn more about the latest Microsoft virtualization technologies, including Hyper-V and Remote Desktop Services in Windows Server 2008 R2, Microsoft Virtual Desktop Infrastructure, Microsoft Application Virtualization 4.5, Microsoft Enterprise Desktop Virtualization, Windows Virtual PC and Windows XP Mode, System Center Virtual Machine Manager 2008, and Microsoft’s private and public cloud computing platforms including Windows Azure.

Introducing Windows Server 2008 R2

This book is targeted primarily at Windows server administrators who are responsible for hands-on deployment and day-to-day management of Windows-based servers for large organizations. Windows server administrators manage file and print servers, network infrastructure servers, Web servers, and IT application servers. Book contains Chapter about Hyper-V, RDS and VDI.

Virtualization for Dummies – HP special edition

The purpose of this book is to provide you with an introduction to the subject so that you can understand its promise and perils — and create an action plan to decide whether virtualization is right for you, as well as how to move forward with implementing it should you decide it is right for you. This book will help you sort out the hope from the hype and give you tools to feel confident in making your virtualization decisions.

Note** – following 4 books are available to download from same site nexus.realtimepublishers.com on which you can find a lot of free books. You just need to register with them and that’s it (Everything is free)

The Definitive Guide to Virtual Platform Management  

The Definitive Guide to Virtual Platform Management is designed to help IT staff better manage the complexity of virtualization. This guide begins with a discussion of the business value of virtualization and how organizations can benefit from this technology. Next, details related to virtualization approaches and challenges related to managing heterogeneous environments will be discussed. Based on these issues, the focus will turn to ways in which IT organizations can address all of these issues. Details include monitoring and optimizing virtualization performance, developing policies and processes, and automating data center operations. Finally, a list of important features is developed that IT organizations should look for in a virtualization management solution.

The Essentials Series: Virtualization and Disaster Recovery

The Essentials Series: Virtualization and Disaster Recovery discusses the benefit of virtualization in providing for business continuity though data replication and protection, allowing a more cost-effective solution for high availability and disaster recovery.

 

The Shortcut Guide to Virtualization and Service Automation

The intent of this guide is to assist the smart enterprise with understanding virtualization’s fit into the rest of the IT environment. A major part of that fit is in aligning the promise of virtualization technology with the automation benefits associated with virtualization management. What you’ll find in reading this guide is that notwithstanding what technologies and technological improvements virtualization brings to the table, there are a set of management enhancements that also arrive. Those enhancements are a function of the levels of automation that naturally bundles with the move to virtualization.

The Shortcut Guide to Selecting the Right Virtualization Solution

The intent of this guide is to assist the smart enterprise with understanding virtualization’s fit into the rest of the IT environment. A major part of that fit is in aligning the promise of virtualization technology with the automation benefits associated with virtualization management. What you’ll find in reading this guide is that notwithstanding what technologies and technological improvements virtualization brings to the table, there are a set of management enhancements that also arrive. Those enhancements are a function of the levels of automation that naturally bundles with the move to virtualization.

Windows Server 2008 Hyper-V: Insider’s Guide to Microsoft’s Hypervisor

Hyper-V is one of the top virtualization products, and this practical guide focuses on the essentials of Windows Server 2008 Hyper-V. Written by the Microsoft team behind the Hyper-V product, this book shows you how to perform key virtualization scenarios, such as server consolidation, software and development, and a dynamic data center and demonstrates how Hyper-V can be used to reduce cost and eliminate the complexity of a server infrastructure by consolidating workloads to a small number of machines. In addition, the material addresses using DPM, and SCOM with VMM in order to maintain and manage Hyper-V environments.

 

I hope you’ll find some interesting stuff in those books, and of course, feel free to comment if you know maybe more free virtualization books.

App-V 4.6 RTM available

February 22, 2010 1 comment

Announced on MDOP blog  – Microsoft Application Virtualization 4.6, including App-V for RDS, is now publicly available as part of MDOP 2010. You can download MDOP 2010 via Microsoft Volume Licensing Site. As I wrote before App-V brings following new features:

  • App-V 4.6 is now compatible with 64-bit Windows client and server platforms
  • App-V 4.6 saves on SAN storage space by using a cache of virtualized applications that is shared across all your VDI desktops
  • App-V 4.6 and SCCM 2007 R2 SP2 now deliver virtual applications faster

 

Application Virtualization SDK for developers

February 1, 2010 Leave a comment

If you are developer and would like to try out library that provides a set of functions for emulating a file system and a system registry for an application, ckeck out BoxedApp SDK. It is a great way for creating virtual files, fake registry entries, keys and values.

 

With BoxedApp SDK you have following features:

  • Create virtual files
  • Create virtual registry keys
  • API for intercepting functions
  • Embed DLL
  • Embed ActiveX / OCX
  • Launching a virtual file-based process
  • Using virtual file system by several processes simultaneously
  •  

    If you are wondering when to use this SDK see some examples below:

     –  When an application must run properly even if it doesn’t have the right to write to the system registry and to the file system

     –  When an application uses DLL and files, which are to be kept secure, and because of that you can’t save them to disk

     –  When an application needs ActiveX but doesn’t have an installer because it must run instantly, without the installation (for example, when it’s a portable application that runs from a flash card)

    Of course a lot more use cases are available, and if you would like to try it for yourself download the demo here (19 MB)

    Categories: App-V, Misc Tags: , , , ,

    Virtual applications (App-V) download repository

    October 31, 2009 Leave a comment

    Virtual App repository

    One day I ran into one very useful and nice web site where you can find a lot of virtualized applications for download. Check it out here, and grab your virtual appliacations. On that site you can find applications for all kind of different purposes:

    • Audio/Video
    • Financial
    • Games
    • Internet
    • Messaging
    • Productivity
    • Programming and a lot more…

    So maybe you are asking yourslef, what do I do with those applications, or what are benefit of using virtualized applications. Well first using virtual appliactions can be very useful for you and your precious computer:

    • Virtual applications are never installed on your OS, so they do not slow down your system (e.g big registry etc…).
    • Virtual applications are in their own virtual bubble so they do not have incompatibility issues with other appliacations.
    • Your registry is a lot smaller when using virtualized applications.
    • Managebility of virtual applications is just great and easy.
    • Virtual applications are in one way portable applications, because you can grab them on your usb key and carry them around without need for installing them.
    • And a lot more benefits.

    Ok, after we mentioned few benefits of virtual applications, how can you launch them on your computer, after downloading from this site? Well there is one thing you need to have and that is Microsoft Applications Virtualization Client – one tiny software which you can download as part of Microsoft Desktop Optimization Pack. Of course if you  wanna use your applications with APP-V management server you will need to change one parameter in OSD file of application package, and that parameter is servername. If you don’t have management server then you can use App-V standalone mode described nicely here and here.

    Opening Infopath forms from Sharepoint site with virtualized Infopath

    September 12, 2009 1 comment

    Opening documents from Sharepoint site with virtualized Office can cause problems.Today many companies implemented some version of Sharepoint as their internal document management system and overall document repository system. Sharepoint is great and easy to use, and companies can really benefit of Sharepoint’s use, so in some point they decided to use sharepoint site for various kind of documents. That’s really great, and everything work fine for those kind of documents if users have Office installed locally. They simply open Internet explorer, type sharepoint url and click on document they need. Of course, because everything is installed localy, when user click on, for example, xml document it is automaticly opened with Microsoft Office Infopath. Same rule applies to Word documents. But what when users are using virtualized version of Office applications? Well then the thing get little more complicated. When Office is virtualized with Microsoft Application Virtualization and then streamed to a client, every file association is discovered properly, so with virtualized Word, users normaly open .doc or .docx documents if these documents are placed somewhere on users disk. But if those documents are placed on Sharepoint site, then when user click on xml or .docx document,  SharePoint is looking for ProgID’s “Sharepoint.OpenDocuments.*” which are not part of file association, but are part of SharePoint COM objects. So when you try to open those documents with virtualized Infopath or Word you will get error that you don’t have appropriate application for opening documents, or something similar. But luckily things can be fixed.

    How can this be fixed?

    So if you have Sharepoint site and virtualized Office(Infopath or Word), you should do the following:

    1. Sequence Infopath (Word) by best practices, but then in shortcut phase of sequencing include shortcut to Internet Explorer (It is easy, on application phase just click Add new application and then browse to executable of local Internet Explorer.)
    2. Install Sharepoint services support from the Office CD. You can find this by normally installing Office and then in Office Tools subtree only check on Sharepoint services support.

    If you do all that, opening document from sharepoint site should normally work.

    New Application Virtualization Tool – App-V USB

    August 28, 2009 1 comment

    APP-V USBIt is really great when someone makes free tool which is useful for everybody. One of those tools is new Application Virtualization tool released by Login Consultants. Everybody can download tool for free here.  Simple said, with this tool installed you can carry all your virtual applications, and then import them easily. Read more about the tool here.