Ansible playbook for fast clickhouse deployment and configuration
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
855 B

  1. ---
  2. clickhouse_macroses:
  3. cluster_1_shard: s0
  4. cluster_1_replica: r0
  5. clickhouse_remote_servers:
  6. cluster_1:
  7. - servers:
  8. - host: ch1.dbpool.myserver.ru
  9. user: default
  10. password: b0mbas$w0rD
  11. - host: ch3.dbpool.myserver.ru
  12. user: default
  13. password: b0mbas$w0rD
  14. # этот dict только для значений внутри тегов! если нужно поправить значение
  15. # атрибута тега, то придется делать второй dict для атрибутов
  16. clickhouse_config_tags:
  17. max_memory_usage:
  18. value: "64424509440"
  19. path: "/etc/clickhouse-server/users.xml"
  20. xpath: "/yandex/profiles/default/max_memory_usage"
  21. max_size_to_drop:
  22. value: "0"
  23. path: "/etc/clickhouse-server/config.xml"
  24. xpath: "/yandex/max_table_size_to_drop"