Citrix AppDisk is out in Technical Preview and one of the killer features are the integration with Citrix AppDNA.
I’ve been working with the Citrix AppDisk since late June after I had an interview with David Wagner, the product manager of both AppDisk and AppDNA.
I’ve also helped FSlogix with their setup and the development of the whitepaper FSLogix Apps for Citrix AppDisk Reference Architecture.
[smart_track_player url=”http://traffic.libsyn.com/xenappblog/AE010.mp3″ social=”false” ]
So before you get started with AppDisk you would want to get AppDNA up and running. The latest version 7.6.5 now also provides support for Windows 10.
As always the process has been automated and integrated into my Automation Framework. Here’s how you get it all installed automatically.
The small PoC below is using SQL Express 2014 on a VM with 2 vCPU and 8GB of memory. For a production environement you would go with a SQL Server.
Download SQL Express 2014
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
Write-Verbose "Setting Arguments" -Verbose $StartDTM = (Get-Date) $url = "http://download.microsoft.com/download/E/A/E/EAE6F7FC-767A-4038-A954-49B8B05D04EB/ExpressAndTools%2064BIT/SQLEXPRWT_x64_ENU.exe" $output = "$PSScriptRoot\SQLEXPRWT_x64_ENU.exe" $start_time = Get-Date $Vendor = "Microsoft" $Product = "SQL Server Express" $Version = "2014" $LogPS = "${env:SystemRoot}" + "\Temp\$Vendor $Product $Version PS Wrapper.log" Start-Transcript $LogPS Write-Verbose "Start Downloading $Vendor $Product $Version" -Verbose $wc = New-Object System.Net.WebClient $wc.DownloadFile($url, $output) #OR (New-Object System.Net.WebClient).DownloadFile($url, $output) Write-Verbose "Stop logging" -Verbose $EndDTM = (Get-Date) Write-Verbose "Elapsed Time: $(($EndDTM-$StartDTM).TotalSeconds) Seconds" -Verbose Write-Verbose "Elapsed Time: $(($EndDTM-$StartDTM).TotalMinutes) Minutes" -Verbose Stop-Transcript |
Install SQL Express 2014
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
@echo off REM Batch Wrapper for MDT, Standalone and Chocolatey Installation - (C)2015 xenappblog.com pushd %~dp0 SET AppName=Microsoft SQL Server Express 2014 SET Version=2014 SET OPTIONS= SET OPTIONS=/Q SET OPTIONS=%OPTIONS% /ACTION=Install SET OPTIONS=%OPTIONS% /FEATURES=SQL,SSMS SET OPTIONS=%OPTIONS% /INSTANCENAME=SQLEXPRESS SET OPTIONS=%OPTIONS% /SQLSVCACCOUNT="NT AUTHORITY\NETWORK SERVICE" SET OPTIONS=%OPTIONS% /SQLSYSADMINACCOUNTS="%USERDOMAIN%\Administrator" "BUILTIN\Administrators" SET OPTIONS=%OPTIONS% /AGTSVCACCOUNT="NT AUTHORITY\Network Service" SET OPTIONS=%OPTIONS% /IACCEPTSQLSERVERLICENSETERMS SET OPTIONS=%OPTIONS% /BROWSERSVCSTARTUPTYPE="Automatic" cls echo. echo Installing %AppName% echo. cd %Version% start /wait SQLEXPRWT_x64_ENU.exe %OPTIONS% popd endlocal |
Install Required Roles and Features
1 |
powershell.exe Install-WindowsFeature -Name Web-Mgmt-Compat,Web-Metabase,Web-Lgcy-Scripting,Web-Lgcy-Mgmt-Console,Web-Mgmt-Service,Web-Net-Ext,Web-ASP,Web-Asp-Net,Web-Asp-Net45,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-Includes,Web-Default-Doc,Web-Dir-Browsing,Web-Http-Errors,Web-Http-Redirect,Web-Static-Content,Web-Http-Logging,Web-Request-Monitor,Web-Basic-Auth,Web-Filtering,Web-Windows-Auth,Web-IP-Security,Web-Mgmt-Console,Web-Scripting-Tools,Web-Url-Auth,Web-AppInit |
Install Citrix AppDNA
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
Write-Verbose "Setting Arguments" -Verbose $StartDTM = (Get-Date) $Vendor = "Citrix" $Product = "AppDNA" $PackageName = "Citrix-AppDNA" $Version = "7.6.5" $InstallerType = "msi" $LogPS = "${env:SystemRoot}" + "\Temp\$Vendor $Product $Version Server PS Wrapper.log" $LogApp = "${env:SystemRoot}" + "\Temp\$PackageName.log" $Destination = "${env:ChocoRepository}" + "\$Vendor\$Product\$Version\$packageName.$installerType" $UnattendedArgs = "/i $PackageName.$InstallerType ALLUSERS=1 /qn /liewa $LogApp" Start-Transcript $LogPS CD $Version Write-Verbose "Starting Installation of $Vendor $Product $Version Server" -Verbose (Start-Process msiexec.exe -ArgumentList $UnattendedArgs -Wait -Passthru).ExitCode Write-Verbose "Customization" -Verbose Write-Verbose "Stop logging" -Verbose $EndDTM = (Get-Date) Write-Verbose "Elapsed Time: $(($EndDTM-$StartDTM).TotalSeconds) Seconds" -Verbose Write-Verbose "Elapsed Time: $(($EndDTM-$StartDTM).TotalMinutes) Minutes" -Verbose Stop-Transcript |
Configure Citrix AppDNA
After the installation is complete you should add the required firewall ports or just disable the firewall.
Start AppDNA to configure the database.
The configuration takes some time depending on the resources you allocated to your VM. My configuration was done in 32 minutes.
Start AppDNA and login in with Administrator / apps3cur3 and follow the wizard.
Select Administration – Users – Import from AD – AD Linked Users.
Integrate Citrix AppDNA with AppDisk
Configure your site with the AppDNA Database information.
Now you’re ready to import any Operation System to AppDNA. Make sure to use a colon between the SQL Server instance and database name.
If you want to learn more check the video Citrix AppDNA 121: Importing Applications and OSs.
Citrix AppDNA Express
I would also like to let you know that there now exists a new beta service called AppDNA Express. At the moment this only supports MSI, but as you can see there’s already a section for Setup.exe so l’m looking forward to this new feature.
Simply upload the MSI and wait for the report to be finished.