Remove an instance set

Before installing a new instance set, you must uninstall any existing instance sets.

  1. To verify that an instance set is present, look for this file: /opt/collabnet/teamforge/dist/conf/instance.txt. If there is an instance.txt file, an instance set is installed on the system.
  2. Stop CollabNet TeamForge .
    • sudo /etc/init.d/collabnet stop all
    • /etc/init.d/collabnet stop all
    Note: If CollabNet TeamForge is running on multiple machines, stop all of them.
  3. Uninstall the instance set.
    • cd /opt/collabnet/teamforge-installer/<release-number>
    • cd /var/ops/teamforge-installer/<release-number>
    • ./instance-set-install.sh -r -f <manifest_file> -d /opt/collabnet/teamforge
    • sudo ./instance-set-install.sh -r -f <manifest_file> -d /opt/collabnet/teamforge

    where:

    • <manifest_file> is the manifest file with the information about the instance set you are removing.
    • /opt/collabnet/teamforge is the directory where CollabNet TeamForge is installed. (The default directory is /opt/collabnet/teamforge ).
    For example, to remove an instance for a site called mysite with the CollabNet TeamForge installation source in the default location, use this command:

    sudo ./instance-set-install.sh -r -f mysite-manifest -d /opt/collabnet/teamforge

  4. Start CollabNet TeamForge on all the machines in the group.
    • sudo /etc/init.d/collabnet start all
    • /etc/init.d/httpd start
    • /etc/init.d/postgresql start
    • /etc/init.d/collabnet start
  5. Verify that the instance set was removed.
    1. Log onto the site as a site administrator.
    2. On the Admin tab, click System Tools.
    3. Click Build Information and confirm that the instance set is not there.