Initial commit
diff --git a/metadata/service/server/cluster.yml b/metadata/service/server/cluster.yml
new file mode 100644
index 0000000..84d3396
--- /dev/null
+++ b/metadata/service/server/cluster.yml
@@ -0,0 +1,53 @@
+applications:
+- horizon
+parameters:
+ _param:
+ horizon_version: kilo
+ horizon_api_version: 3
+ horizon:
+ server:
+ enabled: true
+ version: ${_param:horizon_version}
+ secret_key: ${_param:horizon_secret_key}
+ wsgi:
+ processes: 3
+ threads: 10
+ bind:
+ address: ${_param:cluster_local_address}
+ port: 80
+ cache:
+ engine: memcached
+ prefix: 'CACHE_HORIZON'
+ members:
+ - host: ${_param:cluster_node01_address}
+ port: 11211
+ - host: ${_param:cluster_node02_address}
+ port: 11211
+ - host: ${_param:cluster_node03_address}
+ port: 11211
+ identity:
+ engine: keystone
+ host: ${_param:cluster_vip_address}
+ port: 5000
+ api_version: 2
+ haproxy:
+ proxy:
+ listens:
+ - name: horizon
+ type: horizon
+ binds:
+ - address: ${_param:cluster_vip_address}
+ port: 80
+ servers:
+ - name: ctl01
+ host: ${_param:cluster_node01_address}
+ port: 80
+ params: cookie ctl01 check inter 2000 fall 3
+ - name: ctl02
+ host: ${_param:cluster_node02_address}
+ port: 80
+ params: cookie ctl02 check inter 2000 fall 3
+ - name: ctl03
+ host: ${_param:cluster_node03_address}
+ port: 80
+ params: cookie ctl03 check inter 2000 fall 3
diff --git a/metadata/service/server/multi.yml b/metadata/service/server/multi.yml
new file mode 100644
index 0000000..627096c
--- /dev/null
+++ b/metadata/service/server/multi.yml
@@ -0,0 +1,6 @@
+applications:
+- horizon
+parameters:
+ horizon:
+ server:
+ enabled: true
diff --git a/metadata/service/server/single.yml b/metadata/service/server/single.yml
new file mode 100644
index 0000000..97092ff
--- /dev/null
+++ b/metadata/service/server/single.yml
@@ -0,0 +1,33 @@
+applications:
+- horizon
+parameters:
+ _param:
+ horizon_version: kilo
+ horizon_identity_host: kilo
+ horizon_identity_version: 3
+ horizon:
+ server:
+ enabled: true
+ version: ${_param:horizon_version}
+ secret_key: ${_param:horizon_secret_key}
+ bind:
+ address: ${_param:single_address}
+ port: 80
+ mail:
+ engine: dummy
+ cache:
+ engine: memcached
+ prefix: 'CACHE_HORIZON'
+ members:
+ - host: ${_param:single_address}
+ port: 11211
+ wsgi:
+ processes: 3
+ threads: 10
+ identity:
+ engine: keystone
+ host: ${_param:single_address}
+ port: 5000
+ host: ${_param:horizon_identity_host}
+ encryption: ${_param:horizon_identity_encryption}
+ api_version: ${_param:horizon_identity_version}