We were trying to create a sandbox copy environment for our production ALM_12.20 environment to install the newer ALM 12.21 (TD4QC_00494.zip).
During the installation, we must have missed the flag when launching the installer that disables the validator for the File Repository.
We just found those directions here: http://eyeontesting.com/questions/12671/how-to-disable-repository-validation-when-installi.html
But what is the file for anyway?
The file is located in the following folder in the File Repository: C:/ProgramData/HP/ALM/repository/qc/repid.txt
Answer by PT Barnum · Dec 21, 2016 at 05:01 PM
This file identifies uniquely the repository/server and is used to indicate the “primary node” on a cluster (more than one ALM server properly installed to point to the SAME DB/Repos resources).
If you choose “second node” on install and point to the SAME existing DB/qcsiteadmin used by another ALM server AND do NOT point to the same repository (i.e. via a network share), it will FAIL because it cannot hash the REPID correctly against what is stored in the qcsiteadmin_db indicating the primary node’s repid.
I had a situation recently where someone copied the repository from PROD to TEST and carried with it the repid file and it messed up the install claiming mismatch about repid and primary node – even though we were installing as a stand-alone.
for some reason, setting the "repository validation" flag to false on install did not help either.
Our solution was to rename the repository copy, reinstall and allow QC to create a new/blank repository. This created a NEW repid and it was happy. When finished and running, we stopped the service and COPIED the various project folders into the proper positions under the repository\qc folder. We first created the representative “domain folders” and copied the individual project folders in since they were so large instead of copying entire domain folders.
ALM v12 Installation Error 1 Answer