"description":"Parameters to instantiate a NEO cluster. See https://git.erp5.org/gitweb/neoppod.git/blob/HEAD:/neo.conf?js=1 for more information.",
"additionalProperties":false,
"additionalProperties":false,
"required":["cluster"],
"required":["cluster"],
"properties":{
"properties":{
"cluster":{
"cluster":{
"description":"Cluster unique identifier. Your last line of defense against mixing up neo clusters and corrupting your data. Choose a unique value for each of your cluster.",
"description":"Cluster unique identifier. Your last line of defense against mixing up NEO clusters and corrupting your data. Choose a unique value for each of your cluster.",
"type":"string"
"type":"string"
},
},
"partitions":{
"partitions":{
...
@@ -19,6 +19,14 @@
...
@@ -19,6 +19,14 @@
"default":0,
"default":0,
"type":"integer"
"type":"integer"
},
},
"upstream-cluster":{
"description":"Identifier of the cluster to backup.",
"type":"string"
},
"upstream-masters":{
"description":"Master nodes in the cluster to backup.",
"type":"string"
},
"sla-dict":{
"sla-dict":{
"description":"Where to request instances. Each key is a query string for criterions (e.g. \"computer_guid=foo\"), and each value is a list of partition references.",
"description":"Where to request instances. Each key is a query string for criterions (e.g. \"computer_guid=foo\"), and each value is a list of partition references.",
"patternProperties":{
"patternProperties":{
...
@@ -32,13 +40,9 @@
...
@@ -32,13 +40,9 @@
},
},
"node-list":{
"node-list":{
"description":"List of dictionaries containing parameters for each node.",
"description":"List of dictionaries containing parameters for each node.",
"default":[],
"items":{
"items":{
"description":"Dictionary containing parameters required to configure individual nodes.",
"description":"Dictionary containing parameters required to configure individual nodes.",
"default":{},
"default":{},
"patternProperties":{
".*":{
"additionalProperties":false,
"properties":{
"properties":{
"storage-count":{
"storage-count":{
"description":"Number of storage nodes to deploy. One master and one admin node is deployed with each storage.",
"description":"Number of storage nodes to deploy. One master and one admin node is deployed with each storage.",
...
@@ -48,22 +52,26 @@
...
@@ -48,22 +52,26 @@
"mysql":{
"mysql":{
"description":"Dictionary containing parameters for MySQL.",
"description":"Dictionary containing parameters for MySQL.",
"default":{},
"default":{},
"properties":{
"relaxed-writes":{
"description":"When enabled, sets innodb_flush_log_at_trx_commit = 0, innodb_flush_method = nosync, innodb_doublewrite = 0 and sync_frm = 0 - RTFM, those options are dangerous",
"default":false,
"type":"boolean"
}
},
"patternProperties":{
"patternProperties":{
".*":{
".":{
"description":"To configure important parameters like innodb_buffer_pool_size, innodb-log-buffer-size, etc.",
"description":"To configure important parameters like innodb_buffer_pool_size, tokudb_cache_size, etc.",
"type":"string"
"type":"string"
}
}
},
},
"type":"object"
"type":"object"
},
},
"engine":{
"engine":{
"description":"Configures storage engine, currently only InnoDB and TokuDB are supported.",
"description":"Configures storage engine, currently only InnoDB and TokuDB are supported. Defaults to NEO's default.",