]> git.openstreetmap.org Git - chef.git/blobdiff - roles/equinix-dub.rb
Drop roles for thorn-02 and thorn-03
[chef.git] / roles / equinix-dub.rb
index 8a9189266940358030fd66906b4184f494c778c5..c4f30e2ff90ffe4d4433d3ac89a61b1f2744c9ef 100644 (file)
@@ -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 => {
@@ -31,13 +40,13 @@ default_attributes(
   },
   :web => {
     :fileserver => "fafnir",
-    :readonly_database_host => "snap-02.ucl.openstreetmap.org"
+    :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", "8.8.8.8", "8.8.4.4"],
     :search => ["dub.openstreetmap.org", "openstreetmap.org"]
   },
   :ntp => {