Best Practices for CloudStack Upgrade (Current Version: 4.19.3.0) – Request for Recommendations #12377
|
Hello, We are planning to upgrade our CloudStack environment and would appreciate guidance on best practices and rollback strategies. Looking for recommendations on: Some question regarding the upgrade process: We plan to upgrade the Management and DB servers first according to the official upgrade documentation. |
Replies: 3 comments 1 reply
|
@shakibshalim74 what's the management server os and kvm host os details |
|
@shakibshalim74 Refer https://docs.cloudstack.apache.org/en/4.20.2.0/upgrading/upgrade/upgrade-4.19.html Full backup of cloud and cloud_usage databases, including routines. $ mysqldump -u root -p -R cloud > cloud-backup_$(date +%Y-%m-%d-%H%M%S) Snapshot / backup all Management Server VMs, Preserve: /etc/cloudstack/management On all 3 Management Servers: Upgrade CloudStack management packages to 4.20.2 This ensures all MS nodes run the same binaries before schema changes begin. Start ONE Management Server Detects older schema version Monitor:
Verify UI/API access Start Remaining Management Servers Start the Management service on the remaining MS nodes All MS are Up KVM Host Upgrade Upgrade System VM Template Upgrade Reboot / redeploy: VR RollBack: Enable the zone, redeploy: VR |
|
you can also refer to the past discussions. I would advise to test the upgrade in a staging environment before applying it in production envrionment |
@shakibshalim74
Try this in staging before attempting in production.
Refer https://docs.cloudstack.apache.org/en/4.20.2.0/upgrading/upgrade/upgrade-4.19.html
Full backup of cloud and cloud_usage databases, including routines.
$ mysqldump -u root -p -R cloud > cloud-backup_$(date +%Y-%m-%d-%H%M%S)
$ mysqldump -u root -p cloud_usage > cloud_usage-backup_$(date +%Y-%m-%d-%H%M%S)
Snapshot / backup all Management Server VMs, Preserve:
/etc/cloudstack/management
SSL / LDAPS keystores
On all 3 Management Servers:
Upgrade CloudStack management packages to 4.20.2
Do NOT start the service yet
This ensures all MS nodes run the same binaries before schema changes begin.
Start ONE Management Server
Th…