]> git.openstreetmap.org Git - chef.git/blob - roles/vhagar.rb
Increase memory limit for frontend memcache instances
[chef.git] / roles / vhagar.rb
1 name "vhagar"
2 description "Master role applied to vhagar"
3
4 default_attributes(
5   :networking => {
6     :interfaces => {
7       :internal => {
8         :interface => "bond0",
9         :role => :internal,
10         :inet => {
11           :address => "10.0.48.5"
12         },
13         :bond => {
14           :mode => "802.3ad",
15           :lacprate => "fast",
16           :xmithashpolicy => "layer3+4",
17           :slaves => %w[eno1 eno2 eno3 eno4 eno5 eno6]
18         }
19       },
20       :external => {
21         :interface => "bond0.3",
22         :role => :external,
23         :inet => {
24           :address => "184.104.179.133"
25         },
26         :inet6 => {
27           :address => "2001:470:1:fa1::5"
28         }
29       }
30     }
31   },
32   :nominatim => {
33     :state => "standalone",
34     :flatnode_file => "/srv/nominatim.openstreetmap.org/planet-project/nodes.store",
35     :api_flavour => "python",
36     :api_workers => 24,
37     :api_pool_size => 10,
38     :fpm_pools => {
39       "nominatim.openstreetmap.org" => {
40         :max_children => 200
41       }
42     }
43   }
44 )
45
46 run_list(
47   "role[equinix-ams]",
48   "role[nominatim]"
49 )