blob: 994eb1eb045e7b71dc67a728e98e6c2574c9839e [file] [log] [blame]
Pavel Cizinskyda666f82017-03-28 13:14:53 +02001classes:
2- service.memcached.server.single
3- service.keepalived.cluster.single
4- service.haproxy.proxy.single
5- service.swift.proxy.cluster
6parameters:
7 _param:
8 cluster_node01_address: ${_param:swift_proxy_node01_address}
9 cluster_node02_address: ${_param:swift_proxy_node02_address}
10 keepalived:
11 cluster:
12 instance:
13 VIP:
14 virtual_router_id: ${_param:keepalived_vip_virtual_router_id}
15 haproxy:
16 proxy:
17 listen:
18 swift_admin:
19 type: stats
20 check: false
21 binds:
22 - address: ${_param:swift_proxy_vip_address}
23 port: 8080
24 swift_proxy_cluster:
25 type: general-service
26 check: false
27 binds:
28 - address: ${_param:swift_proxy_vip_address}
29 port: 8080
30 servers:
31 - name: ${_param:swift_proxy_node01_hostname}
32 host: ${_param:swift_proxy_node01_address}
33 port: 8080
34 params: check
35 - name: ${_param:swift_proxy_node02_hostname}
36 host: ${_param:swift_proxy_node02_address}
37 port: 8080
38 params: check
39 swift:
40 proxy:
41 bind:
42 address: ${_param:single_address}
43 identity:
44 host: ${_param:control_vip_address}
45 common:
46 cache:
47 engine: memcached
48 members:
49 - host: ${_param:swift_proxy_node01_address}
50 port: 11211
51 - host: ${_param:swift_proxy_node02_address}
52 port: 11211