dse advrep conf update

Updates configuration settings for advanced replication.

Updates configuration settings for advanced replication.

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 conf update
    --audit-log-enabled true|false     
    --audit-log-compression none|gzip  
    --audit-log-file log_file_name
    --audit-log-max-life-span-mins number_of_minutes
    --audit-log-rotate-mins number_of_minutes
    --permits number_of_permits  
    --collection-max-open-files number_of_files 
    --collection-time-slice-count number_of_files
    --collection-time-slice-width time_period_in_seconds 
    --collection-expire-after-write 
    --invalid-message-log
Table 1. Legend
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.
--audit-log-compression true|false
Enable or disable audit logging.
--audit-log-compression none|gzip
Enable audit log compression. Default: none
--audit-log-file log_file_name
The audit log filename.
--audit-log-rotate-max number_of_minutes
The maximum number of minutes for the audit log lifespan.
--audit-log-rotate-mins number_of_minutes
The number of minutes before the audit log will rotate.
--permits number_of_permits
Maximum number of messages that can be replicated in parallel over all destinations. Default: 1024
--collection-max-open-files number_of_files
Number of open files kept.
--collection-time-slice-count number_of_files
The number of files which are open in the ingestor simultaneously.
--collection-time-slice-width time_period_in_seconds
The time period in seconds for each data block ingested. Smaller time widths mean more files, whereas larger timer widths mean larger files, but more data to resend on CRC mismatches.
--collection-expire-after-write
Whether the collection expires after the write occurs.
--invalid-message-log none|system_log|channel_log
Specify where error information is stored for messages that could not be replicated. Default: channel_log

Examples

To update configuration settings:

dse advrep conf update --permits 8 --audit-log-enabled true --audit-log-file auditLog
with a result:
Updated audit_log_file from null to auditLog
Updated permits from null to 8
Updated audit_log_enabled from null to true