server:replication
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
server:replication [2021/03/10 23:01] – [Steps On Remote Server] Scott Cunliffe | server:replication [2025/01/21 22:07] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Enabling Replication ====== | ====== Enabling Replication ====== | ||
- | The following information illustrates the steps required to enable a High Availability Replicant Server. | + | The following information illustrates the steps required to enable a High Availability Replicant Server. |
+ | |||
+ | All steps must be **performed in the order presented** to create a successful connection between the Master and Replicant Server. | ||
+ | |||
+ | ===== Prerequisites ===== | ||
+ | |||
+ | Functional installation of TapeTrack Server running that will become the Master. | ||
+ | |||
+ | IP addresses of both the Master and Replicant servers. | ||
+ | |||
+ | You have made a **complete [[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 ===== | ===== Steps On Remote Server ===== | ||
Line 15: | Line 23: | ||
[[server: | [[server: | ||
- | {{server_helper_stop.gif}} | + | |{{server_helper_stop.gif}}| |
- | Delete all database files on the Replicant machine | + | Navigate Windows File Explorer to the TapeTrack Framework Server installation directory |
- | <note warning>**DO NOT** delete | + | Delete all database files on the Replicant machine (all files in the '' |
+ | |{{master_replicant_remove_dbconfig.gif}}| | ||
- | | {{master_replicant_remove_dbconfig.gif}}| | + | Open the DB_CONFIG file in Notepad, or equivalent text editor. |
- | Edit the [[server: | + | Edit the TapeTrack\TapeTrack Framework Server\[[server: |
- | + | ||
- | {{server: | + | |
Edit the Replicant Server and Master Server host names in the [[server: | Edit the Replicant Server and Master Server host names in the [[server: | ||
- | * Replace **replicant-1.tapetrack.com** with the IP address of **your** Replicant Server (RRR.RRR.RRR.RRR | + | * Replace **replicant-1.tapetrack.com** with the IP address of **your** Replicant Server (your_replicant_IP_address |
- | * Replace **master.tapetrack.com** with the IP address of **your** Master Server (MMM.MMM.MMM.MMM | + | * Replace **master.tapetrack.com** with the IP address of **your** Master Server (your_Master_IP_address |
<note important> | <note important> | ||
- | {{server: | + | {{master_replicant_dbconfig_replicant.gif}} |
<note tip> | <note tip> | ||
- | [[server: | + | |
===== Steps On Master Server ===== | ===== Steps On Master Server ===== | ||
- | [[server: | + | [[server: |
- | <note warning> | + | Edit the TapeTrack\TapeTrack Framework Server\[[server: |
- | + | ||
- | Edit the [[server: | + | |
- | + | ||
- | {{server: | + | |
Edit the [[server: | Edit the [[server: | ||
Edit the Replicant Server and Master Server host names in the [[server: | Edit the Replicant Server and Master Server host names in the [[server: | ||
- | * Replace **replicant-1.tapetrack.com** with the domain name (or IP address) of **your** Replicant Server (RRR.RRR.RRR.RRR | + | * Replace **replicant-1.tapetrack.com** with the domain name (or IP address) of **your** Replicant Server (your_replicant_IP_address |
- | * Replace **master.tapetrack.com** with the domain name (or IP address) of **your** Master Server (MMM.MMM.MMM.MMM | + | * Replace **master.tapetrack.com** with the domain name (or IP address) of **your** Master Server (your_master_IP_address |
- | {{server: | + | {{master_replicant_dbconfig_master.gif}} |
- | Delete all the files starting with '' | + | Delete all, and only, the files starting with '' |
+ | |||
+ | These files will be rebuilt when the server is restarted using the information of the new Master and Replicant details. | ||
|{{master_replicant_remove_db_files.gif}}| | |{{master_replicant_remove_db_files.gif}}| | ||
Line 64: | Line 69: | ||
<note tip> | <note tip> | ||
- | [[server: | + | ===== Start The Servers ===== |
+ | |||
+ | [[server: | ||
+ | |||
+ | |{{server_helper_start.gif}}| | ||
+ | |||
+ | Once the Master server is running, [[server: | ||
+ | |||
+ | The Replicant server will prepare the database for connection to the Master server and move into '' | ||
+ | |||
+ | |{{start_pending.png}}| | ||
+ | |||
+ | The Master server will now connect to the Replicant server and load the database information across the connection. | ||
+ | |||
+ | Once the database is fully replicated the Replicant server will now display running. | ||
===== Confirming Functionality Of Primary And Replicant Servers ===== | ===== Confirming Functionality Of Primary And Replicant Servers ===== | ||
- | Open '' | + | Open '' |
+ | |||
+ | <note tip> | ||
+ | |||
+ | Master $DB_Msg.txt file showing connection between Master and Replicant and the process of sending database information. | ||
+ | |||
+ | {{master_db_msg.png}} | ||
+ | |||
+ | Replicant $DB_Msg.txt file showing connection between Master and Replicant, validation of connection and receiving database information. | ||
+ | |||
+ | {{replicant_db_msg.png}} | ||
+ | |||
+ | Another way of testing the replication is correct and functioning is to [[desktop: | ||
+ | |||
+ | {{login_replicant.png}} | ||
+ | |||
+ | As this database is a replication of the Master server, all user-ID' | ||
+ | |||
+ | When you connect to the Replicant database you will receive a popup reminding you the server is Read Only. While you can view Customer, Media and Volume information, | ||
- | <note tip> | + | {{read_only_replicant.png}} |
<note warning> | <note warning> | ||
Line 78: | Line 116: | ||
==== See Also ==== | ==== See Also ==== | ||
- | [[server: | + | [[server: |
<- ^ server: | <- ^ server: |
server/replication.1615417294.txt.gz · Last modified: 2025/01/21 22:07 (external edit)