Citrix Systems 4.5 Printer User Manual


 
Chapter 9.
33
Upgrading CloudPlatform to the Latest
Version
The following sections describe the procedures for updating from the previous versions to the latest
version of CloudPlatform.
9.1. Upgrading from 4.3.x to 4.5.0
This section explains how to upgrade from CloudPlatform version 4.3.x to version 4.5.
Note
CloudPlatform fails to create system VMs if you have provisioned your cloud infrastructure
on VMWare hypervisor. This occurs on each zone in your environment that is provisioned on
VMWare hypervisor.
This failure logs the following error message:
Message: Unable to unpack snapshot OVA file at: /var/cloudstack/mnt/
VM/7407677735140.6646923a/template/tmpl/1/8//routing-8.ova
To avoid this failure, you must manually run the following command on the templates folder after
you register the new VMWare system VM template.
chmod -R 0777 /path_to_secondary_storage_mount_point/template/
Pre-Upgrade Procedure
1. Register the latest System VM templates.
For more information about the latest, hypervisor-specific system VM templates, refer to
Appendix A, Latest System VM Templates
2. Download the latest System VM to all the primary storages using the prepareTemplate API.
http://<management_server_ip_address>:8080/client/api?
command=prepareTemplate&templateid=a8813ba3-dfe8-48b2-a583-0cb19c9423b2&zoneid=ce9a82ba-
f419-4041-b72b-1d2ee1483ba5&response=json&sessionkey=G8yD3LXsOi1p5KVSkAO62VXM%2BGE%3D
API response:
{ "preparetemplateresponse" : { "count":1 ,"template" : [
{"id":"a8813ba3-dfe8-48b2-a583-0cb19c9423b2","name":"systemvm-
vmware-4.5","displaytext":"systemvm-
vmware-4.5","ispublic":false,"created":"2015-01-06T14:13:19-0800","isready":true,
"passwordenabled":false,"format":"OVA","isfeatured":false,"crossZones":false,
"ostypeid":"1a7f544c-95e0-11e4-b6cc-ced18bec4952","ostypename": "Debian
GNU/Linux 7(64-bit)","account":"admin","zoneid":"ce9a82ba-f419-4041-
b72b-1d2ee1483ba5","zonename":"zone-1","status":"Download Complete","size":2621440000,
"templatetype":"USER","hypervisor":"VMware","domain":"ROOT",