dse advrep destination update
Updates a replication destination.
A replication channel is a defined channel of change data between source clusters and destination clusters.
Command is supported only on nodes configured for DSE Advanced Replication. |
Synopsis
dse advrep destination update
--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 <suite1> [, <suite2>, <suite3> ]
--driver-ssl-protocol <protocol>
--driver-ssl-keystore-path <keystore_path>
--driver-ssl-keystore-password <keystore_password>
--driver-ssl-keystore-type <keystore_type>
--driver-ssl-truststore-path <truststore_path>
--driver-ssl-truststore-password <truststore_password>
--driver-ssl-truststore-type <truststore_type>
Details
Syntax conventions | Description |
---|---|
UPPERCASE |
Literal keyword. |
Lowercase |
Not literal. |
|
Variable value. Replace with a valid option or user-defined value. |
|
Optional.
Square brackets ( |
|
Group.
Parentheses ( |
|
Or.
A vertical bar ( |
|
Repeatable.
An ellipsis ( |
|
Single quotation ( |
|
Map collection.
Braces ( |
|
Set, list, map, or tuple.
Angle brackets ( |
|
End CQL statement.
A semicolon ( |
|
Separate the command line options from the command arguments with two hyphens ( |
|
Search CQL only: Single quotation marks ( |
|
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 create a replication destination:
-
command
-
Result
dse advrep --verbose destination update --name mydest \
--addresses 10.200.182.148 --driver-consistency-level LOCAL_QUORUM
Destination mydest updated
Updated addresses from 10.200.182.148 to 10.200.182.1648
Updated driver_consistency_level from ONE to LOCAL_QUORUM
Updated name from mydest to mydest
Notice that any option included causes a change to occur.