]> git.openstreetmap.org Git - chef.git/blobdiff - roles/eddie.rb
Move db-backup role to eddie
[chef.git] / roles / eddie.rb
index 28c9092eeb48a56f5fbe526b3888ec872a81fa3d..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,7 +49,8 @@ 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"
       }
     }
   }
@@ -56,5 +58,6 @@ default_attributes(
 
 run_list(
   "role[ucl]",
-  "role[db-slave]"
+  "role[db-slave]",
+  "role[db-backup]"
 )