X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/f17b4afc624359d4620211b8b2a7f84ed844449e..eaf53e497a3a6e85cb4fec4431a8f72ddcf7a2c3:/roles/dulcy.rb diff --git a/roles/dulcy.rb b/roles/dulcy.rb index 9b38f7abe..adf37e26e 100644 --- a/roles/dulcy.rb +++ b/roles/dulcy.rb @@ -27,25 +27,37 @@ default_attributes( } }, :postgresql => { - :versions => ["9.5"], + :versions => ["9.6"], :settings => { :defaults => { :work_mem => "300MB", :maintenance_work_mem => "10GB", :random_page_cost => "1.5", :effective_cache_size => "60GB", - :fsync => "on" + :fsync => "on", + :effective_io_concurrency => "3" } } }, :nominatim => { - :enabled => false, + :state => "standalone", + :enable_backup => false, + :enable_git_updates => true, + :dbadmins => %w[lonvia tomh], + :dbcluster => "9.6/main", :flatnode_file => "/ssd/nominatim/nodes.store", :logdir => "/ssd/nominatim/log", - :database => { - :cluster => "9.5/main", - :dbname => "nominatim", - :postgis => "2.2" + :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" => "/ssd/tablespaces/daux", + "iaux" => "/ssd/tablespaces/iaux" } }, :sysfs => { @@ -60,5 +72,6 @@ default_attributes( ) run_list( - "role[ic]" + "role[ic]", + "role[nominatim]" )