In this task, we install the TeamForge
Indexer on a separate server.
Pre-requisite:
Ensure that there is no firewall restriction between the
TeamForge application server and the new Indexer
server.
Log on to the server as root user always.
Do this on the TeamForge application
server.
-
Stop TeamForge.
- /etc/init.d/collabnet
stop
-
Move the Indexer directory [/opt/collabnet/teamforge/var/searchIndex]
to the new Indexer server.
Note: You can either use tar or NFS to back up and restore the searchIndex directory. Copy
or transfer the searchIndex backup to the Indexer server. See the example below.
- cd /opt/collabnet/teamforge/var
- tar -zcvf /tmp/searchIndex.tgz searchIndex
- scp /tmp/searchIndex.tgz user@indexer.box:/tmp/
-
Edit the site-options.conf file.
HOST_my.host.name=app etl database datamart subversion cvs gerrit
HOST_<domain/hostname of indexer box>=indexer
-
Run the installer.
- cd
/opt/collabnet/teamforge-installer/8.1.0.1
- ./install.sh -r -I -d
/opt/collabnet/teamforge
-
Start TeamForge.
- /etc/init.d/collabnet start
all
Do this on the TeamForge Indexer
server.
-
Set up the server with an operating system supported by TeamForge
8.1.
-
Configure the installation repository package for the OS of
your choice.
-
Configure your TeamForge
8.1 installation
repository. See TeamForge installation repository configuration for Red Hat/CentOS.
-
Configure your TeamForge
8.1 installation
repository. See TeamForge installation repository configuration for SUSE.
-
Run the following command to install the TeamForge Indexer packages.
- yum install
teamforge-indexer
-
Copy the master site-options.conf file from the application server
and modify these tokens:
HOST_my.host.name=indexer
DOMAIN_my.host.name=<myindexerbox.domain.com>
HOST_<myappboxdomain.com>=app etl database datamart subversion cvs gerrit
Important:
- It
is recommended to use a separate netapp volume for
the
Indexer server.
- The Indexer server should have the required permissions to access the NFS volume
of
the
application
server.
-
Create the Indexer and filestorage directories.
- mkdir /opt/collabnet/teamforge/var/searchIndex -p
- mkdir /opt/collabnet/teamforge/var/filestorage -p
-
Restore the Indexer data.
Run the following command to restore the backup index data from the application
server.
- cd /opt/collabnet/teamforge/var/
- tar -zxvf /tmp/searchIndex.tgz
-
Run the installer.
- cd
/opt/collabnet/teamforge-installer/8.1.0.1
- ./install.sh
-r -I -d /opt/collabnet/teamforge
-
Start the TeamForge Indexer.
- /etc/init.d/collabnet
start
-
Run the following command and ensure that app filestorage directory is exported to
indexer server.
-
Run the following command and ensure that the Indexer services are up and
running.
- /etc/init.d/collabnet
status