TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


server:replication

This is an old revision of the document!


Enabling Replication

To enable TapeTrack High Availability Replication:

Steps On Remote Server

Install the TapeTrack Framework Server software on your remote machine.

Stop the service on the remote machine.

Delete all database files on the remote machine (all files in the var/db directory EXCEPT the DB_CONFIG file).

Do Not delete 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).
Ensure you use the IP4 address for the Master and Replicant Server as using the domain name can cause issues with the IP6 address replacing the IP4 address, stopping the Master and Replicant communication.

Ensure that the replication TCP/IP ports specified in the DB_CONFIG file are open for inbound connections.

Start the TapeTrack service on the remote machine.

Steps On Master Server

Stop the TapeTrack service on the master TapeTrack server.

Do Not delete any files on the master 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 replication local (master server) and remote (replicant server) host names in the DB_CONFIG file.

  • Replace replicant-1.tapetrack.com with the domain name (or IP address) of your Replicant Server.
  • Replace master.tapetrack.com with the domain name (or IP address) of your Master Server.

Ensure that the replication TCP/IP ports are open for inbound/outbound connections.

Start the master TapeTrack Server.

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.

Ensure that all firewall ports are open to allow the replication traffic to pass between the replicants.
The replication communications are not encrypted so if replication is enabled you should ensure that all machines that are replicated are in a trusted network or connected via a secure VPN connection.

Server replication troubleshooting

See Also

server/replication.1578443328.txt.gz · Last modified: 2025/01/21 22:07 (external edit)