Rolling back after the failed installation or upgrade
If the fresh installation or upgrade of BMC Release Process Management (BRPM) failed, you can roll back the changes.
Rollback for BMC Release Process Management
Depending on whether you installed or upgraded RPM, follow one of the procedures to perform a rollback:
- Rolling back after a failed fresh installation
- Rolling back after a failed upgrade to a new folder
- Rolling back after a failed upgrade to the same folder
Rolling back after a failed fresh installation
- Go to RLMhome/UninstallBMCBRLM, and then try to run the uninstall.sh (Linux) or uninstall.cmd (Windows) file. If the file is absent, proceed to step 2.
Stop and remove the RPM service with the version that you were installing.
- Delete the RLMhome folder and all of its content.
Restore an empty database.
Now, you can run the installation again.
Rolling back after a failed upgrade to a new folder
This method of rollback requires a backup of your database before the upgrade.
- Go to RLMhomeNew/UninstallBMCBRLM, and then try to run the uninstall.sh (Linux) or uninstall.cmd (Windows) file. If the file is absent, proceed to step 2.
Stop and remove the RPM service with version that you were installing.
- Delete the RLMhomeNew folder and all of its content.
Restore the database from the backup.
Now, you can run the upgrade again.
Rolling back after a failed upgrade to the same folder
This method of rollback requires a backup of your database before the upgrade.
- Go to RLMhomeNew/UninstallBMCBRLM, and then try to run the uninstall.sh (Linux) or uninstall.cmd (Windows) file. If the file is absent, proceed to step 2.
Stop and remove the RPM services with the new version that you were installing and previous version from which you were upgrading.
- Delete the RLMhome folder and all of its content.
Restore the database from the backup.
- Run the upgrade again with the Skip database modification check box selected.
- Stop the RPM service if it started.
In the terminal, run the following commands:
<RLMhome>/bin/setenv.sh (Linux) or <RLMhome>/bin/setenv.bat (Windows)
cd <RLMhome>/releases/<productVersion>/RPM
jruby -S rake db:migrate- Start the RPM service.
Related topics