diff options
author | Iccha Sethi <iccha.sethi@rackspace.com> | 2014-07-11 10:59:11 -0500 |
---|---|---|
committer | Iccha Sethi <iccha.sethi@rackspace.com> | 2014-08-01 11:01:13 -0500 |
commit | 2d12d7a2d037b34456ae68f2df94471d5b6482d8 (patch) | |
tree | 74c2c90dfbc1a75f6bb562916cbe8d62ae0efd55 /etc | |
parent | 5f98abb9df7527754ec8736108711e4b7f44a323 (diff) | |
download | trove-2d12d7a2d037b34456ae68f2df94471d5b6482d8.tar.gz |
Per datastore volume support
Implements blueprint: per-datastore-volume-support
Introduces volume support on a datastore basis using
config values in datastore config groups.
DocImpact: New config values device_path and volume_support
for each datastore have been added, instead of the DEFAULT
conf section.
Change-Id: I871cbed1f825d719b189f71a3ff2c748fb8abdc0
Diffstat (limited to 'etc')
-rw-r--r-- | etc/trove/trove-taskmanager.conf.sample | 13 | ||||
-rw-r--r-- | etc/trove/trove.conf.sample | 13 | ||||
-rw-r--r-- | etc/trove/trove.conf.test | 21 |
3 files changed, 47 insertions, 0 deletions
diff --git a/etc/trove/trove-taskmanager.conf.sample b/etc/trove/trove-taskmanager.conf.sample index 72f390e1..f7046319 100644 --- a/etc/trove/trove-taskmanager.conf.sample +++ b/etc/trove/trove-taskmanager.conf.sample @@ -188,14 +188,27 @@ pydev_debug = disabled # Format (single port or port range): A, B-C # where C greater than B tcp_ports = 3306 +volume_support = True +device_path = /dev/vdb [redis] # Format (single port or port range): A, B-C # where C greater than B tcp_ports = 6379 +# redis uses local storage +volume_support = False +# default device_path = None [cassandra] tcp_ports = 7000, 7001, 9042, 9160 +volume_support = True +device_path = /dev/vdb [couchbase] tcp_ports = 8091, 8092, 4369, 11209-11211, 21100-21199 +volume_support = True +device_path = /dev/vdb + +[mongodb] +volume_support = True +device_path = /dev/vdb diff --git a/etc/trove/trove.conf.sample b/etc/trove/trove.conf.sample index 02451f96..db9cee5a 100644 --- a/etc/trove/trove.conf.sample +++ b/etc/trove/trove.conf.sample @@ -193,12 +193,25 @@ root_on_create = False # Format (single port or port range): A, B-C # where C greater than B tcp_ports = 3306 +volume_support = True +device_path = /dev/vdb [redis] tcp_ports = 6379 +#redis uses local storage +volume_support = False +# default device_path = None [cassandra] tcp_ports = 7000, 7001, 9042, 9160 +volume_support = True +device_path = /dev/vdb [couchbase] tcp_ports = 8091, 8092, 4369, 11209-11211, 21100-21199 +volume_support = True +device_path = /dev/vdb + +[mongodb] +volume_support = True +device_path = /dev/vdb diff --git a/etc/trove/trove.conf.test b/etc/trove/trove.conf.test index 6deb23e8..2dd1bf5e 100644 --- a/etc/trove/trove.conf.test +++ b/etc/trove/trove.conf.test @@ -137,6 +137,27 @@ control_exchange = trove paste_config_file=api-paste.ini.test +[mysql] +volume_support = True +device_path = /dev/vdb + +[redis] +# redis uses local storage +volume_support = False +# default device_path = None + +[cassandra] +volume_support = True +device_path = /dev/vdb + +[couchbase] +volume_support = True +device_path = /dev/vdb + +[mongodb] +volume_support = True +device_path = /dev/vdb + [composite:trove] use = call:trove.common.wsgi:versioned_urlmap /: versions |