Restoring A Replicant Server To Master Server Status

In the event of your master server going offline and you need to restore your replicant database from read only to fully functional master server you will need to:

Examples shown use fictional server addresses. Your DB_CONFIG file will contain your DNS or IP addresses in the displayed code.

Navigate to TapeTrack Framework Server installation folder (default installation location C:\Program Files\TapeTrack\TapeTrack Framework Server)

Stop the TapeTrack Framework Service.

Open the file TapeTrack\TapeTrack Framework Server\var\db\DB_CONFIG in a text editor such as Notepad.

Using the # symbol comment out the lines of code:

rep_set_priority 0
repmgr_site replicant-1.tapetrack.com 5010 db_local_site on 
repmgr_site master.tapetrack.com 5010 db_bootstrap_helper on
rep_set_config DB_REP_CONF_BULK on

to match the following example

#rep_set_priority 0
#repmgr_site replicant-1.tapetrack.com 5010 db_local_site on 
#repmgr_site master.tapetrack.com 5010 db_bootstrap_helper on
#rep_set_config DB_REP_CONF_BULK on

Save the file.

Restart the TapeTrack Framework Service.

The Framework server will now function as a master server and not a replicant.

Any TapeTrack client software will need to use the DNS/IP connection to the appropriate server