Overview
The Automated Configuration Tool facilitates migrating and exporting configurations to Citrix DaaS. However, Citrix Virtual Apps and Desktops site configurations can also be migrated and exported from one on-premises environment to another using the ACT on-premises. This POC Guide guides you to migrate an on-premises Citrix Virtual Apps and Desktops site to another Citrix Virtual Apps and Desktops on-premises site using the Citrix Automated Configuration Tool. Consider moving a tested and validated DEV/UAT configurations to Production as a potential use case for the Automated Configuration Tool on-premises to on-premises migration.
Source Deployment:
Target Deployment:
Configuration with source and target:
Note:
Web Studio must be installed on the Target site, requiring, at minimum, Citrix Virtual Apps and Desktops Current Release 2212. Web Studio is necessary to use the orchestration APIs locally on the DDC.
Pre-requisites
On-Premises environment
- Citrix Virtual Apps and Desktops On-Premises environment with at least one registered VDA.
- Source: Citrix Virtual Apps and Desktops On-Premises environment running on one of the following versions:
- Any Long Term Service Release (LTSR) versions with their latest CU (1912, 2203)
- Or one of the corresponding latest two Current Releases (CR) versions (for example, 2112, 2206).
- Destination: Citrix Virtual Apps and Desktops On-Premises environment running at minimum the latest Current Releases (CR) version 2212.
- The domain-joined machine where you plan to run the Automated Configuration tool commands must run a .NET 4.7.2 version or higher.
- A machine with the Citrix PowerShell SDK, which automatically installs on the DDC.
Note
If running the tool on a different machine, it must be domain-joined, and Studio requires the correct PowerShell snap-ins installed. The installer can be found on your corresponding versions Product ISO installation media, obtained from the Citrix Virtual Apps and Desktops downloads website.
- Download the Automated Configuration tool MSI from here.
This proof of concept guide demonstrates how to
- Deploy a new Delivery Controller.
- Configure the new Delivery Controller.
- Export configuration from source DDC.
- Prepare the import.
- Import configuration on target DDC.
Deploy a new Delivery Controller
For this POC Guide, the new server is named UAT-DDC-01.
Note:
The new Delivery Controller Server requires at least 5 GB of memory.
-
Use a newly deployed Windows Server domain joined server.
-
Download Citrix Virtual Apps and Desktops 2212 or later.
-
Mount the ISO file.
-
Run AutoSelect as an Administrator.
-
Click Start.
-
Click Delivery Controller.
-
Accept the license and click Next.
-
Clear License Server and click Next.
-
Click Next.
-
Clear Install Microsoft SQL Server 2019 Express CU15 to use your current Database server and click Next.
-
Click Next.
-
Click Install.
-
Click Connect or clear the box and click Next.
-
Click Finish.
Configure the new Delivery Controller
Initial configuration
-
Click Deliver applications and desktops to your users.
-
Provide a Site Name and Click Next.
-
Provide Database information and Click Next.
-
Provide the name of your Citrix License Server and Click Connect.
-
Select Connect me and Click Confirm.
-
Click Next.
-
Click Finish.
Log on to Web Studio
Browse the Web Studio website at https://<servername>/Citrix/WebStudio.
-
Connect to Web Studio from the Start Menu and select Citrix Web Studio.
-
Provide credentials and Click Sign In.
-
Upon the first launch, the console is empty
Export configuration from source DDC
- Connect to the Source Delivery Controller.
- Download the latest version of the Citrix Automated Configuration tool from here
- Install AutoConfig_Powershell_x64.msi.
- Open Auto Config from the icon on your desktop.
-
Run Export-CvadAcToFile.
Prepare the import
-
Connect to the Destination Delivery Controller.
-
Download the latest version of the Citrix Automated Configuration tool from here
-
Install AutoConfig_Powershell_x64.msi.
-
Open Auto Config from the icon on your desktop (this creates the Citrix folder under C:\Users\%username%\Documents).
-
Copy the folder C:\Users\%username%\Documents\Citrix on the Source Delivery Controller and paste it to C:\Users\%username%\Documents\Citrix on the Destination Server. Accept the merge option.
-
Edit CvadAcSecurity.yml using notepad.
-
Provide the correct Hypervisor password and save the file.
-
Edit CustomerInfo.yml using notepad.
-
Update the environment from Production to OnPrem and save the file.
Import configuration on target DDC
-
Connect to the Destination Delivery Controller.
-
Open Auto Config from the icon on your desktop.
-
Run Import-CvadAcToSite.
-
Enter Yes to confirm and continue with the import.
-
The Hosting Connection is created first.
-
Next, the Machine Catalogs are created.
-
The Delivery Groups are created next.
-
Next, the Applications.
-
Lastly, the Policies are created.
Note:
Alternatively, run
Merge-CvadAcToSite
to ensure any existing configurations do not get overwritten. Optionally, migrate one component at a time by runningMerge-CvadAcToSite -Tags
, followed byMerge-CvadAcToSite -MachineCatalogs
, etc. See here for more information on granular migration.
Validation
Resource creation
First, validate that the resources have been created on the Destination Delivery Controller.
-
On Destination Delivery Controller, connect to Web Studio.
-
Click Machine Catalogs to validate your Machine Catalogs.
Here we can see that PVS and Static VDAs are present, and the MCS machine catalog is still running (the master image metadata has been copied)
-
Click Delivery Groups to validate your Delivery Groups.
Here we can see that the Delivery Groups have been created and PVS and Static VDAs added. However, the Delivery groups are in maintenance mode.
-
Click Applications and ensure you see all your applications (and any applications folder you have set up).
-
Click Policies and ensure you see all your Policies.
-
Click Machine Catalog. Wait until the process of the master copy is complete.
VDA Creation
Any VDAs need to be created manually for the MCS machine catalog. We add one Windows 10 MCS and one Windows Server 2022 MCS VDA to validate.
VDA Registration
Now that we have our MCS VDAs created, we can use PVS and Static without the need to recreate them.
-
Turn Off Maintenance Mode on the Delivery Group.
-
Restart all your VDAs.
-
Check the registration state.
-
All the Windows 10 MCS VDAs are registered. They have registered because they were installed with the VDA selected to Let machine creation service do it for registration.
-
All VDAs need to register with the new Delivery Controller to test everything. In our case, we created OU in Active Directory to place the new MCS, current PVS, and Static and create a GPO to change registration.
-
Move the VDAs you want to test to the OU where the GPO is applied.
-
Reboot the VDAs and check the registration status.
-
The VDAs moved to the correct OU with GPO applied are now registered.
Troubleshooting Tips
General information for troubleshooting:
- Refer to the Automated Configuration Tool Troubleshooting FAQ article.
- Prior to opening support ticket with Citrix, collect all log and
*.yml
files into a single zip by runningNew-CvadAcZipInfoForSupport
. No customer security information is included. Forward the zip file at the following location%HOMEPATH%\Documents\Citrix\AutoConfig\CvadAcSupport_yyyy_mm_dd_hh_mm_ss.zipNew-CvadAcZipInfoForSupport
. - Running any cmdlet creates a log file and an entry in the master history log file. The entries contain the date, operation, result, backup, and log file locations of the execution. This log provides potential solutions and fixes to common errors.
- The master history log is located in
%HOMEPATH%\Documents\Citrix\AutoConfig
, in the file namedHistory.Log
.* All operation log files are placed in a backup folder. - All log file names begin with
CitrixLog
, then show theauto-config
operation and the date and timestamp of the cmdlet execution. - Logs do not auto-delete.
- Console logging can be suppressed by using the
-quiet
parameter
For more information:
-
You can also reach out via the Support Forum
-
Download new versions from the direct Downloads website link
-
Check out our On-demand August 19 webinar recording - "Why Citrix Cloud migration is easier than ever". We shared more information on the tool and hosted a Live Q&A session with a panel of Citrix experts.
-
Refer to the Citrix DaaS Migrate to cloud section for more information and the Official Documentation.
-
If after consulting the information listed previously you still need assistance, get in touch with your Citrix representatives, Customer Success Manager, or Support.
There are no comments to display.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now