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=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.
[root@localhost ~]# rpm -qa | grep -i kernel
admin >>> UpdateGlobalConfig category=cluster name=zstack.experimental.repo value=false