]> git.openstreetmap.org Git - chef.git/blobdiff - roles/nepomuk.rb
Add IPv6 gateway for angor
[chef.git] / roles / nepomuk.rb
index 8a1c3679c85055205b477377f9a8f5c2c17e2485..2874079b16e3cb8e695a875bbfbb87579dbbff84 100644 (file)
@@ -16,9 +16,18 @@ default_attributes(
         :interface => "eth0",
         :role => :external,
         :family => :inet6,
-        :address => "2001:7f8:47:21::a6",
+        :address => "2a03:9180:1:21::a6",
         :prefix => "64",
-        :gateway => "2001:7f8:47:21::a1"
+        :gateway => "2a03:9180:1:21::a1"
+      }
+    }
+  },
+  :sysctl => {
+    :kvm => {
+      :comment => "Tuning for KVM guest",
+      :parameters => {
+        "kernel.sched_min_granularity_ns" => 10000000,
+        "kernel.sched_wakeup_granularity_ns" => 15000000
       }
     }
   },
@@ -30,10 +39,20 @@ default_attributes(
     :hdd_tune => {
       :comment => "Tune the queue for improved performance",
       :parameters => {
-        "block/vda/queue/nr_requests" => "512",
-       "block/vda/queue/scheduler" => "noop"
+        "block/vda/queue/nr_requests" => "128",
+        "block/vda/queue/scheduler" => "deadline"
       }
     }
+  },
+  :tilecache => {
+    :tile_parent => "lyon.render.openstreetmap.org",
+    :tile_siblings => [
+      "trogdor.openstreetmap.org",
+      "katie.openstreetmap.org",
+      "konqi.openstreetmap.org",
+      "ridgeback.openstreetmap.org",
+      "gorynych.openstreetmap.org"
+    ]
   }
 )