Operating System - Linux
1827810 Members
1877 Online
109969 Solutions
New Discussion

Problems with 2nd bond on bl25p

 

Problems with 2nd bond on bl25p

I'm trying to set up bonding on a bl25p for an Oracle10G RAC, and its 'half_working' for me. The first bond (bond0=eth0+eth1) is working perfectly. However when I try to bond eth2+eth3=>bond1 I get this error :"bonding device bond1 does not seem to be present, delaying initialization", and nothing happens. Dmesg shows nothing out the ordinary.

See attached file for config.

Any help appreciated
/M
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: Problems with 2nd bond on bl25p

Shalom Mikael,

Its pretty easy to fix this.

In /etc/modprobe.conf

options bond1 miimon=200 mode=active-backup

Change the mode to 1

mode=1

service network restart

Like magic your bond1 will come up. Then change it back to what you wanted and

service network restart

Obviously a bug of some kind.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com

Re: Problems with 2nd bond on bl25p

Hi,
Thanks for answering!

I'm not sure where you got this line: "options bond1 miimon=200 mode=active-backup" from, but mine already looks like this: "options bond1 miimon=100 mode=1"... (Maybe I misunderstood you?)

Anyway, I tried changing the options back and forth, restarted the network service but I still get the same error.
I also removed the first bond (bond0) and tried to bring up bond1 (as the only bond)but no dice...
I'm at a loss here.

regds
/M
Sergejs Svitnevs
Honored Contributor

Re: Problems with 2nd bond on bl25p

Try to change your module.conf from:

alias bond0 bonding
options bond0 miimon=100 mode=1
alias bond1 bonding
options bond1 miimon=100 mode=1

to:

install bond0 /sbin/modprobe -a eth0 eth1 && /sbin/modprobe bonding
alias bond0 bonding
options bond0 miimon=100 mode=1
install bond1 /sbin/modprobe -a eth2 eth3 && /sbin/modprobe bonding
alias bond1 bonding
options bond1 miimon=100 mode=1

The "install" line above the "alias bondX" line force the ethernet modules to load before the bonding driver does.

Regards

Re: Problems with 2nd bond on bl25p

Hi,

That didn't work either.

I've gotten it to work though:
I needed a "max_bonds=..." on the options line of the first bond (bond0).

alias bond0 bonding
options bond0 miimon=100 mode=1 max_bonds=2
alias bond1 bonding
options bond1 miimon=100 mode=1

Thanks for the help!
regds,
/M

Re: Problems with 2nd bond on bl25p

Closing