执行ifdown命令后,为什么无法完全停止物理网卡?
问题
ifdown eth1之后,查看网卡信息,网卡未down掉。
回答
因为环境中部署了FusionInsight,假设FusionInsight的浮动ip eth*:0 启动在eth1上,此时执行ifdown eth1后,eth1网卡不会停止,因为FusionInsight会自动拉起eth1:0自己的浮动IP,导致eht1不会完全down掉。
如果想停止该物理网卡,请执行如下命令停止该节点FusionInsight的oms进程,然后再执行ifdown eth1。
sh /opt/huawei/Bigdata/om-server/om/sbin/stop-oms.sh