]> git.openstreetmap.org Git - chef.git/blobdiff - roles/karm.rb
Make katla the database master
[chef.git] / roles / karm.rb
index e200ce7cbac23edb65c3144135857b34f6350aeb..5fbfd9d0903db24533d74d7c562af7ddeae83433 100644 (file)
@@ -26,7 +26,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"
       }
     }
   },
@@ -58,6 +59,5 @@ default_attributes(
 
 run_list(
   "role[ic]",
-  "role[db-master]",
-  "role[db-backup]"
+  "role[db-slave]"
 )