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 filesystemPROX01 # 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-clusterhttps://youtu.be/n8-wlkZiqio 1. 개요 NFS(Network File System)를 설치하고, rw/ro 및 root_squash 옵션에 따른 접근 제어와 성능을 테스트하는 방법을 정리한 가이드입니다.…
https://youtu.be/4MVxzmepY3s 1. 개요 리눅스에서 정기적으로 실행되는 작업(백업, 로그 정리, 모니터링 등)은 cron 서비스를 통해 자동화할 수 있습니다.…
https://youtu.be/vPfxWFBE1yc 1. 개요 리눅스 서버를 운영할 때 사용자 계정 생성, 비밀번호 설정, 권한 부여, 계정…
https://youtu.be/Gvp2XwBfoKw 1. 개요 리눅스 서버에서는 시스템 시간(OS 시간) 과 하드웨어 시간(RTC, Real-Time Clock) 을 동기화하는 것이 매우 중요합니다. 클러스터…
https://youtu.be/pt9qhawl8LY 1. 개요 리눅스 서버에서는 시스템 시간(OS 시간) 과 하드웨어 시간(RTC, Real-Time Clock) 을 모두 관리할 수 있습니다. 운영체제의…
https://youtu.be/iPdHGXh7DUg 1. 개요 서버 운영 시 시스템 시간이 올바르게 설정되어 있지 않으면 로그 분석, 모니터링,…