PROX01 # pvecm create cluster01
출력 예시:
Corosync Cluster Engine Authentication key generator.
Gathering 2048 bits for key from /dev/urandom.
Writing corosync key to /etc/corosync/authkey.
Writing corosync config to /etc/pve/corosync.conf
Restart corosync and cluster filesystem
PROX01 # pvecm status
출력 예시:
Cluster information
-------------------
Name: cluster01
Config Version: 1
Transport: knet
Secure auth: on
Quorum information
------------------
Date: Fri Sep 6 15:47:03 2024
Quorum provider: corosync_votequorum
Nodes: 1
Node ID: 0x00000001
Ring ID: 1.40
Quorate: Yes
Votequorum information
----------------------
Expected votes: 1
Highest expected: 1
Total votes: 1
Quorum: 1
Flags: Quorate
Membership information
----------------------
Nodeid Votes Name
0x00000001 1 192.168.204.240 (local)
PROX02 # pvecm add 192.168.204.240
출력 예시:
Please enter superuser (root) password for '192.168.204.240': *******
Establishing API connection with host '192.168.204.240'
The authenticity of host '192.168.204.240' can't be established.
X509 SHA256 key fingerprint is 63:4A:20:E8:FB:6A:3E:72:50:61:1B:F0:01:F7:9C:61:29:0E:9C:52:48:C7:52:87:AC:71:CA:83:62:A0:3F:87.
Are you sure you want to continue connecting (yes/no)? yes
Login succeeded.
check cluster join API version
No cluster network links passed explicitly, fallback to local node IP '192.168.204.242'
Request addition of this node
Join request OK, finishing setup locally
stopping pve-cluster service
backup old database to '/var/lib/pve-cluster/backup/config-1725638089.sql.gz'
waiting for quorum...OK
(re)generate node files
generate new node certificate
merge authorized SSH keys
generated new node certificate, restart pveproxy and pvedaemon services
successfully added node 'DELL' to cluster.
PROX02 # pvecm status
출력 예시:
Cluster information
-------------------
Name: cluster01
Config Version: 2
Transport: knet
Secure auth: on
Quorum information
------------------
Date: Sat Sep 7 00:57:02 2024
Quorum provider: corosync_votequorum
Nodes: 2
Node ID: 0x00000002
Ring ID: 1.44
Quorate: Yes
Votequorum information
----------------------
Expected votes: 2
Highest expected: 2
Total votes: 2
Quorum: 2
Flags: Quorate
Membership information
----------------------
Nodeid Votes Name
0x00000001 1 192.168.204.240
0x00000002 1 192.168.204.242 (local)
# pvecm nodes
출력 예시:
Membership information
----------------------
Nodeid Votes Name
1 1 SUPERMICRO (local)
2 1 DELL
3 1 LENOVO
# pvecm delnode LENOVO
출력 예시:
Killing node 3
# rm -rf /etc/pve/nodes/LENOVO
# systemctl stop pve-cluster corosync
# pmxcfs -l
# rm /etc/corosync/*
# rm /etc/pve/corosync.conf
# killall pmxcfs
# rm -rf /etc/pve/nodes/SUPERMICRO
# rm -rf /etc/pve/nodes/DELL
# systemctl start pve-cluster
# systemctl stop pve-cluster corosync
# pmxcfs -l
# rm /etc/corosync/*
# rm /etc/pve/corosync.conf
# killall pmxcfs
# systemctl start pve-cluster
1. 개요 Rocky Linux는 엔터프라이즈 환경에서 사용되는 RHEL(Red Hat Enterprise Linux)과 완전히 호환되는 오픈소스 Linux…
https://youtu.be/XwG4jBWakzQ 1. 개요 Supermicro IPMIView는 Supermicro에서 제공하는 IPMI (Intelligent Platform Management Interface) 기반의 통합 관리…
1. 개요 이 문서는 두 개의 NIC (enp5s0f0, enp5s0f1)를 bonding(active-backup) 방식으로 구성하고, 해당 bond 장치를 브리지(br0) 와 연결하여 KVM 가상머신에서…
1. 개요 KVM에서 NVIDIA GPU를 Passthrough 설정하여 VM에 할당할 때 RmInitAdapter failed 오류를 자주 접하게…
1. 개요 Proxmox에서 pGPU(Physical GPU)와 vGPU(Virtual GPU)를 동일한 서버에서 동시에 사용하는 방법을 정리합니다. 2. 버전…
1. 개요 Proxmox에서 vGPU를 설정하는 방법을 정리합니다. 2. 버전 Proxmox 8.2 3. vGPU란? vGPU(Virtual GPU)는…