Upgrading the DB2® database for HCL Docs
Follow instructions to upgrade the DB2® database for HCL Docs.
About this task
The default name of the database for HCL Docs is CONCORD.
If you used another name in the previous deployment, run prepare_db_name.py before
upgrading the database: python prepare_db_name.py [db_name]
.
The Python file replaces all script files (.sql, .bat, .sh) with the
new database name. The database server must support the Python runtime
environment.
Note: When you are upgrading a database, you must
log in to the system that hosts the database with the database administrator
account. The default values for DB2® are db2admin on Microsoft™ Windows™ and db2inst1 on Linux™ and AIX®.
Procedure
- Perform the following steps if your database server is
on Linux™ or AIX®.
- If your database server is on Windows™, follow the instructions:
- Navigate to the directory where you extract HCL Docs 2.0 installation package.
- Open the directory setupDB/db2
- Ensure that the DB2® server
is started by running the following command:
db2start
- Update the database schema by running the following
command:
updateDBSchema.bat