Commit 4094e232 authored by Ross McDonald's avatar Ross McDonald
Browse files

Added extra configuration flags for meta/clustering update. Changed default...

Added extra configuration flags for meta/clustering update. Changed default storage engine to tsm in preparation for the 0.10.0 release.
parent fcdf13c5
...@@ -27,6 +27,7 @@ influxdb_disable_reporting: "false" ...@@ -27,6 +27,7 @@ influxdb_disable_reporting: "false"
influxdb_configuration_dir: /etc/influxdb influxdb_configuration_dir: /etc/influxdb
## Meta Settings ## Meta Settings
influxdb_meta_enabled: "true"
influxdb_meta_dir: /var/lib/influxdb/meta influxdb_meta_dir: /var/lib/influxdb/meta
influxdb_meta_hostname: localhost influxdb_meta_hostname: localhost
influxdb_meta_port: 8088 influxdb_meta_port: 8088
...@@ -38,8 +39,9 @@ influxdb_meta_commit_timeout: 50ms ...@@ -38,8 +39,9 @@ influxdb_meta_commit_timeout: 50ms
influxdb_meta_cluster_tracing: "false" influxdb_meta_cluster_tracing: "false"
## Data Settings ## Data Settings
influxdb_data_enabled: "true"
influxdb_data_dir: /var/lib/influxdb/data influxdb_data_dir: /var/lib/influxdb/data
influxdb_data_engine: "b1" influxdb_data_engine: "tsm1"
influxdb_data_max_wal_size: 104857600 influxdb_data_max_wal_size: 104857600
influxdb_data_wal_flush_interval: 10m0s influxdb_data_wal_flush_interval: 10m0s
influxdb_data_wal_partition_flush_delay: 2s influxdb_data_wal_partition_flush_delay: 2s
......
...@@ -37,3 +37,10 @@ ...@@ -37,3 +37,10 @@
deb: /tmp/influxdb-ansible-download.deb deb: /tmp/influxdb-ansible-download.deb
state: present state: present
when: influxdb_install_url is defined and influxdb_install_url != None when: influxdb_install_url is defined and influxdb_install_url != None
- name: Capture installed InfluxDB version
command: dpkg -l influxdb
register: reg_influxdb_version
- debug: var=reg_influxdb_version.stdout_lines
\ No newline at end of file
...@@ -25,4 +25,9 @@ ...@@ -25,4 +25,9 @@
name: "{{ influxdb_install_url }}" name: "{{ influxdb_install_url }}"
state: present state: present
when: influxdb_install_url is defined and influxdb_install_url != None when: influxdb_install_url is defined and influxdb_install_url != None
\ No newline at end of file - name: Capture installed InfluxDB version
command: rpm -q influxdb
register: reg_influxdb_version
- debug: var=reg_influxdb_version.stdout_lines
...@@ -16,6 +16,7 @@ reporting-disabled = {{ influxdb_disable_reporting }} ...@@ -16,6 +16,7 @@ reporting-disabled = {{ influxdb_disable_reporting }}
### ###
[meta] [meta]
enabled = "{{ influxdb_meta_enabled }}"
dir = "{{ influxdb_meta_dir }}" dir = "{{ influxdb_meta_dir }}"
hostname = "{{ influxdb_meta_hostname }}" hostname = "{{ influxdb_meta_hostname }}"
bind-address = ":{{ influxdb_meta_port }}" bind-address = ":{{ influxdb_meta_port }}"
...@@ -33,6 +34,7 @@ reporting-disabled = {{ influxdb_disable_reporting }} ...@@ -33,6 +34,7 @@ reporting-disabled = {{ influxdb_disable_reporting }}
### ###
[data] [data]
enabled = "{{ influxdb_data_enabled }}"
dir = "{{ influxdb_data_dir }}" dir = "{{ influxdb_data_dir }}"
engine = "{{ influxdb_data_engine }}" engine = "{{ influxdb_data_engine }}"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment