X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/5a4919337b3d34a106cbc4b1ce6bf5c84a1dae44..e1d1e10672309ad3b5096aa92d3e34741b3e8694:/roles/longma.rb?ds=sidebyside diff --git a/roles/longma.rb b/roles/longma.rb index d0c79ee50..f8ff9cd87 100644 --- a/roles/longma.rb +++ b/roles/longma.rb @@ -13,7 +13,7 @@ default_attributes( :mode => "802.3ad", :lacprate => "fast", :xmithashpolicy => "layer3+4", - :slaves => %w[] + :slaves => %w[enp68s0f0 enp68s0f1 enp68s0f2 enp68s0f3] } }, :external_ipv4 => { @@ -29,9 +29,34 @@ default_attributes( :address => "2001:470:1:b3b::d" } } + }, + :postgresql => { + :versions => ["14"], + :settings => { + :defaults => { + :max_connections => "550", + :work_mem => "240MB", + :fsync => "on", + :effective_io_concurrency => "500" + } + } + }, + :nominatim => { + :state => "standalone", + :dbcluster => "14/main", + :postgis => "3", + :enable_qa_tiles => true, + :flatnode_file => "/ssd/nominatim/nodes.store", + :logdir => "/ssd/nominatim/log", + :fpm_pools => { + "nominatim.openstreetmap.org" => { + :max_children => 200 + } + } } ) run_list( - "role[equinix-dub]" + "role[equinix-dub]", + "role[nominatim]" )