dse advrep destination create
Creates a replication destination.
Creates a replication destination.
A replication channel is a defined channel of change data between source clusters and destination clusters.
Restriction: 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 conventions | Description |
---|---|
UPPERCASE | Literal keyword. |
Lowercase | Not literal. |
Italics |
Variable value. Replace with a valid option or user-defined value. |
[ ] |
Optional. Square brackets ( [ ] ) surround optional command
arguments. Do not type the square brackets. |
( ) |
Group. Parentheses ( ( ) ) identify a group to choose from. Do
not type the parentheses. |
| |
Or. A vertical bar ( | ) separates alternative elements. Type
any one of the elements. Do not type the vertical bar. |
... |
Repeatable. An ellipsis ( ... ) indicates that you can repeat
the syntax element as often as required. |
'Literal string' |
Single quotation ( ' ) marks must surround literal strings in
CQL statements. Use single quotation marks to preserve upper case. |
{ key:value } |
Map collection. Braces ( { } ) enclose map collections or key
value pairs. A colon separates the key and the value. |
<datatype1,datatype2> |
Set, list, map, or tuple. Angle brackets ( < > ) enclose
data types in a set, list, map, or tuple. Separate the data types with a comma.
|
cql_statement; |
End CQL statement. A semicolon ( ; ) terminates all CQL
statements. |
[ -- ] |
Separate the command line options from the command arguments with two hyphens (
-- ). This syntax is useful when arguments might be mistaken for
command line options. |
' <schema> ... </schema>
' |
Search CQL only: Single quotation marks ( ' ) surround an entire
XML schema declaration. |
@xml_entity='xml_entity_type' |
Search CQL only: Identify the entity and literal value to overwrite the XML element in the schema and solrconfig files. |
- --name destination_name (required)
- The name of the destination.
- --addresses address_name [ , address_name ] (required)
- The IP addresses of the destinations.
- --transmission-enabled true | false
- Whether the data collector for the table should be replicated to the destination.
- --driver-user user_name
- The username for the destination.
- --driver-pwd password
- The password for the destination.
- --driver-used-hosts-per-remote-dc number_of_hosts
- The number of hosts per remote datacenter that the datacenter-aware round robin policy considers available for use.
- --driver-connections number_of_connections
- The number of connections that the driver creates.
- --driver-connections-max number_of_connections
- The maximum number of connections that the driver creates.
- --driver-local-dc data_center_name
- The name of the datacenter that is considered local.
- --driver-consistency-level ANY|ONE|TWO|THREE|QUORUM|ALL|LOCAL_QUORUM|EACH_QUORUM|SERIAL|LOCAL_SERIAL|LOCAL_ONE
- The consistency level for the destination.
- --driver-compression snappy|lz4
- The compression algorithm for data files.
- --driver-connect-timeout timeout_in_milliseconds
- The timeout for the driver connection.
- --driver-read-timeout timeout_in_milliseconds
- The timeout for the driver reads.
- --driver-max-requests-per-connection number_of_requests
- The maximum number of requests per connection.
- --driver-ssl-enabled true|false
- Enable or disable SSL connection for the destination.
- --driver-ssl-cipher-suites suite1[ , suite2, suite3 ]
- Comma-separated list of SSL cipher suites to use for driver connections.
- --driver-ssl-protocol protocol
- The SSL protocol to use for driver connections.
- --driver-ssl-keystore-path keystore_path
- The SSL keystore path to use for driver connections.
- --driver-ssl-keystore-password keystore_password
- The SSL keystore password to use for driver connections.
- --driver-ssl-keystore-type keystore_type
- The SSL keystore type to use for driver connections.
- --driver-ssl-truststore-path truststore_path
- The SSL truststore path to use for driver connections.
- --driver-ssl-truststore-password truststore_password
- The SSL truststore password to use for driver connections.
- --driver-ssl-truststore-type truststore_type
- The SSL truststore type to use for driver connections.
Examples
To update a replication
destination:
dse advrep --verbose destination update --name mydest --addresses 10.200.182.148 --transmission-enabled truewith a result:
Destination mydest created