Image management is critical for maintaining a scalable Orka for VDI environment. This section covers creating a golden image with the Citrix VDA pre-installed, automating image builds, distributing images across hosts, and implementing version control practices for long-term maintenance. Your Orka for VDI deployment may use a non-Citrix solution.
Creating a golden image with Citrix VDA
Golden images serve as templates for rapid VM deployment. A well-crafted golden image contains the base OS, Citrix VDA, and any additional software your users need, all pre-configured and ready to deploy. VMs that are deployed from a golden image are ready for immediate use, with no additional setup required.Golden image creation workflow
Create a VM Image
/scripts directory
2. Scripts will be executed in alphabetical order
3. Example scripts:
Update a VM to a New Image
This implementation doesn’t have a dedicated playbook. To refresh VMs with a new image:Cache management
Cache a VM Image
pull_image.yml automatically caches the image on all hosts in the inventory.
Version control best practices
- Monitor image cache status
- Remove outdated images when new versions are released
- Establish proper version control for images, using semantic versioning for image tags and naming conventions
- Maintain multiple image tags for flexibility
- Maintain a CHANGELOG.MD or detailed README.MD file documenting changes for each released version of an image
- Commit changes before building VM images, tagging releases in Git to match the image version
- If problems arise with a new image, roll back to a previous version
- Define your image retention policy by addressing the following questions:
- Test before promoting images to production
- Communicate image updates