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
- Take a backup of the Content Store.
- On both TEXTML Servers, click
- In the Services window, right-click the TEXTML Server entry. Click Stop.
- 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. - Delete all of the files inside the docbase folder.
- Copy the Content Store backup into the docbase folder.
- In the DocumentBaseCfg.xml file, replace the
<Replication>
node and subnode entries with the values from Notepad. - Delete all of the files in the transaction log folder.
- In the C:\ProgramData\IxiaSoft\TEXTMLServer43\PrimaryReplicationCfg.xml
file, remove the value for
<LastUserCommandLogIdProcessed>
. - On the secondary server, delete all of the files inside the docbase folder.
- Copy the Content Store backup into the docbase folder.
- In the C:\ProgramData\IxiaSoft\TEXTMLServer43\DocumentBaseCfg.xml
file, replace the
<Replication>
node and subnode entries with the values from Notepad. - On both TEXTML Servers, click
- In the Services window, right-click the TEXTML Server entry. Click Start.