]> git.openstreetmap.org Git - chef.git/blobdiff - roles/karm.rb
Better CPU/IO scheduling for cron on tilecaches
[chef.git] / roles / karm.rb
index d7d0d2a1e66b6076af6f10156a6437ac5368976a..8f0ce7a234de14536cf422a0bbc8028ad677c389 100644 (file)
@@ -41,25 +41,11 @@ default_attributes(
         "kernel.shmall" => 66 * 1024 * 1024 * 1024 / 4096
       }
     }
-  },
-  :sysfs => {
-    :md_tune => {
-      :comment => "Enable request merging for NVMe devices",
-      :parameters => {
-        "block/nvme0n1/queue/nomerges" => "1",
-        "block/nvme1n1/queue/nomerges" => "1",
-        "block/nvme2n1/queue/nomerges" => "1",
-        "block/nvme3n1/queue/nomerges" => "1",
-        "block/nvme4n1/queue/nomerges" => "1",
-        "block/nvme5n1/queue/nomerges" => "1",
-        "block/nvme6n1/queue/nomerges" => "1",
-        "block/nvme7n1/queue/nomerges" => "1"
-      }
-    }
   }
 )
 
 run_list(
   "role[equinix]",
-  "role[db-slave]"
+  "role[db-master]",
+  "role[db-backup]"
 )