You can import a configuration file in XML or SQLite database format for Server Manager use. The file can be from the local replication environment or from another replication environment.
For example, you can import a configuration .xml file that you created in a test environment for use in the production environment.
If you import a configuration that has multiple targets, Data Replication skips information about the secondary targets and imports information only for the primary target.
On the
Server Manager
tab >
Configs
view, click the
Import
icon button on the Replication Configurations toolbar.
The
Import Configuration
dialog box appears.
In the
Name
field, enter a name that you want to use for the imported configuration file.
Configuration names are not case-sensitive. They can contain the digits 0-9, Latin letters A-Z and a-z, and the underscore (_) character. The Data Replication Console truncates configuration names that are longer than 100 characters.
In the
Owner
list, select the configuration owner.
If you are a regular non-administrative user and select idradmin as the owner, you will not be able to edit the configuration later.
For the
File path
field, click the
Browse
button to browse to the configuration file that you want to import.
In the
File System for Server Manager 'name'
dialog box, perform the following substeps:
To filter the configuration files, enter a configuration name mask in the
Filter
field.
You can use the asterisk (*) wildcard in the mask.
Select one of the following options to indicate the format of the configuration files to display in the directory tree:
*.xml files
to display only XML configuration files
On Solaris systems only, the directory from which you import the XML configuration file must also contain the config.xsd schema file.
*.db files
to display only SQLite configuration files
In the directory tree, select the configuration file that you want to import.
The
File
field displays the configuration file name.
Click
OK
.
If you want to remove replication processing information for all replication tasks from the configuration, select the
Clean Configuration
check box.
Select the source server from the
Source Server Manager
list. Then select the environment variables list for the source from the
Runtime environment
list on the left.
Select the target server from the
Target Server Manager
list. Then select the environment variables list for the target from the
Runtime environment
list on the right.
In the
Source Database Connection
and
Target Database Connection
lists, select a connection that has been defined for the source database or target database in the destination environment or retain the default value of
<connection from config>
.
If you use
<connection from config>
, the Console uses the imported connection information to generate a connection with a name that has the following format: <
configuration_name
>_source_connection or <
configuration_name
>_target_connection.
Click
OK
.
The
Report of Operation
dialog box displays the status of each import operation. Statuses are: done, failed, or skipped. The
Total
row indicates whether the overall configuration import operation succeeded.
If the import succeeded, click
Close
.
The configuration appears on the
Server Manager
tab >
Configs
view, and the Data Replication Console opens the imported configuration in Edit mode.
If the import failed, resolve any issues and try to import the configuration again.
Save the imported configuration to complete the import operation.