dse advrep destination create
Creates a replication destination.
A replication channel is a defined channel of change data between source clusters and destination clusters.
|
This command is supported only on nodes configured for DSE Advanced Replication. |
Synopsis
dse advrep destination create
--name <destination_name>
--addresses <address_name> [ , <address_name> ]
[ --transmission-enabled (true|false) ]
--driver-user <user_name>
--driver-pwd <password>
--driver-used-hosts-per-remote-dc <number_of_hosts>
--driver-connections <number_of_connections>
--driver-connections-max <number_of_connections>
--driver-local-dc <data_center_name>
--driver-allow-remote-dcs-for-local-cl true|false
--driver-consistency-level [ ANY|ONE|TWO|THREE|QUORUM|ALL|LOCAL_QUORUM|EACH_QUORUM|SERIAL|LOCAL_SERIAL|LOCAL_ONE ]
--driver-compression [ snappy|lz4 ]
--driver-connect-timeout <timeout_in_milliseconds>
--driver-read-timeout <timeout_in_milliseconds>
--driver-max-requests-per-connection <number_of_requests>
--driver-ssl-enabled true|false
--driver-ssl-cipher-suites
--driver-ssl-protocol
--driver-ssl-keystore-path
--driver-ssl-keystore-password
--driver-ssl-keystore-type
--driver-ssl-truststore-path
--driver-ssl-truststore-password
--driver-ssl-truststore-type
Syntax legend
| Syntax conventions | Description |
|---|---|
Italic, bold, or |
Syntax diagrams and code samples use one or more of these styles to mark placeholders for variable values. Replace placeholders with a valid option or your own user-defined value. In CQL statements, angle brackets are required to enclose data types in a set, list, map, or tuple.
Separate the data types with a comma.
For example: In Search CQL statements, angle brackets are used to identify the entity and literal value to overwrite the XML element in the schema and |
|
Square brackets surround optional command arguments. Do not type the square brackets. |
|
Parentheses identify a group to choose from. Do not type the parentheses. |
|
A pipe separates alternative elements. Type any one of the elements. Do not type the pipe. |
|
Indicates that you can repeat the syntax element as often as required. |
|
Single quotation marks must surround literal strings in CQL statements.
Use single quotation marks to preserve upper case.
+
For Search CQL only: Single quotation marks surround an entire XML schema declaration, such as |
|
Map collection.
Curly braces enclose maps ( |
|
Ends a CQL statement. |
|
Separate command line options from command arguments with two hyphens. This syntax is useful when arguments might be mistaken for command line options. |
- --name
-
Specify the name of the destination.
Required.
- --addresses
-
Provide one or more IP addresses of the destinations. If multiple addresses are provided, separate them with commas. For example:
-
One address:
--addresses 10.200.182.148 -
Multiple addresses:
--addresses 10.200.182.148,10.200.182.149,10.200.182.150
Required.
-
- --driver-user
-
Provide the username for the destination.
- --driver-pwd
-
Provide the password for the destination.
- --driver-used-hosts-per-remote-dc
-
Set the number of hosts per remote datacenter that the datacenter-aware round robin policy considers available for use.
- --driver-connections
-
Set the number of connections that the driver creates.
- --driver-connections-max
-
Set the maximum number of connections that the driver creates.
- --driver-local-dc
-
Provide the name of the datacenter that is considered local.
- --driver-consistency-level
-
Set the consistency level for the destination:
-
ANY -
ONE -
TWO -
THREE -
QUORUM -
ALL -
LOCAL_QUORUM -
EACH_QUORUM -
SERIAL -
LOCAL_SERIAL -
LOCAL_ONE
-
- --driver-compression
-
Set the compression algorithm for data files, either
snappyorlz4. - --driver-connect-timeout
-
Set the timeout in milliseconds for the driver connection.
- --driver-read-timeout
-
Set the timeout in milliseconds for read operations.
- --driver-max-requests-per-connection
-
Set the maximum number of requests per connection.
- --driver-ssl-enabled
-
Boolean indicating whether to enable SSL-encrypted connections for the destination.
- --driver-ssl-cipher-suites
-
Provide one or more SSL cipher suites to use for driver connections. If multiple cipher suites are provided, separate them with commas. For example:
-
One cipher suite:
--driver-ssl-cipher-suites TLS_RSA_WITH_AES_128_CBC_SHA -
Multiple cipher suites:
--driver-ssl-cipher-suites TLS_RSA_WITH_AES_128_CBC_SHA,TLS_RSA_WITH_AES_256_CBC_SHA,TLS_RSA_WITH_AES_128_GCM_SHA256
-
- --driver-ssl-protocol
-
Specify the SSL protocol to use for driver connections.
- --driver-ssl-keystore-path
-
Provide the path to the SSL keystore to use for driver connections.
- --driver-ssl-keystore-password
-
Provide the SSL keystore password to use for driver connections.
- --driver-ssl-keystore-type
-
Provide the SSL keystore type to use for driver connections.
- --driver-ssl-truststore-path
-
Provide the path to the SSL truststore to use for driver connections.
- --driver-ssl-truststore-password
-
Provide the SSL truststore password to use for driver connections.
- --driver-ssl-truststore-type
-
Provide the SSL truststore type to use for driver connections.
- --transmission-enabled
-
Boolean indicating whether to replicate data collector for the table to the destination.
Examples
Update a replication destination:
dse advrep --verbose destination update --name mydest --addresses 10.200.182.148 --transmission-enabled true