This chapter provides a quick guide to installing and configuring the Replication Manager for experimenting with its many features. When you install in a real-world environment, such as when you roll it out throughout your enterprise, rest assured that Replication Manager provides many installation and configuration options so you can tailor it to your needs. For more information, see Installation Details.
Downloading Replication Manager
The FairCom Replication Manager is distributed in a .zip or .tar package with a name similar to the following:
Installation involves simply extracting the package onto your server file system.
The package contains the centralized Memphis components (the Replication Manager controller, database, and browser‑based graphical tools).
Note: It is possible to install and run Replication Manager on the same system where a FairCom DB, FairCom EDGE, or c-treeRTG server is running, but you will need to change the https port in config/cthttpd.json.
You will need to edit the config/ctagent.json configuration files on the FairCom DB, FairCom EDGE, and/or c-treeRTG server nodes to point to the Replication Manager.
You may need to update the licenses on the server nodes to ensure replication is enabled for each database server node.
Note: Your FairCom DB, FairCom EDGE, and/or c-treeRTG servers will need to be updated to the latest build:
V11.7.0 or later.
After downloading and unzipping the Replication Manager package, you will see a directory structure similar to the following:
Installation
Note: It is important that the c-tree Server engines are started after the Memphis application is running, so the automatic registration is completed. You will know this step did not complete correctly if your c-tree Server is not showing in the Memphis Replication Manager Management Interface.
https://hostname-of-your-server:8443/ReplicationManager/
for example: https://localhost:8443/ReplicationManager/
If you get a security or certificate error, you will have to click Details and click the link that allows you to continue on to the web page.
User: "admin"
Password: "ADMIN"
After you have logged into Replication Manager, you will see the interface described in this document.
Configuration
To enable replication, the following lines should be seen in ctsrvr.cfg:
; Plugins
PLUGIN cthttpd;./web/cthttpd.dll
PLUGIN ctagent;./agent/ctAgent.dll
The lines shown above enable the plug-in that handles web communication (cthttpd) and the agent that performs the replication (ctagent).
Configuration is performed using two files: config/ctagent.json and config/cthttpd.json.
ctagent.json:
{
"embedded": true,
"log_file": "agentLog.txt",
"memphis_server_name": "MEMPHIS",
"memphis_sql_port": 7000,
"memphis_host": "localhost",
"memphis_database": "MEMPHIS",
"ctree_check_mask": "*.dat;*.idx;*.fdd;*.fsd",
"inactive_timeout": 600
}
cthttpd.json:
{
"listening_https_port": 8443,
"ssl_certificate": "./web/fccert.pem",
"document_root": "./web/apps",
"application": [
"ctree;ctREST.dll",
"AceMonitor;ctMonitor.dll",
"SQLExplorer;ctSQLExplorer.dll",
"ISAMExplorer;ctISAMExplorer.dll",
"ReplicationManager;ctReplicationManager.dll"
]
}
Setting Up Replication:
The Replication Manager provides many features for fine-tuning your replication plan, importing existing replication, and monitoring your replication environment. The rest of this document explains these features in detail.