Rolling back a failed upgrade

Once you've determined why the upgrade failed, you can roll it back and restore your old cluster.

The rollback script removes all of the changes the upgrade script made to your cluster. It also restores your old cluster from backup, starts it, and performs a health check.

Note: The rollback script removes the logs created by the upgrade script, so be sure to check them beforehand to determine why the upgrade failed.

When the script finishes running, your cluster will be back to the state it was in before you ran the upgrade and will be running. You can then either rerun the upgrade process or restore your old cluster.

If you decide to rerun the upgrade process, you must rerun the merge script, as the merged version of bdd.conf wasn't included in the backup.

To roll back a failed upgrade:

  1. On the Admin Server, open a command prompt and go to the upgrade source directory.
  2. Run the rollback script:
    ./rollback.sh bdd.conf [--silent]
    You can optionally include the --silent flag to avoid the confirmation step.
  3. Confirm that you want to roll back the upgrade.
  4. When prompted, enter the absolute path to your old cluster's backup tar file.