For the latest fixes and features, including compatibility with other software packages that you use, we encourage you to stay current with the App Layering upgrades. The upgrade process is partially automated, in that the appliance periodically checks for the latest package. It downloads new packages, verifies, and extracts the files. Users receive a message the next time they log in, and administrators with proper permissions can start the upgrade.
Besides upgrading the App Layering appliance, also expect to upgrade the:
- App Layering agent, if it is installed on your hypervisor and provisioning servers.
- Published layered images (requires provisioning your servers with the images).
This article explains how to complete each of the associated upgrades.
Before you upgrade
Before you upgrade:
- Verify that a network file share is configured.
- Back up the appliance.
- Check the supported upgrade path (for pre-19.1 versions only)
Verify that a network file share is configured
You can confirm the share by logging on to the appliance and navigating to System > Network File Share. After ensuring you configured the file share, you can upgrade the appliance.
Back up the appliance
Take a snapshot or checkpoint of the appliance.
Check the supported upgrade path
If you are upgrading from an older version of the product, use the following upgrade path to bring your installed version up-to-date. Click on the version number to be taken to the Download page for that version.
|Upgrade from Version||To Version|
Upgrade the appliance
App Layering upgrades are partially automated. The appliance periodically checks for upgrades and downloads the latest one, as long as the correct permissions, and other requirements, are in place.
The Upgrade folder includes the appliance upgrade, the agent upgrade, and a folder of tools to use on your OS layer.
What happens if an upgrade is found
If an upgrade is found during the automated check, the latest available compressed folder is downloaded to your appliance. The appliance verifies the download, and extracts the files in the background.
Meanwhile, every user receives one of the following messages the next time they log in:
- Start Upgrade: Run the App Layering appliance software upgrade (Administrators only).
- Close: Dismisses the message, so you can manually start the upgrade later using User tab > Upgrade Appliance.
For more detail about what the appliance checks for, see How the upgrade checks work, in detail.
Who can start the upgrade
Only an administrator can start the upgrade.
If your firewall prevents automatic downloads of the upgrade package
If firewall requirements prevent automatic downloading, download the upgrade package from the Citrix download site. Copy the package to the network fileshare where the appliance can access it.
- Navigate to the .zip file and extract the files.
- Log on to the management console, select User and then click Upgrade Appliance.
- Verify the upgrade path, and click Upgrade. The upgrade process starts and opens a Statuspage in the browser.
- When the upgrade is complete, the status changes to Upgrade Status: Complete. Refresh the webpage to return to the management console.
- Verify that the upgrade was successful by clicking the About link in the management console to confirm the version number.
If you are upgrading from App Layering 18.12 or earlier (VMware vSphere only)
As of Release 18.12, the TEST and SAVE buttons check the VMware vSphere privileges. A pass means that the appliance has permissions to create, edit, and delete virtual machines.
If upgrading from release 18.12 or earlier, expect to set a few more permissions that are now required. Create another role and assign the permissions at the vCenter level.
Create another role
Because the Virtual Machine > Inventory > Remove permission must be assigned at the vCenter level, you must create another role.
- In the vSphere Client, navigate to Home > Administration > Roles.
- Click Add Role, and enter a name, for example: CALAdmin-vmremove.
- Add only Virtual Machine > Inventory > Remove. Everything else can remain read-only.
- In the vSphere Client, navigate to Home > Inventory > Hosts and Clusters.
Select the vCenter Permissions tab, right-click, and select Add permission (or modify the permissions on an existing account).
Make sure the account is the one that owns the data center permissions set previously.
Select the new CALAdmin-vmremove role you defined. Make sure the Propagate to Child Objects check box is selected and then click OK.
You can set all permissions at the vCenter level, if your security policy allows it.
Enable vCenter permissions
Enable the permissions listed in the Install appliance in vSphere article.
Disable the following settings
For your reference, be sure to disable the following settings:
- Application Configuration
- Virtual Machine
- Advanced Configuration
- Change Tracking
- Managed By
- Reset Guest Info
- Swap Placement
- Answer Question
- Console Interact
- Deploy Template
- Mark As Template
- Remove Snapshot
Upgrade the App Layering agent (if installed)
Next, upgrade the App Layering agent. This component enables an appliance or packaging machine to run PowerShell commands locally. You can expect to find the agent installed in the following locations, if they exist in your environment:
- Hyper-V servers that App Layering uses for layer creation or image publishing.
- Citrix Provisioning servers where you publish layered images.
- Servers where a connector configuration runs PowerShell scripts. To view any existing connector configurations, open the management console and select System > Connectors.
To upgrade the App Layering agent in those locations:
- Copy the agent upgrade file to the servers where the agent is installed.
- Double-click the agent upgrade file, and follow the instructions for upgrading the agent.
Upgrade your published layered images
App Layering upgrades include driver updates, new features, and the bug fixes documented in the What’s new. Once you upgrade the appliance, upgrade your published images.
To upgrade your published images, you select each of your image templates, verify the settings, and use it to publish new versions of the layered images. Use the new images to provision your systems.
To apply the upgrade to your published layered images:
- Log into the layering management console.
- Select the Images tab. Your image templates are displayed.
- If you want to verify or update a template’s settings, select the image template, and click Edit Template. Edit the settings and click Save Template and Publish.
- If the image template does not need editing, simply select the template, click Publish Layered Image.
- Once published, use the new layered images to provision your systems.
Background: How the upgrade checks work, in detail
When the App Layering appliance checks for an upgrade:
- If an update is not available: Nothing happens. Another check is made at the next scheduled interval.
- If an update is available, but there is no network file share configured: The user receives a message that there is an upgrade available. It asks you to finish configuring the network file share.
If an update is available: A job is started to “Download Upgrade Media.” You can check for progress through the following tasks:
- Downloading the upgrade media to local storage.
- Ensuring the checksum of the successfully downloaded upgrade package is correct.
- Extracting the downloaded upgrade package to the configured Network File Share. The download is extracted to the appliance’s file share:
- If extraction is successful, the next time any user logs in they will be notified that an upgrade is available.
- If at any time during this process an error requires Administrator intervention, the job fails with an error. For example:
- Out of space on local storage.
- Out of space on the network file share.
- Invalid files found.
If a job fails, it retries at the next check interval, regardless of whether the issue has been resolved.
- If another update is found before a previously downloaded one is installed - The new upgrade is downloaded, and once successfully completed, becomes “Upgrade Available.”
- If one upgrade is downloading when another is made available - The running download is aborted and a new download is started. All files related to the in-progress download are deleted.
Optional: How to check for available upgrades manually
Automated upgrade checks always pull the latest version, but you can manually check for updates.
To manually check for an update:
- Log into the management console.
- Click the User tab and then the Upgrade Appliance action. The latest version displays in the Upgrade Disk field.
If you are logged into a desktop as Administrator, and an Upgrade badge is displayed:
- Click Start Upgrade. The download information is displayed in the Upgrade Disk field.
- As Administrator, you can select a different Upgrade Disk.
Use the detailed steps in the earlier section, Upgrade the appliance.