Menu

#61 no lacp / etherchannel / Bonding support

open
nobody
6
2016-10-13
2015-07-15
panther_1
No

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

Discussion

  • Steven Shiau

    Steven Shiau - 2015-08-01

    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.

     
  • Steven Shiau

    Steven Shiau - 2015-09-27

    OK, thanks.
    I will keep this as low priority, and try to make it some day.
    Of course, patches are welcome.

    Steven

     
  • Stewart Lawler

    Stewart Lawler - 2016-09-22

    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.

     
  • Steven Shiau

    Steven Shiau - 2016-10-02

    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

     
    • panther_1

      panther_1 - 2016-10-02

      On Sun, Oct 02, 2016 at 11:40:47AM +0000, Steven Shiau wrote:

      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?

      Yes the bonding mode also the miimon should be configurable from the
      user.

          Ruben
      

      --
      Ruben Herold
      ruben@insecure.pw

       
    • Stewart Lawler

      Stewart Lawler - 2016-10-03

      Hello Steven
      Yes my steps are the same, I was able to add the following to our doco:

      modprobe bonding
      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
      ip addr add 192.168.1.{usualIP}/24 dev bond0
      

      ..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 ;)

       
  • Steven Shiau

    Steven Shiau - 2016-10-13

    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

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.