Once Dbvisit Replicate has been configured, the replication can be started.
This section is for informational purposes only as the Dbvisit Replicate setup wizard creates the necessary scripts for starting the replication.
Start the Dbvisit Replicate Command Console with the correct DDC file:
On Windows:
Start > Dbvisit Replicate Command Console
dbvrep> readddc w112a.ddc
OR Start a Windows command prompt and type:
dbvrep.exe --ddcfile w112a.ddc
On Linux/Unix:
dbvrep --ddcfile w112a.ddc
Where w112a.ddc is an example name of a DDC file
Once the Dbvisit Replicate Command Console has been started the mine, fetcher (optional) and apply processes can be started.
Starting the mine process
Dbvisit Replicate setup wizard creates the necessary scripts for starting the replication mine process, so the actual commands listed here are not required and are information purposes only. The script names to start the mine process are listed in the Nextsteps.txt file created by the setup wizard.
On Windows:
On Windows, the Dbvisit Replicate can be started as a local service.
dbvrep> start_service mine
This starts the Windows service. If the service is not yet created, the service can be created with:
dbvrep> create service mine
On Linux/Unix:
dbvrep --ddcfile w112a.ddc –-daemon start mine
The –daemon option makes dbvrep disconnect from the console and run in the background. No further commands can be entered. This option is not available on Windows, as similar functionality will be provided by support of Windows services.
To see the progress of the replication, start a new Dbvisit Replicate Command Console and load the same DDC file.
Starting the apply process
Dbvisit Replicate setup wizard creates the necessary scripts for starting the replication apply process, so the actual commands listed here are not required and are information purposes only. The script names to start the apply process are listed in the Nextsteps.txt file created by the setup wizard.
On Windows:
On Windows, the Dbvisit Replicate can be started as a local service.
dbvrep> start_service apply
This starts the Windows service. If the service is not yet created, the service can be created with:
dbvrep> create service apply
On Linux/Unix:
dbvrep --ddcfile w112a.ddc –-daemon start apply
The –daemon option makes dbvrep disconnect from the console and run in the background. No further commands can be entered.
To see the progress of the replication, start a new Dbvisit Replicate Command Console and load the same DDC file. See Viewing the status of the replication for more information.
Stopping the replication process
To stop or shutdown the replication process:
dbvrep> shutdown all
This will stop all the replication processes including mine, apply and fetcher (if started).
On Linux/Unix, the dbvrep process associated with the mine or apply can also stopped with a kill -9 command.
On Windows, the apply or mine process can be also stopped by shutdown the associated Windows service.