X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/b1031a021bb1da812a9408cf5ff339f024d0437b..675a6a3003f8948e33117a637567d143db73e7e4:/roles/longma.rb diff --git a/roles/longma.rb b/roles/longma.rb index 6e5afb479..e4b3ebc55 100644 --- a/roles/longma.rb +++ b/roles/longma.rb @@ -14,7 +14,7 @@ default_attributes( :mode => "802.3ad", :lacprate => "fast", :xmithashpolicy => "layer3+4", - :slaves => %w[enp68s0f0 enp68s0f1 enp68s0f2 enp68s0f3] + :slaves => %w[enp68s0f0np0 enp68s0f1np1 enp68s0f2np2 enp68s0f3np3] } }, :external => { @@ -30,34 +30,21 @@ default_attributes( } }, :postgresql => { - :versions => ["14"], + :versions => ["17"], :settings => { :defaults => { :max_connections => "550", :work_mem => "240MB", - :fsync => "on", :effective_io_concurrency => "500" } } }, :nominatim => { - :state => "standalone", - :dbcluster => "14/main", - :postgis => "3", + :dbcluster => "17/main", :enable_qa_tiles => true, - :flatnode_file => "/ssd/nominatim/nodes.store", - :logdir => "/ssd/nominatim/log", - :api_flavour => "python", - :api_workers => 45, - :api_pool_size => 15, - :fpm_pools => { - "nominatim.openstreetmap.org" => { - :max_children => 200 - } - }, - :config => { - :forward_dependencies => "yes" - } + :flatnode_file => "/srv/nominatim.openstreetmap.org/planet-project/nodes.store", + :api_workers => 24, + :api_pool_size => 10 } )