HiRDB Datareplicator Version 8 Description, User's Guide and Operator's Guide

[Contents][Glossary][Index][Back][Next]

6.6.1 Starting the target Datareplicator

This subsection explains the target Datareplicator's start method and start modes.

For details about the import processing start method, see 4.7.4 Designing the import processing start method.

Organization of this subsection
(1) How to start the target Datareplicator
(2) Start modes for the target Datareplicator

(1) How to start the target Datareplicator

When you execute the hdsstart command at the target system, the target Datareplicator starts in accordance with the import system definition and the import environment definition. In the Windows edition of Datareplicator, execute the command at the command prompt.

Before you use the hdsstart command, specify in the import system definition file a password that will be required to establish connection with the import HiRDB. Otherwise, it will be possible for anyone to connect to the target HiRDB without entering a password.

To initialize the target Datareplicator's environment, execute the hdsstart -i command. To initialize the environment only for a specific source, use the hdsstart -i -D command to initialize the environment only for the corresponding source.

For details, see the hdsstart command in Chapter 7. Command Syntax.

In the Windows edition of Datareplicator, you can also use either of the following methods to start the target Datareplicator:

To start the import service manually:
  1. In Control Panel, double-click the Services icon.
  2. Under Service, choose HiRDB Datareplicator (Target Site).
  3. In the Startup Parameters field, specify the startup options (options for the hdsstart command).
  4. Click the Start button.

To set the import service to start automatically when Windows starts:
The procedure for setting the import service to start automatically when Windows starts is explained below. In this case, you cannot specify any start options (options in the hdsstart command).
  1. In Control Panel, double-click the Services icon.
  2. Under Service, choose HiRDB Datareplicator (Target Site).
  3. Click the Startup button.
  4. In the Service dialog box, under Startup Type, choose Automatic.
  5. Click the OK button.
  6. Click the Close button.
The next time you start Windows, the import service will start automatically.

(2) Start modes for the target Datareplicator

There are four start modes for the target Datareplicator.

For details about the start modes, see the hdsstart command in Chapter 7. Command Syntax.

Initial start

The initial start mode starts the target Datareplicator in accordance with the import system definition without inheriting the previous session. In this mode, the target Datareplicator initializes the following files:

Partial initial start

The partial initial start mode initializes the import environments for specified data linkage identifiers only, in accordance with the corresponding import system definition (partial initialization) and starts the target Datareplicator's processing without inheriting the settings of the previous session. In this mode, the target Datareplicator initializes the following files for each specified data linkage identifier:

The target Datareplicator's processing for any data linkage identifier that is not specified is the same as in the normal start or restart mode.

Normal start

The normal start mode starts the target Datareplicator in accordance with the import system definition without inheriting the settings of the previous session.

Restart

When import processing in the previous session terminated with an error, the restart mode starts the target Datareplicator with the same settings that were in effect for the previous session in order to guarantee conformity between source and target databases.