From f4616678f8723032b46addf7a4f5c371c66d021d Mon Sep 17 00:00:00 2001 From: Tim Kuhlman Date: Wed, 9 Jul 2014 16:28:09 -0600 Subject: [PATCH] Changed it so the split setup is Vertica 1 VM is influxdb. --- README.md | 11 ++- data_bags/mon_api/mon_api-Vertica.json | 21 ----- .../mon_persister/mon_persister-Vertica.json | 37 --------- roles/Mini-Mon-Vertica.json | 76 ------------------- 4 files changed, 5 insertions(+), 140 deletions(-) delete mode 100644 data_bags/mon_api/mon_api-Vertica.json delete mode 100644 data_bags/mon_persister/mon_persister-Vertica.json delete mode 100644 roles/Mini-Mon-Vertica.json diff --git a/README.md b/README.md index 518bfd2..4f989c5 100644 --- a/README.md +++ b/README.md @@ -134,17 +134,16 @@ The `vertica::console` recipe is not enabled by default, but if it is added, thi - `vertica-console_7.0.1-0_amd64.deb` -After the vertica packages are installed the configuration must be changed to run Vertica. Roles and data_bags for this setup are provided, copy them -in place with the following commands then run `vagrant up` as normal. -- `cp roles/Mini-Mon-Vertica.json roles/Mini-Mon.json` -- `cp data_bags/mon_persister/mon_persister-Vertica.json data_bags/mon_persister/mon_persister.json` -- `cp data_bags/mon_api/mon_api-Vertica.json data_bags/mon_api/mon_api.json` +After the vertica packages are installed the configuration must be changed to run Vertica. Specifically besides starting Vertica the data bags +for the mon_api and the mon_persister need to be updated so these services use Vertica rather than InfluxDB. + +The alternative split setup is configured for running Vertica. # Alternate Vagrant Configurations To run any of these alternate configs, simply run the Vagrant commands from within the subdir. Note that the Vertica debs must be _copied_ (not symlinked) into the subdir as well. See the README.md in the subdir for more details. -- `split` subdir - The various monitoring components split into their own VMs +- `split` subdir - The various monitoring components split into their own VMs. The split setup runs Vertica by default rather than influxdb. In the past other alternative setups were working including running mini-mon in HP Public Cloud and scripts for putting it on baremetal. These are no longer supported. diff --git a/data_bags/mon_api/mon_api-Vertica.json b/data_bags/mon_api/mon_api-Vertica.json deleted file mode 100644 index e7772d7..0000000 --- a/data_bags/mon_api/mon_api-Vertica.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "id" : "mon_api", - "api_region": "useast", - "database-configuration": { - "database-type": "vertica" - }, - "vertica" : { - "dbname" : "mon", - "hostname" : "localhost" - }, - "zookeeper" : { - "hostname" : "localhost" - }, - "mysql": { - "hostname":"localhost", - "schema": "mon" - }, - "kafka": { - "hostname": "localhost" - } -} diff --git a/data_bags/mon_persister/mon_persister-Vertica.json b/data_bags/mon_persister/mon_persister-Vertica.json deleted file mode 100644 index fb37253..0000000 --- a/data_bags/mon_persister/mon_persister-Vertica.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "id": "mon_persister", - "alarm_history": { - "topic": "alarm-state-transitions" - }, - "metrics": { - "topic": "metrics" - }, - "kafka": { - "num_threads": "1", - "group_id": "1", - "consumer_id": 1 - }, - "disruptor": { - "buffer_size": "1048576", - "num_processors": "1" - }, - "output_processor": { - "batch_size": "10000" - }, - "deduper_config": { - "dedupe_run_frequencey_seconds": "30" - }, - "database_configuration": { - "database_type": "vertica" - }, - "vertica_metric_repository_config": { - "max_cache_size": "2000000" - }, - "vertica": { - "dbname": "mon", - "hostname": "localhost" - }, - "zookeeper": { - "hostname": "localhost" - } -} diff --git a/roles/Mini-Mon-Vertica.json b/roles/Mini-Mon-Vertica.json deleted file mode 100644 index 4469d3f..0000000 --- a/roles/Mini-Mon-Vertica.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "name": "Mini-Mon", - "description": "Sets up the entire monitoring stack on one box", - "json_class": "Chef::Role", - "default_attributes": { - "apt": { - "periodic_update_min_delay": 60 - }, - "java": { - "install_flavor": "openjdk", - "jdk_version": "7" - }, - "kafka": { - "listen_address": "127.0.0.1", - "topics": { - "metrics": { "replicas": 1, "partitions": 4 }, - "events": { "replicas": 1, "partitions": 4 }, - "alarm-state-transitions": { "replicas": 1, "partitions": 4 }, - "alarm-notifications": { "replicas": 1, "partitions": 4 } - } - }, - "percona": { - "backup": { - "password": "password" - }, - "cluster": { - "package": "percona-xtradb-cluster-56" - }, - "main_config_file": "/etc/mysql/my.cnf", - "server": { - "bind_address": "0.0.0.0", - "replication": { - "password": "password" - }, - "root_password": "password", - "skip_name_resolve": true - } - }, - "storm": { - "nimbus": { - "host": "127.0.0.1" - }, - "ui": { - "port": "8088" - }, - "zookeeper": { - "quorum": [ - "127.0.0.1" - ] - } - } - }, - "override_attributes": { - }, - "chef_type": "role", - "run_list": [ - "recipe[mini-mon]", - "recipe[percona::cluster]", - "recipe[mini-mon::mysql_schema]", - "recipe[zookeeper]", - "recipe[kafka]", - "recipe[kafka::create_topics]", - "recipe[mini-mon::postfix]", - "recipe[mon_notification]", - "recipe[vertica]", - "recipe[sysctl]", - "recipe[mon_api]", - "recipe[mon_persister]", - "recipe[storm::nimbus]", - "recipe[storm::supervisor]", - "recipe[mon_thresh]", - "recipe[mon_agent]" - ], - "env_run_lists": { - } -}