X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/85625531ef385b5be17fe2b0de369e3f1af2527b..ec7f27ad01993a6a37ba505da76518a1726cf064:/roles/dulcy.rb diff --git a/roles/dulcy.rb b/roles/dulcy.rb index f444ded44..a044b724a 100644 --- a/roles/dulcy.rb +++ b/roles/dulcy.rb @@ -8,44 +8,45 @@ default_attributes( :interface => "bond0", :role => :internal, :family => :inet, - :address => "10.0.48.1", + :address => "10.0.48.9", :bond => { :slaves => %w[p18p1 p18p2] } }, :external_ipv4 => { - :interface => "bond0.3", + :interface => "bond0.2", :role => :external, :family => :inet, - :address => "130.117.76.1" + :address => "130.117.76.9" }, - # :external_ipv6 => { - # :interface => "bond0.3", - # :role => :external, - # :family => :inet6, - # :address => "2001:978:2:2C::172:1001" - # } + :external_ipv6 => { + :interface => "bond0.2", + :role => :external, + :family => :inet6, + :address => "2001:978:2:2C::172:9" + } } }, :postgresql => { - :versions => ["9.6"], + :versions => ["10"], :settings => { :defaults => { :work_mem => "300MB", :maintenance_work_mem => "10GB", :random_page_cost => "1.5", :effective_cache_size => "60GB", - :fsync => "on", + :fsync => "off", :effective_io_concurrency => "3" } } }, :nominatim => { - :state => "standalone", + :state => "off", :enable_backup => false, :enable_git_updates => true, :dbadmins => %w[lonvia tomh], - :dbcluster => "9.6/main", + :dbcluster => "10/main", + :postgis => "2.4", :flatnode_file => "/ssd/nominatim/nodes.store", :logdir => "/ssd/nominatim/log", :tablespaces => { @@ -73,6 +74,6 @@ default_attributes( ) run_list( - "role[ic]", + "role[equinix]", "role[nominatim]" )