Cloudify High Availability Cluster Upgrade Guide
Get the latest docs.
You are looking at documentation for an older release. Not what you want? Use the version selector on the top banner or click here.
Overview
These instructions explain how to upgrade a Cloudify High Availablity (HA) cluster from version 4.3 to version 5.0.
Upgrade to new hosts
The key elements of upgrading a Cloudify HA cluster on new hosts are:
- Create and download a snapshot.
- Save agent ssh keys.
- Install new Cloudify version of manager on a new host.
- Restore previously downloaded snapshot on the new manager.
- Reinstall agents.
- Install new Cloudify version of extra managers on new hosts joining to the 1st manager.
Upgrade on new hosts
-
Create a snapshot on the old Cloudify HA cluster and download it:
cfy snapshots create my_snapshot # --include-metrics #(optional) cfy snapshots download my_snapshot -o {{ /path/to/the/snapshot/file }}
-
Save SSH keys from /etc/cloudify folder:
cp –r /etc/cloudify/.ssh <backup_dir>
-
Install a new Cloudify manager on a new host (See Installing Cloudify Manager Cluster guide).
-
Upload and restore snapshot to the new manager:
cfy snapshots upload {{ /path/to/the/snapshot/file }} --snapshot-id <snapshot_name> cfy snapshots restore <snapshot_name>
-
Reinstall agents:
cfy agents install --all-tenants
-
Install the extra Cloudify managers on new host and add them to the cluster (See Installing Cloudify Manager Cluster guide).
-
Delete old cluster’s hosts