From: Tom Hughes Date: Wed, 10 Jul 2024 21:44:35 +0000 (+0100) Subject: Revert "Switch web site to readonly against karm" X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/b7f67ceb48b5f0fc94e9a9db74ddcf4a98a50fe9 Revert "Switch web site to readonly against karm" This reverts commit f2e063ccae80b92c17712da609d8d74ffef08ba9. --- diff --git a/roles/equinix-ams.rb b/roles/equinix-ams.rb index af38d7387..7923e09d4 100644 --- a/roles/equinix-ams.rb +++ b/roles/equinix-ams.rb @@ -36,7 +36,7 @@ default_attributes( }, :web => { :fileserver => "ironbelly", - :readonly_database_host => "karm.ams.openstreetmap.org", + :readonly_database_host => "snap-01.ams.openstreetmap.org", :primary_cluster => true } ) diff --git a/roles/web-db.rb b/roles/web-db.rb index 3db0cc4a7..c03da5277 100644 --- a/roles/web-db.rb +++ b/roles/web-db.rb @@ -3,6 +3,6 @@ description "Role applied to all servers needing to find the main database" default_attributes( :web => { - :database_host => "karm.ams.openstreetmap.org" + :database_host => "snap-01.ams.openstreetmap.org" } ) diff --git a/roles/web.rb b/roles/web.rb index b0d9d4b99..594c18f84 100644 --- a/roles/web.rb +++ b/roles/web.rb @@ -16,7 +16,7 @@ default_attributes( :pool_idle_time => 3600 }, :web => { - :status => "database_readonly", + :status => "online", :memcached_servers => %w[spike-06.ams spike-07.ams spike-08.ams] } )