X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/4ad1c3e037df10b4b092b3c0c114150a78917f0a..bc7737048d52f6b08f53b5d62039ce346fce534d:/roles/pummelzacken.rb diff --git a/roles/pummelzacken.rb b/roles/pummelzacken.rb index b1d9bff2f..36140c371 100644 --- a/roles/pummelzacken.rb +++ b/roles/pummelzacken.rb @@ -25,55 +25,31 @@ default_attributes( } }, :postgresql => { - :versions => ["13"], + :versions => ["14"], :settings => { :defaults => { :listen_addresses => "10.0.0.20", :work_mem => "160MB", - :maintenance_work_mem => "10GB", - :random_page_cost => "1.5", - :effective_cache_size => "60GB", :effective_io_concurrency => "256", :fsync => "on" } } }, - :apache => { - :event => { - :max_request_workers => 3000, - :threads_per_child => 70 - } - }, :nominatim => { :state => "standalone", - :dbadmins => %w[lonvia tomh], - :dbcluster => "13/main", + :dbcluster => "14/main", :postgis => "3", :enable_backup => true, :flatnode_file => "/ssd/nominatim/nodes.store", :tablespaces => { - "dosm" => "/ssd/tablespaces/dosm", - "iosm" => "/ssd/tablespaces/iosm", - "dplace" => "/ssd/tablespaces/dplace", - "iplace" => "/ssd/tablespaces/iplace", - "daddress" => "/ssd/tablespaces/daddress", - "iaddress" => "/ssd/tablespaces/iaddress", - "dsearch" => "/ssd/tablespaces/dsearch", - "isearch" => "/ssd/tablespaces/isearch", "daux" => "/data/tablespaces/daux", "iaux" => "/data/tablespaces/iaux" - }, - :fpm_pools => { - "nominatim.openstreetmap.org" => { - :pm => "dynamic", - :max_children => 120, - :prometheus_port => 9253 - } } + } ) run_list( "role[ucl]", - "role[nominatim]" + "role[nominatim-v4]" )