More notes on setting up a test cluster

This commit is contained in:
Tim Kuhlman 2014-05-22 16:26:23 -06:00
parent 29dc92441b
commit 601582eff8
2 changed files with 18 additions and 9 deletions

View File

@ -14,6 +14,15 @@ The goal of this fabric script is to setup a test cluster on baremetal leveragin
- nodes data bag
- From the utils directory (or specifying that fabfile) start the install script
- `fab cluster.setup -H host1,host2,host3`
- Setup the Vertica database schema
- Setup the mysql database schema
- Restart any services which require vertica or mysql
- create kafka topics - kafka::create_topics recipe can be run on 1 machine
- Setup the Vertica database schema - the vertica::create_db recipe and scripts can be used for reference but won't work for a cluster
- The problems with the script are:
- The create_db command needs all ips specified for the -s arg, they are comma seperated
- The symbolic linking of ssl cert/key needs to be done on each node
- The restart policy should be set to ksafe rather than always
- Setup the mysql database schema - the mini-mon::mysql_schema tecipe can be run on 1 machine
- Restart any services which require vertica, mysql or kafka
## Optional Configuration
- Add in the Vertica Console to one of the machines. This can be done with vertica::console recipe

View File

@ -10,10 +10,10 @@
"cluster": "mon",
"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 }
"metrics": { "replicas": 3, "partitions": 4 },
"events": { "replicas": 3, "partitions": 4 },
"alarm-state-transitions": { "replicas": 3, "partitions": 4 },
"alarm-notifications": { "replicas": 3, "partitions": 4 }
}
},
"percona": {
@ -59,8 +59,8 @@
"recipe[sysctl]",
"recipe[mon_api]",
"recipe[mon_persister]",
"recipe[mon_agent]",
"recipe[mon_thresh]"
"recipe[mon_thresh]",
"recipe[mon_agent]"
],
"env_run_lists": {
}