You must enable, then restart
TeamForge so that you can use an external tool to query the datamart
directly.
You can use external reporting tools to connect directly to a datamart only if you do
not have a single-box installation using
localhost:SERVICES.
-
In site-options.conf, set
REPORTS_DATABASE_READ_ONLY_USER and
REPORTS_DATABASE_READ_ONLY_PASSWORD with your user and
password.
-
On the TeamForge host machine, enable REPORTS_DATABASE_HOST
and REPORTS_DATABASE_PORT for remote access.
-
Deploy services.
- /opt/collabnet/teamforge/bin/teamforge
provision
Note:
The "provision" command prompts for response before it bootstraps or
migrates data during TeamForge installation and upgrade respectively.
Enter "y" or "N" to proceed. For more information, see the TeamForge script.
TeamForge 17.4 (and later) installer expects the system locale to be
LANG=en_US.UTF-8. TeamForge "provision" command fails otherwise.
You can now enable trusted users to establish connections by providing them with
values of options REPORTS_DATABASE_HOST,
REPORTS_DATABASE_PORT,
REPORTS_DATABASE_READ_ONLY_USER, and
REPORTS_DATABASE_READ_ONLY_PASSWORD.