no lacp / etherchannel / Bonding support
A partition and disk imaging/cloning program
Brought to you by:
steven_shiau
hi,
wie are trying to backup and recover some of our servers with clonezilla. We ran into two problems. This is the ticket for the second problem.
Our servers are configuerd with lacp channels on all interfaces. It seems that the clonezilla gui is not able to configure lacp channels. On the command line it works without any problems. So please add it to the gui
If you describe more details about how you configure lacp channels, it's possible we can add that to TUI. However, this scenario is very seldom used by most of users and actually you can switch to console 2 to configure that before you continue to do the Clonezilla job. Once it's done, you can switch back to console 1 to continue. This is not perfect but at least it works.
Steven.
configure the mode:
echo "802.3ad" > /sys/class/net/bond0/bonding/mode
echo 100 >/sys/class/net/bond0/bonding/miimon
Add Cards:
ifconfig bond0 up
ifenslave bond0 eth0
ifenslave bond0 eth1
set ip addresses with ip addr on bond0
You can also see http://www.twam.info/software/linux/gentoo/ethernet-bonding-with-linux-and-8023ad or https://blogs.it.ox.ac.uk/networks/2014/07/31/linux-lacp-bonding/
OK, thanks.
I will keep this as low priority, and try to make it some day.
Of course, patches are welcome.
Steven
Hi I'd just like to +1 for supporting bonded interfaces.. I want to image 44 cluster nodes and manually configuring each run is pretty much a deal-breaker for us.
So your steps are the same? i.e.
echo "802.3ad" > /sys/class/net/bond0/bonding/mode
echo 100 >/sys/class/net/bond0/bonding/miimon
ifconfig bond0 up
ifenslave bond0 eth0
ifenslave bond0 eth1
Then ip addresses for bond0?
Steven
On Sun, Oct 02, 2016 at 11:40:47AM +0000, Steven Shiau wrote:
--
Ruben Herold
ruben@insecure.pw
Hello Steven
Yes my steps are the same, I was able to add the following to our doco:
..although I had to put the project aside last week for some other work, I am going to eventually make it work off DHCP like the regular interfaces on the other servers - I'm just not sure how without doing my research first ;)
Actually you now can try to use the boot parameters ocs_prerun* to make that:
ocs_prerun1="echo 802.3ad > /sys/class/net/bond0/bonding/mode" ocs_prerun2="echo 100 >/sys/class/net/bond0/bonding/miimon" ocs_prerun3="ifconfig bond0 up; ifenslave bond0 eth0; ifenslave bond0 eth1"
Ref:
http://clonezilla.org/fine-print-live-doc.php?path=./clonezilla-live/doc/99_Misc/00_live-boot-parameters.doc#00_live-boot-parameters.doc
For the moment, I am thinking about to add boot parameters like:
ocs_enable_bond0="eth0 eth1"
ocs_enable_bond1="eth2 eth3"
which means to do the channel bonding "bond0" for "eth0 and eth1", and "bond1" for "eth2 and eth3".
Does this make sense?
Steven