Data Replication
- Data Replication 9.7.0 HotFix 2
- All Products
add connection name=connection_nametype=database_typehost=hostport=portlogin=loginpasswd=password[owner=owner] [instance=instance/database] [ccs=custom_connection_string] [jdbc=jdbc_custom_url][path=flat_file_path][https=true|false][asm_host=asm_host] [asm_port=asm_port] [asm_user=asm_user] [asm_passwd=asm_password] [asm_instance=asm_instance] [asm_ccs=asm_custom_connection_string] [asm_jdbc=asm_jdbc_custom_url][kafka_path=[version=kafka_path] [kafka_topic=kafka_topic] [kafka_format=avro] [kafka_structure=avroFlatSchemaFormatV1|avroNestedSchemaFormatV2] [kafka_encoding=binary|json]version][-c] [-d] [-r][-s][-a]
ac name=connection_nametype=database_typehost=hostport=portlogin=loginpasswd=password[owner=owner] [instance=instance/database] [ccs=custom_connection_string] [jdbc=jdbc_connection_string][path=[https=true|false] [asm_host=flat_file_path]asm_host] [asm_port=asm_port] [asm_user=asm_user] [asm_passwd=asm_password] [asm_instance=asm_instance] [asm_ccs=asm_custom_connection_string] [asm_jdbc=asm_jdbc_connection_string][kafka_path=[version=kafka_path] [kafka_topic=kafka_topic] [kafka_format=avro] [kafka_structure=avroFlatSchemaFormatV1|avroNestedSchemaFormatV2] [kafka_encoding=binary|json]version] [-c] [-d] [-r] [-s][-a]
Parameter | Description |
---|---|
name | A name for the source or target connection that you are adding.
Connection names must be unique. The names can contain the digits 0-9, Latin letters A-Z and a-z, and the underscore (_) character. The Data Replication Console truncates connection names that are longer than 120 characters.
|
type | A source or target type. Valid values are:
|
host
| Host name or IP address of the machine where the source or target runs. |
port
| Port number that Data Replication uses to connect to the source or target. Valid values are integers from 1 through 65535. |
login
| A user name that has the authority to connect to the specified source or target. |
passwd
| A valid password for the specified user. |
owner
| The Server Manager user to be used as the connection owner.
|
instance
| Depending on the source or target type, enter one of the following types of values:
|
css
| A custom connection string for the ODBC driver that the Extractor uses to access the source or target.
If you use an ODBC Data Source Name (DSN) to connect to the source database, provide the DSN connection string.
On Windows, if you installed multiple ODBC driver versions on one system, use this setting to specify a name for the driver that you want to use.
|
jdbc
| A custom URL for the JDBC driver that the Server Manager CLI uses to access the source or target. |
path
| For flat file targets, a directory in the distributed file system to which the Applier loads flat files. |
https
| For Amazon Redshift and Greenplum targets, specifies whether to use the HTTPS protocol to connect to the target. Valid values are:
Default value: false
|
asm_host | The host name or IP address of the system with the Oracle ASM instance. |
asm_port | The port number that is used to connect to the Oracle ASM instance. Valid values are integers from 1 through 65535. Default value: 1521. |
asm_user | The user name of the default Oracle user that was created at Oracle installation, or another user that you define. This user must have SYSDBA privileges. |
asm_passwd | A clear text password for the Oracle ASM user that is specified in the asm-user parameter. |
asm_instance | An Oracle ASM instance name that is defined in the ORACLE_SID environment variable. |
asm_ccs | A custom connection string for the ODBC driver that the Extractor uses to access the Oracle ASM database. |
asm_jdbc | A custom URL for the JDBC driver that the Server Manager uses to access the specified Oracle ASM database. |
kafka_path | For Apache Kafka targets, the path to the directory that contains the Kafka producer properties file. |
kafka_topic | For Apache Kafka targets, the Kafka topic or topics to which Data Replication publishes messages that contain change data by using this connection. Enter one of the following values:
By default, Kafka automatically creates a topic when Data Replication publishes a message to the topic but the topic does not yet exist. If you do not want Kafka to automatically create topics, set the auto.create.topics.enable property to false in the Kafka server.properties file. With this setting, you must first create the topic or topics to which Data Replication publishes messages, before issuing this command. Otherwise, Data Replication issues an error.
|
kafka_format | For Apache Kafka targets, the message format. The only valid value is avro. |
kafka_structure | For Apache Kafka targets, a message structure for the avro format. Valid values are avroFlatSchemaFormatV1 and avroNestedSchemaFormatV2. |
kafka_encoding | For Apache Kafka targets, the message encoding type for the avro format. Valid values are binary and json. |
version | For Cloudera and Hortonworks targets, the version number. |
-c
| Indicates whether to use an ODBC custom connection string or JDBC custom URL to connect to the source or target. If you specify this parameter, you must also specify the css parameter, jdbc parameter, or both. |
-d
| For Oracle sources and targets, indicates that you connect to the database without using the Oracle instance. The connection string takes the form of /. |
-r
| For Oracle sources and targets, indicates that you capture data only from Oracle archived redo logs in a RAC environment. |
-s
| For Oracle sources and targets, indicates whether to use the Oracle SID instead of the SERVICE_NAME to build the connection string. |
-a | For Oracle ASM sources and targets, indicates whether to use the Oracle SID instead of the SERVICE_NAME to build the connection string. |
ac name=ora_src type=oracle host=10.51.40.78 port=1521 login=DATAREP_USER passwd=DATAREP_USER_PASS owner=idradmin instance=orcl
add connection name=asm_connection type=oracle host=10.51.40.26 port=1521 login='sys as sysdba' passwd=84218421 instance=orcl asmHost=10.51.40.26 asmPort=1521 asmUser=sys asmPasswd=84218421 asmInstance=+asm