Versions Compared

Key

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

Starting the

...

MINE process

The Dbvisit Replicate setup wizard creates the necessary scripts for starting the replication mine MINE process, so the actual dbvrep commands listed here are not required and are for information purposes only. The script names to start the mine MINE process are listed in the Nextsteps.txt file created by the setup wizard. The script names will have the word run and will contain the server name on which to run the actual script.

Example:
d112f-run-dbvisit210.sh

Where:

...

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

Section
Column
width5%

 

Column
width95%
Panel No Format
bgColorCCC
dbvrep> start_service mine

 

This starts the Windows service. The service can also be started from the Windows service control panel.

If the service is not yet created, the service can be created with:

Section
Column
width5%

 

Column
width95%
Panel No Format
bgColorCCC
dbvrep> create service mine

 

On Linux/Unix:

Start the Dbvisit Replicate executable with a DDC file and start the mine MINE as a daemon process:

Section
Column
width5%

 

Column
width95%
panel No Format
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. 
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.

Starting the

...

APPLY process

Note

The Dbvisit Replicate setup wizard creates the necessary scripts for starting the replication apply APPLY process, so the actual dbvrep command listed here are not required and are information purposes only. The script names to start the apply APPLY process are listed in the Nextsteps.txt file created by the setup wizard.

...

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

Section
Column
width5%

 

Column
width95%
Panel No Format
bgColorCCC
dbvrep> start_service 
apply
APPLY

 

This starts the Windows service. The service can also be started from the Windows service control panel.

If the service is not yet created, the service can be created with:

Section
Column
width5%

 

Column
width95%
Panel No Format
bgColorCCC
dbvrep> create service apply

 

On Linux/Unix:

Start the Dbvisit Replicate executable with a DDC file and start the apply APPLY as a daemon process:

Section
Column
width5%

 

Column
width95%
Panel No Format
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.

 

Note

When restarting the Mine MINE process after the Mine MINE process has been stopped for some time, there maybe some additional work required by the Mine MINE process internally before the replication is up to date again. Please see Restarting Mine MINE Process for more information.

...

Note

The Dbvisit Replicate setup wizard creates the necessary scripts for starting the replication fetcher process, so the actual dbvrep command listed here are not required and are information purposes only. The script names to start the apply APPLY process are listed in the Nextsteps.txt file created by the setup wizard.

...

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

Section
Column
width5%

 

Column
width95%
Panel No Format
bgColorCCC
dbvrep> start_service fetcher

 

This starts the Windows service. The service can also be started from the Windows service control panel.

If the service is not yet created, the service can be created with:

Section
Column
width5%

 

Column
width95%
Panel No Format
bgColorCCC
dbvrep> create service fetcher

 

On Linux/Unix:

Start the Dbvisit Replicate executable with a DDC file and start the fetcher as a daemon process:

Section
Column
width5%

 

Column
width95%
Panel No Format
bgColorCCC
dbvrep --ddcfile w112a.ddc –-daemon start fetcher

 

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.

...

To stop or shutdown the replication process:

Section
Column
width5%

 

Column
width95%
Panel No Format
bgColorCCC
dbvrep> shutdown all

 

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

On Linux/Unix, the dbvrep process associated with the mineMINE, apply APPLY or fetcher can also stopped with a kill -9 command. 

On Windows, the applyAPPLY, mine MINE or fetcher process can be also stopped by shutdown the associated Windows service.

It is always a good idea to ensure that there are no connections active for the user 'dbvrep' in either database before restarting MINE and APPLY. If any sessions after shutting down all do exist, kill the oracle session before restarting.