ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Sergey Alembekov <rt@altlinux.ru>
To: sysadmins@lists.altlinux.org
Subject: [Sysadmins] bounding
Date: Wed, 16 Sep 2009 18:52:19 +0400
Message-ID: <20090916145219.GA1039@banzay-book.DigitalAccess.ru> (raw)

Всем привет.

Настроил бондинг вот таким образом:

$ cat /etc/net/ifaces/bond0/options
TYPE=bond
ONBOOT=yes
BOOTPROTO=static
HOST="eth0 eth1"
BONDOPTIONS="miimon=30 mode=1 primary=eth0"

$ cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v3.5.0 (November 4, 2008)

Bonding Mode: fault-tolerance (active-backup)
Primary Slave: eth0
Currently Active Slave: eth0
MII Status: up
MII Polling Interval (ms): 30
Up Delay (ms): 0
Down Delay (ms): 0

Slave Interface: eth0
MII Status: up
Link Failure Count: 1
Permanent HW addr: 00:25:b3:ad:ea:b2

Slave Interface: eth1
MII Status: up
Link Failure Count: 1
Permanent HW addr: 00:25:b3:ad:ea:b3


Периодически происходят странности: без видимых причин
eth0 помечается как "unplugget" и трафик начинает идти через eth1.
Не помогает выкл-вкл на порту коммутатора, куда подключен eth0,
но если сделать service network restart, то eth0 снова становится
"link detected".

Проявляется и на ядрах std-def и на ovz-smp. eth0 и eth1 подключены к двум
cisco 4948, находящимся в режиме "port channel"

Может нудно что-то добавить в конфигурацию бондинга или настроить на
коммутаторе, к которму подвлючен сервер?


-- 
Regards, Sergey Alembekov
ALTLinux Team
xmpp: rt at jabber.ru


             reply	other threads:[~2009-09-16 14:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-16 14:52 Sergey Alembekov [this message]
2009-09-16 21:55 ` Dmitry Lebkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090916145219.GA1039@banzay-book.DigitalAccess.ru \
    --to=rt@altlinux.ru \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git