- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: bonding on DL360 RH AS2,1
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
03-22-2004 01:07 AM
03-22-2004 01:07 AM
I think I really need some good advice here:
OK, I re-installed RH AS2.1, and managed to install the Proliant Support Pack by hacking rhconfig.h: removed the SUMMIT lines, see http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=513249.
I'm trying to setup bonding.
Did the folowwing:
============
1. /etc/modules.conf:"
alias parport_lowlevel parport_pc
alias eth0 bcm5700
alias eth1 bcm5700
###options bcm5700 line_speed=100 full_duplex=1 auto_speed=0
alias bond0 bonding
options bonding miimon=100 mode=1
alias scsi_hostadapter cciss
alias scsi_hostadapter1 cciss_2445
alias usb-controller usb-ohci
============
2. /usr/sysconfig/network-scripts/ifcfg-eth*:
DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
MASTER=bond0
SLAVE=yes
=========
3. ifcfg-bond0
DEVICE=bond0
BROADCAST=192.168.1.255
IPADDR=192.168.1.11
NETMASK=255.255.255.0
NETWORK=192.168.1.0
ONBOOT=yes
USERCTL=no
PEERDNS=no
BOOTPROTO=none
=================
service network stop
service network start
Simple network: 1 Linux server, 3com OfficeConnect switch, 1 laptop.
Start ping from server to PC, removed eth0, eth1: all looks well.
Start ping from PC to server, removed eth0, eth1: fails, unless there is a ping from linux server to laptop too!
Tailing /var/log/messages I see messages like:
bond0 seeing ethX is down, making ethY active.
Seems OK to me.
My questions are:
a. Is the setup correct
b. If I use service network stop / start I see complaints:
- miitool not working (but if I execute mii-tool I get decent responses)
- enslaving ethX, but 'Something broke getting the master's IP address, broadcast, ...'
What's the cause of this?
See also the attached /var/log/messages.
JP.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2004 05:02 PM
03-29-2004 05:02 PM
Re: bonding on DL360 RH AS2,1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2004 10:24 PM
03-29-2004 10:24 PM
Solutionthe error concerning mii_tool is because the bonded driver has no mii support (note from the source code):
+ /*
+ * miimon is set but a bonded network driver
+ * does not support ETHTOOL/MII and
+ * arp_interval is not set. Note: if
+ * use_carrier is enabled, we will never go
+ * here (because netif_carrier is always
+ * supported); thus, we don't need to change
+ * the messages for netif_carrier.
+ */
+ printk(KERN_ERR
+ "bond_enslave(): MII and ETHTOOL support not "
+ "available for interface %s, and "
+ "arp_interval/arp_ip_target module parameters "
+ "not specified, thus bonding will not detect "
+ "link failures! see bonding.txt for details.\n",
+ slave_dev->name);
Sort of suggests a config problem.
The reason mii_tool works on the command line is because you are doing it against the network card itself (which *does* support mii_tool).
You could try this manually by following the instructions:
"Usage: ifenslave [-adfrvVh]
" ifenslave -c master-interface slave-if\n"
"\n"
" To create a bond device, simply follow these three steps :\n"
" - ensure that the required drivers are properly loaded :\n"
" # modprobe bonding ; modprobe <3c59x|eepro100|pcnet32|tulip|...>\n"
" - assign an IP address to the bond device :\n"
" # ifconfig bond0
" - attach all the interfaces you need to the bond device :\n"
" # ifenslave bond0 eth0 eth1 eth2\n"
" If bond0 didn't have a MAC address, it will take eth0's. Then, all\n"
" interfaces attached AFTER this assignment will get the same MAC addr.\n"
"\n"
" To detach a dead interface without setting the bond device down :\n"
" # ifenslave -d bond0 eth1\n"
"\n"
" To set the bond device down and automatically release all the slaves :\n"
" # ifconfig bond0 down\n"
"\n"
" To change active slave :\n"
" # ifenslave -c bond0 eth0\n"
"\n";
That will tell you if there is a general problem or just one in the config.
Col.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2004 12:35 AM
03-31-2004 12:35 AM
Re: bonding on DL360 RH AS2,1
thanks for your reply!
I followed the manual steps, no messages in my terminal session; I forgot to check the /var/log/messages and I did not test by unplugging cables.
(By the way: in my original setup the tests fail because I use 1 switch only which does not known that another port than the one that just died has the same MAC address. That's why the tests succeed if I ping from the server.)
If I understand you correctly your statement is that the bcm5700 driver does not support miitool.
I cannot verify that. I hope to talk to an HP employee in due course. I let the case rest for now.
JP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2004 09:29 AM
04-01-2004 09:29 AM
Re: bonding on DL360 RH AS2,1
Its the bonding driver that doesn't support mii-tool (at least according to the comments in the code). From the look of the log you attached, its failing at that point. The reason why you get a response from mii-tool when you run it is that I suspect that you are running it against the interface. Thats what leads me to think its a config problem, and why I suggested running through the steps manually. It might throw some light onto the problem.
Although I use different hardware, I'll take a look at bonding pretty soon - if I turn anything else up I'll post it here for you.
Col.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2004 05:18 AM
05-03-2004 05:18 AM