参考:https://www.ibm.com/support/knowledgecenter/en/linuxonibm/com.ibm.linux.z.l0wlcb00/l0wlcb00_miimonitor.html

https://www.ibm.com/support/knowledgecenter/linuxonibm/com.ibm.linux.z.l0wlcb00/l0wlcb00_miimonitor.html

https://www.ibm.com/support/knowledgecenter/en/linuxonibm/com.ibm.linux.z.l0wlcb00/l0wlcb00_miimonitorvsarpmonitor.html

Linux bonding驱动支持两种 link monitor:MII (Media Independent Interface) monitor and the ARP (Address Resolution Protocol) monitor。

这两中link monitor不能同时存在,你一次只能选择选择一种。而且也不是所有的bonding modes支持这两种link monitor,支持MII的占大多数。

MII monitor vs. ARP monitor

The MII monitor is driver-dependent. It monitors the links from the device to the nearest connected switch. If the failure occurs beyond the nearest connected switch, it cannot be detected by MII monitor. However, the ARP monitor is based on the communication to the target hosts designated by their IP addresses. Even if the link is beyond the nearest connected switch, the APR monitor can detect it.

Figure 1. MII monitor vs. ARP monitor
 

Figure 1 shows a network typology in which Host 1 is connected to two independent switches. Both of the switches are connected to an external network. If link 2 is broken, both MII and ARP monitors will be able to detect it, since the link is within the nearest connected switch. If link 3 is broken, only ARP monitor can detect it.

The MII monitor is appropriate for bonding when the network communication is within a LAN. The ARP IP target-based monitor is suitable for bonding that is expected to communicate to an outside network.

MII monitor

MII monitor周期检查MII (Media Independent Interface)提供的信息。如果MII反映了某个网络设备故障,那么bonding driver会把这个故障设备标记为关闭。与MII monitor有关的选项:

miimon

指定MII monitor多久检查一次MII (Media Independent Interface)提供的信息。默认值是0,也就是禁用MII monitor的检查功能。对于Linux on Z,这个值通常为1000

Linux on IBM Z (or Linux on z for short, and previously Linux on z Systems) is the collective term for the Linux operating system compiled to run on IBM mainframes, especially IBM Z and IBM LinuxONE servers. Similar terms which imply the same meaning are Linux on zEnterprise, Linux on zSeries, Linux/390, Linux/390x, etc. The terms zLinux or z/Linux are also sometimes used, but these terms are discouraged by IBM as they create the implication of an IBM-offered or IBM-distributed version of Linux, which is incorrect.

A pair of IBM mainframes. On the left is the IBM Z z13. On the right is the IBM LinuxONE Rockhopper.

use_carrier

指定miimon是否应使用MII或ETHTOOL ioctls与netif_carrier_ok()来确定链接状态。 默认值是1,这使得可以使用netif_carrier_ok()。 这由Linux on Z上的qeth设备驱动程序支持。

updelay

指定在检测到链路恢复后启用从设备之前要等待的时间(以毫秒为单位)。 updelay的数值应该是miimon数值的倍数。

downdelay

指定检测到链路故障后禁用从设备的时间(以毫秒为单位)。 downdelay的数值应该是miimon数值的倍数。

Figure . Example: Using the MII monitor
miimon=
use_carrier=
updelay=
downdelay=

ARP monitor

The ARP monitor checks the links by periodically sending ARP packets to the designated targets. If there is no reply from a certain device, it considers the device to be down. The ARP monitor generates regular traffic by issuing ARP probes. The ARP monitor is not supported by all of the bonding modes. Requested options are:

arp_interval
Specifies the ARP link monitoring frequency in milliseconds. The default value is 0, which disables the ARP monitor. A reasonable value could be 1000.
arp_ip_target
These are the IP addresses of targets of the ARP request sent to determine the health of the link to the targets. Multiple IP addresses must be separated by a comma. At least one IP address must be given for ARP monitoring to function. The maximum number of targets that can be specified is 16.
Figure . Example: Using the ARP monitor
arp_interval=
arp_ip_target=192.0.2.29,192.0.2.30

Link monitoring的更多相关文章

  1. Configure a VLAN on top of a team with NetworkManager (nmcli) in RHEL7

    SOLUTION VERIFIED September 13 2016 KB1248793 Environment Red Hat Enterprise Linux 7 NetworkManager ...

  2. Create a Team in RHEL7

    SOLUTION VERIFIED September 13 2016 KB2620131 Environment Red Hat Enterprise Linux 7 NetworkManager ...

  3. 专题:Channel Bonding/bonding

    EtherChannel最初是由cisco提出,通过聚合多条物理链路为单条逻辑链路,从而实现高可用及提高吞吐量等目的.AgP(Port Aggregation Protocol,Cisco专有协议). ...

  4. Android WiFi 日志记录(四次握手)

    记录一下四次握手的log. PMK: PMK(Pairwise Master Key,成对主密钥 STA和AP得到PMK后,将进行密匙派生以得到PTK.最后,PTK被设置到硬件中, 用于数据的加解密. ...

  5. RHEL6.x查看网卡槽位对应设备文件及路径

    先查看网卡mac地址,由于我的服务器做了mac地址绑定,所以会有相同的hwaddr地址,请忽略. [root@node-0a0a05d3- net]# ifconfig eth0 | grep HWa ...

  6. Linux查看硬件信息命令

    一.查看服务器硬件信息 (1)查看服务器型号.序列号 [root@Master ~]# dmidecode|grep "System Information" -A9|egrep  ...

  7. Linux高级网络设置——将多个网卡设置成一个网卡

    Linux下可以设置网卡模式 模式0:负载均衡 模式1:主备模式,不提高网络带宽 模式3:多网卡同时发送相同的数据 准备实验环境: Redhat 6.4 企业版64位,最小化安装. 给虚拟机添加网卡 ...

  8. RHEL7中网卡绑定team和bond的区别

    red hat 官方给出的team和bond特性对比 A Comparison of Features in Bonding and Team Feature Bonding Team broadca ...

  9. Sensitive directory/file Integrity Monitoring and Checking

    catalogue . OSSEC . HashSentry: Host-Based IDS in Python . Afick . 检测流程 1. OSSEC OSSEC is an Open So ...

随机推荐

  1. shuffle 打乱一维数组

    <?php $arr = range(,); print_r($arr); echo '<br />'; shuffle($arr); print_r($arr); ?> Ar ...

  2. iCMSv7.0.15后台database.admincp文件仍存在SQL注入漏洞

    闲着无聊,国庆时间没事做,又在Q群看到这种公告,只好下个icms慢慢玩.(PS:医院和学校居然都关网站了) 无奈自己太菜,审不出问题.只好上网百度icms之前的漏洞.然后居然成功在iCMSv7.0.1 ...

  3. [学习笔记] Blender layout 视图切换

    layout 数字键5  --- 正交视图/透视图 切换 数字键0 -- 摄像机视图 数字键7 -- 顶视图 数字键1 --- 前视图 数字键3 --- 右视图 ctrl +数字键3 --- 左视图 ...

  4. [转帖]hive与hbase的联系与区别:

    https://www.cnblogs.com/xubiao/p/5571176.html 原作者写的很好.. 这里面简单学习总结一下.. 都是bigdata的工具, 都是基于google的bigta ...

  5. [转帖]可能是东半球最好的 Curl 学习指南,强烈建议收藏!

    可能是东半球最好的 Curl 学习指南,强烈建议收藏! http://www.itpub.net/2019/09/30/3302/ 记得转帖过.. 简介 curl 是常用的命令行工具,用来请求 Web ...

  6. BFC的作用及其应用

    简单介绍BFC BFC 就是块级格式化上下文,是页面盒模型布局中的一种 CSS 渲染模式,相当于一个独立的容器,里面的元素和外部的元素相互不影响. 创建 BFC 的方式有: 1.html的根元素 2. ...

  7. FZU2018级算法第二次作业 2.10 逆序数(权值线段树)

    题目: Nk 最近喜欢上了研究逆序数,给出一个由 1…n 组成的数列 a1,a2,a3…an, a1的逆序数就是在 a2…an 中,比 a1 小的数的数量,而 a2 的逆序数就是 a3….an 中比 ...

  8. PHP二维数组的引用赋值容易犯的错误

    大家一起来分析一下下面这段代码: <?php $arr = array(); $arr["abc"] = array("sex" => 100, & ...

  9. jenkins 打安卓包 cpu使用过高处理操作

    登录两个控制台 打包开始后 在其中一台机器执行ps -ef |grep jenkins 找到执行打包的主进程复制pid 在另一个终端上执行 top -H -p pid 将最耗cpu的线程id转换为16 ...

  10. windows环境下 快速杀死占用端口的进程

    保存为bat脚本,设置需要解除占用的端口 port,点击运行即可 @echo off setlocal enabledelayedexpansion set prot = 8022 for /f &q ...