Skip to main content
Version: TeamForge 23.1

Install Review Board

You can install the Review Board application (reviewboard) on the TeamForge Application Server or on a separate server of its own.
Review Board database (reviewboard-database) can be installed on the TeamForge PostgreSQL Database Server on sites with database running on a separate server.
To install Review Board successfully, ensure that other repositories such as EPEL (Extra Packages for Enterprise Linux) are disabled apart from the CollabNet and Operating System repositories.
This procedure is for those who are installing the Review Board for the first time.
In this scenario, both TeamForge and Review Board use PostgreSQL.
TeamForge 23.1 supports Review Board 4.0.6 on RHEL 8.8 and Review Board 4.0.6 on RHEL/CentOS 7.9.
Installing Review Board needs root privileges. You must log on as root or use a root shell to install Review Board.

important

TeamForge has no support for having service-specific FQDN for Review Board.

Install Review Board on the TeamForge Application Server

In this setup, you install Review Board on the TeamForge Application Server (server-01) that already has TeamForge installed on it.

  1. If you have TeamForge installed, you should have the TeamForge installation repository configured already.

    For more information, see:

  2. Install Review Board.

    yum install teamforge
  3. Make sure that reviewboard, reviewboard-database and reviewboard-adapter identifiers have been added to the SERVICES token of the TeamForge Application Server.

    server-01:SERVICES=ctfcore ctfcore-database mail search codesearch etl ctfcore-datamart subversion gerrit gerrit-database binary binary-database reviewboard reviewboard-database reviewboard-adapter cliserver
  1. Provision services.

    teamforge provision
  2. If SCM is installed on a separate box, run the following script to authenticate a scmviewer user against a TeamForge Subversion repository for creating a new review request.

    /opt/collabnet/teamforge/runtime/scripts/svn-auth.py --repo-path=https://<scm_domain>/svn/repos/<repo_dir_name>

    You should now have a Review Board instance ready to work with TeamForge.

Install Review Board with Database on a Separate Server

You can install the Review Borad database on the TeamForge Database Server on sites with a dedicated Database Server. In this setup, you install TeamForge and Review Board on a two-server distributed setup with database services running on a separate server.

Install Review Board services on the TeamForge Application Server (server-01)

  1. If you have TeamForge installed, you should have the TeamForge installation repository configured already.

    For more information, see:

  2. Install Review Board.

    yum install teamforge
  3. Make sure that reviewboard, reviewboard-database and reviewboard-adapter identifiers have been added to the SERVICES token as required.

    server-01:SERVICES = ctfcore mail search codesearch cliserver etl subversion gerrit binary binary-database reviewboard reviewboard-adapter
    server-02:SERVICES = ctfcore-database ctfcore-datamart gerrit-database reviewboard-database
  1. Provision services.

    teamforge provision

Provision the Database Server (server-02) with reviewboard-database Added to It

  1. If you have TeamForge installed, you should have the TeamForge installation repository configured already.

    For more information, see:

  2. Install Review Board.

    yum install teamforge
  3. Make sure that reviewboard, reviewboard-database and reviewboard-adapter identifiers have been added to the SERVICES token as required.

    server-01:SERVICES = ctfcore mail search codesearch cliserver etl subversion gerrit binary binary-database reviewboard reviewboard-adapter cliserver
    server-02:SERVICES = ctfcore-database ctfcore-datamart gerrit-database reviewboard-database
  4. Provision services.

    teamforge provision

Do This on the TeamForge Application Server (server-01)

If SCM is installed on a separate box, run the following script to authenticate a scmviewer user against a TeamForge Subversion repository for creating a new review request.

/opt/collabnet/teamforge/runtime/scripts/svn-auth.py --repo-path=https://<scm_domain>/svn/repos/<repo_dir_name>

You should now have a Review Board instance ready to work with TeamForge.

Install Review Board on a Separate Server

In this setup, you install TeamForge and Review Board on a two-server distributed setup with Review Board services running on a separate server.

Provision the TeamForge Application Server (server-01) with reviewboard-adapter Added to It

  1. If you have TeamForge installed, you should have the TeamForge installation repository configured already.

    For more information, see:

  2. Install Review Board.

    yum install teamforge
  3. Make sure that reviewboard, reviewboard-database and reviewboard-adapter identifiers have been added to the SERVICES token as required.

    server-01:SERVICES = ctfcore ctfcore-database ctfcore-datamart gerrit-database mail search codesearch cliserver etl subversion gerrit binary binary-database reviewboard-adapter cliserver
    server-02:SERVICES = reviewboard reviewboard-database
  4. Provision services.

    teamforge provision

Install Review Board Services on the Review Board Server (server-02)

  1. If you have TeamForge installed, you should have the TeamForge installation repository configured already.

    For more information, see:

  2. Install Review Board.

    yum install teamforge
  3. Make sure that reviewboard, reviewboard-database and reviewboard-adapter identifiers have been added to the SERVICES token as required.

    server-01:SERVICES = ctfcore ctfcore-database ctfcore-datamart gerrit-database mail search codesearch cliserver etl subversion gerrit binary binary-database reviewboard-adapter cliserver
    server-02:SERVICES = reviewboard reviewboard-database
  1. Provision services.

    teamforge provision
  2. Reinitialize TeamForge on the Review Board Server.

    teamforge reinitialize
  3. If SCM is installed on a separate box, run the following script to authenticate a scmviewer user against a TeamForge Subversion repository for creating a new review request.

    /opt/collabnet/teamforge/runtime/scripts/svn-auth.py --repo-path=https://<scm_domain>/svn/repos/<repo_dir_name>

    You should now have a Review Board instance ready to work with TeamForge.

Post Install Tasks

Bootstrap Review Board Post Install or Upgrade

Use the following instructions if you want to bootstrap Review Board (drop Review Board database tables and recreate them again) for some reason post installation or upgrade.

  1. Log on to the server that hosts the Review Board.
  2. Select My Workspace > Admin.
  3. Select Projects > Integrated Apps.
  4. Select Review Board and click Delete.
  5. Stop TeamForge.
    teamforge stop
  6. Start the TeamForge database services.
    teamforge start -s postgres
  7. Bootstrap the Review Board database.
    teamforge bootstrap -s reviewboard-database-postgres
  8. Bootstrap the Review Board.
    teamforge bootstrap -s reviewboard
  9. Start TeamForge.

    teamforge start