X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/be47746a35163c14cf45b9b929e3f8a770addbb2..15211cf648026422950614eb6ab6cb82cb7bb6c0:/roles/snap-03.rb?ds=sidebyside diff --git a/roles/snap-03.rb b/roles/snap-03.rb index 22f1d34ff..749859eb1 100644 --- a/roles/snap-03.rb +++ b/roles/snap-03.rb @@ -4,13 +4,17 @@ description "Master role applied to snap-03" default_attributes( :networking => { :interfaces => { - :internal_ipv4 => { + :internal => { :interface => "bond0", :role => :internal, - :family => :inet, - :address => "10.0.64.50", + :inet => { + :address => "10.0.64.50" + }, :bond => { - :slaves => %w[eno1 eno2 eno3 eno4] + :mode => "802.3ad", + :lacprate => "fast", + :xmithashpolicy => "layer3+4", + :slaves => %w[enp25s0f0 enp25s0f1] } } } @@ -21,9 +25,7 @@ default_attributes( :shared_buffers => "128GB", :work_mem => "128MB", :maintenance_work_mem => "2GB", - :effective_cache_size => "360GB", - :effective_io_concurrency => "256", - :random_page_cost => "1.1" + :effective_cache_size => "360GB" } } },