X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/b5d811ad2069d661ad47a16a9c7d06a691c13f84..530cc480bd3624cf4eed5f18f7f792a85067e631:/roles/equinix-dub.rb diff --git a/roles/equinix-dub.rb b/roles/equinix-dub.rb index 8bda3a86a..e24d71a1f 100644 --- a/roles/equinix-dub.rb +++ b/roles/equinix-dub.rb @@ -2,6 +2,15 @@ name "equinix-dub" description "Role applied to all servers at Equinix Dublin" default_attributes( + :sysctl => { + :enable_bbr_10g => { + :comment => "Enable BBR. Equinix Dub has 10G uplink unlikely to buffer overrun", + :parameters => { + "net.ipv4.tcp_congestion_control" => "bbr", + "net.ipv4.tcp_notsent_lowat" => "16384" + } + } + }, :networking => { :roles => { :internal => { @@ -26,6 +35,14 @@ default_attributes( } } }, + :prometheus => { + :metrics => { + :host_location => { + :help => "Host location", + :labels => { :site => "dublin" } + } + } + }, :web => { :fileserver => "fafnir", :readonly_database_host => "snap-03.dub.openstreetmap.org" @@ -34,7 +51,7 @@ default_attributes( override_attributes( :networking => { - :nameservers => ["10.0.64.2", "1.1.1.1", "1.0.0.1"], + :nameservers => ["10.0.64.2", "8.8.8.8", "8.8.4.4"], :search => ["dub.openstreetmap.org", "openstreetmap.org"] }, :ntp => {