After importing an image into the catalog or creating an image version, you must publish the image version to your cloud-connected pods. Publishing an image version makes it available for use in pool assignments. You use the Horizon Universal Console to perform these steps.
The following warnings apply to Horizon Cloud on Microsoft Azure deployments:
- After you publish an image sourced from a pod on Microsoft Azure and it is in its sealed state in Horizon Cloud, do not use the Microsoft Azure Portal to perform actions on that image VM or copies of it. Using the Microsoft Azure Portal to perform direct actions on a VM that is in the published state in Horizon Cloud is unsupported and will cause unexpected behavior. Always use the Horizon Universal Console to perform actions on sealed images.
- If you want to publish an image version that was deployed on a higher version Microsoft Azure pod and see the error "Cannot publish because the destination pods lower-version-pod-name belong to a lower version compared to the source pod," perform one of the following workarounds.
- Deselect Install Horizon Agent during publication.
- Import an image to the lowest pod version .
- Deselect the pods lower-version-pod-name under the Destination section.
Prerequisites
- For the Horizon pods that you are using with IMS, set up the participating vCenter Server instances. See Cloud-Connected Horizon Pods - Configure the vCenter Server Instances for Use with Horizon Image Management Service.
- Ensure that all pods on Microsoft Azure are healthy and online and that there is sufficient quota in all regions for your Microsoft Azure subscription.
- Import the image. For the Horizon pods, see Import an Image from vCenter into the Image Catalog. For pods on Microsoft Azure, see Create a Golden Image by Automated Import of a Base VM from the Microsoft Azure Marketplace into the Image Catalog.
- In order for an image to be assignable, it must have at least one marker on it. You can add markers to the image during the creation or import process.
- Ensure that there are no pending Windows updates on the parent image or template of the image version that you want to publish. If there are Windows updates pending, the publication of the image fails.
- If you are publishing an image from an imported VM, you must remove any custom script extension from that VM before you attempt to publish it.
- If the Horizon pod is version 2103 or later and you want to use a 32-bit image, then you must manually pre-install the 32-bit Horizon Agent into the image before importing the image into the catalog. If the pod is version 2103 or later, the 32-bit image must already have a 32-bit Horizon Agent installed in it before you import that image into the catalog. After importing that 32-bit image, then in the Publish workflow, you must deselect the Install Horizon Agent option so that the publish workflow will skip installation of the agent.
Procedure
Results
The Image Copies section shows the status of the image version as it is replicated to each pod. During the replication process, the version copy shows the in-progress () status. When the replication is complete, the status changes to Available.
- For Horizon pod deployments, the source pod from which you originally imported the image shows two version copies. The Deployment Complete copy represents the source image that was replicated to the pod's content library. The Available copy represents the published image version that you can use for assignments.
- For pods in Microsoft Azure, there is only one copy. The status of this copy is Deployment Complete before you publish it and then becomes Available after you publish it.
The replication process might fail on some or all pods due to environmental issues such as pod going offline.
- Failure on some pods and success on others results in a status of Partially Available.
- Failure on all pods results in a status of Failed.
If an image version has a status of Partially Available or Failed, you can republish it after you have corrected any environmental issues that caused the failure on a particular pod. See Republish an Image Version Using the Horizon Universal Console.
What to do next
- Create a desktop assignment based on that newly published image. Refer to the steps at the following links, according to pod type:
- To re-associate an existing desktop assignment to use the newly published image, see Update Desktop Assignments with a Customized Image.