Changeset View
Changeset View
Standalone View
Standalone View
data/common/cassandra.yaml
Show First 20 Lines • Show All 42 Lines • ▼ Show 20 Lines | cassandra::default_instance_configuration: | ||||
cluster_name: "%{lookup('cassandra::default_cluster_name')}" | cluster_name: "%{lookup('cassandra::default_cluster_name')}" | ||||
datacenter: "%{::subnet}" | datacenter: "%{::subnet}" | ||||
# rack: "%{::hostname}" | # rack: "%{::hostname}" | ||||
rack: rack1 | rack: rack1 | ||||
native_transport_port: 9042 | native_transport_port: 9042 | ||||
storage_port: 7000 | storage_port: 7000 | ||||
jmx_port: 7199 | jmx_port: 7199 | ||||
jmx_exporter_port: 7070 | jmx_exporter_port: 7070 | ||||
jmx_remote: true | |||||
jmx_user: "%{lookup('cassandra::jmx::user')}" | |||||
jmx_password: "%{lookup('cassandra::jmx::password')}" | |||||
cassandra::jmx::user: cassandra | |||||
# cassandra::jmx::password in private data | |||||
# Reflect the base of the cassandra.yaml content | # Reflect the base of the cassandra.yaml content | ||||
# These list is completed and/or overridden in cassandra::instance | # These list is completed and/or overridden in cassandra::instance | ||||
cassandra::base_instance_configuration: | cassandra::base_instance_configuration: | ||||
num_tokens: 16 | num_tokens: 16 | ||||
allocate_tokens_for_local_replication_factor: 3 | allocate_tokens_for_local_replication_factor: 3 | ||||
disk_optimization_strategy: ssd | disk_optimization_strategy: ssd | ||||
concurrent_compactors: 4 # should be min(nb core, nb disks) | concurrent_compactors: 4 # should be min(nb core, nb disks) | ||||
Show All 20 Lines |