X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/be47746a35163c14cf45b9b929e3f8a770addbb2..5fbc96e38dd8dfcb3eb1ed0a5f4319ccaf244d6d:/roles/snap-03.rb diff --git a/roles/snap-03.rb b/roles/snap-03.rb index 22f1d34ff..4956bdab7 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[enp25s0f0np0 enp25s0f1np1] } } } @@ -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" } } },