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
https://youtu.be/nNDRk8bt3c4 1. 개요 virt-manager를 사용하여 KVM/QEMU 가상화 환경에서 Windows 11을 설치하는 방법을 소개합니다. 설치 과정에서는 virtIO…
https://youtu.be/YL23ogmZhuY 1. 개요 이 문서에서는 Windows 11 24H2 버전 설치 방법에 대해 설명합니다. USB 설치 디스크를…
https://youtu.be/Nm9swsyeXlY 1. 개요 virt-install 명령어를 이용해 Rocky Linux 9.5 기반 KVM 가상 머신을 생성하는 방법을…
https://youtu.be/zZQl7OJZf7Q 1. 개요 virt-manager를 이용하여 KVM 가상 머신을 생성하는 방법을 설명합니다. Rocky Linux 9.5 ISO…
https://youtu.be/UPeCJbP3UIE 1. 개요 KVM 기반의 가상화 시스템 설치하는 방법을 소개합니다. 2. 버전 Rocky Linux 9.5…
https://youtu.be/wqTxt1H31y4 1. 개요 서버에 2개 이상의 NIC(Network Interface Card)가 있을 때, 고가용성과 장애 대응을 위해…