CC-2012-06-27-1

From ScotGrid

(Difference between revisions)
Revision as of 14:11, 27 Jun 2012
Gareth roy (Talk | contribs)

← Go to previous diff
Current revision
Gareth roy (Talk | contribs)

Line 52: Line 52:
* Create a sharing group that includes the bonded ports, in the case of node071 this is 43 and 44 * Create a sharing group that includes the bonded ports, in the case of node071 this is 43 and 44
- enable sharing 8:43 grouping 8:43,8:44 algorith address-based L3_L4 lacp+ enable sharing 8:43 grouping 8:43,8:44 algorithm address-based L3_L4 lacp
* Enable LACP mode on the created sharing group * Enable LACP mode on the created sharing group

Current revision

Table of contents

Description

Bonding of both ethernet interfaces of a test Sandybridge worker node (node071). This involves creating a bond0 interface and activating LACP on the worker node and creating a LACP trunk on the network switch. This follows the same methodology as CC-2012-06-26-1 but with some changed parameters marked in Red Text.

Process

On Node071

  • Current network settings saved in /etc/sysconfig/network-scripts/non-bonded
cd /etc/sysconfig/network-scripts/
mkdir non-bonded
cp ifcfg* non-bonded
  • Edit /etc/modprobe.conf and add the following lines:
alias bond0 bonding

  • Create /etc/sysconfig/network-scripts/ifcfg-bond0 which contains the following contents:
DEVICE=bond0
BOOTPROTO=none 
ONBOOT=yes
IPADDR=10.141.0.71
NETMASK=255.255.0.0
USERCTL=no
GATEWAY=10.141.246.7
BONDING_OPTS="mode=4 miimon=100 lacp_rate=1 xmit_hash_polict=1"
  • Create /etc/sysconfig/network-scripts/ifcfg-eth0 which contains the following contents:
DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes
 USERCTL=no
  • Create /etc/sysconfig/network-scripts/ifcfg-eth1 which contains the following contents:
DEVICE=eth1
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes
USERCTL=no
  • Restart the networking (NOTE: At this point you will lose connectivity to the Worker Node and will need manual intervention to Regress)
service network restart


On 141 Access

  • Create a sharing group that includes the bonded ports, in the case of node071 this is 43 and 44
enable sharing 8:43 grouping 8:43,8:44 algorithm address-based L3_L4 lacp
  • Enable LACP mode on the created sharing group
configure sharing 8:43 lacp activity-mode passive
  • save the configuration
save

Regression

On 141 Access

  • Disable the sharing group on the 141 Access switch.
disable sharing 8:43

On Node071

(A local connection to the node will be required)

  • Remove the bonded interface descriptions in /etc/sysconfig/network-scripts/
cd /etc/sysconfig/network-scripts/
rm ifcfg-*
  • Replace with original network configuration
cp non-bonded/* .
  • Restart Networking
service network restart