Chapter 13. Database troubleshooting
Review the common problems and resolutions to prevent data loss and solve
problems with the Tivoli Data Warehouse and Warehouse agents.
Data loss prevention
This section provides information about utilities you can use to back up and
restore Tivoli Enterprise Portal Server databases.
Backing up the database for recovery purposes
You can use the following utilities to back up the database:
Restoring the original database contents
The migrate-clean.bat utility cleans the contents of the database. Use the
migrate-clean.bat file with caution. You must backup the database before running
the migrate-clean.bat file or you lose all customization of the database. When you
restart the Tivoli Enterprise Portal Server, the database is restored to its original
state after installation. This is a quick way to reset the database back to its original
state. After running this bat file and restarting the Tivoli Enterprise Monitoring
Server, the original content provided with Tivoli Monitoring is restored to the
database.
If you modify your password or if it expires
The database requires the following user IDs:
db2admin
TEPS
© Copyright IBM Corp. 2005, 2012
Table 18. Utilities for backing up the database
migrate-
The migrate-export.bat utility backs up the entire database by writing its
export.bat
contents as insert statements to a flat file called saveexport.sql located in
install_dir\cnps\sqllib. It can also be used to move the contents of the
database from one database instance to another. You might use this utility to
move the contents of the database from one windows server to another.
migrate-
This utility is used to read the contents of the saveexport .sql file created
import.bat
in the migrate-export process and insert them back into the database. This
utility can be used to recover the database. It reads the contents in the
install_dir\cnps\sqllib\saveexport.sql and rebuilds the database tables
and contents. You can also use the migrate-import.bat to move the contents
of the database to another windows server running the database.
1. Run migrate-export.bat.
2. Copy the saveexport.sql file from the old Tivoli Enterprise Portal Server
to the new portal server into the install_dir\cnps\sqllib directory.
3. Run migrate-import.bat to read and build the database tables and
contents on the new system.
This ID is added when you install the database and is required by the
product installer when you configure the Tivoli Enterprise Portal Server
data source.
This ID is added during installation for creating the portal server data
source.
223