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.0 supports Review Board 4.0.6 on RHEL 8.6 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.
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.
-
If you have TeamForge installed, you should have the TeamForge installation repository configured already.
For more information, see:
-
Install Review Board.
yum install teamforge
-
Make sure that
reviewboard
,reviewboard-database
andreviewboard-adapter
identifiers have been added to theSERVICES
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
-
Provision services.
teamforge provision
-
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)
-
If you have TeamForge installed, you should have the TeamForge installation repository configured already.
For more information, see:
-
Install Review Board.
yum install teamforge
-
Make sure that
reviewboard
,reviewboard-database
andreviewboard-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
-
Provision services.
teamforge provision
Provision the Database Server (server-02) with reviewboard-database Added to It
-
If you have TeamForge installed, you should have the TeamForge installation repository configured already.
For more information, see:
-
Install Review Board.
yum install teamforge
-
Make sure that
reviewboard
,reviewboard-database
andreviewboard-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 -
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
-
If you have TeamForge installed, you should have the TeamForge installation repository configured already.
For more information, see:
-
Install Review Board.
yum install teamforge
-
Make sure that
reviewboard
,reviewboard-database
andreviewboard-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 -
Provision services.
teamforge provision
Install Review Board Services on the Review Board Server (server-02)
-
If you have TeamForge installed, you should have the TeamForge installation repository configured already.
For more information, see:
-
Install Review Board.
yum install teamforge
-
Make sure that
reviewboard
,reviewboard-database
andreviewboard-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
-
Provision services.
teamforge provision
-
Reinitialize TeamForge on the Review Board Server.
teamforge reinitialize
-
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
- Add Review Board to Projects
- Users are not getting email notifications for review requests and reviews. What should I do?
- Review Board deployment fails on sites that use a self-signed certificate. What should I do?
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.
- Log on to the server that hosts the Review Board.
- Select My Workspace > Admin.
- Select Projects > Integrated Apps.
- Select Review Board and click Delete.
- Stop TeamForge.
teamforge stop
- Start the TeamForge database services.
teamforge start -s postgres
- Bootstrap the Review Board database.
teamforge bootstrap -s reviewboard-database-postgres
- Bootstrap the Review Board.
teamforge bootstrap -s reviewboard
-
Start TeamForge.
teamforge start