This is an old revision of the document!
Table of Contents
Enabling Replication
The following information illustrates the steps required to enable a High Availability Replicant Server.
It is assumed that you already have a functional installation of TapeTrack Server running.
All steps must be performed in the order presented to create a successful connection between the Master and Replican Server.
IP addresses included in the instructions are for demonstration only, these must be replaced with your correct values.
Steps On Remote Server
Install the TapeTrack Framework Server software on your Replicant machine.
Stop the service on the Replicant machine.
Delete all database files on the Replicant machine (all files in the var/db
directory) EXCEPT the DB_CONFIG file).
Edit the DB_CONFIG file and remove the comments (#'s) starting from the line rep-set-priority 0 to make the machine a Replicant.
Edit the Replicant Server and Master Server host names in the DB_CONFIG file.
- Replace replicant-1.tapetrack.com with the IP address of your Replicant Server (RRR.RRR.RRR.RRR used as Replicant IP example).
- Replace master.tapetrack.com with the IP address of your Master Server (MMM.MMM.MMM.MMM used as Master IP example).
Steps On Master Server
Stop the TapeTrack service on the master TapeTrack server.
Edit the DB_CONFIG file and remove the comments (#'s) starting from the line rep-set-priority 1 to make the machine a master server.
Edit the DB_CONFIG file to define the local and remote server. Edit the Replicant Server and Master Server host names in the DB_CONFIG file.
- Replace replicant-1.tapetrack.com with the domain name (or IP address) of your Replicant Server (RRR.RRR.RRR.RRR used as Replicant IP example).
- Replace master.tapetrack.com with the domain name (or IP address) of your Master Server (MMM.MMM.MMM.MMM used as Master IP example).
Confirming Functionality Of Primary And Replicant Servers
Open $DB_Msg.txt
file (in the var/db
directory) on both the primary and replicant server to ensure that replication is functional.