New Post has been published on 나만의 세상~!
New Post has been published on http://blog.seabow.pe.kr/?p=7280
pacemaker 의 ethmonitor 상에서 WARNING: Interface $(interface) does not exist 메시지가 발생됨.
pacemaker 를 구성 하면서 vip network interface 에 대한 Link Detection 과정에서 ethmonitor 을 사용하고 있는데 아래와 같은 메시지가 발생된다.
WARNING: Interface bond0 does not exist
현재 해당 시스템은 bond0(ethmonitor) – br0(ip) 형태로 bond0 인터페이스에 대하여 br0 로 bridge network 을 구성한 형태이다.
원인을 찾아보던중 ethmonitor 의 소스를 확인 해본 결과 아래와 같은 구문이 실행되는 것을 확인 하였다.
ip -o -f inet addr show|grep bond0|cut -d 'm -f2|sort -u|grep -v '^ipsec[0-9][0-9]*$' 그리고 위의 WARNING 메시지가 출력되는 부분에 아래와 같은 comment 가 적혀 있었다. It might be a interface which is temporarily not available , therefore we want to continue here
그런데??? 이상하다??? 위 구문으로 bond0 인터페이스가 잡히지 않는다.
이유는 간단했다.
위 구문중 ” -f inet addr show ” 구문이 network interface 상에서 ipv4 ip 가 잡혀있는 인터페이스를 찾는 부분 때문에 bridge 로 구성된 bond0 ( ip 가 없는 ) 인터페이스를 찾지 못 하는 것이었다.
허탈함…












