server:replication
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
server:replication [2017/06/06 18:16] – Gerard Nicol | server:replication [2025/01/21 22:07] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Enabling Replication ====== | ====== Enabling Replication ====== | ||
- | To enable | + | The following information illustrates the steps required to enable |
- | - [[server: | + | All steps must be **performed |
- | - [[server: | + | |
- | - Delete all database files on the remote machine (all files in the '' | + | |
- | - Edit the [[server: | + | |
- | - Edit the replication local and remote host names in the [[server: | + | |
- | - Ensure that the replication TCP/IP ports specified in the [[server: | + | |
- | - [[server: | + | |
- | - [[server: | + | |
- | - Edit the [[server: | + | |
- | - Ensure that the replication TCP/IP ports are open for inbound connections. | + | |
- | - [[server: | + | |
- | - Look in the '' | + | |
- | <note tip> | + | ===== Prerequisites ===== |
- | <- server: | + | 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: | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ===== Steps On Remote Server ===== | ||
+ | |||
+ | [[server: | ||
+ | |||
+ | [[server: | ||
+ | |||
+ | |{{server_helper_stop.gif}}| | ||
+ | |||
+ | Navigate Windows File Explorer to the TapeTrack Framework Server installation directory (TapeTrack\TapeTrack Framework Server) to the var\db folder. | ||
+ | |||
+ | Delete all database files on the Replicant machine (all files in the '' | ||
+ | |||
+ | |{{master_replicant_remove_dbconfig.gif}}| | ||
+ | |||
+ | Open the DB_CONFIG file in Notepad, or equivalent text editor. | ||
+ | |||
+ | Edit the TapeTrack\TapeTrack Framework Server\[[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 (your_replicant_IP_address used as Replicant IP example) and port number if not using the default 5100 value. | ||
+ | * Replace **master.tapetrack.com** with the IP address of **your** Master Server (your_Master_IP_address used as Master IP example) and port number if not using the default 5100 value. | ||
+ | |||
+ | <note important> | ||
+ | |||
+ | {{master_replicant_dbconfig_replicant.gif}} | ||
+ | |||
+ | <note tip> | ||
+ | |||
+ | |||
+ | |||
+ | ===== Steps On Master Server ===== | ||
+ | |||
+ | [[server: | ||
+ | |||
+ | Edit the TapeTrack\TapeTrack Framework Server\[[server: | ||
+ | |||
+ | Edit 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 (your_replicant_IP_address used as Replicant IP example). | ||
+ | * Replace **master.tapetrack.com** with the domain name (or IP address) of **your** Master Server (your_master_IP_address used as Master IP example). | ||
+ | |||
+ | {{master_replicant_dbconfig_master.gif}} | ||
+ | |||
+ | 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}}| | ||
+ | |||
+ | |||
+ | <note tip> | ||
+ | |||
+ | ===== 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 ===== | ||
+ | |||
+ | 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, | ||
+ | |||
+ | {{read_only_replicant.png}} | ||
+ | |||
+ | <note warning> | ||
+ | |||
+ | [[troubleshooting: | ||
+ | |||
+ | ==== See Also ==== | ||
+ | |||
+ | [[server: | ||
+ | |||
+ | <- |
server/replication.1496772996.txt.gz · Last modified: 2025/01/21 22:07 (external edit)