Where to download ?
Certain legacy Citrix tools are now available on request only. Please submit the request here - https://forms.gle/obA39PEz5qpDiSPq8
Once we verify your request, we will provide access to the download location.
If you are currently using Smart Scale to power manage your machines, you might want to migrate the configuration data into Autoscale in Citrix Studio. You can choose to migrate the data manually or using PowerShell scripts.
Note:
Manual migration involves manually configuring the Autoscale user interface in Citrix Studio by associating the Smart Scale user interface per Delivery Group.
1. Select Delivery Groups in the Studio navigation pane on the Manage tab.
2. In the Actions panes, select the Delivery Group and then click Edit Delivery Group.
3. On the Autoscale page, select the Autoscale check box to enable Autoscale.
4. On a separate tab in your browser window, go to Citrix Cloud > Smart Tools > Smart Scale.
5. On the Virtual Apps and Desktops Sites page, locate the Site for that Delivery Group.
6. Click View Site and then click Configure.
7. On the Smart Scale configuration page, select that Delivery Group.
8. Migrate the data including machine cost, capacity buffer, and power-off delay from Smart Scale to the applicable fields in Autoscale.
9. On the Autoscale page, create schedules equivalent to those defined in Smart Scale. For more information about how to create schedules, see How Autoscale power manages machines.
10. After your data migration completes, click Apply. After that, the data is saved to Autoscale successfully.
11. On the Smart Scale configuration page, click the Smart Scale Enabled toggle button to disable Smart Scale for the Delivery Group you selected.
12. Repeat the steps above to migrate the data for other Delivery Groups.
Note:
Automated migration from Smart Scale to Autoscale is supported. This article describes how to complete your Smart Scale to Autoscale migration using PowerShell scripts. Review the entire article before starting the migration process so that you know what to expect.
Prerequisites
Before you start the migration process, review the following prerequisites:
Migrate
Migrating includes exporting data from all Delivery Groups in Smart Scale and then importing the data to Autoscale per Delivery Group.
Download the zip file containing the PowerShell script. Extract the zip file to a convenient folder (for example, C:\Example). Ensure that the script is granted the permission to write to that folder.
Configure the PowerShell execution policy to “Unrestricted” using the following command: Set-ExecutionPolicy. For more information about execution policies, see https://docs.microsoft.com/en-us/previous-versions//dd347641(v=technet.10).
Note:
1. Run the GenerateScript.ps1 script.
2. When prompted, type a value for the required parameter in the PowerShell window.
-For the “apiKey” parameter, type the API key displayed on the My Profile page in Smart Scale.
-For the “secretPassword” parameter, type the secret password displayed on the My Profile page in Smart Scale.
If the GenerateScript.ps1 script executes successfully, it generates the scripts for each Delivery Group in the “C:\Example\GenerateScriptFolder\scripts\currentRunTimeStamp” folder.
Important:
Find the summary report created in the
“C:\Example\GenerateScriptFolder\scripts\currentRunTimeStamp\” folder. The summary report includes:
Review the summary report and address all issues where applicable.
Note:
Run the scripts you generated in Step 3 above to import the data to Autoscale. The data includes defined schedules, machine cost, power-off delay, and capacity buffer.
Note:
If there are errors during script execution, see Troubleshooting checklist for the generated scripts in this article.
The Session count metric in Smart Scale lets you set a maximum number of sessions that are allowed on each machine in the Delivery Group. However, this configuration (MaxSessionsPerServer configuration) is not imported to Autoscale by the scripts. To import the data, create a Group Policy setting (Citrix Studio > Policies > Create Policy) for the maximum number of sessions and then assign it to the applicable Delivery Group. Make sure to assign a higher priority to the policy compared to the existing ones so that the policy can take effect.
After migration, the schedules in Autoscale might not have a one-to-one mapping to the schedules defined in Smart Scale. This is because unlike Smart Scale, Autoscale does not allow the same day to be present in multiple schedules. Therefore, while importing the schedule data to Autoscale, the generated scripts address the scenarios where the same day is included in multiple schedules. For more information about how the scripts address merge conflicts, see the examples below.
If there are no merge conflicts between the schedules, Autoscale schedules will have the same names as those in Smart Scale. Otherwise, the resulting schedule is automatically renamed with a suffix “-AutoGenerated.” This makes it easy to differentiate modified schedules from unmodified ones.
After you roll out a migration, you can roll it back. Doing so restores your previous Smart Scale configuration. To roll back a migration, follow the steps below.
1. Delete all Autoscale schedules using a PowerShell script. For example, `(Get-BrokerPowerTimeScheme -DesktopGroupUid {ProvideUid}) | %{Remove-BrokerPowerTimeScheme $_}`. Note that migrated schedules cannot be deleted from the Autoscale user interface.
2. Disable Autoscale using a PowerShell command. For example, `(Set-BrokerDesktopGroup -Name "name" -AutoscalingEnabled $false)`.
3. Enable Smart Scale manually.
Troubleshooting
If errors occurred during the execution of GenerateScript, review the troubleshooting checklist below.
If you have checked the log file and this troubleshooting section, and the problem persists, contact Citrix Technical Support.
If errors occurred during execution of the generated scripts, review the troubleshooting checklist below.
If you have checked the log file and this troubleshooting section, and the problem persists, contact Citrix Technical Support.
Where to download ?
Certain legacy Citrix tools are now available on request only. Please submit the request here - https://forms.gle/obA39PEz5qpDiSPq8
Once we verify your request, we will provide access to the download location.