ZStack Cloud Platform
Single Server, Free Trial for One Year
[root@localhost ~]# zstack-upgrade -r ZStack-Cloud-x86_64-DVD-5.4.0-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.
Note: If you deploy dual management nodes, you can run 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.
Note: If you deploy more than one cluster, you can upgrade the QEMU of host in different clusters sequentially.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.
Note: If you deploy more than one cluster, you can upgrade the Libvirt of host in different clusters sequentially.[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