dse advrep destination update
Updates a replication destination.
|
This 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>
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, use angle brackets 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. |
|
Use single quotation marks to 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 <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
Create a replication destination:
dse advrep --verbose destination update --name mydest \
--addresses 10.200.182.148 --driver-consistency-level LOCAL_QUORUM
Result
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.