Citrix Systems 4.5 Printer User Manual


 
Chapter 9. Upgrading CloudPlatform to the Latest Version
44
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","domainid":"1a240d26-95e0-11e4-b6cc-
ced18bec4952","isextractable":false,"checksum":
"01cb382894c35eab54a0b0d00a884931","tags":
[],"sshkeyenabled":false,"isdynamicallyscalable":false}] } }
3. (KVM on RHEL 6.0/6.1/6.2 only) If the existing CloudPlatform deployment includes one or more
clusters of KVM hosts that run on RHEL 6.0, RHEL 6.1, or RHEL 6.2 operating system, you must
first upgrade the operating system version of these hosts to RHEL 6.3.
To do this task, see Section 9.4, “Upgrading Operating System version of KVM Hosts to RHEL 6.3
from RHEL 6.0 or 6.1 ”
4. Run the following command on all active Usage Server hosts to stop the Usage servers that are
currently enabled.
# service cloudstack-usage stop
5. Run the following command on all Management Servers to stop the Management Server hosts.
# service cloudstack-management stop
6. Back up MySQL databases at the MySQL master.
It is assumed in the following procedures that you have set the root password on the MySQL
database as per the CCP best practices recommendation. In the following commands, substitute
your own MySQL root password.
# mysqldump -u root -p<mysql_password> cloud > cloud-backup.dmp
# mysqldump -u root -p<mysql_password> cloud_usage > cloud-usage-backup.dmp
Upgrade Procedure
1. (RHEL/CentOS 5.x) If you are currently running CloudPlatform on RHEL/CentOS 5.x, use the
following command to set up an Extra Packages for Enterprise Linux (EPEL) repo:
rpm -Uvh http://mirror.pnl.gov/epel/5/i386/epel-release-5-4.noarch.rpm
2. Access https://www.citrix.com/downloads/cloudplatform.html and download CloudPlatform 4.5
onto the new management server host.