Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Once Dbvisit Replicate has been configured, the replication can be started. Note: This

Note

 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:

Section
Column
width5%

 

Column
width95%
Panel
bgColorCCC
Start > Dbvisit Replicate Command Console
dbvrep> readddc w112a.ddc

OR Start a Windows command prompt and type:

Section
Column
width5%

 

Column
width95%
Panel
bgColorCCC
dbvrep.exe --ddcfile w112a.ddc

On Linux/Unix:

Section
Column
width5%

 

Column
width95%
Panel
bgColorCCC
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

On Windows:

On Windows, the Dbvisit Replicate can be started as a local service.

Section
Column
width5%

 

Column
width95%
Panel
bgColorCCC
dbvrep> start_service mine

This starts the Windows service. If the service is not yet created, the service can be created with:

Section
Column
width5%

 

Column
width95%
Panel
bgColorCCC
dbvrep> create service mine
On Linux/Unix:
Section
Column
width5%

 

Column
width95%
Panel
bgColorCCC
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

On Windows:

On Windows, the Dbvisit Replicate can be started as a local service.

Section
Column
width5%

 

Column
width95%
Panel
bgColorCCC
dbvrep> start_service apply

This starts the Windows service. If the service is not yet created, the service can be created with:

Section
Column
width5%

 

Column
width95%
Panel
bgColorCCC
dbvrep> create service apply
On Linux/Unix:
Section
Column
width5%

 

Column
width95%
Panel
bgColorCCC
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:

Section
Column
width5%

 

Column
width95%
Panel
bgColorCCC
dbvrep> shutdown all

This will stop all the replication processes including mine, apply and fetcher (if started).