X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/45dcb42309fac7cfe1ba7ce3f64b3e1565fbc10e..0578a5d0e3acb3ea8d107083d07f07d23b48f62b:/roles/equinix-dub.rb?ds=sidebyside diff --git a/roles/equinix-dub.rb b/roles/equinix-dub.rb index fb074324c..6561d3019 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 => { @@ -15,29 +24,30 @@ default_attributes( }, :external => { :zone => "dub", - :inet => { - :prefix => "27", - :gateway => "184.104.226.97" - }, :inet6 => { - :prefix => "64", - :gateway => "2001:470:1:b3b::1", - :routes => { - "2001:978:2:2c::/64" => { :type => "unreachable" } - } + :rules => [ + { :to => "2600:9000::/28", :table => 150, :priority => 100 } + ] } } } }, + :prometheus => { + :metrics => { + :host_location => { + :help => "Host location", + :labels => { :site => "dublin" } + } + } + }, :web => { - :fileserver => "fafnir", :readonly_database_host => "snap-03.dub.openstreetmap.org" } ) override_attributes( :networking => { - :nameservers => ["10.0.64.2", "1.1.1.1", "1.0.0.1"], + :nameservers => ["10.0.64.2", "74.82.42.42", "2001:470:20::2"], :search => ["dub.openstreetmap.org", "openstreetmap.org"] }, :ntp => {