From: Tom Hughes Date: Fri, 29 May 2020 16:30:20 +0000 (+0100) Subject: Bond all the interfaces on stormfly-{03,04} X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/3b61536776c84945e6364a962d5c5baf1edf7afe Bond all the interfaces on stormfly-{03,04} --- diff --git a/roles/stormfly-03.rb b/roles/stormfly-03.rb index 75359b155..2543d2274 100644 --- a/roles/stormfly-03.rb +++ b/roles/stormfly-03.rb @@ -8,13 +8,16 @@ default_attributes( :networking => { :interfaces => { :external_ipv4 => { - :interface => "eno1", + :interface => "bond0", :role => :external, :family => :inet, - :address => "140.211.167.99" + :address => "140.211.167.99", + :bond => { + :slaves => %w[eno1 eno2 eno3 eno4 eno49 eno50] + } }, :external_ipv6 => { - :interface => "eno1", + :interface => "bond0", :role => :external, :family => :inet6, :address => "2605:bc80:3010:700::8cd3:a763" diff --git a/roles/stormfly-04.rb b/roles/stormfly-04.rb index f280803b9..7850adf16 100644 --- a/roles/stormfly-04.rb +++ b/roles/stormfly-04.rb @@ -8,13 +8,16 @@ default_attributes( :networking => { :interfaces => { :external_ipv4 => { - :interface => "eno1", + :interface => "bond0", :role => :external, :family => :inet, - :address => "140.211.167.100" + :address => "140.211.167.100", + :bond => { + :slaves => %w[eno1 eno2 eno3 eno4 eno49 eno50] + } }, :external_ipv6 => { - :interface => "eno1", + :interface => "bond0", :role => :external, :family => :inet6, :address => "2605:bc80:3010:700::8cd3:a764"