X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/01492948652e950f3a1335576a491aa8963e66e9..7426769ee7efed7e0559a58bb5e9bfd9f43d6c2a:/roles/ramoth.rb?ds=inline diff --git a/roles/ramoth.rb b/roles/ramoth.rb index 6e1b71992..32a0499c9 100644 --- a/roles/ramoth.rb +++ b/roles/ramoth.rb @@ -10,7 +10,7 @@ default_attributes( :comment => "RAID array mounted on /store/postgresql/openstreetmap", :type => "block", :bus => "scsi", - :serial => "3600605b0039483a017092ecbe862082a", + :serial => "3600605b00599aa401c02b4f53bf5c805", :attrs => { "queue/scheduler" => "deadline", "queue/nr_requests" => "975" @@ -30,6 +30,16 @@ default_attributes( :hardware => { :watchdog => "w83627hf_wdt" }, + :munin => { + :plugins => { + :smart_sg0_33 => { + :smartctl_exit_status => { :warning => ":8" } + }, + :smart_sg0_34 => { + :smartctl_exit_status => { :warning => ":8" } + } + } + }, :networking => { :interfaces => { :internal_ipv4 => { @@ -54,16 +64,15 @@ default_attributes( :sysctl => { :postgres => { :comment => "Increase shared memory for postgres", - :parameters => { + :parameters => { "kernel.shmmax" => 66 * 1024 * 1024 * 1024, "kernel.shmall" => 66 * 1024 * 1024 * 1024 / 4096 } } } -); +) run_list( "role[ic]", - "role[db-master]", - "role[db-backup]" + "role[db-slave]" )