The following instructions illustrate how you can include custom configuration to
PostgreSQL and disable the same if not required.
-
Create conf.d/pgsql/pg_hba.conf.d/ under
/opt/collabnet/teamforge/etc/ directory.
If the reporting service is running on a separate port, create
conf.d/reports-pgsql/pg_hba.conf.d/ under
/opt/collabnet/teamforge/etc/.
-
Include custom.conf under
/opt/collabnet/teamforge/etc/conf.d/pgsql/pg_hba.conf.d/.
If the reporting service is running on a separate port, include
custom.conf under
/opt/collabnet/teamforge/etc/conf.d/reports-pgsql/pg_hba.conf.d/
-
Deploy services.
- /opt/collabnet/teamforge/bin/teamforge
provision
The "provision" command prompts for response before it bootstraps or migrates
data during TeamForge installation and upgrade respectively. Enter "Yes" or
"No" to proceed. For more information, see The teamforge script.
The following warning message is displayed, which you can ignore.
Custom configuration found in
/opt/collabnet/teamforge/etc/conf.d/pgsql/pg_hba.conf.d has been applied.
Please be aware of that such configuration may impact the reliability of
TeamForge.
If the reporting service is running on a separate port:
Custom configuration found in
/opt/collabnet/teamforge/etc/conf.d/reports-pgsql/pg_hba.conf.d has been
applied. Please be aware of that such configuration may impact the
reliability of TeamForge.
Configuration
settings from
custom.conf
are
included
in /var/lib/pgsql/9.3/data/pg_hba.conf.
If the reporting service is running on a separate port,
configuration
settings from
custom.conf
are
included in /var/lib/pgsql/9.3/reports/pg_hba.conf.
-
Check the postgresql.log file for any syntax errors:
/opt/collabnet/teamforge/log/pgsql/postgresql.log.
Remove custom configuration
-
To remove custom configuration:
- cd /opt/collabnet/teamforge/etc/conf.d/
- mv pgsql pgsql_old
If the reporting service is running on a separate port:
- cd
/opt/collabnet/teamforge/etc/conf.d/
- mv reports-pgsql reports-pgsql_old
-
Deploy services.
- /opt/collabnet/teamforge/bin/teamforge
provision
The "provision" command prompts for response before it bootstraps or migrates
data during TeamForge installation and upgrade respectively. Enter "Yes" or
"No" to proceed. For more information, see The teamforge script.