next up previous contents
Next: Tricks with PXE Up: Advanced bootstrapping methods Previous: Advanced bootstrapping methods   Contents


Booting over bonded interfaces

In order to use channel bonding on an NFS-root node, the NFS root needs to be mounted over the bonded interface. This is all done in the initramfs. Be aware that many bonding modes require that the switch is properly configured to have the appropriate ports grouped together. Refer to Documentation/networking/bonding.txt in your linux source for more information. IP information can still be retrieved normally via DHCP using either of the network interfaces.

Procedure 4   Enable the initramfs to use ethernet channel bonding
 $\bullet$ Add bonding options to modprobe.conf in your image

alias eth0 e1000
options bonding mode=balance-rr miimon=100

 $\bullet$ Tell mk-initramfs-oneSIS to bond the desired interfaces

mk-initramfs-oneSIS -basedir /var/lib/oneSIS/images/$<$image$>$
  -bond-ifs eth0,eth1 /tftpboot/$<$initramfs-img$>$
  $<$kernel-version$>$ $[$OTHER_OPTIONS$]$



root 2017-02-23