This rollback guide will bring your system back to the previous version.
Note: Any data gained since the dump was taken will be lost. This includes jobs for any workflows that ran. It is possible, however, to restore that data by exporting the jobs and tasks collections separately and then reimporting them, but this is beyond the scope of this upgrade document.
Turn Off IAP
SSH into all Pronghorn servers and perform the following to stop Pronghorn.
sudo systemctl stop pronghorn
Verify Pronghorn is stopped on all servers.
ps -ef|grep Pronghorn
Export MongoDB (2020.1)
Execute a Mongo dump.
mongodump --host <MONGO HOSTNAME> --port=<MONGO PORT> --db=<PRONGHORN DB> --archive=<BACKUP LOC>/mongoDumpUpdated.bson
Revert MongoDB to Previous State
Revert the instance of Mongo to the version saved in the Pre-Check backup instructions. Any new information since this time will be lost, including job and task data.
cd <BACKUP LOC>
mongorestore --drop --archive=./mongoDumpPreUpdate.bson --host <MONGO HOSTNAME> --port=<MONGO PORT>
Revert the Symbolic Link (symlink)
Change directory to the Pronghorn home directory.
Unlink current with the
rmcommand. The name of this file will depend on the exact build you were on.
Create the new link.
ln -s <IAP Previous Version> current
sudo systemctl start pronghorn
Verify pronghorn is stopped on all servers. For every IAP application running, there should be one process running.
ps -ef | grep Pronghorn | grep -v grep
Login to verify the service is up. Use your login credentials to connect.