
CloudStack Release Notes Documentation, Release 4.5.1
1. Now that you have the repository configured, it’s time to upgrade the cloudstack-management.
$ sudo yum upgrade cloudstack-management
2. If you use CloudStack usage server
$ sudo yum upgrade cloudstack-usage
6.6 Hypervisor: XenServer
(XenServer only) Copy vhd-utils file on CloudStack management servers. Copy the file vhd-utils to
/usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver.
wget -P /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver \
http://download.cloud.com.s3.amazonaws.com/tools/vhd-util
6.7 Hypervisor: VMware
Warning: For VMware hypervisor CloudStack management server packages must be build using “noredist”.
Refer to Building from Source.
(VMware only) Additional steps are required for each VMware cluster. These steps will not affect running guests in
the cloud. These steps are required only for clouds using VMware clusters:
1. Stop the Management Server:
$ sudo service cloudstack-management stop
2. Generate the encrypted equivalent of your vCenter password:
$ java -classpath /usr/share/cloudstack-common/lib/jasypt-1.9.0.jar org.jasypt.intf.cli.JasyptPBEStringEncryptionCLI encrypt.sh input="_your_vCenter_password_" password="`cat /etc/cloudstack/management/key`" verbose=false
Store the output from this step, we need to add this in cluster_details table and vmware_data_center tables in
place of the plain text password
3. Find the ID of the row of cluster_details table that you have to update:
$ mysql -u <username> -p<password>
select
*
from cloud.cluster_details;
4. Update the plain text password with the encrypted one
update cloud.cluster_details set value = '_ciphertext_from_step_1_' where id = _id_from_step_2_;
5. Confirm that the table is updated:
select
*
from cloud.cluster_details;
6. Find the ID of the correct row of vmware_data_center that you want to update
select
*
from cloud.vmware_data_center;
7. update the plain text password with the encrypted one:
28 Chapter 6. Upgrade Instruction from 4.4.x
Komentarze do niniejszej Instrukcji