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®.
    1. Navigate to the directory where you extract HCL Docs 2.0.1 installation package.
    2. Open the directory setupDB/db2
    3. Ensure that the DB2® server is started by running the following command:
      • su - db2admin
      • db2start
    4. Update the database schema by running the following command:
      • ./updateDBSchema.sh
  • If your database server is on Windows, follow the instructions:
    1. Navigate to the directory where you extract HCL Docs 2.0.1 installation package.
    2. Open the directory setupDB/db2
    3. Ensure that the DB2® server is started by running the following command: db2start
    4. Update the database schema by running the following command: updateDBSchema.bat