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=kernel excludePackages=python2-crypto uuid=${ClusterUuid} //Upgrade Kernel 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 Kernel of host in different clusters sequentially.[root@localhost ~]# rpm -qa | grep -i kernel
Note: Rebooting a host temperately interrupts VM business running on it. We recommend that you perform this action during off-peak periods.admin >>> UpdateGlobalConfig category=cluster name=zstack.experimental.repo value=false