CC-2012-06-26-1
From ScotGrid
(Difference between revisions)
| Revision as of 11:11, 26 Jun 2012 Gareth roy (Talk | contribs) ← Go to previous diff |
Current revision Gareth roy (Talk | contribs) On 141 Access |
||
| Line 56: | Line 56: | ||
| * Enable LACP mode on the created sharing group | * Enable LACP mode on the created sharing group | ||
| - | configure sharing 8:1 lacp activity-mode passive | + | configure sharing 8:43 lacp activity-mode passive |
| * save the configuration | * save the configuration | ||
| save | save | ||
| - | + | ||
| == Regression == | == Regression == | ||
| === On 141 Access === | === On 141 Access === | ||
Current revision
| Table of contents |
[edit]
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.
[edit]
Process
[edit]
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 options bond0 mode=4 miimon=100 xmit_hash_policy=1
- 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
- Create /etc/sysconfig/network-scripts/ifcfg-eth0 which contains the following contents:
DEVICE=eth0 BOOTPROTO=none ONBOOT=yes MASTER=bond0 SLAVE=yes ISALIAS=no
- Create /etc/sysconfig/network-scripts/ifcfg-eth1 which contains the following contents:
DEVICE=eth1 BOOTPROTO=none ONBOOT=yes MASTER=bond0 SLAVE=yes ISALIAS=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
[edit]
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 lacp
- Enable LACP mode on the created sharing group
configure sharing 8:43 lacp activity-mode passive
- save the configuration
save
[edit]
Regression
[edit]
On 141 Access
- Disable the sharing group on the 141 Access switch.
disable sharing 8:43
[edit]
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
