]> git.openstreetmap.org Git - chef.git/blob - roles/gorynych.rb
ondemand frequency scaling: slower down sampling
[chef.git] / roles / gorynych.rb
1 name "gorynych"
2 description "Master role applied to gorynych"
3
4 default_attributes(
5   :networking => {
6     :interfaces => {
7       :external_ipv4 => {
8         :interface => "eth1",
9         :role => :external,
10         :family => :inet,
11         :address => "130.193.62.73",
12         :prefix => "29",
13         :gateway => "130.193.62.78"
14       }
15     }
16   },
17   :sysfs => {
18     :md_tune => {
19       :comment => "Tune the md sync performance so as not to kill system performance",
20       :parameters => {
21         "block/md0/md/sync_speed_min" => "10",
22         "block/md0/md/sync_speed_max" => "10000"
23       }
24     }
25   },
26   :squid => {
27     :cache_mem => "5800 MB",
28     :cache_dir => "coss /store/squid/coss-01 128000 block-size=8192 max-size=262144 membufs=80"
29   },
30   :tilecache => {
31     :tile_parent => "moscow.render.openstreetmap.org"
32   }
33 )
34
35 run_list(
36   "role[yandex]",
37   "role[tilecache]"
38 )