summaryrefslogtreecommitdiffstats
path: root/setup/configs
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2018-03-18 22:59:31 +0100
committerSuren A. Chilingaryan <csa@suren.me>2018-03-18 22:59:31 +0100
commit47f350bc3aa85a8bd406d95faf084df2abf74ae9 (patch)
tree72ad1e91bac46d3457f89781dc90f0d6c1c074d5 /setup/configs
parent006f333828db373435daa15483d2ab753048f62a (diff)
downloadands-47f350bc3aa85a8bd406d95faf084df2abf74ae9.tar.gz
ands-47f350bc3aa85a8bd406d95faf084df2abf74ae9.tar.bz2
ands-47f350bc3aa85a8bd406d95faf084df2abf74ae9.tar.xz
ands-47f350bc3aa85a8bd406d95faf084df2abf74ae9.zip
Second revision: includes hostpath mounts, gluster block storage, kaas apps, etc.
Diffstat (limited to 'setup/configs')
-rw-r--r--setup/configs/volumes.yml16
1 files changed, 14 insertions, 2 deletions
diff --git a/setup/configs/volumes.yml b/setup/configs/volumes.yml
index 14aadfa..020c7d2 100644
--- a/setup/configs/volumes.yml
+++ b/setup/configs/volumes.yml
@@ -1,5 +1,6 @@
---
ands_paths:
+ hostraid: /mnt/hostraid
provision: /mnt/provision
openshift: /mnt/openshift
temporary: /mnt/temporary
@@ -24,12 +25,14 @@ ands_storage_domains:
- servers: "ands_storage_servers"
clients: [ "masters", "new_masters" ]
volumes:
-# provision: { type: "cfg", mount: "{{ ands_paths.provision }}" }
openshift: { type: "cfg", mount: "{{ ands_paths.openshift }}", nfs_clients: "{{ ands_nfs_clients }}" }
- databases: { type: "db", mount: "{{ ands_paths.databases }}" }
+ databases: { type: "db", mount: "{{ ands_paths.databases }}", access: "ReadOnlyMany" }
temporary: { type: "tmp", mount: "{{ ands_paths.temporary }}", nfs_clients: "{{ ands_nfs_clients }}" }
datastore: { type: "data", mount: "{{ ands_paths.datastore }}", nfs_clients: "{{ ands_nfs_clients }}" }
katrin_data: { type: "data", mount: "{{ ands_paths.katrin_data }}", nfs_clients: "{{ ands_nfs_clients }}" }
+ - servers: "ands_storage_servers"
+ volumes:
+ block: { type: "db", transport: "{{ ands_rdma_support | ternary('rdma', 'tcp') }}" }
# - servers: "ands_storage_servers"
# clients: [ "nodes", "new_nodes" ]
@@ -39,6 +42,10 @@ ands_storage_domains:
# - ovirt:
# - pdv:
+ands_local_storage_domains:
+ - servers: [ "ands_storage_servers" ]
+ volumes:
+ hostraid: { type: "host", path: "/mnt/ands/hostmount", mount: "{{ ands_paths.hostraid }}" }
# Per project list (to distribute in multiple namespaces later)
# If not started with '/' will be prepended with project name
@@ -48,7 +55,12 @@ ands_openshift_volumes:
data: { volume: "datastore", path: "", write: true }
db: { volume: "databases", path: "", write: true }
tmp: { volume: "temporary", path: "", write: true }
+ host: { volume: "hostraid", path: "", write: true }
# Global list, we only take things from the volume of project
#ands_openshift_files:
# - { osv: "log", path: "apache2-kaas", state: "directory", mode: "0777" }
+
+
+#ands_block_volumes:
+# adei-mysql: { volume: "block", capacity: "2Ti", ha: 2, project: "kaas" }