From 6881d8ae5dbe1bbfbd85b7073fd98f580d5b4cf4 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sun, 15 Jul 2018 09:31:38 +0100 Subject: [PATCH] Switch web site to readonly against katla and eddie --- roles/bytemark.rb | 2 +- roles/web-db.rb | 2 +- roles/web.rb | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/bytemark.rb b/roles/bytemark.rb index 209717f76..9f1b4e9bf 100644 --- a/roles/bytemark.rb +++ b/roles/bytemark.rb @@ -29,7 +29,7 @@ default_attributes( :web => { :backends => %w[rails4 rails5], :fileserver => "grisu", - :readonly_database_host => "katla.bm.openstreetmap.org" + :readonly_database_host => "eddie.bm.openstreetmap.org" } ) diff --git a/roles/web-db.rb b/roles/web-db.rb index c70aaad73..3d0597974 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.ic.openstreetmap.org" + :database_host => "katla.ic.openstreetmap.org" } ) diff --git a/roles/web.rb b/roles/web.rb index 7399fd06e..b44399f5a 100644 --- a/roles/web.rb +++ b/roles/web.rb @@ -14,8 +14,8 @@ default_attributes( :pool_idle_time => 3600 }, :web => { - :status => "online", - :memcached_servers => %w[rails1.ic rails2.ic rails3.ic] + :status => "database_readonly", + :memcached_servers => %w[rails4.bm rails5.bm] } ) -- 2.39.5