TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


technote:disable_replication

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
technote:disable_replication [2020/03/11 00:06] Scott Cunliffetechnote:disable_replication [2025/02/14 05:34] (current) – [Linux] Scott Cunliffe
Line 5: Line 5:
 Disabling the replication subsystem will allow the database to automatically remove any log files that are no longer active. Disabling the replication subsystem will allow the database to automatically remove any log files that are no longer active.
  
-===== Disable The Replication Subsystem Via TMSS10ServerHelper =====+<note important>As a precaution, it is always advisable to backup the TapeTrack\TapeTrack Framework Server\var folder before any alterations</note>
  
-Open the Server Helper by navigating to your TapeTrack install directory and double clicking the file TMSS10ServerHelper.exe, located at TapeTrack\TapeTrack Framework Server.+===== Windows ===== 
 + 
 +==== Disable The Replication Subsystem Via TMSS10ServerHelper ==== 
 + 
 +Open the Server Helper by navigating to your TapeTrack install directory and double clicking the file ''TMSS10ServerHelper.exe'', located at ''TapeTrack\TapeTrack'' Framework Server.
  
 As the program needs registry access to make any changes, you will receive a popup requesting application permissions.  Click ''Yes'' to continue or ''No'' to close.  If you do not give permissions for the application to run, you will need to edit the Registry directly to make the required changes (See next section). As the program needs registry access to make any changes, you will receive a popup requesting application permissions.  Click ''Yes'' to continue or ''No'' to close.  If you do not give permissions for the application to run, you will need to edit the Registry directly to make the required changes (See next section).
Line 22: Line 26:
 All redundant dblogs files will now be deleted, this can be checked by navigating to the dblogs directory TapeTrack\TapeTrack Framework Server\var\dblogs. There will now be only one dblog file in the directory. All redundant dblogs files will now be deleted, this can be checked by navigating to the dblogs directory TapeTrack\TapeTrack Framework Server\var\dblogs. There will now be only one dblog file in the directory.
  
-===== Disable The Replication Subsystem Via Registry Edit =====+==== Disable The Replication Subsystem Via Registry Edit ====
  
-<note warning>[[:registry_edit|Backup Registry]] before making any alterations.+<note warning>[[technote:registry_edit|Backup Registry]] before making any alterations.
  
 Do not edit the registry unless you are competent to do so.</note> Do not edit the registry unless you are competent to do so.</note>
 +
 +Once you have a current backup of the registry, navigate to ''Computer\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\TMSS10SVC'' in Registry Editor.
 +
 +{{registry_edit_x.png}}
 +
 +Double click on the ''Image Path'' to open up the ''Edit String'' window.
 +
 +At the end of the Value data string, add '' -X'', including a space between the end of the string and the ''-X''.
 +
 +{{registry_edit_x_addition.png}}
 +
 +Click ''OK'' to close the window and update the value.
 +
 +Close the Registry Editor.
 +
 +[[server:start_stop|Stop and then restart]] the TapeTrack service to update the changes.
 +
 +All redundant dblogs files will now be deleted, this can be checked by navigating to the dblogs directory TapeTrack\TapeTrack Framework Server\var\dblogs. There will now be only one dblog file in the directory.
 +
 +===== Linux =====
 +
 +Using a linux command window, navigate to /etc/init.d/
 +
 +Open /etc/init.d/tapetrack with a text editor such as vi
 +
 +edit the function start to include the argument -X as shown in the following code
 +
 +<code>
 +start()
 +{
 +        echo "Starting TapeTrack"
 +        /usr/sbin/TMSS10 -X -R /var/run/tapetrack.pid &
 +        RETVAL=0
 +}
 +</code>
 +
 +[[server:start_stop#linux|Stop and restart]] the server to implement the changes.
 +
 +When the Frameworks server restarts all now redundant log files will be automatically deleted.
 +
 +
 +
 +{{tag> technote replication cli registry server}}
  
technote/disable_replication.1583885187.txt.gz · Last modified: 2025/01/21 22:07 (external edit)