2.1.2 Writing network scripts under Redhhat-EL5
2.2 Configuration with sysconfig support
2.2.1 Writing network scripts under SLES-10
+2.2.2 Writing network scripts under SLES-11 SP1
2.3 Configuring Ethernet slaves
1. Introduction
TYPE=Bonding
MTU=<according to the slave's MTU>
-Example: for bond0 (master) the file is named /etc/sysconfig/network-scripts/ifcfg-bond0
+Exmaple: for bond0 (master) the file is named /etc/sysconfig/network-scripts/ifcfg-bond0
with the following text in the file:
DEVICE=bond0
Note: 65520 is a valid mtu value only if all IPoIB slaves operate in connected
mode and are configured with the same value. For IPoIB slaves that work in
-datagram mode, use MTU=2044. If you don't set correct mtu or don't set mtu at
+datagram modee, use MTU=2044. If you don't set correct mtu or don't set mtu at
all (and letting it to be set to the default value), performance of the
interface might decrease.
2.2.1 Writing network scripts under SLES-10
-----------------------------------------------
-* In the master (bond) interface script add the lins:
+* In the master (bond) interface script add the lines:
BONDING_MASTER=yes
BONDING_MODULE_OPTS="mode=active-backup miimon=<value>"
BONDING_SLAVE1=slave1
MTU=<according to the slave's MTU>
-Example: for bond0 (master) the file is named /etc/sysconfig/network/ifcfg-bond0
+Exmaple: for bond0 (master) the file is named /etc/sysconfig/network/ifcfg-bond0
with the following text in the file:
BOOTPROTO="static"
Note: 65520 is a valid mtu value only if all IPoIB slaves operate in connected
mode and are configured with the same value. For IPoIB slaves that work in
-datagram mode, use MTU=2044. If you don't set correct mtu or don't set mtu at
+datagram modee, use MTU=2044. If you don't set correct mtu or don't set mtu at
all (and letting it to be set to the default value), performance of the
interface might decrease.
After the configuration is saved, restart the network service by running:
/etc/init.d/network restart
+2.2.2 Writing network scripts under SLES-11 SP1
+-----------------------------------------------
+Need to change the following parameters in ifcfg-ibX:
+BOOTPROTO=static
+STARTMODE=auto
+
+Logs:
+ifccfg-ibX
+BOOTPROTO=static
+STARTMODE="auto"
+PRE_DOWN_SCRIPT=/etc/sysconfig/network/unenslave.sh
+
+ifcfg-bondX
+BOOTPROTO="static"
+BROADCAST=195.168.80.255
+IPADDR=195.168.80.12
+NETMASK=255.255.255.0
+NETWORK=195.168.80.0
+REMOTE_IPADDR=""
+STARTMODE=auto
+BONDING_MASTER=yes
+BONDING_MODULE_OPTS="mode=active-backup miimon=100"
+BONDING_SLAVE0=ib0
+BONDING_SLAVE1=ib1
+
2.3 Configuring Ethernet slaves
-------------------------------
-It is not possible to have a mix of Ethernet slaves and IPoIB slaves under the
+It is not possible to have a mix of Ethernt slaves and IPoIB slaves under the
same bonding master. It is possible however that a bonding master of Ethernet
-slaves and a bonding master of IPoIB slaves will co-exist in one machine.
+slaves and a bonding master of IPoIB slaves will co-exist in one machne.
To configure Ethernet slaves under a bonding master use the following
-instructions (depending on the OS)
+instructios (depending on the OS)
* Under Redhat-AS4
* Under SLES10
-When using both type of bonding under, it is necessary to update the
+When using both type of bonding under, it is neccessary to update the
MANDATORY_DEVICES environment variable in /etc/sysconfig/network/config with the names
of the InfiniBand devices ( ib0, ib1, etc. ). Otherwise, bonding devices will be created
before InfiniBand devices at boot time.