[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bond sur Lenny



Bonjour,

J'ai un souci de stabilité sur le bond d'un serveur (Lenny i686).
J'ai configurer le bond comme indiqué ici (http://wiki.debian.org/Bonding) dans la partie Lenny.

Le bonding fonctionne, les bascules aussi (mode active-backup) mais au bout d'un moment j'obtiens ceci sans action particulière de ma part :

May 16 23:55:12  myhostname kernel: [689926.063935] bonding: bond0: Setting MII monitoring interval to 100.
May 16 23:55:12  myhostname kernel: [689926.063935] bonding: bond0: Note: Updating updelay (to 200) since it is a multiple of the miimon value.
May 16 23:55:12  myhostname kernel: [689926.063935] bonding: bond0: Note: Updating downdelay (to 200) since it is a multiple of the miimon value.
May 16 23:55:12  myhostname kernel: [689926.063935] bonding: bond0: Setting up delay to 200.
May 16 23:55:12  myhostname kernel: [689926.063935] bonding: bond0: Setting down delay to 100.
May 16 23:55:12  myhostname kernel: [689926.242050] bonding: bond0: Setting eth0 as primary slave.
May 16 23:55:12  myhostname kernel: [689926.715617] bonding: bond0: link status down for idle  interface eth0, disabling it in 100 ms.
May 16 23:55:12  myhostname kernel: [689926.715656] bonding: bond0: link status down for idle  interface eth3, disabling it in 100 ms.
May 16 23:55:13  myhostname kernel: [689927.814434] bonding: bond0: link status definitely down for interface eth0, disabling it
May 16 23:55:13  myhostname kernel: [689927.814434] bonding: bond0: link status definitely down for interface eth3, disabling it

Est ce qu'il s'agirait d'un watchdog qui effectuerait cette action ? Je n'ai rien trouver dans les tables cron, d'autant plus que c'est irrégulier. Quand je suis dans ce cas, un simple "ifconfig eth0 up; ifconfig eth3 up" corrige le problème.

La ou je tic, c'est que ça termine par "link status definitely down for interface XXX" pour chacune des interfaces qui composent le bond. J'ai jeté un oeil sur /etc/network/if-post-down.d/ifenslave et /etc/network/if-pre-up.d/ifenslave. Dans /etc/network/if-pre-up.d/ifenslave, à la fin il y a :

                for slave in $INTERFACES ; do
                                if ( [ "$AUTOIF" ] && grep -q "^$slave=" $IFSTATE ) ; then
                                        echo "Not enslaving interface $slave since it is already configured"
                                else
                                        ifconfig "$slave" down  <============= ???
                                        $IFENSLAVE "$IFACE" "$slave"
                                fi
                done


Est ce que quelqu'un peu m'éclairer ? 

Cordialement

--
Bonnetot Jean-Daniel


Reply to: