Changed it so the split setup is Vertica 1 VM is influxdb.
This commit is contained in:
parent
242c9e9bf3
commit
f4616678f8
11
README.md
11
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.
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
|
@ -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"
|
||||
}
|
||||
}
|
|
@ -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": {
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue