If an upgrade of Teradata Viewpoint does not complete successfully, the following steps allow you to back down to the previously installed version of Teradata Viewpoint.
The only supported mechanism to backdown Teradata Viewpoint is to use VM&F during the upgrade.
- Reboot back into the alternate boot environment that contains the copy of the root partition prior to the upgrade.
- Stop all of the Teradata Viewpoint services on all Teradata Viewpoint servers by typing:/opt/teradata/viewpoint/bin/vp-control.sh stop
- If the Teradata Notification Service is running on a Windows server, stop this service.
- If the /data/db-backup directory exists and the creation time matches the time of last upgrade, do the following:
- Move the existing /data/viewpointdb directory to another location.
- Replace it with the /data/db-backup directory.
- If the /data/db-backup directory does not exist or is not recent, restore the last successful backup of the Teradata Viewpoint databases.The duration of this process varies depending on the size of the databases. If the Teradata Viewpoint databases are in a clustered environment, perform the restore against the primary database server.
- Restore the Viewpoint portal.
- Uninstall the Viewpoint package:rpm -e --nodeps viewpoint
- Reinstall the version of the Viewpoint package that was uninstalled:rpm -ivh viewpoint*.rpm
- Force Install other viewpoint related rpms:
- rpm -Uvh --force dcs*.rpm
- rpm -Uvh --force camalert*.rpm
- rpm -Uvh --force camportlets*.rpm
- rpm -Uvh --force querygridportlet*.rpm
- rpm -Uvh --force tasmportlets*.rpm
- rpm -Uvh --force tddatalabsportlets*.rpm
- rpm -Uvh --force tdmgmtportlets*.rpm
- rpm -Uvh --force tmsmonitor*.rpm
If there are external portlets like bar and dm are installed, re-install:- rpm -Uvh --force barportlets*.rpm
- rpm -Uvh --force tdmportlets*.rpm
- Run changedbpasswd.sh:/opt/teradata/viewpoint/dcs/bin/changedbpasswd.sh
- Run the post-upgrade setup scripts:If setupDb.sh is available, then run /opt/teradata/viewpoint/dcs/bin/setupDb.sh, or else run:
- /opt/teradata/viewpoint/portal/bin/setup.sh
- /opt/teradata/viewpoint/dcs/bin/setup.sh
- /opt/teradata/cam/alert/bin/setupdb.sh
- Run rpm -qa | grep viewpointlog4j to check if log4j remediation was applied. If yes, then:
- Delete the remediation trace files:
rm /etc/opt/teradata/log4j-*viewpoint
- Re-install the log4j remediation:
rpm -Uvh --force viewpointlog4j*.rpm
- Delete the remediation trace files:
- Start all services:/opt/teradata/viewpoint/bin/vp-control.sh start
- Uninstall the Viewpoint package: