- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- [DL380 G5] Problem with multiple bonds on Red Hat ...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2009 07:34 AM
05-14-2009 07:34 AM
[DL380 G5] Problem with multiple bonds on Red Hat ES 4 64bit
I have kernel buit from sources (trying 2.6.29.3 and 2.6.28.9) and cannot configure two bonding interfaces with different options.
I think the problem is that I can't load bonding module two times (even using different names). The same is happening on stock red hat kernel 2.6.9-55.Elsmp
When I'm trying to load manually bonding for second time I get:
kernel: Oops: 0002 [#1] SMP
kernel: last sysfs file: /sys/class/vc/vcsa6/dev
When I'm trying load bonding modules with sysconfig, after reboot I have in var/log/messages:
ifup: /sbin/modprobe device bond1 does not seem to be present, delaying initialization.
hal.hotplug[3649]: timout(10000 ms) waiting for /class/net/bond1
network: Bringing up interface bond1: failed
kernel: bonding: ARP monitoring set to 1000 ms, validate none, with 1 target(s): X.X.X.X
kernel: bonding: ARP monitoring set to 1000 ms, validate none, with 1 target(s): Y.Y.Y.Y
kernel: sysfs: duplicate filename 'bonding_masters' can not be created
kernel: Modules linked in: bond1(+) bonding cciss
kernel: [
kernel: [
kernel: [
kernel: Modules linked in: bond1(+) bonding cciss
LOK1WWW2 kernel: [
kernel: [
kernel: [
And only first bond is working.
Here is my modprobe.conf (only part about bonding):
alias bond0 bonding
options bond0 mode=1 arp_interval=1000 arp_ip_target=X.X.X.X
install bond1 /sbin/modprobe --ignore-install bonding -o bond1 mode=1 arp_interval=1000 arp_ip_target=Y.Y.Y.Y
ifcfg-X files are standard taken from documentation without any BONDING_OPTS so I don't think it's necessary to put it here.
Oh, and my kernel is 2.6.28.9 SMP x86_64
I will be grateful for any advices?
Regards
Tomasz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2009 09:18 AM
05-14-2009 09:18 AM
Re: [DL380 G5] Problem with multiple bonds on Red Hat ES 4 64bit
alias bond1 bonding in a line before - instal...
the modprobe like this up generate : "device bond1 not seem to be present"
If I add max_bonds=2 in the second line then bond1 is up but with the settings from bond0.
Why bonding module can't be loaded twice? :(
When I try this:
alias bond0 bonding
options bond0 -o bond0 mode=1 arp_interval=1000 arp_ip_target=X.X.X.X
alias bond1 bonding
options bond1 mode=1 arp_interval=1000 arp_ip_target=Y.Y.Y.Y primary=eth3 max_bonds=2
I get unknown parameter for bond0. When I without -o then I get that bond1 is not present.
I'm confused about all this bonding issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2009 07:06 PM
05-14-2009 07:06 PM
Re: [DL380 G5] Problem with multiple bonds on Red Hat ES 4 64bit
I suggest a simpler configuration.
Get the IP information out of modprobe.conf and put it where it belongs in /etc/sysconfig/network-scripts/ifcfg-bond0
Why can't you load the module twice? Because it was designed to be loaded once.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2009 10:58 PM
05-14-2009 10:58 PM
Re: [DL380 G5] Problem with multiple bonds on Red Hat ES 4 64bit
I think my version of init scripts doesn't support BONDING_OPTS in ifcfg-bondX files. I already tried that.
According to bonding.txt in kernel docs there should be a way to load bonding module two times, but with different names (with -o paramater).
Just for sure I'll try again with BONDING_OPTS.
Another thing that I forgot to mention is that bonds doesn't enslaves eth interfaces automatically during boot. I needed to put ifenslave commands in rc.local script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2009 01:40 PM
05-15-2009 01:40 PM
Re: [DL380 G5] Problem with multiple bonds on Red Hat ES 4 64bit
I'm curious if anyone else experienced problems with multiple bonds on red hat es 4 u5 64bit.
Regards
Tomasz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2009 11:22 PM
05-18-2009 11:22 PM
Re: [DL380 G5] Problem with multiple bonds on Red Hat ES 4 64bit
shouldn't option max_bonds=2 be put twice ?
Jean-Yves
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2009 11:28 PM
05-18-2009 11:28 PM
Re: [DL380 G5] Problem with multiple bonds on Red Hat ES 4 64bit
But like I wrote earlier I did a little workaround to made it work.