7

VMware’s App Volumes home lab installation using VHD’s

App Volumes is a fairly new acquisition for VMware. Formerly known as CloudVolumes, App Volumes comes bundled with Horizon 6 Enterprise as well as offered as a standalone product for Citrix shops. This is an on-demand application delivery solution that “installs” applications natively on endpoints. Not to be confused with ThinApp which virtualizes applications, App Stacks are more like fully integrated and installed applications. While it won’t help you to run two incompatible applications on the same system, it does help simplify VDI deployments.

App Volumes Example 1

Take these three groups for example. Your kiosks may only need IE, so the base VDI image will do. Meanwhile Group A needs Microsoft Office and Group B needs Office and Visual Studio. With App Volumes you can deliver all these applications based on individual users or groups from one master image. This reduces storage requirements and makes application upgrades much easier!

In the first installment of our App Volumes discovery series we’ll look at a simple home lab installation using VHD’s to deliver applications rather than VMDK’s. This would normally be used for physical hosts or VM’s running on non-VMware hypervisors. It’s the trickier of the two methods because the documentation is a bit lacking, but it’s still a pretty simple installation and configuration process.

Even though I’m using Windows 8  for the agent VM’s and Server 2012 for the manager just be aware that as of right now App Volumes does not support Windows 8 or Server 2012!

What you’ll need:

  1. Active Directory Server
  2. App Volumes Manager Server
    1. Server 2008 R2
    2. 4GB Ram
    3. 2 vCPU’s minimum, 4 recommended
    4. My config has a 40 GB vmdk for OS, 100 GB for the App Stacks, 50 GB HDD for Writable Volumes. All thin provisioned.
  3. 2 App Volumes Agent VM’s. One to capture the application installs (provisioning VM)andonefortheend user workstation
    1. Windows 7 (64 or 32 bit) (Server 2008 R2 is also supported and will be covered in a later article)
    2. 1GB Ram or more depending on the application requirements

 

 Installing App Volumes Manager

  1. Join the App Volumes Manager VM to the domain
  2. Install the Application Server Role and .NET Framework 3.5 featureAppServRoleNET35Features
  3. Mount the App Volumes ISO and copy D:\Hypervisor\In-Guest VHD\cloudvolumes\apps_templates\app_volume.vhd to E:\AppStacks\cloudvolumes\apps_templates folder (where D: is your mounted ISO and E: is your 100GB vmdk)
  4. Share the AppStacks folder with the Domain Computers group.
  5. Copy all files in D:\Hypervisor\In-Guest VHD\cloudvolumes\writable_templates to F:\WritableVols\cloudvolumes\writable_templates (where D: is your mounted ISO and F: is your 50GB vmdk)
  6. Share the WritableVols folder with the Domain Computers group.
  7. Run the installer and select “Install App Volumes Manager”InstallAppVolMgr
  8. Since this is a demo environment select SQL Server Express.SQLExpressInstall
  9. Wait for SQL Express to be installed.
  10. The default SQL instance settings are OK for our demo.SQLExpressConfig
  11. Default ports are OK.AppVolumesPorts
  12. Installation defaults are OK.AppVolumesInstallSelection
  13. Wait for the installer to complete and click Finish.
  14. Open a browser on the App Volumes Manager VM and navigate to https://localhost/start-config or click on the icon on the desktop.AppVolumesMgrIcon
  15. Click Get Started.Config_Get_Started
  16. The demo license is good until 12-31-2015!AppVolumesLicenseInfo
  17. Configure your Active Directory settings and click Next.AD Configuration
  18. Configure the App Volumes administrators group. I just used Domain Admins.AD Configuration 2
  19. Configure the Hypervisor. Since we’re using VHD’s just select VHD as the Hypervisor and click next.HyperVisorConfig_VHD
  20. Configure your storage locations.StorageConfig
  21. Confirm your settings and complete the configuration.ConfigReview

 

 Install App Volumes Client on the Provisioning VM

  1. Join the VM to the domain.
  2. Mount the App Volumes ISO and run the installer.
  3. Select App Volumes Agent.AppVOlInstallAgent
  4. Reboot if prompted.
  5. Repeat these steps for the end user VM.

Creating an AppStack

  1. Open the App Volumes console by opening a web browser on the App Volumes Manager and navigating to http://localhost/login
  2. Click on Volumes and select the AppStacks tab.
  3. In this example we’ll install notepad ++ Populate the settings per the example below and click Create.CreateAppStack
  4. Select “perform in the background” and click Create.
  5. Once the Notepad ++ App Stack is available, click Provision.ProvisionAppStack
  6. Search for and select the provisioning VM by selecting the radio button in the right hand column. Click Provision.ProvisionAppStack2
  7. Confirm the start provisioning process and click Start Provisioning.ConfirmStartProvisioning
  8. Restart the provisioning VM per the App Stack directions.RestartProvisioningVMNPPP
  9. Once the provisioning VM has restarted, log in and confirm you see the following dialog. It may take two reboots for this to occur. DO NOT CLICK OK.Provisioning Mode
  10. Install Notepad ++.Install NP++
  11. Once Notepad ++ has been installed, click OK on the App Volumes dialog.
  12. Click Yes and reboot the provisioning VM.provisioningcomplete
  13. Click OK.provisioningcomputerwillreboot
  14. Once the provisioning VM has rebooted, sign in and click OK on the App Volumes dialog. It may take two reboots for this to occur.ProvisionngSuccessful
  15. Go back to the App Volumes console and click Complete on the Notepad ++ App Stack.CompleteProvisioning

 

Assigning AppStacks to end user workstations

  1. In the App Volumes console click on Volumes and click on the AppStacks tab. Expand the Notepad ++ AppStack and click Assign.AssignAppStackNPP
  2. Search for the name of the end user VM. Select the VM by clicking on the check mark in the right hand column. Click Assign.
    AssignAppStackEUC1
  3. Confirm the assignment. Note the AppStack will only become available upon next reboot or login.
  4. Login or reboot the end user system if necessary.
  5. Launch Notepad++.installedAPp
  6. Notepad++ is now being delivered to the end user system via App Volumes!!NP++ Installed

Taking A quick peek under the covers, we see the VHD mounted on the VM.

ProvisioningDesktopMounts

This is way cool stuff!!! In the next post we’ll look at running our AppStacks on a Server 2008 R2 system using VMDK’s.

Matt Bradford

7 Comments

  1. Hi Matt,

    Thanks for the guide. I got it my lab all up and running exept for the provisioning part.

    I’ve created a new appstack and selected the provisioning pc. But i’m not getting any of the messages on the provisioning pc. I’ve rebooted it a couple of times, still no messages.

    The app volumes manager shows the attached appstack with status ‘provisioning’ but nothing happens.

    My lab is setup with VM Ware Workstation 10. I’m using Windows Server 2008 and Windows 7.

    any ideas?

    • Hi ARO!

      Is your provisioning VM on the domain? I noticed I left that part out. If it is on the domain, do you see the VHD mounted when you open Disk Management?

      Cheers!
      Matt

      • Hi Matt,

        Thx for the reply. The provisioning VM is domain joined. I think the problem is the mounting of the VHD on the provisioning VM. I don’t see the VHD in Disk Management.

        I’m having the same problem in my Windows Server 2012 and Windows 8 lab.

        Am i missing some kind of setting to get the VHD mounted on the provisioning VM?

        Cheers,
        ARO

    • Hi ARO,

      I had the exact same problem.
      What I found wrong in my setup was the share permissions. I had only given Read permissions.
      After assigning Read/Write permissions to the share, provisioning worked.

      Maybe this could be added to the tutorial as info.

      Cheers!
      Mircea

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.