'인터넷 연결 없음' 경고 팔로우
증상
WebCP> 모니터링> 경고 에이 경고가 표시됩니다.
No internet connection on the node <node>.
원인
ping 유틸리티를 통해 google.com 도메인 이름과의 연결을 확인하여 인터넷 연결 및 도메인 이름 확인을 확인하는 각 클러스터 노드에서 백그라운드 주기적 작업이 실행됩니다. " 인터넷에 연결되어 있지 않음" 경고가 100% 패키지 손실의 경우에 나타납니다.
해결 방법
이 문서에서는 Acronis Cyber Infrastructure 로그 문제를 조사하는 방법을 설명합니다.
/var/log/vstorage-ui-agent/tasks.log의 다음 메시지는 네트워크 연결 확인을 나타냅니다.
예 :
DEBUG 2020-05-25 17:04:44,280 t-555decc622e34515 agent/business/models/runner.py:34:CmdRunner._internal_checked_execute command "('/usr/bin/ping', '-c', '4', 'google.com')" executed (c: 0, o: PING google.com (172.217.194.139) 56(84) bytes of data.
64 bytes from 172.217.194.139 (172.217.194.139): icmp_seq=1 ttl=41 time=12.9 ms
64 bytes from 172.217.194.139 (172.217.194.139): icmp_seq=2 ttl=41 time=15.9 ms
64 bytes from 172.217.194.139 (172.217.194.139): icmp_seq=3 ttl=41 time=34.0 ms
64 bytes from 172.217.194.139 (172.217.194.139): icmp_seq=4 ttl=41 time=17.6 ms
--- google.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3003ms rtt min/avg/max/mdev = 12.937/20.130/34.037/8.202 ms , e: )
다음 명령을 사용하여 영향을 받는 노드에서 감지된 패킷 손실을 확인할 수 있습니다.
# egrep 'transmitted.*received.*loss' /var/log/vstorage-ui-agent/tasks.log | grep -v '4 received' | sort | uniq
출력 예:
[root@node01 ~]# egrep 'transmitted.*received.*loss' /var/log/vstorage-ui-agent/tasks.log | grep -v '4 received' | sort | uniq
4 packets transmitted, 0 received, 100% packet loss, time 2999ms
4 packets transmitted, 3 received, 25% packet loss, time 3002ms
4 packets transmitted, 3 received, 25% packet loss, time 3003ms
4 packets transmitted, 3 received, 25% packet loss, time 3004ms
패킷 손실이 감지되면 정확한 시간 프레임을 찾으십시오.
# grep -A3 'has_internet_connection.*err.*PING' /var/log/vstorage-ui-agent/tasks.log
출력 예:
[root@node01 ~]# grep -A3 'has_internet_connection.*err.*PING' /var/log/vstorage-ui-agent/tasks.log
WARNING 2020-05-25 18:39:53,962 t-8ed9370e97914a01 agent/business/models/utils.py:372:has_internet_connection status: 1 err: PING google.com (172.217.194.139) 56(84) bytes of data.
--- google.com ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 2999ms
--
WARNING 2020-05-26 03:54:53,482 t-d2d30f097dea4fb5 agent/business/models/utils.py:372:has_internet_connection status: 1 err: PING google.com (172.217.194.113) 56(84) bytes of data.
--- google.com ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 2999ms
인터넷 연결에 사용되는 인터페이스 (이 예에서는 IP 172.217.194.139)를 확인하고 TX / RX 오류가 감지되었는지 확인합니다.
[root@node01 ~]# ip r g 172.217.194.139
172.217.194.139 via 192.168.1.245 dev bond1 src 192.168.1.11
cache
[root@node01 ~]# ifconfig bond1
bond1: flags=5187<UP,BROADCAST,RUNNING,MASTER,MULTICAST> mtu 1500
inet 192.168.1.11 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::9618:82ff:fe86:c9a8 prefixlen 64 scopeid 0x20<link>
ether 94:18:82:86:c9:a8 txqueuelen 1000 (Ethernet)
RX packets 12849386 bytes 1411245617 (1.3 GiB)
RX errors 123 dropped 1159 overruns 59 frame 0
TX packets 3385895 bytes 531501631 (506.8 MiB)
TX errors 321 dropped 0 overruns 0 carrier 0 collisions 0
발견된 패킷 손실 타임스탬프 및 인터페이스의 오류 통계를 기반으로 인프라의 네트워크 측에서 더 많은 문제를 조사합니다.
참조 - https://kb.acronis.com/content/65091