Change to use the new cookbook-monasca-persister

See  cookbook-monasca-persister for what drove these changes

Change-Id: I614773e61bb049fd9166c065f2d4be695237a2fd
This commit is contained in:
Craig Bryant 2014-08-27 22:08:46 -06:00
parent c5f429941b
commit 4430d7d03a
7 changed files with 26 additions and 31 deletions

View File

@ -1,5 +1,5 @@
{
"id" : "mon_credentials",
"id" : "credentials",
"influxdb": {
"user": "mon_persister",
"password": "password"

View File

@ -1,29 +1,26 @@
{
"id": "mon_persister",
"id": "monasca_persister",
"alarm_history": {
"topic": "alarm-state-transitions"
"topic": "alarm-state-transitions",
"num_threads": "1",
"batch_size": "100",
"maxBatchTime": "15"
},
"influxdb": {
"dbname": "mon",
"hostname": "localhost"
},
"metrics": {
"topic": "metrics"
"topic": "metrics",
"num_threads": "2",
"batch_size": "100",
"maxBatchTime": "10"
},
"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"
"alarmHistoryConfiguration": {
},
"database_configuration": {
"database_type": "influxdb"

View File

@ -77,7 +77,7 @@
"recipe[influxdb]",
"recipe[monasca_schema::influxdb]",
"recipe[sysctl]",
"recipe[mon_persister]",
"recipe[monasca_persister]",
"recipe[mon_api]",
"recipe[storm::nimbus]",
"recipe[storm::supervisor]",

3
split/Vagrantfile vendored
View File

@ -47,8 +47,10 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
chef.data_bags_path = "data_bags"
chef.add_role "MySQL"
end
mysql.vm.network "forwarded_port", guest: 3306, host: 43305
end
config.vm.define "devstack" do |devstack|
devstack.vm.hostname = 'devstack'
devstack.vm.box = "monasca/devstack"
@ -116,6 +118,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
persister.vm.provider "virtualbox" do |vb|
vb.memory = 1024
end
persister.vm.network "forwarded_port", guest: 8091, host: 8091
end
config.vm.define "thresh" do |thresh|

View File

@ -1,5 +1,5 @@
{
"id" : "mon_credentials",
"id" : "credentials",
"vertica" : {
"user" : "dbadmin",
"password" : "password"

View File

@ -1,26 +1,21 @@
{
"id": "mon_persister",
"id": "monasca_persister",
"alarm_history": {
"topic": "alarm-state-transitions"
"topic": "alarm-state-transitions",
"num_threads": "1",
"batch_size": "1000",
"maxBatchTime": "15"
},
"metrics": {
"topic": "metrics"
"topic": "metrics",
"num_threads": "2",
"batch_size": "10000",
"maxBatchTime": "30"
},
"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"
},

View File

@ -9,7 +9,7 @@
"chef_type": "role",
"run_list": [
"role[Basenode]",
"recipe[mon_persister]",
"recipe[monasca_persister]",
"recipe[sysctl]"
],
"env_run_lists": {