X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/07519b9ca5c41c0e8a46824ccc23d9b1467d6dd8..11fdeeaa56975b200a46cc3ee7124e529621fba9:/roles/longma.rb?ds=inline diff --git a/roles/longma.rb b/roles/longma.rb index f109a7cbb..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 => 10, - :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 } )