How can I replace a Content Store with replication enabled?

You can replace a Content Store when replication is enabled by editing some configuration files.

Symptom

I need to replace a Content Store and replication is enabled.

Problem

I do not know the procedure to replace a Content Store when replication is enabled.

Solution

  1. Take a backup of the Content Store.
  2. On both TEXTML Servers, click Start > Administrative Tools > Services.
  3. In the Services window, right-click the TEXTML Server entry. Click Stop.
  4. On the primary server, in the C:\ProgramData\IxiaSoft\TEXTMLServer43\DocumentBaseCfg.xml file, copy the values for <Replication> node and subnode to a Notepad file.
  5. Delete all of the files inside the docbase folder.
  6. Copy the Content Store backup into the docbase folder.
  7. In the DocumentBaseCfg.xml file, replace the <Replication> node and subnode entries with the values from Notepad.
  8. Delete all of the files in the transaction log folder.
  9. In the C:\ProgramData\IxiaSoft\TEXTMLServer43\PrimaryReplicationCfg.xml file, remove the value for <LastUserCommandLogIdProcessed>.
  10. On the secondary server, delete all of the files inside the docbase folder.
  11. Copy the Content Store backup into the docbase folder.
  12. In the C:\ProgramData\IxiaSoft\TEXTMLServer43\DocumentBaseCfg.xml file, replace the <Replication> node and subnode entries with the values from Notepad.
  13. On both TEXTML Servers, click Start > Administrative Tools > Services.
  14. In the Services window, right-click the TEXTML Server entry. Click Start.