VM에 오라클 RAC 설치 테스트를 진행하면서 virbr0 인터페이스가 왠지모르게 생성되는 경우가 있습니다..ㅜㅜ
grid user로 cluster 설치 전에 runcluvfy.sh라는 스크립트를 수행해서 requirements settings에 대해 확인할 때 요 인터페이스가 걸리는게 거슬려서 제거하는 방법을 포스팅하려합니다~
--runcluvfy.sh를 돌린 내용 중 virbr0 부분
Verifying Node Connectivity ...FAILED
PRVG-1172 : The IP address "xxx.xxx.xxx.x" is on multiple interfaces "virbr0"
on nodes "rac1,rac2"
rac1: PRVG-11067 : TCP connectivity from node "rac1": "xxx.xxx.xxx.x" to node
"rac1": "xxx.xxx.xxx.x" failed.
PRVG-11095 : The TCP system call "connect" failed with error "111" while
executing exectask on node "rac1"
Connection refused
rac1: PRVG-11067 : TCP connectivity from node "1": "xxx.xxx.xxx.x to node
"rac2": "xxx.xxx.xxx.x" failed.
PRVG-11095 : The TCP system call "connect" failed with error "111" while
executing exectask on node "rac1"
virbr0 인터페이스 삭제
Step1. 서비스 확인 / 중지 / 비활성화
[root@rac1 ~]# systemctl status libvirtd.service
[0m libvirtd.service - Virtualization daemon
Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2021-07-23 11:23:02 KST; 1 weeks 6 days ago
Docs: man:libvirtd(8)
https://libvirt.org
...
[root@rac1 ~]# systemctl stop libvirtd.service
[root@rac1 ~]# systemctl status libvirtd.service
libvirtd.service - Virtualization daemon
Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled; vendor preset: enabled)
Active: inactive (dead) since Thu 2021-08-05 13:26:47 KST; 1s ago
Docs: man:libvirtd(8)
https://libvirt.org
...
[root@rac1 ~]# systemctl disable libvirtd.service
Removed symlink /etc/systemd/system/multi-user.target.wants/libvirtd.service.
Removed symlink /etc/systemd/system/sockets.target.wants/virtlogd.socket.
Removed symlink /etc/systemd/system/sockets.target.wants/virtlockd.socket.
Step2. 현재 인터페이스 확인
[root@rac1 ~]# brctl show
bridge name bridge id STP enabled interfaces
virbr0 8000.525400232ed4 yes virbr0-nic
Step3. 인터페이스 다운
[root@rac1 ~]# ip link set virbr0 down
Step4. 인터페이스 삭제
[root@rac1 ~]# brctl delbr virbr0
Step5. 현재 인터페이스 확인(삭제 잘 되었는지 확인)
[root@rac1 ~]# brctl show
bridge name bridge id STP enabled interfaces
'IT잡지식' 카테고리의 다른 글
데몬(Daemon) / 프로세스(Process) / 쓰레드(Thread)의 차이점? (0) | 2024.09.24 |
---|---|
[Linux] su / su - / sudo 명령어 차이 (0) | 2023.01.12 |
VirtualBox에서 USB 사용하는 법 (0) | 2023.01.09 |