ZStack Cloud Platform
Single Server, Free Trial for One Year
[root@localhost ~]# zstack-upgrade -r ZStack-Cloud-x86_64-DVD-5.3.40-h84r.iso
[root@localhost ~]# zstack-ctl dump_mysql --file-name zstack-db-backup
[root@localhost ~]# zstack-cli # Lanuch the CLI command tool - >>> LogInByAccount accountName=admin password=${Password} # Log in the admin account. admin >>> UpdateGlobalConfig category=cluster name=zstack.experimental.repo value=true # Enable the global setting zstack.experimental.repo.
zsha2 status
on either of the management nodes. The management node whose VIP value is yes is the management node you need.admin >>> QueryCluster //Query UUIDs of clusters. admin >>> UpdateClusterOS updatePackages=qemu-kvm excludePackages=python2-crypto uuid=${ClusterUuid} //Upgrade QEMU of hosts in the specified cluster. Record the uuid (LongJobUuid) returned. admin >>> QueryLongJob uuid=${LongJobUuid} //Query the upgrading progress. If the returned state value is Succeeded, the upgrading is completed.
admin >>> QueryCluster //Query UUIDs of clusters. admin >>> UpdateClusterOS updatePackages=glib2 uuid=${ClusterUuid} admin >>> UpdateClusterOS updatePackages=libvirt excludePackages=python2-crypto uuid=${ClusterUuid} //Upgrade Libvirt of hosts in the specified cluster. Record the uuid (LongJobUuid) returned. admin >>> QueryLongJob uuid=${LongJobUuid} //Query the upgrading progress. If the returned state value is Succeeded, the upgrading is completed.
[root@localhost ~]# qemu-img -V //Check the QEMU version. [root@localhost ~]# rpm -qa | grep libvirt //Check the Libvirt version.
admin >>> UpdateGlobalConfig category=cluster name=zstack.experimental.repo value=false