From 7adf71073b42b3d62a55fc2b25bca186cec41705 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 26 Sep 2024 21:31:16 +0100 Subject: [PATCH 1/1] Revert "Switch web site to readonly against karm" This reverts commit 968ffb7b7c28a0673554aba399ec55549dc6a41c. --- roles/equinix-ams.rb | 2 +- roles/web-db.rb | 2 +- roles/web.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/equinix-ams.rb b/roles/equinix-ams.rb index 03e654d76..4043e0dd7 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] } ) -- 2.39.5