CC-2012-06-26-1
From ScotGrid
(Difference between revisions)
| Revision as of 11:09, 26 Jun 2012 Gareth roy (Talk | contribs) ← Go to previous diff |
Revision as of 11:11, 26 Jun 2012 Gareth roy (Talk | contribs) Go to next diff → |
||
| Line 43: | Line 43: | ||
| - | * Restart the networking ('''NOTE: At this point you will lose connectivity to the Worker Node and will need manual intervention to Regress''' | + | * 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 | service network restart | ||
Revision as of 11:11, 26 Jun 2012
| 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.
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 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
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:1 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
