]> git.openstreetmap.org Git - chef.git/blobdiff - roles/eddie.rb
Move db-backup role to eddie
[chef.git] / roles / eddie.rb
index eb6753f45af5e413e011661f300a0bbe44f8f669..4ff628fff74454352a9d3241980e2b67aa97fef5 100644 (file)
@@ -25,7 +25,8 @@ default_attributes(
         :work_mem => "64MB",
         :maintenance_work_mem => "1GB",
         :effective_cache_size => "180GB",
-        :effective_io_concurrency => "256"
+        :effective_io_concurrency => "256",
+        :random_page_cost => "1.1"
       }
     }
   },
@@ -48,12 +49,15 @@ default_attributes(
         "block/nvme3n1/queue/nomerges" => "1",
         "block/nvme4n1/queue/nomerges" => "1",
         "block/nvme5n1/queue/nomerges" => "1",
-        "block/nvme6n1/queue/nomerges" => "1"
+        "block/nvme6n1/queue/nomerges" => "1",
+        "block/nvme7n1/queue/nomerges" => "1"
       }
     }
   }
 )
 
 run_list(
-  "role[ucl]"
+  "role[ucl]",
+  "role[db-slave]",
+  "role[db-backup]"
 )