Creating a new domain by cloning a server
You can create a new replication domain by cloning a server and then converting the two HCL OneDB™ database servers to replication servers. Use cloning and conversion if you want to set up replication based on the data on a source server that is not yet running Enterprise Replication.
About this task
Procedure
To create a new domain with two replication servers:
- On the source server, prepare the server environment for Enterprise Replication, such as configuring sqlhosts information and setting the necessary configuration parameters.
- On both servers, complete the ifxclone prerequisites for all servers, such as setting the required configuration parameters and environment variables.
- On the target server, complete the ifxclone prerequisites for an RS secondary server, such as creating all of the chunks that exist on the source server. You can use the --createchunkfile option (-k) of the ifxclone utility to automatically create cooked chunks on the target server.
- On the target server, run the ifxclone command with the --disposition=RSS option to clone the data and the configuration of the source server onto the target server. Do not include the --useLocal option.
- On the source server, run the cdr check sec2er command to determine if conversion to replication servers is possible.
- Solve any error conditions identified by the cdr check sec2er command and rerun it until its output indicates that conversion will be successful. You can also solve warning conditions.
- On the source server, run the cdr start sec2er command to convert both servers to replication servers and create a new replication domain.