/
Deploying Microsoft App-V 5 and Citrix Deploying Microsoft App-V 5 and Citrix

Deploying Microsoft App-V 5 and Citrix - PowerPoint Presentation

celsa-spraggs
celsa-spraggs . @celsa-spraggs
Follow
346 views
Uploaded On 2019-12-17

Deploying Microsoft App-V 5 and Citrix - PPT Presentation

Deploying Microsoft AppV 5 and Citrix XenDesktop 7 David Wagner Citrix Product Manager Matthijs Gates Microsoft Program Manager WINB215 Objectives amp Takeaways Session Objectives Review AppV 50 SP2 Spring Update ID: 770759

microsoft app publishing citrix app microsoft citrix publishing windows http studio package add policy appv vda launch sync server

Share:

Link:

Embed:

Download Presentation from below link

Download Presentation The PPT/PDF document "Deploying Microsoft App-V 5 and Citrix" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.


Presentation Transcript

Deploying Microsoft App-V 5 and Citrix XenDesktop 7 David Wagner, Citrix Product ManagerMatthijs Gates, Microsoft Program Manager WIN-B215

Objectives & Takeaways Session ObjectivesReview App-V 5.0 SP2 Spring UpdateProvide an overview of XenDesktop /XenApp 7 integration with App-V 5.0 Key TakeawaysApp-V 5.0 SP2 Spring Update includes numerous innovations, improvements, and how-to guidelinesApp-V 5 exposes an integration interface for 3rd party products for all App-V componentsXenDesktop/XenApp 7 has seamlessly integrated with App-V 5

Agenda

App-V 5.0 SP2 Spring Update

App-V 5.0 SP2 Spring Update Innovations Improvements More Guidance Streamlined Publishing and Launch Improved first launch performance Support for a VFS write mode Sequencer setting Updates made to App-V Sequencer and App-V Package Converter App-V Performance Guide App-V Publishing Guide Updated Administration and Sequencing Guides

Innovations to Publishing and Launch Innovation Description Smaller Publishing Feature BlockSequencer automatically saves a small Publishing Feature Block (FB0) Less data is needed to add and publish a virtual applicationFaster response for the user More Streamlined First Launch First launch tuned for Stream Faulting L aunch path has been optimized More efficient App-V package metadata retrieval More Optimal Disk IODisk IO has been streamlined Batched disk IO operationsRead-ahead improvements

Improvements to Existing Capabilities Improvement Description Full VFS Write Mode For the virtualization of applications that require write-access to specific directoriesSimple Sequencer checkboxApplied by the App-V Client when the App-V package is deployed App-V 4.6 to App-V 5 Package Converter Improvements Improved package conversion success rates Better Q-drive detection and warnings More verbose and actionable reporting and logging Shortcuts to Applications on the NetworkFor shortcuts to applications on a network shareUser-credentials are used to access the applicationSimple inclusion of shortcut into App-v package

More Deployment Guidance and How-To Guides Guidance Description Don’t use FB1 Recommended best practice 100% Stream-faulting for optimal launch performance Guideline is for sequencing the application Roam User Publishing State For Pooled VDI and RDSH deployments Applications are published once Subsequent logins restore the user state (publishing) Prep the Baseline VM Pre-add select App-V packages Pre-publish select global App-V packagesTune to your deployment Use Shared Content Store (SCS) Mode Used in low-latency deployments Optimal launch performanceOptimal disk space usage

Additional Updates Description Sequencer supports Save AsSimplifies the creation of App-V packages with new lineageTest upgraded packages side-side Better registry type support Dynamic Deployment Configuration More types: DWORD, QWORD, MULTI-SZ Very large application support Sequencer runtime optimization Support Sequencing very large virtual applications Bug fixesSeveral bug fixesAll App-V components App-V 5.0 SP2 Spring Updates

Best PracticeShared Content Store (SCS) modeLarge applications: pre-add and pre-publish App-V packagesTune the Deployment App-V 5.0 SP2 Spring Update Configure Base Image for Optimal Performance in Pooled VDI

App-V 5 Spring 2014 Update Use Shared Content Store Mode in Pooled VDI and RDSH Shared Content Store Mode FB0: Publishing Data Rest of App-V Package App-V Package 3-5% of App-V Package Size Use in Low-Latency Networks Network Bandwidth Depends on Application Payload

App-V 5.0 SP2 Spring Update: Publishing State Registry Changes under HKCU\Software\Classes HKCU\Software\Microsoft\ AppV HKCU\Software\Microsoft\Windows\ CurrentVersion \App Paths File %APPDATA%\Microsoft\ AppV \Client\Catalog %APPDATA%\Microsoft\ AppV \Client\Integration %APPDATA%\Microsoft\Windows\Start Menu\Programs

App-V 5 Spring 2014 Update Optimized Publishing Performance: User Login 1 st Time User Login Subsequent User Logins

Demo Shared Content Store Mode

Integrating with App-V 5

Integrating with App-V 5: PowerShell

App-V 5.0 PowerShell CmdLets: App-V Client Get- AppvVirtualProcess Start- AppvVirtualProcess Add- AppvClientConnectionGroup Add- AppvClientPackage Add- AppvPublishingServer Disable- AppvClientConnectionGroup Enable- AppvClientConnectionGroup Get- AppvClientApplication Get- AppvClientConfiguration Get- AppvClientConnectionGroup Get- AppvClientMode Get- AppvClientPackage Get- AppvPublishingServer Mount- AppvClientConnectionGroup Mount- AppvClientPackage Publish- AppvClientPackage Remove- AppvClientConnectionGroup Remove- AppvClientPackage Remove- AppvPublishingServer Repair- AppvClientConnectionGroup Repair- AppvClientPackage Send- AppvClientReport Set- AppvClientConfiguration Set- AppvClientMode Set- AppvClientPackage Set- AppvPublishingServer Stop- AppvClientConnectionGroup Stop- AppvClientPackage Sync- AppvPublishingServer Unpublish-AppvClientPackage

Considerations When Using PowerShell

XenDesktop/XenApp 7 App- V 5 Integration

Publishing Apps Wizard Both local and App-V 5 apps published the same way

Published App List If you change config in App-V Mgt Server, must refresh apps in Studio

Configuring App-V 5 Components in Studio

Featured Apps …

… and All Apps

Launching the app … Users launch apps from Search function or Receiver Search will have all apps Receiver determines best launchHosted versus local (App-V local)

Integration Details

Design and Components App-V Management Server App-V Publishing Server Citrix App-V SDK for Studio Citrix App-V VDA deliverable Citrix Studio Broker VDA New Components Microsoft Components Existing XD components App-v Client Citrix App-V SDK for Studio VDA (with App-V client)

Citrix PoSH Module for App-V 5 Citrix.Appv.Admin.V1 installed /registered w/ Studio Citrix Studio loads Citrix.Appv.Admin.V1 using Add-PSSnapin Installed: Citrix\StudioAppVIntegration\SnapIn\Citrix.AppV.Admin.V1\cmdlets available through low level SDK implemented in CtxAppVStudio.dll:New-CtxAppVServerGet - CtxAppVServer Test - CtxAppVServer Get -CtxAppVApplicationGet-CtxAppVApplicationInfoConvertTo-CtxAppVLauncherArgCitrix App-V SDK for Studio

App-V 5 Configuration Don ’ t forget to Enable- PSRemoting http://technet.microsoft.com/en-us/library/hh849694.aspx http://technet.microsoft.com/en-us/magazine/ff700227.aspx

New commandlets XD 7.1 XD 7.1 has introduced two new powershell cmdlets on the Citrix Studio side – Get -CtxAppvServerSettingsSet-CtxAppvServerSettings. Set-CtxAppvServerSettings –AppVPublishingServer < servername > - UserRefreshOnLogon $false

Add Additional Pub or Mgt Servers $appvslot = Get- BrokerConfigurationSlot -Name "AppV"$policy = New-CtxAppVServer –PublishingServer “http://pub-svr.domain.com” –ManagementServer “http:// mgmt-svr.domain.com”New-BrokerMachineConfiguration -ConfigurationSlotUid $ appvslot.Uid -Description “added manually” - leafName 2 -Policy $policy ### leafname should be a unique number####

Add Additional Pub or Mgt Servers $mc = Get-BrokerMachineConfiguration –Name “ AppV *” | %{$b = Get- CtxAppVServer –ByteArray $_.Policy;if(($b.managementServer –eq “http://mgmt-svr.domain.com”) –and ($ b.PublishingServer –eq “http://pub-svr.domain.com”)){$_}}$dg = Get- BrokerDesktopGroup - Uid $ DesktopGroupID or $dg = Get- BrokerDesktopGroup -Name $DesktopGroupName$mc | Add-BrokerMachineConfiguration -DesktopGroup $dg

Citrix Policy commandlets http://support.citrix.com/proddocs/topic/citrix-appv-admin-v1-xd7/citrix-appv-admin-v1-wrapper-xd7.html Get App-V Config Get -BrokerMachineConfiguration –Name “AppV*” | %{Get-CtxAppVServer –ByteArray $_.Policy}Get App-V Config for Specific Delivery GroupsGet-BrokerMachineConfiguration | %{foreach($a in $_.DesktopGroupUids ){if($a – eq $ dguid ){Get- CtxAppVServer –ByteArray $_.Policy}}}

Precedence of settings CtxAppVServerSetting object is independent of the AppvpublishingServer object The Set-CtxAppvServerSetting cmdlet pushes the settings to all the associated VDAsIf publishing server settings are changed directly in VDA, they won’t be reflected in Studio (Studio uses Get-CtxAppvServerSetting)To permanently change the publishing server settings on VDA use Set-CtxAppvServerSetting cmdlet in Studio If changing the publishing server settings on VDA, the settings will be replaced by studio settings when VDA reboots

Policy Precedence

Policy Precedence

Precedence: GPO and Citrix Policy Uses a LogicalOR … Pub. Svr . SettingGPO setting Desktop Studio SettingEffective setting Global Refresh Enabled True False True Global Refresh on Logon True FalseTrueUser Refresh EnabledTrue TrueTrue User Refresh on LogonTrue TrueTrue

App-V 5 VDA Integration Components CtxAppVLauncher.exeUsed to launch the App-v apps on the VDA PzVirtAppPlugin.dll (Broker-Agent plugin)The data about the Publishing Server configuration will be pushed down to the VDA using the XD Slots and Blobs mechanismReceives notifications when the policy data is pushed down into the registryOn receiving the notification, it would spawn the PzVirtAppComServer.exe and call the interface for configuring the Publishing ServerPzVirtAppComServer.exe This is an on demand Out of Proc COM serverUsed to configure App-v publishing server settings on client Citrix App-V VDA deliverable

How XD launches App-V 5 apps CtxAppVLauncher publishes as a Local App Broker sends PS and App-V app specific AppID/Package GUIDICA launches CtxAppVLauncher (managed application) with this informationSyncs all packages if it fails to detect the PackageSynchronizes with the App-V 5 Publishing server for visibility to the App-V 5 Client

CtxAppVLauncher CtxAppVLauncher.exe is written in a way to trigger the command Sync-AppVPublishingServer – ServerId <>, and wait for its outputLaunches app after confirming the app is readyCtxAppVLauncher.exe is capable on its own to SYNC everythingThis also means all Connection Groups required If app is already present and ready, it will avoid invoking a SYNC command.

CtxAppVLauncher command line CtxAppVLauncher.exe "HASHED<APPID> + HASHED<PUBLISHINGSERVER> + PACKAGEGUID | ISINTARGET |APPLICATION NAME”

SYNC Troubleshooting Until App-V 5.0 SP2, multiple SYNCs couldn’t be run synchronouslyWhen a user launched an app, CtxAppVLauncher.exe triggered a Sync (Sync no. 1)If UserLogonRefresh is set to TRUE, the App-V Client will issue a Sync ( Sync no. 2). This often resulted in CtxAppVLauncher’s issuing a sync fail and an App Launch failure http://blogs.citrix.com/2014/01/06/app-v-server-sync-failure / http://support.citrix.com/proddocs/topic/xenapp-xendesktop-75/app-v- troubleshooting.html

SCCM Connector New XA Connector for System Center 2012 & SP1 It only supports XA 6.5 for now…an XD 7 version is in the worksVideo overview - http://blogs.citrix.com/2013/03/14/user-centric-application-delivery-with-microsoft-system-center-and-the-xenapp-connector-for-configuration-manager Download - http://citrix.com/downloads/xenapp/components/xenapp-connector-for-sccm-2012.html

Migration and Conversions

Script Functionality Leveraging the Sequencer PoSH commandlets

Basic Usage

Add to App-V

Limitations No rules support – recreate in the App-V packageScripts will have to be recreatedPre-launch analysis also requires being recreatedSome effort required for IIC – in App-V 5 these are Connection Groups Convertor converts Top Level profile only and creates empty sequences on Minimal IICIt is recommended to remove minimal IIC profiles from the AppHubMinimal IIC profiles do not have any applications but just links 2 CAS profiles

PoSH script for Hyper-V 2012 R2 Retrieves a list of CAS profiles and runs the conversion utility …

PoSH script for Hyper-V 2012 R2 … then rolls back to snapshot and processes next CAS profile

Demo Migrating to App-V 5.0

Windows Enterprise windows.com/enterprise windowsphone.com/business   Windows Track Resources Windows Springboard microsoft.com/springboard Microsoft Desktop Optimization Package (MDOP) microsoft.com/ mdop Windows To Go microsoft.com/windows/ wtg Windows Phone Developer developer.windowsphone.com

Related Content Breakout Sessions/Hands on LabsWIN-B215: Deploying Microsoft App-V 5 and Citrix XenDesktop 7 – Thursday 14:45 WIN-B318: Deploying Microsoft BitLocker Administration and Monitoring (MBAM) 2.5 – Monday 15:00 WIN-B330: Everything You Need to Know for a Successful Office 2013 Deployment on App-V Deployment – Tuesday 15:15 WIN-B331: UE-V: Keeping a personalized experience across Virtual & physical environments – Tuesday 15:15WIN-B355: The Circle of Life for an App-V 5.0 Package: From Sequence to Termination – Thursday 13:00 WIN-B360: Sizing App-V 5: Planning and Designing a Highly Available, Scalable, and Resilient Management and Delivery System – Thursday 14:45WIN-B362: Project Virtual Reality Check: Microsoft App-V 5 Performance, Tuning, and Optimization (App-V PTO) - Thursday 10:15 WIN-H309: Implementing App-V 5 in Microsoft System Center 2012 R2 Configuration Manager

Windows Enterprise windows.com/enterprise windowsphone.com/business   Windows Track Resources Windows Springboard microsoft.com/springboard Microsoft Desktop Optimization Package (MDOP) microsoft.com/ mdop Windows To Go microsoft.com/windows/ wtg Windows Phone Developer developer.windowsphone.com

Resources Learning Microsoft Certification & Training Resources www.microsoft.com/learning msdn Resources for Developers http://microsoft.com/msdn TechNet Resources for IT Professionals http://microsoft.com/technet Sessions on Demand http://channel9.msdn.com/Events/TechEd

Complete an evaluation and enter to win!

Evaluate this session Scan this QR code to evaluate this session.

© 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.